Timeline
Sep 2, 2011:
- 11:04 PM Changeset in webkit [94480] by
-
- 6 edits in trunk
Implement a CustomEvent constructor for V8
https://bugs.webkit.org/show_bug.cgi?id=67527
Patch by Kentaro Hara <haraken@google.com> on 2011-09-02
Reviewed by Sam Weinig.
Source/WebCore:
Test: fast/events/constructors/custom-event-constructor.html
- bindings/v8/OptionsObject.h:
(WebCore::OptionsObject::getKeyValue): Returns ScriptValue corresponding to a given key.
- bindings/v8/custom/V8EventConstructors.cpp: Added the CustomEvent constructor.
- dom/CustomEvent.idl: Added a 'V8CustomConstructor' attribute.
LayoutTests:
- platform/chromium/fast/events/constructors/custom-event-constructor-expected.txt: Updated the result.
- 10:45 PM Changeset in webkit [94479] by
-
- 4 edits1 delete in trunk/Source/WebKit/chromium
Remove WebKitClient.h
https://bugs.webkit.org/show_bug.cgi?id=67539
Reviewed by Sam Weinig.
This API no longer has any callers.
- WebKit.gyp:
- public/WebKit.h:
- public/WebKitClient.h: Removed.
- src/WebKit.cpp:
- 10:23 PM Changeset in webkit [94478] by
-
- 2 edits in trunk/Source/JavaScriptCore
DFG JIT speculation failure does recovery of additions in reverse and
doesn't rebox
https://bugs.webkit.org/show_bug.cgi?id=67551
Reviewed by Sam Weinig.
- dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::jumpFromSpeculativeToNonSpeculative):
- 10:14 PM Changeset in webkit [94477] by
-
- 10 edits1 add in trunk/Source/JavaScriptCore
ValueProfile does not make it safe to introspect cell values
after garbage collection
https://bugs.webkit.org/show_bug.cgi?id=67354
Reviewed by Gavin Barraclough.
ValueProfile buckets are now weak references, implemented using a
light-weight weak reference mechanism that this patch also adds (the
WeakReferenceHarvester). If a cell stored in a ValueProfile bucket
is not marked, then the bucket is transformed into a Structure
pointer. If the Structure is not marked either, then it is turned
into a ClassInfo pointer.
- JavaScriptCore.xcodeproj/project.pbxproj:
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::~CodeBlock):
(JSC::CodeBlock::visitAggregate):
(JSC::CodeBlock::visitWeakReferences):
- bytecode/CodeBlock.h:
- bytecode/ValueProfile.h:
(JSC::ValueProfile::ValueProfile):
(JSC::ValueProfile::classInfo):
(JSC::ValueProfile::numberOfInt32s):
(JSC::ValueProfile::numberOfDoubles):
(JSC::ValueProfile::numberOfCells):
(JSC::ValueProfile::numberOfArrays):
(JSC::ValueProfile::probabilityOfArray):
(JSC::ValueProfile::WeakBucket::WeakBucket):
(JSC::ValueProfile::WeakBucket::operator!):
(JSC::ValueProfile::WeakBucket::isEmpty):
(JSC::ValueProfile::WeakBucket::isClassInfo):
(JSC::ValueProfile::WeakBucket::isStructure):
(JSC::ValueProfile::WeakBucket::asStructure):
(JSC::ValueProfile::WeakBucket::asClassInfo):
(JSC::ValueProfile::WeakBucket::getClassInfo):
- heap/Heap.cpp:
(JSC::Heap::harvestWeakReferences):
(JSC::Heap::markRoots):
- heap/Heap.h:
- heap/MarkStack.cpp:
(JSC::SlotVisitor::drain):
(JSC::SlotVisitor::harvestWeakReferences):
- heap/MarkStack.h:
(JSC::MarkStack::addWeakReferenceHarvester):
(JSC::MarkStack::MarkStack):
(JSC::MarkStack::appendUnbarrieredPointer):
- heap/SlotVisitor.h:
- heap/WeakReferenceHarvester.h: Added.
(JSC::WeakReferenceHarvester::WeakReferenceHarvester):
(JSC::WeakReferenceHarvester::~WeakReferenceHarvester):
- 6:20 PM Changeset in webkit [94476] by
-
- 8 edits in trunk/Source/WebKit2
Unreviewed, rolling out r94473.
http://trac.webkit.org/changeset/94473
https://bugs.webkit.org/show_bug.cgi?id=67547
Putting http://trac.webkit.org/changeset/94454 back in as
http://trac.webkit.org/changeset/94472 fixed the problem
(Requested by msaboff on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-02
- UIProcess/API/C/WKContext.cpp:
(WKContextGarbageCollectJavaScriptObjects):
- UIProcess/API/C/WKContext.h:
- UIProcess/WebContext.cpp:
(WebKit::WebContext::garbageCollectJavaScriptObjects):
- UIProcess/WebContext.h:
- WebProcess/WebProcess.cpp:
(WebKit::WebProcess::garbageCollectJavaScriptObjects):
- WebProcess/WebProcess.h:
- WebProcess/WebProcess.messages.in:
- 6:08 PM Changeset in webkit [94475] by
-
- 8 edits in trunk/Source/JavaScriptCore
Replace local implementation of string equals() methods with UString versions
https://bugs.webkit.org/show_bug.cgi?id=67342
In preparation to allowing StringImpl to be backed by 8 bit
characters when appropriate, we need to eliminate or change the
usage of StringImpl::characters(). Change the uses of characters()
that are used to implement redundant equals() methods.
Reviewed by Gavin Barraclough.
- runtime/Identifier.cpp:
(JSC::Identifier::equal):
- runtime/Identifier.h:
(JSC::Identifier::equal):
- wtf/text/AtomicString.cpp:
(WTF::CStringTranslator::equal): Moved an optimized method to here.
(WTF::operator==):
- wtf/text/StringImpl.cpp:
(WTF::equal):
- wtf/text/StringImpl.h:
- 6:06 PM Changeset in webkit [94474] by
-
- 13 edits2 adds in trunk/Source/WebCore
[chromium] Move updateLayers from LayerRendererChromium to CCLayerTreeHost
https://bugs.webkit.org/show_bug.cgi?id=67438
Reviewed by James Robinson.
Covered by existing tests.
Move functionality used by both CCLayerTreeHost and
LayerRendererChromium into CCLayerTreeHostCommon. Move update, paint,
and updateCompositorResource functions into CClayerTreeHost.
- WebCore.gypi:
- platform/graphics/chromium/LayerChromium.cpp:
(WebCore::sortLayers):
- platform/graphics/chromium/LayerChromium.h:
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::textureMemoryReclaimLimit):
(WebCore::LayerRendererChromium::drawLayers):
(WebCore::LayerRendererChromium::drawLayersInternal):
- platform/graphics/chromium/LayerRendererChromium.h:
- platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::sortLayers):
- platform/graphics/chromium/cc/CCLayerImpl.h:
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::commitTo):
(WebCore::CCLayerTreeHost::updateLayers):
(WebCore::paintContentsIfDirty):
(WebCore::CCLayerTreeHost::paintLayerContents):
(WebCore::CCLayerTreeHost::updateCompositorResources):
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp: Added.
(WebCore::CCLayerTreeHostCommon::isScaleOrTranslation):
(WebCore::CCLayerTreeHostCommon::calculateVisibleRect):
(WebCore::CCLayerTreeHostCommon::calculateVisibleLayerRect):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.h: Added.
(WebCore::CCLayerTreeHostCommon::calculateDrawTransformsAndVisibility):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
- platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
(WebCore::CCSingleThreadProxy::commitIfNeeded):
- 6:02 PM Changeset in webkit [94473] by
-
- 8 edits in trunk/Source/WebKit2
Unreviewed, rolling out r94454.
http://trac.webkit.org/changeset/94454
https://bugs.webkit.org/show_bug.cgi?id=67546
"Broke Windows and SnowLeopard, also no reply on the bug."
(Requested by jchaffraix on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-02
- UIProcess/API/C/WKContext.cpp:
- UIProcess/API/C/WKContext.h:
- UIProcess/WebContext.cpp:
- UIProcess/WebContext.h:
- WebProcess/WebProcess.cpp:
- WebProcess/WebProcess.h:
- WebProcess/WebProcess.messages.in:
- 6:01 PM Changeset in webkit [94472] by
-
- 2 edits in trunk/Source/WebKit2
2011-09-02 Michael Saboff <msaboff@apple.com>
Fixed release build by removing #ifndef NDEBUG to
allow definition of gcController().
Rubber-stamp by Sam Weinig.
- WebProcess/WebProcess.cpp:
- 5:42 PM Changeset in webkit [94471] by
-
- 3 edits2 adds in trunk
2011-09-02 Chris Marrin <cmarrin@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=67510
Crash can occur when doing a PlatformCAAnimation::copy() with no valueFunction
Reviewed by Simon Fraser.
Do a null check in two places to avoid sending nulls to CACF ValueFunction API.
Test: animations/pause-crash.html
- platform/graphics/ca/win/PlatformCAAnimationWin.cpp: (PlatformCAAnimation::valueFunction): (PlatformCAAnimation::setValueFunction):
- 5:41 PM Changeset in webkit [94470] by
-
- 4 edits4 adds in trunk
Add JSC:RegExp functional tests
https://bugs.webkit.org/show_bug.cgi?id=67339
Source/JavaScriptCore:
Added new test driver program (testRegExp) and corresponding data file
along with build scripts changes.
Reviewed by Gavin Barraclough.
- JavaScriptCore.exp:
- JavaScriptCore.xcodeproj/project.pbxproj:
- testRegExp.cpp: Added.
(Options::Options):
(StopWatch::start):
(StopWatch::stop):
(StopWatch::getElapsedMS):
(RegExpTest::RegExpTest):
(GlobalObject::create):
(GlobalObject::className):
(GlobalObject::GlobalObject):
(main):
(cleanupGlobalData):
(testOneRegExp):
(scanString):
(parseRegExpLine):
(parseTestLine):
(runFromFiles):
(printUsageStatement):
(parseArguments):
(realMain):
- tests/regexp: Added.
- tests/regexp/RegExpTest.data: Added.
Tools:
New perl script to build JavaScriptCore and run the RegExp tests.
Reviewed by Gavin Barraclough.
- Scripts/run-regexp-tests: Added.
- 5:31 PM Changeset in webkit [94469] by
-
- 2 edits3 deletes in trunk/LayoutTests
[chromium] Update baselines and expectations.
- platform/chromium-win-xp/fast/css/getComputedStyle/computed-style-expected.txt: Removed.
- platform/chromium-win-xp/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Removed.
- platform/chromium-win-xp/svg/css/getComputedStyle-basic-expected.txt: Removed.
- platform/chromium/test_expectations.txt:
- 5:20 PM Changeset in webkit [94468] by
-
- 2 edits in trunk/Source/JavaScriptCore
Add JSC:RegExp functional test data generator
https://bugs.webkit.org/show_bug.cgi?id=67519
Add a data generator for regular expressions. To enable, change the
#undef REGEXP_FUNC_TEST_DATA_GEN to #define. Then compile and use
regular expressions. The resulting data will be in /tmp/RegExpTestsData.
Reviewed by Gavin Barraclough.
- runtime/RegExp.cpp:
(JSC::regExpFlags):
(JSC::RegExpFunctionalTestCollector::clearRegExp):
(JSC::RegExpFunctionalTestCollector::get):
(JSC::RegExpFunctionalTestCollector::outputOneTest):
(JSC::RegExpFunctionalTestCollector::RegExpFunctionalTestCollector):
(JSC::RegExpFunctionalTestCollector::~RegExpFunctionalTestCollector):
(JSC::RegExpFunctionalTestCollector::outputEscapedUString):
(JSC::RegExp::~RegExp):
(JSC::RegExp::compile):
(JSC::RegExp::match):
(JSC::RegExp::matchCompareWithInterpreter):
- 5:20 PM Changeset in webkit [94467] by
-
- 1 edit in branches/chromium/835/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp
[chromium] Fix crash when compositing is disabled during painting
https://bugs.webkit.org/show_bug.cgi?id=66981
Reviewed by James Robinson.
This fixes a use-after-free and a null pointer deref introduced by r93940.
See also: http://codereview.chromium.org/7739008/
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::clearRootCCLayerImpl):
(WebCore::LayerRendererChromium::updateLayers):
- 5:17 PM Changeset in webkit [94466] by
-
- 13 edits3 copies1 add in trunk/Source
Source/WebCore: Add a 'didDownloadData' method to ResourceLoader, SubresourceLoader,
SubresourceLoaderClient, DocumentThreadableLoader, ResourceHandleClient,
and ThreadableLoaderClient for the Chromium port only, so we can pass
these notifications from our ResourceHandle implementation through the
WebCore loader framework.
https://bugs.webkit.org/show_bug.cgi?id=67229
Patch by Bill Budge <bbudge@chromium.org> on 2011-09-02
Reviewed by Darin Fisher.
No new tests. Exposes no new functionality.
- WebCore.gypi:
- loader/DocumentThreadableLoader.h:
- loader/ResourceLoader.h:
- loader/SubresourceLoader.h:
- loader/SubresourceLoaderClient.h:
(WebCore::SubresourceLoaderClient::didDownloadData):
- loader/ThreadableLoaderClient.h:
(WebCore::ThreadableLoaderClient::didDownloadData):
- loader/ThreadableLoaderClientWrapper.h:
(WebCore::ThreadableLoaderClientWrapper::didDownloadData):
- loader/chromium: Added.
- loader/chromium/DocumentThreadableLoaderChromium.cpp: Added.
(WebCore::DocumentThreadableLoader::didDownloadData):
- loader/chromium/ResourceLoaderChromium.cpp: Added.
(WebCore::ResourceLoader::didDownloadData):
- loader/chromium/SubresourceLoaderChromium.cpp: Added.
(WebCore::SubresourceLoader::didDownloadData):
- platform/network/ResourceHandleClient.h:
(WebCore::ResourceHandleClient::didDownloadData):
Source/WebKit/chromium: Add a 'didDownloadData' method to ResourceHandleInternal and pass these
notifications to WebURLLoaderClients.
https://bugs.webkit.org/show_bug.cgi?id=67229
Patch by Bill Budge <bbudge@chromium.org> on 2011-09-02
Reviewed by Darin Fisher.
- src/AssociatedURLLoader.cpp:
(WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
(WebKit::AssociatedURLLoader::ClientAdapter::didDownloadData):
(WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
(WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
- src/ResourceHandle.cpp:
(WebCore::ResourceHandleInternal::didDownloadData):
- src/ResourceHandleInternal.h:
- 5:16 PM Changeset in webkit [94465] by
-
- 2 edits in trunk/Source/WebCore
Assert that PlatformCALayerWinInternal::displayCallback() is only called on the main thread
https://bugs.webkit.org/show_bug.cgi?id=67541
Reviewed by Simon Fraser.
No new tests, covered by existing media tests.
- platform/graphics/ca/win/PlatformCALayerWinInternal.cpp:
(PlatformCALayerWinInternal::displayCallback): Assert that is function is only called on the main thread.
- 5:07 PM Changeset in webkit [94464] by
-
- 6 edits2 adds in trunk
Enable RenderLayer::updateLayerPosition's cachedOffset optimization for more cases
https://bugs.webkit.org/show_bug.cgi?id=66901
Reviewed by Simon Fraser.
Source/WebCore:
Test: fast/layers/assert-RenderLayer-update-positions.html
Also covered by existing tests under the new ASSERT.
This change extends the range of callers making use of the cachedOffset optimization.
Most callers did not make use of cachedOffset as it did not work when called on a subtree.
This limitation is now gone thus we can enable it more widely.
The semantics of the optimization are changed a bit as we now return if it is enabled whereas
the old code would check if it was *disabled*. Also there were some renames done to match more
closely what was going on (s/cachedOffset/offsetFromRoot/ and s/cachedOffsetDisabled/hasLayerOffset/).
Note that this is an optimistic optimization: if cachedOffset is not used, then we have
done at least an extra traversal up to the root. I have found it to be a wash on file
cycler (alexa) but to be a nice improvement (~20%) on some table benchmarks (modifying
a cell, scrolling).
- page/FrameView.cpp:
(WebCore::FrameView::layout): Extended the use of cachedOffset to subtree layouts.
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::styleDidChange): Forbid the use cachedOffset in this
case as we have only a single layer to update.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::computeOffsetFromRoot): Added this function to get the offset from the root
layer at a certain point in the RenderLayer's tree. It gets the root layer's checking if no layer
in between would prevent convertToLayerCoords to work and return the position relative to
this layer.
(WebCore::RenderLayer::updateLayerPositions): Added a new ASSERT to make sure our cachedOffset
is always fine. Also added a comment about calling convertToLayerCoords.
(WebCore::RenderLayer::removeOnlyThisLayer): Added cachedOffset here too as we may have to
update several layers. We save the offset prior to being removed from the hierarchy for
correctness.
(WebCore::RenderLayer::paintChildLayerIntoColumns): Added a comment here about calling convertToLayerCoords.
- rendering/RenderLayer.h: Swapped the argument in updateLayerPositions to make
cachedOffset a mandatory field. Patched all the callers.
(WebCore::RenderLayer::canUseConvertToLayerCoords): Added this helper method to know when a
renderer prevents convertToLayerCoords from working. Added some FIXME around suspicious use
of convertToLayerCoords.
LayoutTests:
- fast/layers/crash-RenderLayer-update-positions-expected.txt: Added.
- fast/layers/crash-RenderLayer-update-positions.html: Added.
Test that some changes in the layers does not cause an ASSERT failure.
- 4:58 PM Changeset in webkit [94463] by
-
- 5 edits in trunk/Source/JavaScriptCore
Fix the broken build due to dtoa patch
https://bugs.webkit.org/show_bug.cgi?id=67534
Patch by Mark Hahnenberg <mhahnenberg@apple.com> on 2011-09-02
Reviewed by Oliver Hunt.
Fixing the build.
- GNUmakefile.list.am:
- wtf/dtoa/bignum.cc:
- wtf/dtoa/fast-dtoa.cc:
- wtf/dtoa/utils.h:
- 4:39 PM Changeset in webkit [94462] by
-
- 2 edits in trunk/Source/WebKit/qt
[Qt][Symbian] REGRESSION(93235) Missing .def update
https://bugs.webkit.org/show_bug.cgi?id=67307
Patch by Jade Han <jade.han@nokia.com> on 2011-09-02
Reviewed by Laszlo Gombos.
- symbian/eabi/QtWebKitu.def:
- 4:33 PM Changeset in webkit [94461] by
-
- 9 edits2 deletes in trunk/Source/JavaScriptCore
Remove OldSpace classes
https://bugs.webkit.org/show_bug.cgi?id=67533
Reviewed by Gavin Barraclough.
Remove the unused OldSpace classes
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.gypi:
- JavaScriptCore.pro:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- heap/Heap.cpp:
(JSC::Heap::writeBarrierSlowCase):
- heap/MarkedBlock.h:
- heap/OldSpace.cpp: Removed.
- heap/OldSpace.h: Removed.
- 4:25 PM Changeset in webkit [94460] by
-
- 2 edits in trunk/Source/JavaScriptCore
Compile fix for mac build.
- wtf/CheckedArithmetic.h:
(WTF::operator+):
(WTF::operator-):
(WTF::operator*):
- 4:07 PM Changeset in webkit [94459] by
-
- 4 edits in trunk/Source/WebKit/chromium
Need API for getting surrounding text from webkit in chromium
https://bugs.webkit.org/show_bug.cgi?id=66681
Patch by Peng Huang <penghuang@chromium.org> on 2011-09-02
Reviewed by Ryosuke Niwa.
Add getSelectionOffsetsAndTextInEditableContent() to Chromium's
WebViewImpl. This function is for supporting some input methods which
need input context around the edit caret.
- public/WebWidget.h:
(WebKit::WebWidget::getSelectionOffsetsAndTextInEditableContent):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::getSelectionOffsetsAndTextInEditableContent):
- src/WebViewImpl.h:
- 3:33 PM Changeset in webkit [94458] by
-
- 3 edits in trunk/Tools
Reshuffle some code in WebKitDriver._read_block in preparation for reading stderr/stdout separately
https://bugs.webkit.org/show_bug.cgi?id=67530
Unreviewed. Fixing typo from previous commit.
Turns out there was *no* unittesting of WebKitDriver. Added a basic test of _read_block
which exercises the code I previously made a typo in.
- Scripts/webkitpy/layout_tests/port/webkit.py:
- Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
- 3:32 PM Changeset in webkit [94457] by
-
- 12 edits2 adds in trunk
Read out of bounds in sUnpremultiplyData_RGBA8888 / ImageBufferData::getData
https://bugs.webkit.org/show_bug.cgi?id=65352
Reviewed by Simon Fraser.
New test: fast/canvas/canvas-getImageData-large-crash.html
Source/JavaScriptCore:
This patch prevents overflows from happening in getImageData, createImageData, and canvas creation
calls that specify widths and heights that end up overflowing the ints that we store those values in
as well as derived values such as area and maxX / maxY of the bounding rects involved. Overflow of integer
arithmetic is detected via the use of the new Checked type that was introduced in r94207. The change to JSC
is just to add a new helper method described below.
- wtf/MathExtras.h:
(isWithinIntRange): Reports if a float's value is within the range expressible by an int.
Source/WebCore:
This patch prevents overflows from happening in getImageData, createImageData, and canvas creation
calls that specify widths and heights that end up overflowing the ints that we store those values in
as well as derived values such as area and maxX / maxY of the bounding rects involved. Overflow of integer
arithmetic is detected via the use of the new Checked type that was introduced in r94207.
- html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::convertLogicalToDevice): Removed dependency on ints, using FloatRects/Sizes instead.
(WebCore::HTMLCanvasElement::createImageBuffer): Moved the check for max canvas area and dimensions here.
Added in check that prevents us from having canvases of sizes that will cause overflows.
(WebCore::HTMLCanvasElement::baseTransform): Updated use of convertLogicalToDevice.
- html/HTMLCanvasElement.h: Updated method signatures.
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::createEmptyImageData): Added in check to prevent creating ImageData objects that will cause overflow when computing their size.
(WebCore::CanvasRenderingContext2D::createImageData): Avoid creating ImageData objects of size that will overflow later.
(WebCore::CanvasRenderingContext2D::getImageData): Added in check to prevent trying to get ImageData objects that will cause overflow when computing their size.
- platform/graphics/FloatRect.cpp:
(WebCore::FloatRect::isExpressibleAsIntRect): New method that tests whether a FloatRect can become an IntRect without overflow or having to be clamped.
- platform/graphics/FloatRect.h:
- platform/graphics/FloatSize.cpp:
(WebCore::FloatSize::isExpressibleAsIntSize): Same as FloatRect, but for FloatSize->IntSize.
- platform/graphics/FloatSize.h:
- platform/graphics/cg/ImageBufferCG.cpp: Added check for overflow.
(WebCore::ImageBuffer::ImageBuffer):
- 3:22 PM Changeset in webkit [94456] by
-
- 14 edits1 add in trunk/Source/WebKit2
NPN_SetException doesn't work with OOP plug-ins
https://bugs.webkit.org/show_bug.cgi?id=67524
Reviewed by Sam Weinig.
- DerivedSources.make:
Add PluginProcessConnection.messages.in.
- GNUmakefile.am:
Add generated files.
- Platform/CoreIPC/MessageID.h:
Add MessageClassPluginProcessConnection.
- PluginProcess/PluginProcess.cpp:
(WebKit::PluginProcess::initialize):
Set the set exception function.
- PluginProcess/WebProcessConnection.cpp:
(WebKit::ConnectionStack::current):
(WebKit::ConnectionStack::CurrentConnectionPusher::CurrentConnectionPusher):
(WebKit::ConnectionStack::CurrentConnectionPusher::~CurrentConnectionPusher):
Add a helper class for managing a stack of CoreIPC connections, along with a RAII
object to push/pop connections onto it.
(WebKit::connectionStack):
Add getter.
(WebKit::WebProcessConnection::setGlobalException):
Get the current connection and send a PluginProcessConnection::SetException message to it.
(WebKit::WebProcessConnection::didReceiveMessage):
(WebKit::WebProcessConnection::didReceiveSyncMessage):
Create connection pushers.
- PluginProcess/WebProcessConnection.h:
Add setGlobalException.
- WebKit2.pro:
- WebKit2.xcodeproj/project.pbxproj:
Add new files.
- WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::setSetExceptionFunction):
New function for setting the 'setException' function.
(WebKit::NetscapePlugin::setException):
Call the 'setException' function.
- WebProcess/Plugins/PluginProcessConnection.cpp:
(WebKit::PluginProcessConnection::didReceiveSyncMessage):
Call the message receiver function.
(WebKit::PluginProcessConnection::setException):
Call the NPRuntimeObjectMap.
- WebProcess/Plugins/PluginProcessConnection.messages.in:
Add new messages file.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::createPlugin):
When not using the plug-in process, make sure to call NetscapePlugin::setSetExceptionFunction.
- 3:22 PM Changeset in webkit [94455] by
-
- 3 edits2 adds in trunk
<rdar://problem/9755843> anonymous RenderMathMLOperator sets itself as the renderer of its parent mfenced node
Reviewed by Darin Adler.
Source/WebCore:
Test: mathml/operator-hijacks-fenced-node.xhtml
- rendering/mathml/RenderMathMLOperator.cpp:
(WebCore::RenderMathMLOperator::updateFromElement): Rather than unconditionally setting the
node’s renderer to this, just restore it to whatever it was before calling destroyLeftoverChildren().
LayoutTests:
- mathml/operator-hijacks-fenced-node-expected.txt: Added.
- mathml/operator-hijacks-fenced-node.xhtml: Added.
- 3:21 PM Changeset in webkit [94454] by
-
- 8 edits in trunk/Source/WebKit2
Add WKContextGarbageCollectJavaScriptObjects() which does a garbage collection in the WebProcess
https://bugs.webkit.org/show_bug.cgi?id=67526
Reviewed by Darin Adler.
- UIProcess/API/C/WKContext.cpp:
(WKContextGarbageCollectJavaScriptObjects):
- UIProcess/API/C/WKContext.h:
- UIProcess/WebContext.cpp:
(WebKit::WebContext::garbageCollectJavaScriptObjects): Send a message to WebProcess to garbage collect JS objects.
- UIProcess/WebContext.h:
- WebProcess/WebProcess.cpp:
(WebKit::WebProcess::garbageCollectJavaScriptObjects): Call GCController::garbageCollectNow().
- WebProcess/WebProcess.h:
- WebProcess/WebProcess.messages.in: Add GarbageCollectJavaScriptObjects message.
- 3:19 PM Changeset in webkit [94453] by
-
- 2 edits in trunk/Tools
Reshuffle some code in WebKitDriver._read_block in preparation for reading stderr/stdout separately
https://bugs.webkit.org/show_bug.cgi?id=67530
Reviewed by Adam Barth.
No functional change, just reshuffling code.
- Scripts/webkitpy/layout_tests/port/webkit.py:
- 3:09 PM Changeset in webkit [94452] by
-
- 23 edits24 adds in trunk/Source
Incorporate newer, faster dtoa library
https://bugs.webkit.org/show_bug.cgi?id=66346
Patch by Mark Hahnenberg <mhahnenberg@apple.com> on 2011-09-02
Reviewed by Oliver Hunt.
Source/JavaScriptCore:
Added new dtoa library at http://code.google.com/p/double-conversion/.
Replaced old call to dtoa. The new library is much faster than the old one.
We still use the old dtoa for some stuff in WebCore as well as the old strtod,
but we can phase these out eventually as well.
- GNUmakefile.list.am:
- JavaScriptCore.exp:
- JavaScriptCore.gypi:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- JavaScriptCore.vcproj/JavaScriptCore/copy-files.cmd:
- JavaScriptCore.vcproj/WTF/WTF.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- runtime/InitializeThreading.cpp:
- runtime/NumberPrototype.cpp:
(JSC::numberProtoFuncToExponential):
(JSC::numberProtoFuncToFixed):
(JSC::numberProtoFuncToPrecision):
- runtime/UString.cpp:
(JSC::UString::number):
- wtf/CMakeLists.txt:
- wtf/ThreadingPthreads.cpp:
(WTF::initializeThreading):
- wtf/ThreadingWin.cpp:
(WTF::initializeThreading):
- wtf/dtoa.cpp:
(WTF::dtoa):
- wtf/dtoa.h:
- wtf/dtoa/COPYING: Added.
- wtf/dtoa/LICENSE: Added.
- wtf/dtoa/README: Added.
- wtf/dtoa/bignum-dtoa.cc: Added.
- wtf/dtoa/bignum-dtoa.h: Added.
- wtf/dtoa/bignum.cc: Added.
- wtf/dtoa/bignum.h: Added.
(WTF::double_conversion::Bignum::Times10):
(WTF::double_conversion::Bignum::Equal):
(WTF::double_conversion::Bignum::LessEqual):
(WTF::double_conversion::Bignum::Less):
(WTF::double_conversion::Bignum::PlusEqual):
(WTF::double_conversion::Bignum::PlusLessEqual):
(WTF::double_conversion::Bignum::PlusLess):
(WTF::double_conversion::Bignum::EnsureCapacity):
(WTF::double_conversion::Bignum::BigitLength):
- wtf/dtoa/cached-powers.cc: Added.
- wtf/dtoa/cached-powers.h: Added.
- wtf/dtoa/diy-fp.cc: Added.
- wtf/dtoa/diy-fp.h: Added.
(WTF::double_conversion::DiyFp::DiyFp):
(WTF::double_conversion::DiyFp::Subtract):
(WTF::double_conversion::DiyFp::Minus):
(WTF::double_conversion::DiyFp::Times):
(WTF::double_conversion::DiyFp::Normalize):
(WTF::double_conversion::DiyFp::f):
(WTF::double_conversion::DiyFp::e):
(WTF::double_conversion::DiyFp::set_f):
(WTF::double_conversion::DiyFp::set_e):
- wtf/dtoa/double-conversion.cc: Added.
- wtf/dtoa/double-conversion.h: Added.
(WTF::double_conversion::DoubleToStringConverter::DoubleToStringConverter):
(WTF::double_conversion::StringToDoubleConverter::StringToDoubleConverter):
- wtf/dtoa/double.h: Added.
(WTF::double_conversion::double_to_uint64):
(WTF::double_conversion::uint64_to_double):
(WTF::double_conversion::Double::Double):
(WTF::double_conversion::Double::AsDiyFp):
(WTF::double_conversion::Double::AsNormalizedDiyFp):
(WTF::double_conversion::Double::AsUint64):
(WTF::double_conversion::Double::NextDouble):
(WTF::double_conversion::Double::Exponent):
(WTF::double_conversion::Double::Significand):
(WTF::double_conversion::Double::IsDenormal):
(WTF::double_conversion::Double::IsSpecial):
(WTF::double_conversion::Double::IsNan):
(WTF::double_conversion::Double::IsInfinite):
(WTF::double_conversion::Double::Sign):
(WTF::double_conversion::Double::UpperBoundary):
(WTF::double_conversion::Double::NormalizedBoundaries):
(WTF::double_conversion::Double::value):
(WTF::double_conversion::Double::SignificandSizeForOrderOfMagnitude):
(WTF::double_conversion::Double::Infinity):
(WTF::double_conversion::Double::NaN):
(WTF::double_conversion::Double::DiyFpToUint64):
- wtf/dtoa/fast-dtoa.cc: Added.
- wtf/dtoa/fast-dtoa.h: Added.
- wtf/dtoa/fixed-dtoa.cc: Added.
- wtf/dtoa/fixed-dtoa.h: Added.
- wtf/dtoa/strtod.cc: Added.
- wtf/dtoa/strtod.h: Added.
- wtf/dtoa/utils.h: Added.
(WTF::double_conversion::Max):
(WTF::double_conversion::Min):
(WTF::double_conversion::StrLength):
(WTF::double_conversion::Vector::Vector):
(WTF::double_conversion::Vector::SubVector):
(WTF::double_conversion::Vector::length):
(WTF::double_conversion::Vector::is_empty):
(WTF::double_conversion::Vector::start):
(WTF::double_conversion::Vector::operator[]):
(WTF::double_conversion::Vector::first):
(WTF::double_conversion::Vector::last):
(WTF::double_conversion::StringBuilder::StringBuilder):
(WTF::double_conversion::StringBuilder::~StringBuilder):
(WTF::double_conversion::StringBuilder::size):
(WTF::double_conversion::StringBuilder::position):
(WTF::double_conversion::StringBuilder::Reset):
(WTF::double_conversion::StringBuilder::AddCharacter):
(WTF::double_conversion::StringBuilder::AddString):
(WTF::double_conversion::StringBuilder::AddSubstring):
(WTF::double_conversion::StringBuilder::AddPadding):
(WTF::double_conversion::StringBuilder::Finalize):
(WTF::double_conversion::StringBuilder::is_finalized):
(WTF::double_conversion::BitCast):
- wtf/wtf.pri:
Source/WebCore:
No new tests.
Added new dtoa library at http://code.google.com/p/double-conversion/.
Replaced old call to dtoa. The new library is much faster than the old one.
We still use the old dtoa for some stuff in WebCore as well as the old strtod,
but we can phase these out eventually as well.
- ForwardingHeaders/wtf/dtoa/double-conversion.h: Added.
- WebCore.vcproj/copyForwardingHeaders.cmd:
- css/CSSPrimitiveValue.cpp:
(WebCore::formatNumber):
- html/parser/HTMLParserIdioms.cpp:
(WebCore::serializeForNumberType):
- inspector/InspectorValues.cpp:
(WebCore::InspectorBasicValue::writeJSON):
- platform/graphics/Color.cpp:
(WebCore::Color::serialized):
- 2:57 PM Changeset in webkit [94451] by
-
- 1 edit3 adds in trunk/LayoutTests
Add LayoutTest for the case where long strings are processed by the XSSAuditor.
https://bugs.webkit.org/show_bug.cgi?id=66580
Patch by Tom Sepez <tsepez@chromium.org> on 2011-09-02
Reviewed by Adam Barth.
- http/tests/security/xssAuditor/resources/xss-filter-bypass-long-string-reply.html: Added.
- http/tests/security/xssAuditor/xss-filter-bypass-long-string-expected.txt: Added.
- http/tests/security/xssAuditor/xss-filter-bypass-long-string.html: Added.
- 2:35 PM Changeset in webkit [94450] by
-
- 13 edits2 copies4 adds in trunk
[chromium] Check for null context when reinitializing compositor
https://bugs.webkit.org/show_bug.cgi?id=67507
Reviewed by James Robinson.
- platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
(WebCore::CCSingleThreadProxy::recreateContextIfNeeded):
- 2:16 PM Changeset in webkit [94449] by
-
- 4 edits in trunk/Source/JavaScriptCore
DFG graph has no way of distinguishing or reconciling between static
and dynamic predictions
https://bugs.webkit.org/show_bug.cgi?id=67343
Reviewed by Gavin Barraclough.
PredictedType now stores the source of the prediction. Merging predictions,
which was previously done with a bitwise or, is now done via the
mergePredictions (equivalent to |) and mergePrediction (equivalent to |=)
functions, which correctly handle combinations of static and dynamic.
This is performance-neutral, since all predictions are currently static and
so the code has no visible effects.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::set):
(JSC::DFG::ByteCodeParser::staticallyPredictArray):
(JSC::DFG::ByteCodeParser::staticallyPredictInt32):
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGGraph.h:
(JSC::DFG::Graph::predict):
(JSC::DFG::Graph::predictGlobalVar):
- dfg/DFGNode.h:
(JSC::DFG::isArrayPrediction):
(JSC::DFG::isInt32Prediction):
(JSC::DFG::isDoublePrediction):
(JSC::DFG::isDynamicPrediction):
(JSC::DFG::mergePredictions):
(JSC::DFG::mergePrediction):
(JSC::DFG::makePrediction):
(JSC::DFG::Node::predict):
- 2:08 PM Changeset in webkit [94448] by
-
- 2 edits in trunk/Source/JavaScriptCore
Fix 32bit build.
- 1:49 PM Changeset in webkit [94447] by
-
- 5 edits in branches/safari-534.51-branch/Source
Versioning.
- 1:48 PM Changeset in webkit [94446] by
-
- 7 edits in trunk/LayoutTests
Some media layout tests fail because of ambiguous ordering of canplaythough event.
https://bugs.webkit.org/show_bug.cgi?id=67520
Reviewed by Eric Carlson.
The "canplaythrough" event can occur either before or after the "playing" event, causing layout tests
to fail for certain media engines (AVFoundation). The "canplaythrough" event check isn't adding anything
of value which isn't covered in other layout tests, so remove this event check.
- media/audio-play-event-expected.txt:
- media/audio-play-event.html:
- media/video-play-empty-events-expected.txt:
- media/video-play-empty-events.html:
- media/video-timeupdate-during-playback-expected.txt:
- media/video-timeupdate-during-playback.html:
- 1:41 PM Changeset in webkit [94445] by
-
- 10 edits in trunk/Source/JavaScriptCore
Use bump allocator for initial property storage
https://bugs.webkit.org/show_bug.cgi?id=67494
Reviewed by Gavin Barraclough.
Switch to a bump allocator for the initial out of line
property storage. This gives us slightly faster allocation
for short lived objects that need out of line storage at
the cost of an additional memcpy when the object survives
a GC pass.
No performance impact.
- JavaScriptCore.exp:
- heap/Heap.cpp:
(JSC::Heap::collect):
- heap/Heap.h:
(JSC::Heap::allocatePropertyStorage):
(JSC::Heap::inPropertyStorageNursary):
- heap/NewSpace.cpp:
(JSC::NewSpace::NewSpace):
- heap/NewSpace.h:
(JSC::NewSpace::resetPropertyStorageNursary):
(JSC::NewSpace::allocatePropertyStorage):
(JSC::NewSpace::inPropertyStorageNursary):
- jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
- runtime/JSObject.cpp:
(JSC::JSObject::allocatePropertyStorage):
- runtime/JSObject.h:
(JSC::JSObject::~JSObject):
(JSC::JSObject::putDirectInternal):
(JSC::JSObject::putDirectWithoutTransition):
(JSC::JSObject::putDirectFunctionWithoutTransition):
(JSC::JSObject::transitionTo):
(JSC::JSObject::visitChildrenDirect):
- 1:33 PM Changeset in webkit [94444] by
-
- 4 edits in trunk/Tools
Added Subversion ignore for .pyc generated files.
- Scripts/webkitpy/layout_tests/models: Added property svn:ignore.
- Scripts/webkitpy/layout_tests/servers: Added property svn:ignore.
- Scripts/webkitpy/tool/servers: Added property svn:ignore.
- 1:25 PM Changeset in webkit [94443] by
-
- 2 edits in trunk/LayoutTests
[chromium] Update expectations for tests with animations and reflections
- platform/chromium/test_expectations.txt:
- 12:55 PM Changeset in webkit [94442] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-02
- DEPS:
- 12:48 PM Changeset in webkit [94441] by
-
- 2 edits in trunk/Tools
Enable testing on mac-ews
https://bugs.webkit.org/show_bug.cgi?id=67505
Reviewed by Eric Seidel.
This patch enables testing on the Mac EWS, which should help
contributors not turn the Mac bots red.
- Scripts/webkitpy/tool/commands/earlywarningsystem.py:
- 12:40 PM Changeset in webkit [94440] by
-
- 4 edits2 adds in trunk/LayoutTests
[chromium] Update some chromium gpu baselines
- platform/chromium-gpu-cg-mac/compositing/images/content-image-change-expected.png: Added.
- platform/chromium-gpu-cg-mac/compositing/reflections/animation-inside-reflection-expected.png:
- platform/chromium-gpu-win/compositing/images/content-image-change-expected.png: Added.
- platform/chromium-gpu-win/compositing/reflections/animation-inside-reflection-expected.png:
- platform/chromium/test_expectations.txt:
- 12:27 PM Changeset in webkit [94439] by
-
- 2 edits in trunk/Source/WebKit2
Remove plug-in paths from web process sandbox
https://bugs.webkit.org/show_bug.cgi?id=67518
Reviewed by Adam Roben.
Plug-ins are never accessed from the web process, so remove plug-in paths from the sandbox profile.
- WebProcess/com.apple.WebProcess.sb:
- 12:19 PM Changeset in webkit [94438] by
-
- 2 edits in trunk/Source/WebKit2
Assertion/crash when running netscape-plugin-property-access-exception.html test
https://bugs.webkit.org/show_bug.cgi?id=67517
Reviewed by Adam Roben.
Make sure to initialize the NPVariant in case the plug-in returns true from NP_GetProperty,
but doesn't set the result NPVariant to anything.
- Shared/Plugins/NPObjectMessageReceiver.cpp:
(WebKit::NPObjectMessageReceiver::getProperty):
- 11:55 AM Changeset in webkit [94437] by
-
- 4 edits1 add in trunk/Tools
https://bugs.webkit.org/show_bug.cgi?id=67451
Add a test for going back to a cached page after changing the device scale factor
Reviewed by Adam Roben.
New test DeviceScaleFactorOnBack.mm inherits from WebKitAgnosticTest.
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm: Added.
(TestWebKitAPI::DeviceScaleFactorOnBack::url):
(TestWebKitAPI::DeviceScaleFactorOnBack::didLoadURL):
(TestWebKitAPI::DeviceScaleFactorOnBack::createWindow):
(TestWebKitAPI::DeviceScaleFactorOnBack::initializeView):
(TestWebKitAPI::DeviceScaleFactorOnBack::runTest):
(TestWebKitAPI::TEST_F):
Added new function to WebKitAgnosticTest to goBack. Separated
waitForLoadToFinish() into its own function (instead of being a part of
loadAndWaitUntilFinished()) so that it can be called from goBack as
well. Also added initializeView() so we can set the cache model.
- TestWebKitAPI/mac/WebKitAgnosticTest.h:
(TestWebKitAPI::WebKitAgnosticTest::initializeView):
- TestWebKitAPI/mac/WebKitAgnosticTest.mm:
(TestWebKitAPI::WebKitAgnosticTest::WebKitAgnosticTest):
(TestWebKitAPI::WebKitAgnosticTest::runWebKit1Test):
(TestWebKitAPI::WebKitAgnosticTest::runWebKit2Test):
(TestWebKitAPI::WebKitAgnosticTest::loadURL):
(TestWebKitAPI::WebKitAgnosticTest::goBack):
(TestWebKitAPI::WebKitAgnosticTest::waitForLoadToFinish):
- 11:35 AM Changeset in webkit [94436] by
-
- 3 edits in trunk/LayoutTests
Flaky Test: http/tests/appcache/origin-usage.html
https://bugs.webkit.org/show_bug.cgi?id=60928
Reviewed by Joseph Pecoraro.
Not sure if it was actually flaky anywhere, but it's failing for me on Lion consistently.
- http/tests/appcache/origin-usage-expected.txt:
- http/tests/appcache/origin-usage.html: Increase the range for success. It's OK because data is added in larger chunks anyway.
- 11:17 AM Changeset in webkit [94435] by
-
- 4 edits in trunk
The private browsing state isn't saved when it changes
https://bugs.webkit.org/show_bug.cgi?id=67508
Reviewed by Sam Weinig.
Source/WebKit2:
Store the new private browsing state so subsequent queries for it
will return the right value.
- PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::privateBrowsingStateChanged):
LayoutTests:
Unskip private browsing plug-in tests, since WebKitTestRunner
now has layoutTestController.setPopupBlockingEnabled.
- platform/wk2/Skipped:
- 11:02 AM Changeset in webkit [94434] by
-
- 10 edits189 adds16 deletes in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac, next chunk of files)
Updated newer tests with reference images.
Deleted images with correct fallbacks.
- platform/chromium-mac/media/controls-after-reload-expected.txt: Added.
(remaining files omitted for brevity)
- 10:42 AM Changeset in webkit [94433] by
-
- 15 edits3 deletes in trunk/Source/WebCore
Remove BeforeProcessEvent, it was never meant to be
https://bugs.webkit.org/show_bug.cgi?id=67493
Reviewed by Anders Carlsson.
BeforeProcessEvent was added, never hooked up, and never removed.
Now it is being removed.
- CodeGenerators.pri:
- DerivedSources.make:
- GNUmakefile.list.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- dom/BeforeProcessEvent.cpp: Removed.
- dom/BeforeProcessEvent.h: Removed.
- dom/BeforeProcessEvent.idl: Removed.
- dom/DOMAllInOne.cpp:
- dom/Document.cpp:
(WebCore::Document::addListenerTypeIfNeeded):
- dom/Document.h:
- dom/EventNames.h:
- html/HTMLAttributeNames.in:
- html/HTMLScriptElement.cpp:
(WebCore::HTMLScriptElement::parseMappedAttribute):
- html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::parseMappedAttribute):
- 10:41 AM Changeset in webkit [94432] by
-
- 2 edits in trunk/Tools
Build fix.
- DumpRenderTree/TestNetscapePlugIn/Tests/PrivateBrowsing.cpp:
(PrivateBrowsing::ScriptableObject::pluginTest):
- 10:36 AM Changeset in webkit [94431] by
-
- 18 edits in trunk/Source
[chromium] Remove LayerRendererChromium references from the LayerChromium tree
https://bugs.webkit.org/show_bug.cgi?id=66430
Reviewed by James Robinson.
Source/WebCore:
Covered by existing tests.
Replace references to LayerRendererChromium in the LayerChromium tree
with references to LayerTreeHost. The LayerRendererChromium property
is no longer synced and instead is set recursively on the CCLayerImpl
tree during commit.
WebGLLayerChromium's paintRenderedResultsToCanvas function is
temporarily turned off for threaded compositing because it needs
access to the compositor context.
Previously, changing the layer renderer on a layer called cleanup
resources on that layer. Now, call that explicitly clean up all
resources explicitly from the proxy when the layer renderer gets
created. This cleans up all of the ManagedTexture objects which may be
hanging onto stale GraphicsContext3D pointers.
- platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::cleanupResourcesRecursive):
(WebCore::LayerChromium::setLayerTreeHost):
(WebCore::LayerChromium::pushPropertiesTo):
- platform/graphics/chromium/LayerChromium.h:
(WebCore::LayerChromium::layerTreeHost):
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::drawLayers):
(WebCore::LayerRendererChromium::paintLayerContents):
- platform/graphics/chromium/RenderSurfaceChromium.cpp:
- platform/graphics/chromium/RenderSurfaceChromium.h:
- platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::TiledLayerChromium):
(WebCore::TiledLayerChromium::updateTileSizeAndTilingOption):
(WebCore::TiledLayerChromium::setLayerTreeHost):
(WebCore::TiledLayerChromium::textureManager):
- platform/graphics/chromium/TiledLayerChromium.h:
- platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::VideoLayerChromium):
(WebCore::VideoLayerChromium::cleanupResources):
(WebCore::VideoLayerChromium::setLayerTreeHost):
(WebCore::VideoLayerChromium::reserveTextures):
- platform/graphics/chromium/VideoLayerChromium.h:
- platform/graphics/chromium/WebGLLayerChromium.cpp:
(WebCore::WebGLLayerChromium::paintRenderedResultsToCanvas):
(WebCore::WebGLLayerChromium::setTextureUpdated):
(WebCore::WebGLLayerChromium::layerRendererContext):
- platform/graphics/chromium/WebGLLayerChromium.h:
- platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::setLayerRendererRecursive):
- platform/graphics/chromium/cc/CCLayerImpl.h:
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::commitTo):
(WebCore::CCLayerTreeHost::didRecreateGraphicsContext):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::initializeLayerRenderer):
Source/WebKit/chromium:
Change references to LayerRendererChromium to CCLayerTreeHost.
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
- 10:33 AM Changeset in webkit [94430] by
-
- 14 edits1 add in trunk
Move private browsing test to a PluginTest subclass
https://bugs.webkit.org/show_bug.cgi?id=67498
Reviewed by Darin Adler.
Tools:
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
- DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
(pluginGetProperty):
- DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
- DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
(PluginTest::NPP_SetValue):
- DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
- DumpRenderTree/TestNetscapePlugIn/Tests/PrivateBrowsing.cpp: Added.
(PrivateBrowsing::PrivateBrowsing):
(PrivateBrowsing::privateBrowsingEnabled):
(PrivateBrowsing::cachedPrivateBrowsingEnabled):
(PrivateBrowsing::ScriptableObject::hasProperty):
(PrivateBrowsing::ScriptableObject::getProperty):
(PrivateBrowsing::ScriptableObject::pluginTest):
(PrivateBrowsing::NPP_New):
(PrivateBrowsing::NPP_GetValue):
(PrivateBrowsing::NPP_SetValue):
- DumpRenderTree/TestNetscapePlugIn/main.cpp:
(NPP_New):
(NPP_SetValue):
- DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
- DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
- GNUmakefile.am:
LayoutTests:
Set the 'test' attribute to 'private-browsing'.
- plugins/private-browsing-mode-2.html:
- plugins/private-browsing-mode.html:
- 10:24 AM Changeset in webkit [94429] by
-
- 4 edits3 copies2 adds in trunk/LayoutTests
[Chromium] Unreviewed, update expectations after r94420.
- platform/chromium-win-xp/fast/css/getComputedStyle/computed-style-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt.
- platform/chromium-win-xp/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt.
- platform/chromium-win-xp/svg/css/getComputedStyle-basic-expected.txt: Copied from LayoutTests/platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt.
- platform/chromium-win/fast/borders/border-image-repeat-expected.png: Added.
- platform/chromium-win/fast/borders/border-image-repeat-expected.txt: Added.
- platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
- platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
- 10:09 AM Changeset in webkit [94428] by
-
- 2 edits in trunk/Source/WebCore
Build fix.
- platform/network/mac/CookieStorageMac.mm: (WebCore::setCookieStoragePrivateBrowsingEnabled): Can't use BUILDING_ON_SNOW_LEOPARD without defined() when not on Snow Leopard.
- 10:07 AM Changeset in webkit [94427] by
-
- 72 edits in trunk/Source/WebCore
Unreviewed, rolling out r94421.
http://trac.webkit.org/changeset/94421
https://bugs.webkit.org/show_bug.cgi?id=67496
Broke a number of tests on Chromium builders (including the
"cr-linux" EWS bot) (Requested by apavlov on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-02
- accessibility/AXObjectCache.cpp:
(WebCore::nodeHasRole):
- accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(webkit_accessible_get_name):
- dom/Document.cpp:
(WebCore::Document::buildAccessKeyMap):
(WebCore::Document::recalcStyleSelector):
- dom/Element.cpp:
(WebCore::Element::baseURI):
(WebCore::Element::formatForDebugger):
(WebCore::Element::spellcheckAttributeState):
- dom/NameNodeList.cpp:
(WebCore::NameNodeList::nodeMatches):
- editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::removeEmbeddingUpToEnclosingBlock):
- editing/SplitElementCommand.cpp:
(WebCore::SplitElementCommand::doUnapply):
- editing/markup.cpp:
(WebCore::shouldIncludeWrapperForFullySelectedRoot):
(WebCore::createMarkup):
- html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::draggable):
(WebCore::HTMLAnchorElement::href):
(WebCore::HTMLAnchorElement::name):
(WebCore::HTMLAnchorElement::target):
(WebCore::HTMLAnchorElement::sendPings):
(WebCore::HTMLAnchorElement::handleClick):
- html/HTMLAppletElement.cpp:
(WebCore::HTMLAppletElement::createRenderer):
- html/HTMLAreaElement.cpp:
(WebCore::HTMLAreaElement::target):
- html/HTMLBodyElement.cpp:
(WebCore::HTMLBodyElement::aLink):
(WebCore::HTMLBodyElement::bgColor):
(WebCore::HTMLBodyElement::link):
(WebCore::HTMLBodyElement::text):
(WebCore::HTMLBodyElement::vLink):
(WebCore::HTMLBodyElement::addSubresourceAttributeURLs):
- html/HTMLButtonElement.cpp:
(WebCore::HTMLButtonElement::value):
- html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::reset):
- html/HTMLCollection.cpp:
(WebCore::HTMLCollection::checkForNameMatch):
(WebCore::HTMLCollection::updateNameCache):
- html/HTMLDocument.cpp:
(WebCore::HTMLDocument::dir):
- html/HTMLElement.cpp:
(WebCore::HTMLElement::parseMappedAttribute):
(WebCore::HTMLElement::draggable):
(WebCore::HTMLElement::title):
(WebCore::setHasDirAutoFlagRecursively):
(WebCore::HTMLElement::directionalityIfhasDirAutoAttribute):
(WebCore::HTMLElement::adjustDirectionalityIfNeededAfterChildAttributeChanged):
(WebCore::HTMLElement::adjustDirectionalityIfNeededAfterChildrenChanged):
- html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::updateWidget):
(WebCore::HTMLEmbedElement::insertedIntoDocument):
(WebCore::HTMLEmbedElement::addSubresourceAttributeURLs):
- html/HTMLFormCollection.cpp:
(WebCore::HTMLFormCollection::getNamedFormItem):
(WebCore::HTMLFormCollection::updateNameCache):
- html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::autofocus):
(WebCore::HTMLFormControlElement::updateVisibleValidationMessage):
- html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::name):
(WebCore::HTMLFormElement::action):
(WebCore::HTMLFormElement::method):
(WebCore::HTMLFormElement::target):
- html/HTMLFrameElement.cpp:
(WebCore::HTMLFrameElement::noResize):
- html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::setNameAndOpenURL):
(WebCore::HTMLFrameElementBase::location):
(WebCore::HTMLFrameElementBase::allowFullScreen):
- html/HTMLHtmlElement.cpp:
(WebCore::HTMLHtmlElement::insertedByParser):
- html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::altText):
(WebCore::HTMLImageElement::width):
(WebCore::HTMLImageElement::height):
(WebCore::HTMLImageElement::alt):
(WebCore::HTMLImageElement::draggable):
(WebCore::HTMLImageElement::src):
(WebCore::HTMLImageElement::addSubresourceAttributeURLs):
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::finishParsingChildren):
(WebCore::HTMLInputElement::altText):
(WebCore::HTMLInputElement::reset):
(WebCore::HTMLInputElement::searchEventsShouldBeDispatched):
(WebCore::HTMLInputElement::isSpeechEnabled):
- html/HTMLLabelElement.cpp:
(WebCore::HTMLLabelElement::control):
- html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::process):
(WebCore::HTMLLinkElement::href):
(WebCore::HTMLLinkElement::rel):
(WebCore::HTMLLinkElement::target):
(WebCore::HTMLLinkElement::type):
- html/HTMLMapElement.cpp:
(WebCore::HTMLMapElement::imageElement):
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::attributeChanged):
(WebCore::HTMLMediaElement::insertedIntoDocument):
- html/HTMLMetaElement.cpp:
(WebCore::HTMLMetaElement::content):
(WebCore::HTMLMetaElement::httpEquiv):
(WebCore::HTMLMetaElement::name):
- html/HTMLMeterElement.cpp:
(WebCore::HTMLMeterElement::min):
(WebCore::HTMLMeterElement::max):
(WebCore::HTMLMeterElement::value):
(WebCore::HTMLMeterElement::low):
(WebCore::HTMLMeterElement::high):
(WebCore::HTMLMeterElement::optimum):
- html/HTMLNameCollection.cpp:
(WebCore::HTMLNameCollection::itemAfter):
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::updateWidget):
(WebCore::HTMLObjectElement::containsJavaApplet):
(WebCore::HTMLObjectElement::addSubresourceAttributeURLs):
- html/HTMLOptGroupElement.cpp:
(WebCore::HTMLOptGroupElement::groupLabelText):
- html/HTMLProgressElement.cpp:
(WebCore::HTMLProgressElement::max):
- html/HTMLScriptElement.cpp:
(WebCore::HTMLScriptElement::sourceAttributeValue):
(WebCore::HTMLScriptElement::charsetAttributeValue):
(WebCore::HTMLScriptElement::typeAttributeValue):
(WebCore::HTMLScriptElement::languageAttributeValue):
(WebCore::HTMLScriptElement::forAttributeValue):
(WebCore::HTMLScriptElement::eventAttributeValue):
- html/HTMLSourceElement.cpp:
(WebCore::HTMLSourceElement::media):
(WebCore::HTMLSourceElement::type):
- html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::media):
(WebCore::HTMLStyleElement::type):
- html/HTMLTableCellElement.cpp:
(WebCore::HTMLTableCellElement::abbr):
(WebCore::HTMLTableCellElement::axis):
(WebCore::HTMLTableCellElement::headers):
(WebCore::HTMLTableCellElement::scope):
(WebCore::HTMLTableCellElement::addSubresourceAttributeURLs):
- html/HTMLTableColElement.cpp:
(WebCore::HTMLTableColElement::width):
- html/HTMLTableElement.cpp:
(WebCore::HTMLTableElement::rules):
(WebCore::HTMLTableElement::summary):
(WebCore::HTMLTableElement::addSubresourceAttributeURLs):
- html/HTMLTableSectionElement.cpp:
(WebCore::HTMLTableSectionElement::align):
(WebCore::HTMLTableSectionElement::ch):
(WebCore::HTMLTableSectionElement::chOff):
(WebCore::HTMLTableSectionElement::vAlign):
- html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::maxLength):
- html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::strippedPlaceholder):
(WebCore::HTMLTextFormControlElement::isPlaceholderEmpty):
- html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::src):
(WebCore::HTMLTrackElement::kind):
(WebCore::HTMLTrackElement::srclang):
(WebCore::HTMLTrackElement::label):
(WebCore::HTMLTrackElement::isDefault):
(WebCore::HTMLTrackElement::load):
- html/HTMLVideoElement.cpp:
(WebCore::HTMLVideoElement::width):
(WebCore::HTMLVideoElement::height):
- html/StepRange.cpp:
(WebCore::StepRange::StepRange):
- html/shadow/TextControlInnerElements.cpp:
(WebCore::InputFieldSpeechButtonElement::startSpeechInput):
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::buildObjectForFrame):
- loader/FormSubmission.cpp:
(WebCore::FormSubmission::create):
- loader/ImageLoader.cpp:
(WebCore::ImageLoader::updateFromElement):
- page/Frame.cpp:
(WebCore::Frame::matchLabelsAgainstElement):
- page/PageSerializer.cpp:
(WebCore::PageSerializer::serializeFrame):
- page/mac/FrameMac.mm:
(WebCore::Frame::matchLabelsAgainstElement):
- platform/chromium/ClipboardChromium.cpp:
(WebCore::writeImageToDataObject):
- platform/chromium/PasteboardChromium.cpp:
(WebCore::Pasteboard::writeImage):
- platform/gtk/PasteboardGtk.cpp:
(WebCore::getURLForImageNode):
- platform/mac/HTMLConverter.mm:
(fileWrapperForElement):
- platform/win/ClipboardWin.cpp:
(WebCore::writeImageToDataObject):
(WebCore::ClipboardWin::declareAndWriteDragImage):
- rendering/HitTestResult.cpp:
(WebCore::HitTestResult::altDisplayString):
(WebCore::HitTestResult::absoluteImageURL):
(WebCore::HitTestResult::absoluteLinkURL):
- rendering/RenderDetails.cpp:
(WebCore::RenderDetails::isOpen):
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::itemAccessibilityText):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::addPDFURLRect):
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::computePreferredLogicalWidths):
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::autosaveName):
- rendering/RenderVideo.cpp:
(WebCore::RenderVideo::calculateIntrinsicSize):
- rendering/mathml/RenderMathMLFenced.cpp:
(WebCore::RenderMathMLFenced::updateFromElement):
- rendering/mathml/RenderMathMLFraction.cpp:
(WebCore::RenderMathMLFraction::updateFromElement):
- rendering/mathml/RenderMathMLOperator.cpp:
(WebCore::RenderMathMLOperator::updateFromElement):
- svg/SVGFontData.cpp:
(WebCore::SVGFontData::applySVGGlyphSelection):
- 10:02 AM Changeset in webkit [94426] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION (r94093): Private browsing doesn't start with a clean state on Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=67356
Reviewed by Darin Adler.
- platform/network/mac/CookieStorageMac.mm: (WebCore::setCookieStoragePrivateBrowsingEnabled): Don't enable old-style private browsing when using sessions - it would take precedence over session cookie storage on Snow Leopard.
- 10:01 AM Changeset in webkit [94425] by
-
- 12 edits in trunk
BORDER attribute percent with the input image tag not working.
https://bugs.webkit.org/show_bug.cgi?id=66467
Patch by Mihnea Ovidenie <mihnea@adobe.com> on 2011-09-02
Reviewed by Simon Fraser.
Source/WebCore:
This patch fixes 2 issues regarding the border attribute of an input image element.
- The border attribute, if specified, is now taken into account and the border of the input image element is displayed.
- If the border attribute contains percent, the border is displayed.
The value of the border attribute for input image element is now parsed according to the rules for parsing non-negative integers.
This implies that when percent is specified in the border attribute, parsing takes place and the percent is ignored.
If after parsing, the value of the border is greater than zero, the border of the input image element is displayed.
- html/HTMLElement.cpp:
(WebCore::parseBorderWidthAttribute):
(WebCore::HTMLElement::applyBorderAttribute):
- html/HTMLElement.h:
- html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::parseMappedAttribute):
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::parseMappedAttribute):
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::parseMappedAttribute):
LayoutTests:
Test border-width-percent was modified with tests for input image element.
Expected results for input-image-alt-test were regenerated since an image input element
takes border attribute into account.
Also, mark the test as failure for chromium.
- fast/borders/border-width-percent-expected.txt:
- fast/borders/border-width-percent.html:
- platform/chromium/test_expectations.txt:
- platform/mac/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
- platform/mac/fast/dom/HTMLInputElement/input-image-alt-text-expected.txt:
- 9:59 AM Changeset in webkit [94424] by
-
- 8 edits1 add in trunk
Implement the Event constructor for V8.
https://bugs.webkit.org/show_bug.cgi?id=66756
Patch by Kentaro Hara <haraken@google.com> on 2011-09-02
Reviewed by Adam Barth.
Source/WebCore:
The spec of the Event constructor is here:
http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-event-constructor
This patch implements the Event constructor for V8 in V8EventConstructors.cpp,
similar to the implementation for JSC in JSEventConstructors.cpp.
- WebCore.gypi: Added V8EventConstructors.cpp.
- WebCore.pro: Ditto.
- bindings/scripts/CodeGeneratorV8.pm:
- bindings/v8/OptionsObject.cpp:
(WebCore::OptionsObject::getKeyDouble): Returns a value of type double corresponding to a given key.
- bindings/v8/OptionsObject.h:
(WebCore::OptionsObject::getKeyValue): Returns a value corresponding to a given key.
- bindings/v8/custom/V8EventConstructors.cpp: Added.
(WebCore::constructV8Event): AllowAllocation::current() means that a DOM object created by WebCore is going to be just wrapped into a V8 object. In this case, we skip the code of constructorCallback().
- dom/Event.idl: Added |V8CustomConstructor|.
LayoutTests:
- platform/chromium/test_expectations.txt: Unskip fast/events/constructors/event-constructors.html.
- 9:50 AM Changeset in webkit [94423] by
-
- 2 edits in trunk/Source/WebCore
[v8] Use size_t instead of unsigned when iterating over Vector in V8DOMStringMap
https://bugs.webkit.org/show_bug.cgi?id=67484
Reviewed by Yury Semikhatsky.
No new tests, minor cleanup.
- bindings/v8/custom/V8DOMStringMapCustom.cpp:
(WebCore::V8DOMStringMap::namedPropertyEnumerator):
- 9:38 AM Changeset in webkit [94422] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, rolling out r94404.
http://trac.webkit.org/changeset/94404
https://bugs.webkit.org/show_bug.cgi?id=67490
"Patch is wrong, new API needs two reviewers, we are already
working on how to add notifications elsewhere" (Requested by
xan_ on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-02
- bindings/gobject/GNUmakefile.am:
- 9:13 AM Changeset in webkit [94421] by
-
- 72 edits in trunk/Source/WebCore
Use fastGetAttribute() and fastHasAttribute() where appropriate.
https://bugs.webkit.org/show_bug.cgi?id=67394
Reviewed by Darin Adler.
Change call sites that don't check the "style" or SVG animatable
attributes to use fastGetAttribute()/fastHasAttribute() instead
of getAttribute()/hasAttribute().
No new tests, this is a minor performance optimization.
- accessibility/AXObjectCache.cpp:
(WebCore::nodeHasRole):
- accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(webkit_accessible_get_name):
- dom/Document.cpp:
(WebCore::Document::buildAccessKeyMap):
(WebCore::Document::recalcStyleSelector):
- dom/Element.cpp:
(WebCore::Element::baseURI):
(WebCore::Element::formatForDebugger):
(WebCore::Element::spellcheckAttributeState):
- dom/NameNodeList.cpp:
(WebCore::NameNodeList::nodeMatches):
- editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::removeEmbeddingUpToEnclosingBlock):
- editing/SplitElementCommand.cpp:
(WebCore::SplitElementCommand::doUnapply):
- editing/markup.cpp:
(WebCore::shouldIncludeWrapperForFullySelectedRoot):
(WebCore::createMarkup):
- html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::draggable):
(WebCore::HTMLAnchorElement::href):
(WebCore::HTMLAnchorElement::name):
(WebCore::HTMLAnchorElement::target):
(WebCore::HTMLAnchorElement::sendPings):
(WebCore::HTMLAnchorElement::handleClick):
- html/HTMLAppletElement.cpp:
(WebCore::HTMLAppletElement::createRenderer):
- html/HTMLAreaElement.cpp:
(WebCore::HTMLAreaElement::target):
- html/HTMLBodyElement.cpp:
(WebCore::HTMLBodyElement::aLink):
(WebCore::HTMLBodyElement::bgColor):
(WebCore::HTMLBodyElement::link):
(WebCore::HTMLBodyElement::text):
(WebCore::HTMLBodyElement::vLink):
(WebCore::HTMLBodyElement::addSubresourceAttributeURLs):
- html/HTMLButtonElement.cpp:
(WebCore::HTMLButtonElement::value):
- html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::reset):
- html/HTMLCollection.cpp:
(WebCore::HTMLCollection::checkForNameMatch):
(WebCore::HTMLCollection::updateNameCache):
- html/HTMLDocument.cpp:
(WebCore::HTMLDocument::dir):
- html/HTMLElement.cpp:
(WebCore::HTMLElement::parseMappedAttribute):
(WebCore::HTMLElement::draggable):
(WebCore::HTMLElement::title):
(WebCore::setHasDirAutoFlagRecursively):
(WebCore::HTMLElement::directionalityIfhasDirAutoAttribute):
(WebCore::HTMLElement::adjustDirectionalityIfNeededAfterChildAttributeChanged):
(WebCore::HTMLElement::adjustDirectionalityIfNeededAfterChildrenChanged):
- html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::updateWidget):
(WebCore::HTMLEmbedElement::insertedIntoDocument):
(WebCore::HTMLEmbedElement::addSubresourceAttributeURLs):
- html/HTMLFormCollection.cpp:
(WebCore::HTMLFormCollection::getNamedFormItem):
(WebCore::HTMLFormCollection::updateNameCache):
- html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::autofocus):
(WebCore::HTMLFormControlElement::updateVisibleValidationMessage):
- html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::name):
(WebCore::HTMLFormElement::action):
(WebCore::HTMLFormElement::method):
(WebCore::HTMLFormElement::target):
- html/HTMLFrameElement.cpp:
(WebCore::HTMLFrameElement::noResize):
- html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::setNameAndOpenURL):
(WebCore::HTMLFrameElementBase::location):
(WebCore::HTMLFrameElementBase::allowFullScreen):
- html/HTMLHtmlElement.cpp:
(WebCore::HTMLHtmlElement::insertedByParser):
- html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::altText):
(WebCore::HTMLImageElement::width):
(WebCore::HTMLImageElement::height):
(WebCore::HTMLImageElement::alt):
(WebCore::HTMLImageElement::draggable):
(WebCore::HTMLImageElement::src):
(WebCore::HTMLImageElement::addSubresourceAttributeURLs):
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::finishParsingChildren):
(WebCore::HTMLInputElement::altText):
(WebCore::HTMLInputElement::reset):
(WebCore::HTMLInputElement::searchEventsShouldBeDispatched):
(WebCore::HTMLInputElement::isSpeechEnabled):
- html/HTMLLabelElement.cpp:
(WebCore::HTMLLabelElement::control):
- html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::process):
(WebCore::HTMLLinkElement::href):
(WebCore::HTMLLinkElement::rel):
(WebCore::HTMLLinkElement::target):
(WebCore::HTMLLinkElement::type):
- html/HTMLMapElement.cpp:
(WebCore::HTMLMapElement::imageElement):
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::attributeChanged):
(WebCore::HTMLMediaElement::insertedIntoDocument):
- html/HTMLMetaElement.cpp:
(WebCore::HTMLMetaElement::content):
(WebCore::HTMLMetaElement::httpEquiv):
(WebCore::HTMLMetaElement::name):
- html/HTMLMeterElement.cpp:
(WebCore::HTMLMeterElement::min):
(WebCore::HTMLMeterElement::max):
(WebCore::HTMLMeterElement::value):
(WebCore::HTMLMeterElement::low):
(WebCore::HTMLMeterElement::high):
(WebCore::HTMLMeterElement::optimum):
- html/HTMLNameCollection.cpp:
(WebCore::HTMLNameCollection::itemAfter):
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::updateWidget):
(WebCore::HTMLObjectElement::containsJavaApplet):
(WebCore::HTMLObjectElement::addSubresourceAttributeURLs):
- html/HTMLOptGroupElement.cpp:
(WebCore::HTMLOptGroupElement::groupLabelText):
- html/HTMLProgressElement.cpp:
(WebCore::HTMLProgressElement::max):
- html/HTMLScriptElement.cpp:
(WebCore::HTMLScriptElement::sourceAttributeValue):
(WebCore::HTMLScriptElement::charsetAttributeValue):
(WebCore::HTMLScriptElement::typeAttributeValue):
(WebCore::HTMLScriptElement::languageAttributeValue):
(WebCore::HTMLScriptElement::forAttributeValue):
(WebCore::HTMLScriptElement::eventAttributeValue):
- html/HTMLSourceElement.cpp:
(WebCore::HTMLSourceElement::media):
(WebCore::HTMLSourceElement::type):
- html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::media):
(WebCore::HTMLStyleElement::type):
- html/HTMLTableCellElement.cpp:
(WebCore::HTMLTableCellElement::abbr):
(WebCore::HTMLTableCellElement::axis):
(WebCore::HTMLTableCellElement::headers):
(WebCore::HTMLTableCellElement::scope):
(WebCore::HTMLTableCellElement::addSubresourceAttributeURLs):
- html/HTMLTableColElement.cpp:
(WebCore::HTMLTableColElement::width):
- html/HTMLTableElement.cpp:
(WebCore::HTMLTableElement::rules):
(WebCore::HTMLTableElement::summary):
(WebCore::HTMLTableElement::addSubresourceAttributeURLs):
- html/HTMLTableSectionElement.cpp:
(WebCore::HTMLTableSectionElement::align):
(WebCore::HTMLTableSectionElement::ch):
(WebCore::HTMLTableSectionElement::chOff):
(WebCore::HTMLTableSectionElement::vAlign):
- html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::maxLength):
- html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::strippedPlaceholder):
(WebCore::HTMLTextFormControlElement::isPlaceholderEmpty):
- html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::src):
(WebCore::HTMLTrackElement::kind):
(WebCore::HTMLTrackElement::srclang):
(WebCore::HTMLTrackElement::label):
(WebCore::HTMLTrackElement::isDefault):
(WebCore::HTMLTrackElement::load):
- html/HTMLVideoElement.cpp:
(WebCore::HTMLVideoElement::width):
(WebCore::HTMLVideoElement::height):
- html/StepRange.cpp:
(WebCore::StepRange::StepRange):
- html/shadow/TextControlInnerElements.cpp:
(WebCore::InputFieldSpeechButtonElement::startSpeechInput):
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::buildObjectForFrame):
- loader/FormSubmission.cpp:
(WebCore::FormSubmission::create):
- loader/ImageLoader.cpp:
(WebCore::ImageLoader::updateFromElement):
- page/Frame.cpp:
(WebCore::Frame::matchLabelsAgainstElement):
- page/PageSerializer.cpp:
(WebCore::PageSerializer::serializeFrame):
- page/mac/FrameMac.mm:
(WebCore::Frame::matchLabelsAgainstElement):
- platform/chromium/ClipboardChromium.cpp:
(WebCore::writeImageToDataObject):
- platform/chromium/PasteboardChromium.cpp:
(WebCore::Pasteboard::writeImage):
- platform/gtk/PasteboardGtk.cpp:
(WebCore::getURLForImageNode):
- platform/mac/HTMLConverter.mm:
(fileWrapperForElement):
- platform/win/ClipboardWin.cpp:
(WebCore::writeImageToDataObject):
(WebCore::ClipboardWin::declareAndWriteDragImage):
- rendering/HitTestResult.cpp:
(WebCore::HitTestResult::altDisplayString):
(WebCore::HitTestResult::absoluteImageURL):
(WebCore::HitTestResult::absoluteLinkURL):
- rendering/RenderDetails.cpp:
(WebCore::RenderDetails::isOpen):
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::itemAccessibilityText):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::addPDFURLRect):
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::computePreferredLogicalWidths):
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::autosaveName):
- rendering/RenderVideo.cpp:
(WebCore::RenderVideo::calculateIntrinsicSize):
- rendering/mathml/RenderMathMLFenced.cpp:
(WebCore::RenderMathMLFenced::updateFromElement):
- rendering/mathml/RenderMathMLFraction.cpp:
(WebCore::RenderMathMLFraction::updateFromElement):
- rendering/mathml/RenderMathMLOperator.cpp:
(WebCore::RenderMathMLOperator::updateFromElement):
- svg/SVGFontData.cpp:
(WebCore::SVGFontData::applySVGGlyphSelection):
- 9:00 AM Changeset in webkit [94420] by
-
- 16 edits3 adds in trunk
https://bugs.webkit.org/show_bug.cgi?id=67431
Implement border-image-repeat. Similar to how border-image-slice was implemented, the parsing of the two
repeat values has been moved into separate functions. The value is represented as a Pair (similar to how we
handle border radius).
Reviewed by Beth Dakin.
Added fast/borders/border-image-repeat.html.
Source/WebCore:
- css/CSSBorderImageValue.cpp:
(WebCore::CSSBorderImageValue::CSSBorderImageValue):
(WebCore::CSSBorderImageValue::cssText):
- css/CSSBorderImageValue.h:
(WebCore::CSSBorderImageValue::create):
Modified the CSSBorderImageValue (you're living on borrowed time, my friend!) to have a CSSValue that
contains a Pair.
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::valueForRepeatRule):
(WebCore::valueForNinePieceImageRepeat):
(WebCore::valueForNinePieceImage):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
Add support for the new properties. Break out the value retrieval for the image repeat rules into its
own function, valueForNinePieceImageRepeat.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::BorderImageParseContext::BorderImageParseContext):
(WebCore::BorderImageParseContext::allowRepeat):
(WebCore::BorderImageParseContext::commitSlice):
(WebCore::BorderImageParseContext::commitSlash):
(WebCore::BorderImageParseContext::commitWidth):
(WebCore::BorderImageParseContext::commitRepeat):
(WebCore::BorderImageParseContext::commitBorderImage):
(WebCore::CSSParser::parseBorderImage):
Modified the parsing of border image to call into parseBorderImageRepeat for the repeat values.
(WebCore::isBorderImageRepeatKeyword):
(WebCore::CSSParser::parseBorderImageRepeat):
The new parsing code for border-image-repeat is here. It will build up a CSSValue containing a Pair and
return the result.
- css/CSSParser.h:
- css/CSSPropertyNames.in:
Add the new properties.
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
(WebCore::CSSStyleSelector::mapNinePieceImage):
(WebCore::CSSStyleSelector::mapNinePieceImageRepeat):
- css/CSSStyleSelector.h:
The mapping into the front end is done the same way as border-image-slice. Factor out the image repeat rules
portion into mapNinePieceImageRepeat.
- platform/graphics/Image.cpp:
(WebCore::Image::drawTiled):
- platform/graphics/Image.h:
Add the new 'space' value as a valid image tiling rule. It's not yet supported and, like the 'round' value,
is just mapped to 'repeat' for now.
- rendering/style/NinePieceImage.h:
(WebCore::NinePieceImage::copyRepeatFrom):
Helper for copying only the repeat rules from another NinePieceImage.
LayoutTests:
- fast/borders/border-image-repeat.html: Added.
- fast/css/getComputedStyle/computed-style-expected.txt:
- fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/mac/fast/borders/border-image-repeat-expected.png: Added.
- platform/mac/fast/borders/border-image-repeat-expected.txt: Added.
- svg/css/getComputedStyle-basic-expected.txt:
- 8:57 AM Changeset in webkit [94419] by
-
- 4 edits in trunk
Source/WebCore: [Qt] number input not rendering spin buttons properly in RTL direction
https://bugs.webkit.org/show_bug.cgi?id=67445
Properly render Qt's number input with RTL direction, and fix Plastique styling.
Patch by Jarred Nicholls <jarred@sencha.com> on 2011-09-02
Reviewed by Andreas Kling.
- platform/qt/RenderThemeQt.cpp:
(WebCore::RenderThemeQt::paintInnerSpinButton):
LayoutTests: [Qt] number input not rendering spin buttons properly in RTL direction
https://bugs.webkit.org/show_bug.cgi?id=67445
New baseline for Qt number input with RTL direction.
Patch by Jarred Nicholls <jarred@sencha.com> on 2011-09-02
Reviewed by Andreas Kling.
- platform/qt/fast/forms/input-appearance-number-rtl-expected.png:
- 8:35 AM Changeset in webkit [94418] by
-
- 3 edits2 adds in trunk
Source/WebCore: Resetting media controls when the src is changed from a valid url to an
invalid url.
https://bugs.webkit.org/show_bug.cgi?id=64880
Patch by Arko Saha <nghq36@motorola.com> on 2011-09-02
Reviewed by Eric Carlson.
Test: media/media-controls-invalid-url.html
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::mediaLoadingFailed):
LayoutTests: Controls not reset when media element url changed from a valid url to an invalid url.
https://bugs.webkit.org/show_bug.cgi?id=64880
Patch by Arko Saha <nghq36@motorola.com> on 2011-09-02
Reviewed by Eric Carlson.
- media/media-controls-invalid-url-expected.txt: Added.
- media/media-controls-invalid-url.html: Added.
- 7:09 AM Changeset in webkit [94417] by
-
- 2 edits in trunk/Source/WebKit2
[WK2] Anchor elements doesn't get focus on TAB key press.
https://bugs.webkit.org/show_bug.cgi?id=66949
Patch by Ravi Phaneendra Kasibhatla <ravi.kasibhatla@motorola.com> on 2011-09-02
Reviewed by Adam Roben.
Setting the default property value of TabsToLinks to true
only for GTK platform since Win & Mac platforms doesn't want
it to be set to true by default.
- Shared/WebPreferencesStore.h:
Set the default value of key TabsToLinks to true for GTK platform only.
- 7:05 AM Changeset in webkit [94416] by
-
- 2 edits in trunk/LayoutTests
[Qt][WK2] 4 tests are failing, skip them
https://bugs.webkit.org/show_bug.cgi?id=67485
Patch by Kristóf Kosztyó <kkristof@inf.u-szeged.hu> on 2011-09-02
- platform/qt-wk2/Skipped:
- 7:02 AM Changeset in webkit [94415] by
-
- 5 edits in trunk/LayoutTests
Unreviewed test fix.
Sadly window-property-descriptors enumerates functions in the test
harness. r94362 added a couple of functions, so these results need
to be updated.
- fast/dom/Window/window-property-descriptors-expected.txt:
- platform/mac/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/qt-wk2/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
- 6:22 AM Changeset in webkit [94414] by
-
- 2 edits in trunk/Source/WebKit/efl
Unreviewed build fix after r67110.
- ewk/ewk_view.cpp:
(ewk_view_need_touch_events_get): Make the function signature match
its declaration.
- 6:09 AM Changeset in webkit [94413] by
-
- 2 edits in trunk/LayoutTests
[Qt] Two tests are passing after r94324. They are unskipped:
fast/events/document-elementFromPoint.html
plugins/mouse-events-fixedpos.html
Unreviewed gardening.
- platform/qt/Skipped:
- 5:46 AM Changeset in webkit [94412] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed, update test expectations.
- platform/chromium/test_expectations.txt:
- 5:35 AM Changeset in webkit [94411] by
-
- 2 edits in trunk/Source/WebKit2
[Qt][WK2] Cannot gathering glyph page statistics
https://bugs.webkit.org/show_bug.cgi?id=67475
Rubber stamped by Csaba Osztrogonác.
Fix Qt WK2 build without having QRAWFONT.
- WebProcess/WebProcess.cpp:
(WebKit::WebProcess::getWebCoreStatistics):
- 4:49 AM Changeset in webkit [94410] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: Make it more clear when requests are loaded from cache on network panel.
https://bugs.webkit.org/show_bug.cgi?id=67396
Reviewed by Pavel Feldman.
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkDataGridNode.prototype._refreshStatusCell):
- inspector/front-end/ResourceHeadersView.js:
(WebInspector.ResourceHeadersView.prototype._refreshHTTPInformation):
- inspector/front-end/networkPanel.css:
(.resource-headers-view .outline-disclosure li .status-from-cache):
- 4:41 AM Changeset in webkit [94409] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Should remove resource highlight on sort/filter in network panel.
https://bugs.webkit.org/show_bug.cgi?id=67411
Reviewed by Pavel Feldman.
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._sortItems):
(WebInspector.NetworkLogView.prototype._sortByTimeline):
(WebInspector.NetworkLogView.prototype._updateFilter):
- 4:39 AM Changeset in webkit [94408] by
-
- 5 edits in trunk/Source/WebCore
Web Inspector: Network: jump to initiator's record in case of redirect
https://bugs.webkit.org/show_bug.cgi?id=67367
Reviewed by Pavel Feldman.
- English.lproj/localizedStrings.js:
- inspector/front-end/NetworkManager.js:
(WebInspector.NetworkDispatcher.prototype._appendRedirect):
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkDataGridNode.prototype._refreshInitiatorCell):
- inspector/front-end/Resource.js:
(WebInspector.Resource.prototype.get redirectSource):
(WebInspector.Resource.prototype.set redirectSource):
- 4:36 AM Changeset in webkit [94407] by
-
- 2 edits in trunk/Tools
[Qt] Build dependency problems
https://bugs.webkit.org/show_bug.cgi?id=38054
Trivial fix after r94288.
Rubber-stamped by Andras Becsi.
- Scripts/webkitdirs.pm: We should read the whole defaults.txt, not only the first two lines.
(buildQMakeProject):
- 4:19 AM Changeset in webkit [94406] by
-
- 25 edits in trunk/Source/WebCore
De-virtualize recalcStyle()
https://bugs.webkit.org/show_bug.cgi?id=67378
Reviewed by Dimitri Glazkov.
Element::recalcStyle() does not need to be virtual, there are very few legit overrides. This will
also make it possible to de-recursify it later.
Added willRecalcStyle()/didRecalcStyle() virtual function for subclasses that need custom style recalc.
These are only invoked if hasCustomWillOrDidRecalcStyle() bit is set.
- dom/Document.cpp:
(WebCore::Document::recalcStyle):
- dom/Document.h:
- dom/Element.cpp:
(WebCore::Element::recalcStyle):
- dom/Element.h:
(WebCore::Element::willRecalcStyle):
(WebCore::Element::didRecalcStyle):
- dom/Node.h:
(WebCore::Node::hasCustomWillOrDidRecalcStyle):
(WebCore::Node::setHasCustomWillOrDidRecalcStyle):
- dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::recalcShadowTreeStyle):
- dom/ShadowRoot.h:
- dom/Text.cpp:
(WebCore::Text::recalcTextStyle):
- dom/Text.h:
- html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::HTMLFormControlElement):
(WebCore::HTMLFormControlElement::didRecalcStyle):
- html/HTMLFormControlElement.h:
- html/HTMLFrameSetElement.cpp:
(WebCore::HTMLFrameSetElement::HTMLFrameSetElement):
(WebCore::HTMLFrameSetElement::willRecalcStyle):
- html/HTMLFrameSetElement.h:
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement):
(WebCore::HTMLMediaElement::didRecalcStyle):
- html/HTMLMediaElement.h:
- html/HTMLNoScriptElement.cpp:
(WebCore::HTMLNoScriptElement::HTMLNoScriptElement):
(WebCore::HTMLNoScriptElement::willRecalcStyle):
- html/HTMLNoScriptElement.h:
- html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
(WebCore::HTMLPlugInImageElement::willRecalcStyle):
- html/HTMLPlugInImageElement.h:
- html/HTMLSelectElement.cpp:
- html/HTMLSelectElement.h:
- svg/SVGTRefElement.cpp:
(WebCore::SVGTRefElement::SVGTRefElement):
(WebCore::SVGShadowText::willRecalcStyle):
- svg/SVGUseElement.cpp:
(WebCore::SVGUseElement::SVGUseElement):
(WebCore::SVGUseElement::willRecalcStyle):
(WebCore::SVGUseElement::didRecalcStyle):
- svg/SVGUseElement.h:
- 4:16 AM Changeset in webkit [94405] by
-
- 18 edits18 adds in trunk
WebSocket: Send Blob as WebSocket binary message
https://bugs.webkit.org/show_bug.cgi?id=67465
Reviewed by Kent Tamura.
Re-lands r94399 with a fix for Leopard builds.
Source/WebCore:
- bindings/js/JSWebSocketCustom.cpp:
(WebCore::JSWebSocket::send):
- bindings/v8/custom/V8WebSocketCustom.cpp:
(WebCore::V8WebSocket::sendCallback):
- websockets/ThreadableWebSocketChannel.h:
- websockets/WebSocket.cpp:
(WebCore::WebSocket::send):
- websockets/WebSocket.h:
- websockets/WebSocket.idl:
- websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::send):
- websockets/WebSocketChannel.h:
- websockets/WorkerThreadableWebSocketChannel.cpp:
(WebCore::WorkerThreadableWebSocketChannel::send):
(WebCore::WorkerThreadableWebSocketChannel::Peer::send):
(WebCore::WorkerThreadableWebSocketChannel::mainThreadSendBlob):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::send):
- websockets/WorkerThreadableWebSocketChannel.h:
LayoutTests:
- http/tests/websocket/tests/hixie76/send-empty-expected.txt: Added.
- http/tests/websocket/tests/hixie76/send-empty.html: Added.
- http/tests/websocket/tests/hixie76/send-object-expected.txt: Added.
- http/tests/websocket/tests/hixie76/send-object.html: Added.
- http/tests/websocket/tests/hybi/bufferedAmount-after-close-expected.txt:
- http/tests/websocket/tests/hybi/bufferedAmount-after-close.html:
- http/tests/websocket/tests/hybi/send-blob-expected.txt: Added.
- http/tests/websocket/tests/hybi/send-blob.html: Added.
- http/tests/websocket/tests/hybi/send-blob_wsh.py: Added.
- http/tests/websocket/tests/hybi/send-empty-expected.txt: Added.
- http/tests/websocket/tests/hybi/send-empty.html: Added.
- http/tests/websocket/tests/hybi/send-file-blob-expected.txt: Added.
- http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt: Added.
- http/tests/websocket/tests/hybi/send-file-blob-fail.html: Added.
- http/tests/websocket/tests/hybi/send-file-blob.html: Added.
- http/tests/websocket/tests/hybi/send-file-blob_wsh.py: Added.
- http/tests/websocket/tests/hybi/workers/resources/send-blob.js: Added.
- http/tests/websocket/tests/hybi/workers/resources/send-blob_wsh.py: Added.
- http/tests/websocket/tests/hybi/workers/send-blob-expected.txt: Added.
- http/tests/websocket/tests/hybi/workers/send-blob.html: Added.
- platform/gtk/Skipped:
- platform/mac/Skipped:
- platform/qt/Skipped:
- platform/win/Skipped:
- 4:10 AM Changeset in webkit [94404] by
-
- 2 edits in trunk/Source/WebCore
[GTK] Generate gobject bindings for Notification and NotificationCenter
https://bugs.webkit.org/show_bug.cgi?id=67380
Reviewed by Philippe Normand.
- bindings/gobject/GNUmakefile.am:
- 3:54 AM Changeset in webkit [94403] by
-
- 4 edits in trunk
[chromium] editing/selection/regional-indicators.html timing out on Linux
https://bugs.webkit.org/show_bug.cgi?id=66510
Reviewed by Kent Tamura.
Source/WebCore:
Uses SurrogatePairAwareTextIerator in ComplexTextControllerLinux to handle surrogate pairs correctly.
No new tests. editing/selection/regional-indicators.html should pass with this patch.
- platform/graphics/chromium/ComplexTextControllerLinux.cpp:
(WebCore::ComplexTextController::nextScriptRun): Used SurrogatePairAwareTextIterator to split run.
(WebCore::surrogatePairAwareFirstCharacter): Added.
(WebCore::ComplexTextController::setupFontForScriptRun): Used surrogatePairAwareFirstCharacter() to get appropriate FontData.
LayoutTests:
ComplexTextControllerLinux is now surrogate pairs aware, therefore;
- editing/selection/regional-indicators.html should pass.
- editing/deleting/regional-indicators.html should not timeout.
- fast/text/regional-indicator-symbols.html should pass.
- platform/chromium/test_expectations.txt:
- 3:51 AM Changeset in webkit [94402] by
-
- 18 edits18 deletes in trunk
Unreviewed, rolling out r94399.
http://trac.webkit.org/changeset/94399
https://bugs.webkit.org/show_bug.cgi?id=67471
Broke Leopard build (Requested by yutak on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-02
Source/WebCore:
- bindings/js/JSWebSocketCustom.cpp:
- bindings/v8/custom/V8WebSocketCustom.cpp:
- websockets/ThreadableWebSocketChannel.h:
- websockets/WebSocket.cpp:
- websockets/WebSocket.h:
- websockets/WebSocket.idl:
- websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::send):
- websockets/WebSocketChannel.h:
- websockets/WorkerThreadableWebSocketChannel.cpp:
- websockets/WorkerThreadableWebSocketChannel.h:
LayoutTests:
- http/tests/websocket/tests/hixie76/send-empty-expected.txt: Removed.
- http/tests/websocket/tests/hixie76/send-empty.html: Removed.
- http/tests/websocket/tests/hixie76/send-object-expected.txt: Removed.
- http/tests/websocket/tests/hixie76/send-object.html: Removed.
- http/tests/websocket/tests/hybi/bufferedAmount-after-close-expected.txt:
- http/tests/websocket/tests/hybi/bufferedAmount-after-close.html:
- http/tests/websocket/tests/hybi/send-blob-expected.txt: Removed.
- http/tests/websocket/tests/hybi/send-blob.html: Removed.
- http/tests/websocket/tests/hybi/send-blob_wsh.py: Removed.
- http/tests/websocket/tests/hybi/send-empty-expected.txt: Removed.
- http/tests/websocket/tests/hybi/send-empty.html: Removed.
- http/tests/websocket/tests/hybi/send-file-blob-expected.txt: Removed.
- http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt: Removed.
- http/tests/websocket/tests/hybi/send-file-blob-fail.html: Removed.
- http/tests/websocket/tests/hybi/send-file-blob.html: Removed.
- http/tests/websocket/tests/hybi/send-file-blob_wsh.py: Removed.
- http/tests/websocket/tests/hybi/workers/resources/send-blob.js: Removed.
- http/tests/websocket/tests/hybi/workers/resources/send-blob_wsh.py: Removed.
- http/tests/websocket/tests/hybi/workers/send-blob-expected.txt: Removed.
- http/tests/websocket/tests/hybi/workers/send-blob.html: Removed.
- platform/gtk/Skipped:
- platform/mac/Skipped:
- platform/qt/Skipped:
- platform/win/Skipped:
- 3:40 AM Changeset in webkit [94401] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, rolling out r94393.
http://trac.webkit.org/changeset/94393
https://bugs.webkit.org/show_bug.cgi?id=67470
It broke Qt-SL build (Requested by ossy on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-02
- WebCore.pro:
- 3:38 AM Changeset in webkit [94400] by
-
- 2 edits in trunk/Source/WebCore
[Chromium] Webfonts display bold in Windows
https://bugs.webkit.org/show_bug.cgi?id=67387
Uses font's default weight for webfonts by setting FW_DONTCARE.
Reviewed by Kent Tamura.
No new tests. We don't have fonts to test this change.
- platform/graphics/skia/FontCustomPlatformData.cpp:
(WebCore::FontCustomPlatformData::fontPlatformData): Sets FW_DONTCARE to use default font weight.
- 3:36 AM Changeset in webkit [94399] by
-
- 18 edits18 adds in trunk
WebSocket: Send Blob as WebSocket binary message
https://bugs.webkit.org/show_bug.cgi?id=67465
Reviewed by Kent Tamura.
Source/WebCore:
Tests: http/tests/websocket/tests/hixie76/send-empty.html
http/tests/websocket/tests/hixie76/send-object.html
http/tests/websocket/tests/hybi/send-blob.html
http/tests/websocket/tests/hybi/send-empty.html
http/tests/websocket/tests/hybi/send-file-blob-fail.html
http/tests/websocket/tests/hybi/send-file-blob.html
http/tests/websocket/tests/hybi/workers/send-blob.html
http/tests/websocket/tests/hybi/bufferedAmount-after-close.html (updated)
- bindings/js/JSWebSocketCustom.cpp:
(WebCore::JSWebSocket::send):
- bindings/v8/custom/V8WebSocketCustom.cpp:
(WebCore::V8WebSocket::sendCallback):
- websockets/ThreadableWebSocketChannel.h:
- websockets/WebSocket.cpp:
(WebCore::WebSocket::send):
- websockets/WebSocket.h:
- websockets/WebSocket.idl:
Fixing code generator did not sound easy, because there are some classes depending on
broken behavior of current code generator (one such example is CanvasRenderingContext2D).
As a temporary workaround, new custom handlers for send() are added.
- websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::send):
- websockets/WebSocketChannel.h:
- websockets/WorkerThreadableWebSocketChannel.cpp:
(WebCore::WorkerThreadableWebSocketChannel::send):
(WebCore::WorkerThreadableWebSocketChannel::Peer::send):
(WebCore::WorkerThreadableWebSocketChannel::mainThreadSendBlob):
A Blob can be deserialized from url, type and size.
(WebCore::WorkerThreadableWebSocketChannel::Bridge::send):
KURL, String and long long (corresponding to url, type and size, respectively) can be passed
safely across threads.
- websockets/WorkerThreadableWebSocketChannel.h:
LayoutTests:
- http/tests/websocket/tests/hixie76/send-empty-expected.txt: Added.
- http/tests/websocket/tests/hixie76/send-empty.html: Added.
- http/tests/websocket/tests/hixie76/send-object-expected.txt: Added.
- http/tests/websocket/tests/hixie76/send-object.html: Added.
- http/tests/websocket/tests/hybi/bufferedAmount-after-close-expected.txt:
- http/tests/websocket/tests/hybi/bufferedAmount-after-close.html:
Updated. Added tests to send Blobs.
- http/tests/websocket/tests/hybi/send-blob-expected.txt: Added.
- http/tests/websocket/tests/hybi/send-blob.html:
Added. Send three Blobs each of which contains a small binary message.
- http/tests/websocket/tests/hybi/send-blob_wsh.py:
Added. receive_message() returns a unicode value if the received message was text, or
a str value if the message was binary.
- http/tests/websocket/tests/hybi/send-empty-expected.txt: Added.
- http/tests/websocket/tests/hybi/send-empty.html: Added.
- http/tests/websocket/tests/hybi/send-file-blob-expected.txt: Added.
- http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt: Added.
- http/tests/websocket/tests/hybi/send-file-blob-fail.html:
Added. If we delete a file before reading it, FileReaderLoader reliably fails.
- http/tests/websocket/tests/hybi/send-file-blob.html:
Added. Create a File and try to send it as a Blob.
- http/tests/websocket/tests/hybi/send-file-blob_wsh.py: Added.
- http/tests/websocket/tests/hybi/workers/resources/send-blob.js:
Added. Same as send-blob.html above.
- http/tests/websocket/tests/hybi/workers/resources/send-blob_wsh.py:
Added. Same as send-blob_wsh.py above.
- http/tests/websocket/tests/hybi/workers/send-blob-expected.txt: Added.
- http/tests/websocket/tests/hybi/workers/send-blob.html: Added.
- platform/gtk/Skipped:
send-file-blob.html and send-file-blob-fail.html depend on availability of File API.
- platform/mac/Skipped: Ditto.
- platform/qt/Skipped: Ditto.
- platform/win/Skipped: Ditto.
- 3:21 AM Changeset in webkit [94398] by
-
- 2 edits in trunk/Source/WebKit2
<http://webkit.org/b/67467> WebProcessProxy::secItemCopyMatching / WebProcessProxy::secItemAdd
leak the results of the APIs they wrap.
Reviewed by Dan Bernstein.
- UIProcess/mac/WebProcessProxyMac.mm:
(WebKit::WebProcessProxy::secItemCopyMatching): Adopt the result of SecItemCopyMatching in to a
RetainPtr to ensure it gets released at the appropriate time.
(WebKit::WebProcessProxy::secItemAdd): Ditto for SecItemAdd.
- 2:58 AM Changeset in webkit [94397] by
-
- 7 edits in trunk/Source/WebCore
[WebAudio] Undeclared dependency to VIDEO
https://bugs.webkit.org/show_bug.cgi?id=66893
Reviewed by Kenneth Russell.
Build MediaAudioSourceNode only if VIDEO is enabled
- webaudio/AudioContext.cpp:
- webaudio/AudioContext.h:
- webaudio/AudioContext.idl:
- webaudio/MediaElementAudioSourceNode.cpp:
- webaudio/MediaElementAudioSourceNode.h:
- webaudio/MediaElementAudioSourceNode.idl:
- 2:53 AM Changeset in webkit [94396] by
-
- 2 edits in trunk/Tools
Remove my old e-mail address and add my new one.
Rubber-stamped by Tor Arne Vestbø.
- Scripts/webkitpy/common/config/committers.py:
- 2:33 AM WebKit Team edited by
- (diff)
- 2:09 AM Changeset in webkit [94395] by
-
- 3 edits in trunk/LayoutTests
Unreviewed, GTK rebaseline after r94304.
- platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/gtk/fast/dom/prototype-inheritance-2-expected.txt:
- 1:49 AM Changeset in webkit [94394] by
-
- 5 edits in trunk/LayoutTests
[Qt] Update Qt specific expected files after r94304.
Unreviewed gardening.
- platform/qt/fast/dom/Window/window-property-descriptors-expected.png:
- platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/qt/fast/dom/prototype-inheritance-2-expected.png:
- platform/qt/fast/dom/prototype-inheritance-2-expected.txt:
- 1:26 AM Changeset in webkit [94393] by
-
- 2 edits in trunk/Source/WebCore
[Qt][WK2] Unreviewed speculative buildfix.
- WebCore.pro: Add platform/graphics/GlyphPageTreeNode.cpp to SOURCES.
- 1:25 AM Changeset in webkit [94392] by
-
- 1 edit5 adds in trunk/LayoutTests
[Qt] Add Qt expecteds for new tests.
Unreviewed gardening.
- platform/qt/fast/borders/border-image-slices-expected.png: Added.
- platform/qt/fast/borders/border-image-slices-expected.txt: Added.
- platform/qt/fast/text/fallback-traits-fixup-expected.txt: Added.
- platform/qt/svg/custom/pattern-rotate-gaps-expected.png: Added.
- platform/qt/svg/custom/pattern-rotate-gaps-expected.txt: Added.
- 12:58 AM Changeset in webkit [94391] by
-
- 7 edits in trunk/Source/WebCore
Unreviewed, rolling out r94389.
http://trac.webkit.org/changeset/94389
https://bugs.webkit.org/show_bug.cgi?id=67468
breaks mac build (Requested by philn-tp on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-02
- webaudio/AudioContext.cpp:
(WebCore::AudioContext::createMediaElementSource):
- webaudio/AudioContext.h:
- webaudio/AudioContext.idl:
- webaudio/MediaElementAudioSourceNode.cpp:
- webaudio/MediaElementAudioSourceNode.h:
- webaudio/MediaElementAudioSourceNode.idl:
- 12:41 AM Changeset in webkit [94390] by
-
- 4 edits1 delete in trunk/Source/WebCore
Generate an EventSource constructor of V8 using the IDL 'Constructor' extended attribute
https://bugs.webkit.org/show_bug.cgi?id=67459
Patch by Kentaro Hara <haraken@google.com> on 2011-09-02
Reviewed by Adam Barth.
Tests: fast/eventsource/eventsource-constructor.html
fast/eventsource/eventsource-attribute-listeners.html
- WebCore.gypi: Removed V8EventSourceConstructor.cpp.
- WebCore.pro: Removed V8EventSourceConstructor.cpp.
- bindings/v8/custom/V8EventSourceConstructor.cpp: Removed.
- page/EventSource.idl: Added the 'Constructor' extended attribute.
- 12:35 AM Changeset in webkit [94389] by
-
- 7 edits in trunk/Source/WebCore
[WebAudio] Undeclared dependency to VIDEO
https://bugs.webkit.org/show_bug.cgi?id=66893
Reviewed by Kenneth Russell.
Build MediaAudioSourceNode only if VIDEO is enabled
- webaudio/AudioContext.cpp:
- webaudio/AudioContext.h:
- webaudio/AudioContext.idl:
- webaudio/MediaElementAudioSourceNode.cpp:
- webaudio/MediaElementAudioSourceNode.h:
- webaudio/MediaElementAudioSourceNode.idl:
- 12:32 AM Changeset in webkit [94388] by
-
- 2 edits in trunk/Tools
[GTK] run-gtk-tests leaves a zombie Xvfb process
https://bugs.webkit.org/show_bug.cgi?id=67389
Reviewed by Martin Robinson.
- Scripts/run-gtk-tests: Properly close STDIN and STDERR on the child process instead of doing shell redirection.
Sep 1, 2011:
- 11:33 PM Changeset in webkit [94387] by
-
- 12 edits6 adds in trunk
[WebSocket] Implement WebSocket::close() code and reason handling.
https://bugs.webkit.org/show_bug.cgi?id=66925
Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-09-01
Reviewed by Kent Tamura.
Source/WebCore:
Tests: http/tests/websocket/tests/hybi/close.html
http/tests/websocket/tests/hybi/workers/close.html
- bindings/js/JSWebSocketCustom.cpp:
(WebCore::JSWebSocket::close):
- bindings/v8/custom/V8WebSocketCustom.cpp:
(WebCore::V8WebSocket::closeCallback):
Add custom bridge for WebSocket::close().
- websockets/ThreadableWebSocketChannel.h:
- websockets/WebSocket.cpp:
(WebCore::WebSocket::close):
- websockets/WebSocket.h:
- websockets/WebSocket.idl:
- websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::close):
Add code and reason arguments handling.
(WebCore::WebSocketChannel::startClosingHandshake):
Send a close frame without code and reason on server initiated closing handshakes.
(WebCore::WebSocketChannel::processFrame):
(WebCore::WebSocketChannel::processFrameHixie76):
- websockets/WebSocketChannel.h:
- websockets/WorkerThreadableWebSocketChannel.cpp:
(WebCore::WorkerThreadableWebSocketChannel::close):
(WebCore::WorkerThreadableWebSocketChannel::Peer::close):
(WebCore::WorkerThreadableWebSocketChannel::mainThreadClose):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::close):
- websockets/WorkerThreadableWebSocketChannel.h:
Add code and reason arguments handling.
LayoutTests:
- http/tests/websocket/tests/hybi/close-expected.txt: Added.
- http/tests/websocket/tests/hybi/close.html: Added.
- http/tests/websocket/tests/hybi/close_wsh.py: Added.
- http/tests/websocket/tests/hybi/workers/close-expected.txt: Added.
- http/tests/websocket/tests/hybi/workers/close.html: Added.
- http/tests/websocket/tests/hybi/workers/resources/close.js: Added.
(postResult):
(testFailed):
(debug):
(shouldBe):
(shouldBeTrue):
(shouldBeFalse):
(handleOpen):
(handleError):
(handleClose):
(handleMessage):
(setDefaultHandlers):
(runCodeTest.else.ws.onclose):
(runCodeTest):
(runInvalidStringTest):
(runReasonTest.else.ws.onclose):
(runReasonTest):
(runCodeAndReasonTest.):
(runCodeAndReasonTest):
- 9:57 PM Changeset in webkit [94386] by
-
- 7 edits in trunk
Fix the build by adding some more missing return types.
Source/WebCore:
- page/mac/WebCoreViewFactory.m:
(-[WebCoreViewFactory init]):
Source/WebKit/mac:
- WebView/WebDashboardRegion.h:
- WebView/WebDashboardRegion.mm:
(-[WebDashboardRegion initWithRect:clip:type:]):
Tools:
- DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
- 9:03 PM Changeset in webkit [94385] by
-
- 3 edits in trunk/LayoutTests
Unreviewed test fix.
r94362 erroneously changed the description wording generated by
the js-test-pre.
- fast/js/resources/js-test-pre.js:
(description): add the word 'see'
- platform/chromium/fast/dom/prototype-inheritance-expected.txt:
- 8:59 PM Changeset in webkit [94384] by
-
- 1 edit2 adds in trunk/LayoutTests
[chromium] Add chromium-mac-leopard pixel baselines for new/modified tests with text
- platform/chromium-cg-mac-leopard/fast/text/fallback-traits-fixup-expected.png: Added.
- platform/chromium-cg-mac-leopard/svg/custom/pattern-rotate-gaps-expected.png: Added.
- 7:27 PM Changeset in webkit [94383] by
-
- 2 edits in trunk/Source/WebCore
[Chromium] Fix a crashing bug due to raciness around SQL database shutdown.
https://bugs.webkit.org/show_bug.cgi?id=67457
The removeOpenDatabase() method can get called multiple times.
Subsequent calls to it should be harmeless instead of cause a crash.
Reviewed by David Levin.
- storage/chromium/DatabaseTrackerChromium.cpp:
(WebCore::DatabaseTracker::removeOpenDatabase):
- 7:12 PM Changeset in webkit [94382] by
-
- 5 edits in trunk
The filename text color of a file upload control should be inherited.
https://bugs.webkit.org/show_bug.cgi?id=67368
Reviewed by Darin Adler.
Source/WebCore:
- css/html.css:
(input[type="file"]):
Add 'color: inherit'.
The declaration for 'input' contains 'color: initial;'. So a file
upload control has had black foreground color unless it has been
specified 'color' property explicitly.
Because a file upload control uses inherited background color, the
foreground color also should be inherited.
LayoutTests:
- fast/forms/file/file-style-inheritance-expected.txt:
- fast/forms/file/file-style-inheritance.html: Add a testcase.
- 6:37 PM Changeset in webkit [94381] by
-
- 3 edits in trunk/Source/WebCore
Generate a Worker constructor of V8 using the IDL 'Constructor' extended attribute
https://bugs.webkit.org/show_bug.cgi?id=67447
Patch by Kentaro Hara <haraken@google.com> on 2011-09-01
Reviewed by Dimitri Glazkov.
Test: fast/workers/worker-constructor.html
fast/workers/worker-event-listener.html
- bindings/v8/custom/V8WorkerCustom.cpp: Removed constructorCallback().
- workers/Worker.idl: Added the 'Constructor' extended attribute.
- 6:35 PM Changeset in webkit [94380] by
-
- 6 edits in trunk/Source/WebKit/efl
[EFL] Allow controlling minimum DOMTimer interval on a per-page basis
https://bugs.webkit.org/show_bug.cgi?id=67012
Reviewed by Kenneth Russell.
Set default minimum DOMTimer interval to 4ms instead of 10ms. Because, 4ms is known
to better minimum value for performance. Mac, android, chromium and window ports already
use 4ms instead of 10ms.
It is desirable to be able to change the minimum DOMTimer interval on per-page basis
in order to avoid consuming excessive CPU and battery life on mobile devices. In addition,
other ports have already used this setting by means of Bug 54312.
- ewk/ewk_main.cpp:
(_ewk_init_body):
- ewk/ewk_settings.cpp:
(ewk_settings_default_timer_interval_get):
- ewk/ewk_settings.h:
- ewk/ewk_view.cpp:
(_ewk_view_priv_new):
(ewk_view_setting_minimum_timer_interval_set):
(ewk_view_setting_minimum_timer_interval_get):
- ewk/ewk_view.h:
- 6:33 PM Changeset in webkit [94379] by
-
- 2 edits1 copy1 move2 adds in trunk/LayoutTests
[chromium] Add chromium leopard baselines
- platform/chromium-cg-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.png:
- platform/chromium-cg-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.txt: Copied from LayoutTests/platform/win/fast/text/international/bidi-mirror-he-ar-expected.txt.
- platform/win-wk2/fast/text/international/bidi-mirror-he-ar-expected.txt: Renamed from LayoutTests/platform/win/fast/text/international/bidi-mirror-he-ar-expected.txt.
- 6:25 PM Changeset in webkit [94378] by
-
- 5 edits in trunk/Source/WebKit/efl
[EFL] Remove unused code related with priv->render.process_entire_queue in ewk_tiled_backing_store.
https://bugs.webkit.org/show_bug.cgi?id=63377
priv->render.process_entire_queue affects no logical flow of ewk_tiled_backing_store,
But, ewk_view_tiled_process_entire_queue_set is now provided as setter api for it.
So removal of this api and some codes related with it is required.
Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2011-09-01
Reviewed by Antonio Gomes.
- ewk/ewk_tiled_backing_store.c:
(_ewk_tiled_backing_store_smart_add):
(ewk_tiled_backing_store_enable_render):
- ewk/ewk_tiled_backing_store.h:
- ewk/ewk_view.h:
- ewk/ewk_view_tiled.c:
(ewk_view_tiled_unused_cache_set):
- 6:00 PM Changeset in webkit [94377] by
-
- 2 edits in trunk/LayoutTests
[chromium] Remove expectation lines for tests that pass
- platform/chromium/test_expectations.txt:
- 5:51 PM Changeset in webkit [94376] by
-
- 4 edits in trunk/Source/JavaScriptCore
Fix the build.
- JavaScriptCore.JSVALUE32_64only.exp:
- JavaScriptCore.JSVALUE64only.exp:
- JavaScriptCore.exp:
- 5:49 PM Changeset in webkit [94375] by
-
- 3 edits in trunk/Source/WebCore
Generate a FileReader constructor of V8 using the IDL 'Constructor' extended attribute
https://bugs.webkit.org/show_bug.cgi?id=67412
Patch by Kentaro Hara <haraken@google.com> on 2011-09-01
Reviewed by Adam Barth.
Test: fast/files/blob-slice-test.html
fast/files/file-reader-abort.html
- bindings/v8/custom/V8FileReaderCustom.cpp: Removed constructorCallback().
- fileapi/FileReader.idl: Added the 'Constructor' extended attribute.
- 5:42 PM Changeset in webkit [94374] by
-
- 1 edit1 add in trunk/LayoutTests
Added Snow Leopard expected results to the test added in r94352.
- platform/mac-snowleopard/fast/text/fallback-traits-fixup-expected.txt: Added.
- 5:32 PM Changeset in webkit [94373] by
-
- 6 edits in trunk/Source
Source/WebCore: [chromium] Code cleanup FIXME in Chromium recognizer
https://bugs.webkit.org/show_bug.cgi?id=67448
Patch by Robert Kroeger <rjkroege@chromium.org> on 2011-09-01
Reviewed by Adam Barth.
- page/EventHandler.cpp:
(WebCore::EventHandler::handleGestureEvent):
Fixed a bug noticed by a benjaminp while reviewing a different
ndonned patch where global positions were not being set correctly
on gesture-driven mouse wheel events.
- platform/chromium/GestureRecognizerChromium.cpp:
Changed static per-edge functions into methods and improves
encapsulation. No new functionality is present.
(WebCore::GestureRecognizerChromium::GestureRecognizerChromium):
(WebCore::GestureRecognizerChromium::reset):
(WebCore::GestureRecognizerChromium::~GestureRecognizerChromium):
(WebCore::GestureRecognizerChromium::addEdgeFunction):
(WebCore::GestureRecognizerChromium::isInClickTimeWindow):
(WebCore::GestureRecognizerChromium::isInsideManhattanSquare):
(WebCore::GestureRecognizerChromium::appendClickGestureEvent):
(WebCore::GestureRecognizerChromium::processTouchEventForGestures):
(WebCore::GestureRecognizerChromium::appendScrollGestureBegin):
(WebCore::GestureRecognizerChromium::appendScrollGestureEnd):
(WebCore::GestureRecognizerChromium::appendScrollGestureUpdate):
(WebCore::GestureRecognizerChromium::updateValues):
(WebCore::GestureRecognizerChromium::signature):
(WebCore::GestureRecognizerChromium::touchDown):
(WebCore::GestureRecognizerChromium::scrollEnd):
(WebCore::GestureRecognizerChromium::noGesture):
(WebCore::GestureRecognizerChromium::click):
(WebCore::GestureRecognizerChromium::isClickOrScroll):
(WebCore::GestureRecognizerChromium::inScroll):
- platform/chromium/GestureRecognizerChromium.h:
(WebCore::GestureRecognizerChromium::setState):
Source/WebKit/chromium: [chromium] Code cleanup FIXME in Chromium recognizer
https://bugs.webkit.org/show_bug.cgi?id=67448
Updated GestureRecognizer unit tests for more encapsulated
gesture recognizer implementation.
Patch by Robert Kroeger <rjkroege@chromium.org> on 2011-09-01
Reviewed by Adam Barth.
- tests/InnerGestureRecognizerTest.cpp:
(InspectableGestureRecognizerChromium::InspectableGestureRecognizerChromium):
(InspectableGestureRecognizerChromium::signature):
(InspectableGestureRecognizerChromium::edgeFunction):
(InspectableGestureRecognizerChromium::updateValues):
(InspectableGestureRecognizerChromium::addEdgeFunction):
(InspectableGestureRecognizerChromium::setStateTest):
(InspectableGestureRecognizerChromium::isInsideManhattanSquare):
(InspectableGestureRecognizerChromium::isInClickTimeWindow):
(InspectableGestureRecognizerChromium::stubEdgeFunction):
(GestureRecognizerTest::GestureRecognizerTest):
(TEST_F):
- 5:29 PM Changeset in webkit [94372] by
-
- 19 edits2 adds in trunk/Source/WebCore
Move LayoutRepainter to its own class
https://bugs.webkit.org/show_bug.cgi?id=66255
Reviewed by Hajime Morita.
No new tests, code movement only.
- rendering/RenderObject.h: Moved code from here ...
- rendering/LayoutRepainter.cpp: Added.
(WebCore::LayoutRepainter::LayoutRepainter):
(WebCore::LayoutRepainter::repaintAfterLayout):
- rendering/LayoutRepainter.h: Added.
(WebCore::LayoutRepainter::checkForRepaint):
... to those 2 files.
- CMakeLists.txt:
- GNUmakefile.list.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
Updated our build systems.
- rendering/RenderingAllInOne.cpp:
Needed for the Windows bot.
- rendering/RenderBlock.cpp:
- rendering/RenderDeprecatedFlexibleBox.cpp:
- rendering/RenderReplaced.cpp:
- rendering/RenderTable.cpp:
- rendering/svg/RenderSVGContainer.cpp:
- rendering/svg/RenderSVGForeignObject.cpp:
- rendering/svg/RenderSVGImage.cpp:
- rendering/svg/RenderSVGPath.cpp:
- rendering/svg/RenderSVGRoot.cpp:
- rendering/svg/RenderSVGText.cpp:
Added #include "LayoutRepainter".
- 5:20 PM Changeset in webkit [94371] by
-
- 4 edits in trunk/Source
Source/WebCore: Cleanup refactoring for https://bugs.webkit.org/show_bug.cgi?id=67160
Don't ifdef out the data member xslStyleSheets in MemoryCache::Statistics to cut down
the ifdefs in getWebCoreMemoryCacheStatistics() in WebKit2/WebProcess/WebProcess.cpp.
Reviewed by Darin Adler.
No new tests required. Just small code refactoring.
- loader/cache/MemoryCache.h:
Source/WebKit2: Cut down the ifdefs in WebKit::getWebCoreMemoryCacheStatistics() now that
MemoryCache::Statistics always has the xslStyleSheets field.
Reviewed by Darin Adler.
- WebProcess/WebProcess.cpp:
(WebKit::getWebCoreMemoryCacheStatistics):
- 5:20 PM Changeset in webkit [94370] by
-
- 6 edits3 adds1 delete in trunk/LayoutTests
[chromium] Update leopard pixel baselines for svg tests
- platform/chromium-cg-mac-leopard/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Added.
- platform/chromium-cg-mac-leopard/svg/custom/non-scaling-stroke-expected.png:
- platform/chromium-cg-mac-leopard/svg/custom/pattern-rotate-expected.png:
- platform/chromium-cg-mac-leopard/svg/custom/pattern-skew-transformed-expected.png: Removed.
- platform/chromium-cg-mac-leopard/svg/custom/pattern-with-transformation-expected.png:
- platform/chromium-cg-mac-leopard/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
- platform/chromium-cg-mac-leopard/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
- platform/chromium-cg-mac/svg/custom/pattern-rotate-expected.png: Added.
- platform/chromium-cg-mac/svg/custom/pattern-rotate-gaps-expected.png: Added.
- 5:18 PM Changeset in webkit [94369] by
-
- 10 edits20 adds in trunk
REGRESSION (r84327-r84329): CSS stylesheets fail to load on www.flagstar.com login page
https://bugs.webkit.org/show_bug.cgi?id=65140
Reviewed by Darin Adler.
Source/WebCore:
Tests: fast/css/stylesheet-enable-first-alternate-link.html
fast/css/stylesheet-enable-first-alternate-on-load-link.html
fast/css/stylesheet-enable-first-alternate-on-load-sheet.html
fast/css/stylesheet-enable-second-alternate-link.html
fast/css/stylesheet-enable-second-alternate-on-load-link.html
fast/css/stylesheet-enable-second-alternate-on-load-sheet.html
http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error.html
http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html
This patch basically reverts 88479 and 84329 while keeping the tests
we developped during the implementation.
Following discussion, it looks like HTML5 will need to be amended.
In the meantime, we will just revert the changes so that we can come
up with a better change.
- dom/Document.cpp:
(WebCore::Document::recalcStyleSelector):
- html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::HTMLLinkElement):
(WebCore::HTMLLinkElement::setDisabledState):
(WebCore::HTMLLinkElement::parseMappedAttribute):
(WebCore::HTMLLinkElement::process):
Revert those method to their original content.
- html/HTMLLinkElement.h:
(WebCore::HTMLLinkElement::isDisabled):
(WebCore::HTMLLinkElement::isEnabledViaScript):
(WebCore::HTMLLinkElement::isAlternate):
Re-introduced the DisabledState enum.
- html/HTMLLinkElement.idl: |disabled| is Reflect'ed again.
LayoutTests:
- fast/css/stylesheet-enable-first-alternate-link-expected.txt: Added.
- fast/css/stylesheet-enable-first-alternate-link.html: Added.
- fast/css/stylesheet-enable-first-alternate-on-load-link-expected.txt: Added.
- fast/css/stylesheet-enable-first-alternate-on-load-link.html: Added.
- fast/css/stylesheet-enable-first-alternate-on-load-sheet-expected.txt: Added.
- fast/css/stylesheet-enable-first-alternate-on-load-sheet.html: Added.
- fast/css/stylesheet-enable-second-alternate-link-expected.txt: Added.
- fast/css/stylesheet-enable-second-alternate-link.html: Added.
- fast/css/stylesheet-enable-second-alternate-on-load-link-expected.txt: Added.
- fast/css/stylesheet-enable-second-alternate-on-load-link.html: Added.
- fast/css/stylesheet-enable-second-alternate-on-load-sheet-expected.txt: Added.
- fast/css/stylesheet-enable-second-alternate-on-load-sheet.html: Added.
- http/tests/css/link-css-disabled-value-with-slow-loading-sheet-expected.txt: Added.
- http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error-expected.txt: Added.
- http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error.html: Added.
- http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html: Added.
- http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet-in-error.js: Added.
(onSheetLoaded):
(testWhenLoaded):
- http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet.js: Added.
(onSheetLoaded):
(testWhenLoaded):
- http/tests/css/resources/slow-loading-sheet-in-error.php: Added.
- http/tests/css/resources/slow-loading-sheet.php: Added.
New tests developped for 65140. The baselines matches what FF and Opera are doing (IE does not support
link.sheet at the moment). Those failures are covered by bug 67436.
- fast/css/link-disabled-attr-expected.txt:
- fast/dom/HTMLLinkElement/disabled-attribute-expected.txt:
Fixed the baseline to match our behavior. The FAIL are our current deviation from the spec. Those
failures are covered by bug 67436.
- fast/dom/boolean-attribute-reflection-expected.txt:
- fast/dom/script-tests/boolean-attribute-reflection.js:
Re-added link.disabled as a reflected attribute.
- 5:16 PM Changeset in webkit [94368] by
-
- 2 edits in trunk/Source/WebCore
Fix layout test regressions from r94352.
Reviewed by Anders Carlsson.
- platform/graphics/mac/FontCacheMac.mm:
(WebCore::FontCache::getFontDataForCharacters): In the custom font case (that is, when there is
not base NSFont) always get and use the best variation.
- 5:11 PM Changeset in webkit [94367] by
-
- 6 edits in trunk
Revert r94355 because it caused bunch of builds to break.
Source/WebCore:
- page/DOMWindow.idl:
LayoutTests:
- platform/mac/fast/dom/Window/window-properties-expected.txt:
- platform/mac/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/mac/fast/js/global-constructors-expected.txt:
- 4:57 PM Changeset in webkit [94366] by
-
- 2 edits4 adds in trunk/LayoutTests
[chromium] Update chromium baselines+expectations for fast/text/fallback-traits-fixup.html
- platform/chromium-cg-mac/fast/text/fallback-traits-fixup-expected.png: Added.
- platform/chromium-cg-mac/fast/text/fallback-traits-fixup-expected.txt: Added.
- platform/chromium-linux/fast/text/fallback-traits-fixup-expected.png: Added.
- platform/chromium-linux/fast/text/fallback-traits-fixup-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 4:53 PM Changeset in webkit [94365] by
-
- 2 edits in trunk/Source/WebCore
<rdar://problem/10063411> WebScriptObject.h declares an Objective-C method without a return type.
Rubber-stamped by Anders Carlsson.
- bridge/objc/WebScriptObject.h:
- 4:49 PM Changeset in webkit [94364] by
-
- 79 edits in trunk/Source
Unzip initialization lists and constructors in JSCell hierarchy (4/7)
https://bugs.webkit.org/show_bug.cgi?id=67174
Patch by Mark Hahnenberg <mhahnenberg@apple.com> on 2011-09-01
Reviewed by Oliver Hunt.
Source/JavaScriptCore:
Completed the fourth level of the refactoring to add finishCreation()
methods to all classes within the JSCell hierarchy with non-trivial
constructor bodies.
This primarily consists of pushing the calls to finishCreation() down
into the constructors of the subclasses of the second level of the hierarchy
as well as pulling the finishCreation() calls out into the class's corresponding
create() method if it has one. Doing both simultaneously allows us to
maintain the invariant that the finishCreation() method chain is called exactly
once during the creation of an object, since calling it any other number of
times (0, 2, or more) will cause an assertion failure.
- API/JSCallbackConstructor.cpp:
(JSC::JSCallbackConstructor::JSCallbackConstructor):
(JSC::JSCallbackConstructor::finishCreation):
- API/JSCallbackConstructor.h:
- API/JSCallbackObject.h:
(JSC::JSCallbackObject::create):
- API/JSCallbackObjectFunctions.h:
(JSC::::JSCallbackObject):
(JSC::::finishCreation):
- JavaScriptCore.JSVALUE64only.exp:
- JavaScriptCore.exp:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- debugger/DebuggerActivation.cpp:
(JSC::DebuggerActivation::DebuggerActivation):
(JSC::DebuggerActivation::create):
- debugger/DebuggerActivation.h:
- runtime/Arguments.h:
(JSC::Arguments::create):
(JSC::Arguments::createNoParameters):
(JSC::Arguments::Arguments):
- runtime/ArrayPrototype.cpp:
(JSC::ArrayPrototype::ArrayPrototype):
(JSC::ArrayPrototype::finishCreation):
- runtime/ArrayPrototype.h:
- runtime/BooleanObject.cpp:
(JSC::BooleanObject::BooleanObject):
(JSC::BooleanObject::finishCreation):
- runtime/BooleanObject.h:
- runtime/DateInstance.cpp:
(JSC::DateInstance::DateInstance):
(JSC::DateInstance::finishCreation):
- runtime/DateInstance.h:
- runtime/ErrorInstance.cpp:
(JSC::ErrorInstance::ErrorInstance):
- runtime/ErrorInstance.h:
(JSC::ErrorInstance::create):
- runtime/ErrorPrototype.cpp:
(JSC::ErrorPrototype::ErrorPrototype):
(JSC::ErrorPrototype::finishCreation):
- runtime/ErrorPrototype.h:
- runtime/ExceptionHelpers.cpp:
(JSC::InterruptedExecutionError::InterruptedExecutionError):
(JSC::InterruptedExecutionError::create):
(JSC::TerminatedExecutionError::TerminatedExecutionError):
(JSC::TerminatedExecutionError::create):
- runtime/Executable.cpp:
(JSC::EvalExecutable::EvalExecutable):
(JSC::ProgramExecutable::ProgramExecutable):
(JSC::FunctionExecutable::FunctionExecutable):
- runtime/Executable.h:
(JSC::NativeExecutable::create):
(JSC::NativeExecutable::NativeExecutable):
(JSC::EvalExecutable::create):
(JSC::ProgramExecutable::create):
(JSC::FunctionExecutable::create):
- runtime/InternalFunction.cpp:
(JSC::InternalFunction::InternalFunction):
(JSC::InternalFunction::finishCreation):
- runtime/InternalFunction.h:
- runtime/JSActivation.cpp:
(JSC::JSActivation::JSActivation):
(JSC::JSActivation::finishCreation):
- runtime/JSActivation.h:
- runtime/JSArray.cpp:
(JSC::JSArray::JSArray):
- runtime/JSArray.h:
(JSC::JSArray::create):
- runtime/JSByteArray.cpp:
(JSC::JSByteArray::JSByteArray):
- runtime/JSByteArray.h:
(JSC::JSByteArray::create):
- runtime/JSFunction.cpp:
(JSC::JSFunction::JSFunction):
(JSC::JSFunction::finishCreation):
- runtime/JSFunction.h:
(JSC::JSFunction::create):
- runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::JSGlobalObject):
(JSC::JSGlobalObject::finishCreation):
- runtime/JSNotAnObject.h:
(JSC::JSNotAnObject::JSNotAnObject):
(JSC::JSNotAnObject::create):
- runtime/JSONObject.cpp:
(JSC::JSONObject::JSONObject):
(JSC::JSONObject::finishCreation):
- runtime/JSONObject.h:
- runtime/JSObjectWithGlobalObject.cpp:
(JSC::JSObjectWithGlobalObject::JSObjectWithGlobalObject):
- runtime/JSObjectWithGlobalObject.h:
- runtime/JSStaticScopeObject.h:
(JSC::JSStaticScopeObject::create):
(JSC::JSStaticScopeObject::finishCreation):
(JSC::JSStaticScopeObject::JSStaticScopeObject):
- runtime/JSVariableObject.h:
(JSC::JSVariableObject::JSVariableObject):
- runtime/JSWrapperObject.h:
(JSC::JSWrapperObject::JSWrapperObject):
- runtime/MathObject.cpp:
(JSC::MathObject::MathObject):
(JSC::MathObject::finishCreation):
- runtime/MathObject.h:
- runtime/NumberObject.cpp:
(JSC::NumberObject::NumberObject):
(JSC::NumberObject::finishCreation):
- runtime/NumberObject.h:
- runtime/ObjectPrototype.cpp:
(JSC::ObjectPrototype::ObjectPrototype):
- runtime/ObjectPrototype.h:
(JSC::ObjectPrototype::create):
- runtime/RegExpConstructor.cpp:
(JSC::RegExpMatchesArray::RegExpMatchesArray):
(JSC::RegExpMatchesArray::finishCreation):
- runtime/RegExpMatchesArray.h:
- runtime/RegExpObject.cpp:
(JSC::RegExpObject::RegExpObject):
(JSC::RegExpObject::finishCreation):
- runtime/RegExpObject.h:
- runtime/StrictEvalActivation.cpp:
(JSC::StrictEvalActivation::StrictEvalActivation):
- runtime/StrictEvalActivation.h:
(JSC::StrictEvalActivation::create):
- runtime/StringObject.cpp:
(JSC::StringObject::StringObject):
(JSC::StringObject::finishCreation):
- runtime/StringObject.h:
Source/JavaScriptGlue:
Completed the fourth level of the refactoring to add finishCreation()
methods to all classes within the JSCell hierarchy with non-trivial
constructor bodies.
This primarily consists of pushing the calls to finishCreation() down
into the constructors of the subclasses of the second level of the hierarchy
as well as pulling the finishCreation() calls out into the class's corresponding
create() method if it has one. Doing both simultaneously allows us to
maintain the invariant that the finishCreation() method chain is called exactly
once during the creation of an object, since calling it any other number of
times (0, 2, or more) will cause an assertion failure.
- UserObjectImp.cpp:
(UserObjectImp::UserObjectImp):
- UserObjectImp.h:
(UserObjectImp::create):
Source/WebCore:
No new tests.
Completed the fourth level of the refactoring to add finishCreation()
methods to all classes within the JSCell hierarchy with non-trivial
constructor bodies.
This primarily consists of pushing the calls to finishCreation() down
into the constructors of the subclasses of the second level of the hierarchy
as well as pulling the finishCreation() calls out into the class's corresponding
create() method if it has one. Doing both simultaneously allows us to
maintain the invariant that the finishCreation() method chain is called exactly
once during the creation of an object, since calling it any other number of
times (0, 2, or more) will cause an assertion failure.
- bindings/js/JSDOMWindowShell.cpp:
(WebCore::JSDOMWindowShell::JSDOMWindowShell):
(WebCore::JSDOMWindowShell::create):
- bindings/js/JSDOMWindowShell.h:
- bindings/js/JSDOMWrapper.h:
(WebCore::JSDOMWrapper::JSDOMWrapper):
- bindings/js/ScriptController.cpp:
(WebCore::ScriptController::createWindowShell):
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
- bindings/scripts/test/JS/JSTestInterface.h:
(WebCore::JSTestInterfacePrototype::JSTestInterfacePrototype):
- bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
(WebCore::JSTestMediaQueryListListenerPrototype::JSTestMediaQueryListListenerPrototype):
- bindings/scripts/test/JS/JSTestObj.h:
(WebCore::JSTestObjPrototype::JSTestObjPrototype):
- bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
(WebCore::JSTestSerializedScriptValueInterfacePrototype::JSTestSerializedScriptValueInterfacePrototype):
- bridge/objc/objc_runtime.h:
- bridge/objc/objc_runtime.mm:
(JSC::Bindings::ObjcFallbackObjectImp::ObjcFallbackObjectImp):
(JSC::Bindings::ObjcFallbackObjectImp::finishCreation):
- bridge/runtime_array.cpp:
(JSC::RuntimeArray::RuntimeArray):
(JSC::RuntimeArray::finishCreation):
- bridge/runtime_array.h:
- bridge/runtime_object.cpp:
(JSC::Bindings::RuntimeObject::RuntimeObject):
(JSC::Bindings::RuntimeObject::finishCreation):
- bridge/runtime_object.h:
Source/WebKit2:
Completed the fourth level of the refactoring to add finishCreation()
methods to all classes within the JSCell hierarchy with non-trivial
constructor bodies.
This primarily consists of pushing the calls to finishCreation() down
into the constructors of the subclasses of the second level of the hierarchy
as well as pulling the finishCreation() calls out into the class's corresponding
create() method if it has one. Doing both simultaneously allows us to
maintain the invariant that the finishCreation() method chain is called exactly
once during the creation of an object, since calling it any other number of
times (0, 2, or more) will cause an assertion failure.
- WebProcess/Plugins/Netscape/JSNPObject.cpp:
(WebKit::JSNPObject::JSNPObject):
(WebKit::JSNPObject::finishCreation):
- WebProcess/Plugins/Netscape/JSNPObject.h:
- 4:45 PM Changeset in webkit [94363] by
-
- 4 edits in trunk/Source/WebCore
[chromium] Remove unsafe raw GraphicsContext3D pointer from ProgramBinding
https://bugs.webkit.org/show_bug.cgi?id=67003
Reviewed by James Robinson.
ProgramBinding now takes an explicit cleanup call to destroy its
resources. This will assert if it is not called and will leak no
longer potentially dereference a dead pointer.
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::borderProgram):
(WebCore::LayerRendererChromium::headsUpDisplayProgram):
(WebCore::LayerRendererChromium::renderSurfaceProgram):
(WebCore::LayerRendererChromium::renderSurfaceMaskProgram):
(WebCore::LayerRendererChromium::tilerProgram):
(WebCore::LayerRendererChromium::tilerProgramSwizzle):
(WebCore::LayerRendererChromium::tilerProgramAA):
(WebCore::LayerRendererChromium::tilerProgramSwizzleAA):
(WebCore::LayerRendererChromium::canvasLayerProgram):
(WebCore::LayerRendererChromium::pluginLayerProgram):
(WebCore::LayerRendererChromium::videoLayerRGBAProgram):
(WebCore::LayerRendererChromium::videoLayerYUVProgram):
(WebCore::LayerRendererChromium::cleanupSharedObjects):
- platform/graphics/chromium/ProgramBinding.cpp:
(WebCore::ProgramBindingBase::ProgramBindingBase):
(WebCore::ProgramBindingBase::~ProgramBindingBase):
(WebCore::ProgramBindingBase::init):
(WebCore::ProgramBindingBase::cleanup):
(WebCore::ProgramBindingBase::loadShader):
(WebCore::ProgramBindingBase::createShaderProgram):
- platform/graphics/chromium/ProgramBinding.h:
(WebCore::ProgramBinding::ProgramBinding):
(WebCore::ProgramBinding::initialize):
- 4:41 PM Changeset in webkit [94362] by
-
- 9 edits5 deletes in trunk/LayoutTests
fast/dom/global-constructors.html and fast/dom/prototype-inheritance.html are way too fragile
https://bugs.webkit.org/show_bug.cgi?id=67452
Reviewed by Darin Adler.
Modifies these tests to not print PASS lines for all of the expected successes, since that means they have to be
updated whenever the set of properties on the global object is changed. That is not the point of these tests
and it just causes excessive churn.
- fast/dom/global-constructors-expected.txt:
- fast/dom/global-constructors.html:
- fast/dom/prototype-inheritance-expected.txt:
- fast/dom/script-tests/prototype-inheritance.js:
- fast/js/resources/js-test-pre.js:
(description):
(descriptionQuiet):
(shouldBe):
(shouldBeTrueQuiet):
- platform/chromium-mac/fast/dom/prototype-inheritance-expected.txt:
- platform/chromium/fast/dom/global-constructors-expected.txt: Removed.
- platform/chromium/fast/dom/prototype-inheritance-expected.txt:
- platform/chromium/test_expectations.txt:
- platform/gtk/fast/dom/prototype-inheritance-expected.txt: Removed.
- platform/mac/fast/dom/prototype-inheritance-expected.txt: Removed.
- platform/qt/fast/dom/prototype-inheritance-expected.txt: Removed.
- platform/win/fast/dom/prototype-inheritance-expected.txt: Removed.
- 4:32 PM Changeset in webkit [94361] by
-
- 1 edit1 add in trunk/LayoutTests
Added Windows expected results to the test added in r94352.
- platform/win/fast/text/fallback-traits-fixup-expected.txt: Added.
- 4:29 PM Changeset in webkit [94360] by
-
- 10 edits in trunk/Source/WebCore
Don't include unnecessary headers in V8 bindings
https://bugs.webkit.org/show_bug.cgi?id=67435
Reviewed by Darin Adler.
When an IDL attribue is Conditonal the corresponding headers
need to be surrounded with the correct #if ENABLE().
- bindings/scripts/CodeGeneratorV8.pm:
- bindings/scripts/test/CPP/WebDOMTestObj.cpp:
- bindings/scripts/test/CPP/WebDOMTestObj.h:
- bindings/scripts/test/JS/JSTestObj.cpp:
- bindings/scripts/test/JS/JSTestObj.h:
- bindings/scripts/test/ObjC/DOMTestObj.h:
- bindings/scripts/test/ObjC/DOMTestObj.mm:
- bindings/scripts/test/TestObj.idl:
- bindings/scripts/test/V8/V8TestObj.cpp:
- 4:25 PM Changeset in webkit [94359] by
-
- 4 edits1 add in trunk/Source/WebKit/chromium
[Chromium, Skia] Add virtual to WebGraphicsContext3D to create a new GrGLInterface per context. Insert per-skia-GL-function callback to set correct GL context.
https://bugs.webkit.org/show_bug.cgi?id=67395
Patch by Brian Salomon <bsalomon@google.com> on 2011-09-01
Reviewed by Kenneth Russell.
- WebKit.gyp:
- public/WebGraphicsContext3D.h:
(WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
- src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3DPrivate::grContext):
- src/WebGraphicsContext3D.cpp: Added.
(WebKit::WebGraphicsContext3D::createGrGLInterface):
- 4:22 PM Changeset in webkit [94358] by
-
- 12 edits in trunk/Source/WebCore
Rename CFNETWORK_DATA_ARRAY_CALLBACK to NETWORK_CFDATA_ARRAY_CALLBACK
https://bugs.webkit.org/show_bug.cgi?id=67348
Reviewed by Alexey Proskuryakov.
- loader/ResourceLoader.h:
- loader/SubresourceLoader.h:
- loader/cf/SubresourceLoaderCF.cpp:
- loader/mac/ResourceLoaderMac.mm:
- platform/SharedBuffer.cpp:
(WebCore::SharedBuffer::clear):
(WebCore::SharedBuffer::buffer):
- platform/SharedBuffer.h:
- platform/cf/SharedBufferCF.cpp:
- platform/network/ResourceHandle.h:
- platform/network/ResourceHandleClient.h:
- platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::ResourceHandle::createCFURLConnection):
- platform/network/mac/ResourceHandleMac.mm:
- 4:06 PM Changeset in webkit [94357] by
-
- 15 edits3 adds in trunk
TypeError should be thrown when a constructor is called as a normal function.
https://bugs.webkit.org/show_bug.cgi?id=67381
Patch by Kentaro Hara <haraken@google.com> on 2011-09-01
Reviewed by Darin Adler.
The spec is here: http://www.w3.org/TR/WebIDL/#es-interface-call
For example, "Image()" or "XMLHttpRequest()" should throw TypeError.
Source/WebCore:
Test: fast/dom/call-a-constructor-as-a-function.html
- bindings/v8/custom/V8ArrayBufferCustom.cpp:
(WebCore::V8ArrayBuffer::constructorCallback): Throws TypeError if args.IsConstructCall() is false.
- bindings/v8/custom/V8ArrayBufferViewCustom.h:
(WebCore::constructWebGLArray): Ditto.
- bindings/v8/custom/V8AudioContextCustom.cpp:
(WebCore::V8AudioContext::constructorCallback): Ditto.
- bindings/v8/custom/V8DOMFormDataCustom.cpp:
(WebCore::V8DOMFormData::constructorCallback): Ditto.
- bindings/v8/custom/V8HTMLAudioElementConstructor.cpp:
(WebCore::v8HTMLAudioElementConstructorCallback): Ditto.
- bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
(WebCore::v8HTMLImageElementConstructorCallback): Ditto.
- bindings/v8/custom/V8HTMLOptionElementConstructor.cpp:
(WebCore::v8HTMLOptionElementConstructorCallback): Ditto.
- bindings/v8/custom/V8MessageChannelConstructor.cpp:
(WebCore::V8MessageChannel::constructorCallback): Ditto.
- bindings/v8/custom/V8SharedWorkerCustom.cpp:
(WebCore::V8SharedWorker::constructorCallback): Ditto.
- bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp:
(WebCore::V8WebKitCSSMatrix::constructorCallback): Ditto.
- bindings/v8/custom/V8WebKitPointConstructor.cpp:
(WebCore::V8WebKitPoint::constructorCallback): Ditto.
- bindings/v8/custom/V8WebSocketCustom.cpp:
(WebCore::V8WebSocket::constructorCallback): Ditto.
- bindings/v8/custom/V8WorkerCustom.cpp:
(WebCore::V8Worker::constructorCallback): Ditto.
LayoutTests:
- fast/dom/call-a-constructor-as-a-function-expected.txt: Added. The test result for JSC.
- fast/dom/call-a-constructor-as-a-function.html: Added. Checks if TypeError is thrown.
- platform/chromium/fast/dom/call-a-constructor-as-a-function-expected.txt: Added. The test result for V8.
- 4:03 PM Changeset in webkit [94356] by
-
- 4 edits in trunk/Source/WebCore
[chromium] TextureManager overestimates the size of non-RGBA texture formats
https://bugs.webkit.org/show_bug.cgi?id=66917
Reviewed by James Robinson.
Use GraphicsContext3D to determine the size of a given texture format.
Also, make TextureManager use more GraphicsContext3D types.
- platform/graphics/GraphicsContext3D.h:
- platform/graphics/chromium/TextureManager.cpp:
(WebCore::memoryUseBytes):
- platform/graphics/chromium/TextureManager.h:
- 3:48 PM Changeset in webkit [94355] by
-
- 7 edits in trunk
Add missing Event constructors to DOMWindow.idl
https://bugs.webkit.org/show_bug.cgi?id=67449
Reviewed by Anders Carlsson.
Source/WebCore:
Covered by existing tests.
- page/DOMWindow.idl:
LayoutTests:
- platform/mac/fast/dom/Window/window-properties-expected.txt:
- platform/mac/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/mac/fast/dom/prototype-inheritance-expected.txt:
- platform/mac/fast/js/global-constructors-expected.txt:
Update results for new constructors.
- 3:42 PM Changeset in webkit [94354] by
-
- 15 edits in trunk/Source/WebCore
Consider Conditional attribute in CodeGenerator for methods
https://bugs.webkit.org/show_bug.cgi?id=67409
Reviewed by Darin Adler.
This change adds appropriate #if ENABLE() lines for the preprocessor around the
generated functions depending on the Conditional attribute in the IDL file.
- bindings/scripts/CodeGeneratorCPP.pm:
(GenerateImplementation):
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
- bindings/scripts/CodeGeneratorObjC.pm:
(GenerateImplementation):
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateImplementation):
- bindings/scripts/test/CPP/WebDOMTestObj.cpp:
- bindings/scripts/test/CPP/WebDOMTestObj.h:
- bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
- bindings/scripts/test/GObject/WebKitDOMTestObj.h:
- bindings/scripts/test/JS/JSTestObj.cpp:
- bindings/scripts/test/JS/JSTestObj.h:
- bindings/scripts/test/ObjC/DOMTestObj.h:
- bindings/scripts/test/ObjC/DOMTestObj.mm:
- bindings/scripts/test/TestObj.idl:
- bindings/scripts/test/V8/V8TestObj.cpp:
- 3:40 PM Changeset in webkit [94353] by
-
- 25 edits1 copy2 moves3 adds2 deletes in trunk/Source
[chromium] Introduce CCSingleThreadProxy in order to move LayerRenderer to CCLayerTreeHostImpl
https://bugs.webkit.org/show_bug.cgi?id=66807
Reviewed by James Robinson.
Source/WebCore:
- WebCore.gypi:
- platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::createTextureUpdater):
- platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::createTextureUpdater):
- platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::setLayerRendererRecursive):
- platform/graphics/chromium/LayerChromium.h:
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::create):
(WebCore::LayerRendererChromium::LayerRendererChromium):
(WebCore::LayerRendererChromium::initialize):
(WebCore::LayerRendererChromium::close):
(WebCore::LayerRendererChromium::updateLayers):
(WebCore::LayerRendererChromium::drawLayers):
(WebCore::LayerRendererChromium::drawLayersInternal):
(WebCore::LayerRendererChromium::getOffscreenLayerTexture):
(WebCore::LayerRendererChromium::isContextLost):
- platform/graphics/chromium/LayerRendererChromium.h:
(WebCore::LayerRendererChromium::capabilities):
(WebCore::LayerRendererChromium::rootLayerImpl):
(WebCore::LayerRendererChromium::contextSupportsMapSub):
(WebCore::LayerRendererChromium::viewportSize):
- platform/graphics/chromium/LayerTextureUpdaterCanvas.h:
- platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::setLayerTreeHost):
- platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::reserveTextures):
- platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp:
(WebCore::CCCanvasLayerImpl::draw):
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::initialize):
(WebCore::CCLayerTreeHost::~CCLayerTreeHost):
(WebCore::CCLayerTreeHost::animateAndLayout):
(WebCore::CCLayerTreeHost::preCommit):
(WebCore::CCLayerTreeHost::commitTo):
(WebCore::CCLayerTreeHost::createCompositorThread):
(WebCore::CCLayerTreeHost::createLayerTreeHostContext3D):
(WebCore::CCLayerTreeHost::createLayerTreeHostImpl):
(WebCore::CCLayerTreeHost::didRecreateGraphicsContext):
(WebCore::CCLayerTreeHost::scheduleComposite):
(WebCore::CCLayerTreeHost::context):
(WebCore::CCLayerTreeHost::compositeAndReadback):
(WebCore::CCLayerTreeHost::finishAllRendering):
(WebCore::CCLayerTreeHost::layerRendererCapabilities):
(WebCore::CCLayerTreeHost::setRootLayer):
(WebCore::CCLayerTreeHost::skiaContext):
(WebCore::CCLayerTreeHost::setViewport):
(WebCore::CCLayerTreeHost::setVisible):
(WebCore::CCLayerTreeHost::loseCompositorContext):
(WebCore::CCLayerTreeHost::contentsTextureManager):
(WebCore::CCLayerTreeHost::composite):
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore::CCSettings::CCSettings):
(WebCore::LayerRendererCapabilities::LayerRendererCapabilities):
- platform/graphics/chromium/cc/CCLayerTreeHostCommitter.h: Removed.
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::create):
(WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
(WebCore::CCLayerTreeHostImpl::~CCLayerTreeHostImpl):
(WebCore::CCLayerTreeHostImpl::commitComplete):
(WebCore::CCLayerTreeHostImpl::context):
(WebCore::CCLayerTreeHostImpl::drawLayers):
(WebCore::CCLayerTreeHostImpl::finishAllRendering):
(WebCore::CCLayerTreeHostImpl::isContextLost):
(WebCore::CCLayerTreeHostImpl::layerRendererCapabilities):
(WebCore::CCLayerTreeHostImpl::present):
(WebCore::CCLayerTreeHostImpl::readback):
(WebCore::CCLayerTreeHostImpl::setRootLayer):
(WebCore::CCLayerTreeHostImpl::setVisible):
(WebCore::CCLayerTreeHostImpl::initializeLayerRenderer):
(WebCore::CCLayerTreeHostImpl::updateLayers):
(WebCore::CCLayerTreeHostImpl::setViewport):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(WebCore::CCLayerTreeHostImpl::layerRenderer):
(WebCore::CCLayerTreeHostImpl::rootLayer):
(WebCore::CCLayerTreeHostImpl::viewportSize):
- platform/graphics/chromium/cc/CCLayerTreeHostImplProxy.cpp: Removed.
- platform/graphics/chromium/cc/CCMainThreadTask.h:
(WebCore::MainThreadTask4::create):
(WebCore::MainThreadTask4::MainThreadTask4):
(WebCore::MainThreadTask4::performTask):
(WebCore::MainThreadTask5::create):
(WebCore::MainThreadTask5::MainThreadTask5):
(WebCore::MainThreadTask5::performTask):
(WebCore::createMainThreadTask):
- platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
(WebCore::CCPluginLayerImpl::draw):
- platform/graphics/chromium/cc/CCProxy.cpp: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostCommitter.cpp.
(WebCore::CCProxy::isMainThread):
(WebCore::CCProxy::isImplThread):
(WebCore::CCProxy::setImplThread):
- platform/graphics/chromium/cc/CCProxy.h: Added.
(WebCore::CCProxy::~CCProxy):
(WebCore::CCProxy::CCProxy):
- platform/graphics/chromium/cc/CCSingleThreadProxy.cpp: Added.
(WebCore::ScopedSetImplThread::ScopedSetImplThread):
(WebCore::ScopedSetImplThread::~ScopedSetImplThread):
(WebCore::CCSingleThreadProxy::create):
(WebCore::CCSingleThreadProxy::CCSingleThreadProxy):
(WebCore::CCSingleThreadProxy::start):
(WebCore::CCSingleThreadProxy::~CCSingleThreadProxy):
(WebCore::CCSingleThreadProxy::compositeAndReadback):
(WebCore::CCSingleThreadProxy::context):
(WebCore::CCSingleThreadProxy::finishAllRendering):
(WebCore::CCSingleThreadProxy::isStarted):
(WebCore::CCSingleThreadProxy::initializeLayerRenderer):
(WebCore::CCSingleThreadProxy::layerRendererCapabilities):
(WebCore::CCSingleThreadProxy::loseCompositorContext):
(WebCore::CCSingleThreadProxy::setNeedsCommitAndRedraw):
(WebCore::CCSingleThreadProxy::setNeedsRedraw):
(WebCore::CCSingleThreadProxy::stop):
(WebCore::CCSingleThreadProxy::skiaContext):
(WebCore::CCSingleThreadProxy::contentsTextureManager):
(WebCore::CCSingleThreadProxy::compositeImmediately):
(WebCore::CCSingleThreadProxy::compositeIfNeeded):
(WebCore::CCSingleThreadProxy::doComposite):
- platform/graphics/chromium/cc/CCSingleThreadProxy.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImplProxy.h.
- platform/graphics/chromium/cc/CCThreadProxy.cpp: Added.
(WebCore::CCThreadProxy::create):
(WebCore::CCThreadProxy::CCThreadProxy):
(WebCore::CCThreadProxy::~CCThreadProxy):
(WebCore::CCThreadProxy::compositeAndReadback):
(WebCore::CCThreadProxy::context):
(WebCore::CCThreadProxy::finishAllRendering):
(WebCore::CCThreadProxy::isStarted):
(WebCore::CCThreadProxy::initializeLayerRenderer):
(WebCore::CCThreadProxy::layerRendererCapabilities):
(WebCore::CCThreadProxy::loseCompositorContext):
(WebCore::CCThreadProxy::setNeedsCommitAndRedraw):
(WebCore::CCThreadProxy::setNeedsRedraw):
(WebCore::CCThreadProxy::start):
(WebCore::CCThreadProxy::stop):
(WebCore::CCThreadProxy::skiaContext):
(WebCore::CCThreadProxy::contentsTextureManager):
(WebCore::CCThreadProxy::beginFrameAndCommitOnCCThread):
(WebCore::CCThreadProxy::beginFrameAndCommit):
(WebCore::CCThreadProxy::commitOnCCThread):
(WebCore::CCThreadProxy::drawLayersOnCCThread):
(WebCore::CCThreadProxy::setNeedsCommitAndRedrawOnCCThread):
(WebCore::CCThreadProxy::setNeedsRedrawOnCCThread):
(WebCore::CCThreadProxy::initializeImplOnCCThread):
(WebCore::CCThreadProxy::initializeLayerRendererOnCCThread):
(WebCore::CCThreadProxy::layerTreeHostClosedOnCCThread):
- platform/graphics/chromium/cc/CCThreadProxy.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImplProxy.h.
- platform/graphics/chromium/cc/CCThreadTask.h:
(WebCore::CCThreadTask5::create):
(WebCore::CCThreadTask5::CCThreadTask5):
(WebCore::CCThreadTask5::performTask):
(WebCore::createCCThreadTask):
- platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
- platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
(WebCore::CCVideoLayerImpl::draw):
Source/WebKit/chromium:
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::composite):
(WebKit::WebViewImpl::setRootGraphicsLayer):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
(WebKit::WebViewImpl::didRecreateGraphicsContext):
- tests/CCThreadTaskTest.cpp:
(WebCore::TEST):
- 3:32 PM Changeset in webkit [94352] by
-
- 3 edits3 adds in trunk
<rdar://problem/9528843> STIX glyphs not rendered on this stackoverflow answer
https://bugs.webkit.org/show_bug.cgi?id=67444
Reviewed by Darin Adler.
Source/WebCore:
Test: fast/text/fallback-traits-fixup.html
After obtaining STIX Regular as a fallback font for some characters, getFontDataForCharacters()
proceeded to ask for a font from the same family having the desired traits and weight (because
wkGetFontInLanguageForRange() does not preserve traits and weight). The returned font was different
and happened to not contain the desired character.
- platform/graphics/mac/FontCacheMac.mm:
(WebCore::FontCache::getFontDataForCharacters): Only ask for a family member with the desired
traits and weight if the substitute font does not already have them, and only use the returned
member if it actually contains the desired character.
LayoutTests:
- fast/text/fallback-traits-fixup.html: Added.
- platform/mac/fast/text/fallback-traits-fixup-expected.png: Added.
- platform/mac/fast/text/fallback-traits-fixup-expected.txt: Added.
- 3:27 PM Changeset in webkit [94351] by
-
- 4 edits2 moves4 deletes in trunk/LayoutTests
[chromium] Update more SVG baselines
- platform/chromium-cg-mac/svg/custom/non-scaling-stroke-expected.png:
- platform/chromium-cg-mac/svg/custom/pattern-skew-transformed-expected.png:
- platform/chromium-cg-mac/svg/custom/pattern-with-transformation-expected.png:
- platform/mac/svg/custom/non-scaling-stroke-expected.txt: Removed.
- platform/mac/svg/custom/pattern-skew-transformed-expected.txt: Removed.
- platform/qt/svg/custom/non-scaling-stroke-expected.txt: Removed.
- platform/qt/svg/custom/pattern-skew-transformed-expected.txt: Removed.
- svg/custom/non-scaling-stroke-expected.txt: Renamed from LayoutTests/platform/gtk/svg/custom/non-scaling-stroke-expected.txt.
- svg/custom/pattern-skew-transformed-expected.txt: Renamed from LayoutTests/platform/gtk/svg/custom/pattern-skew-transformed-expected.txt.
- 3:16 PM Changeset in webkit [94350] by
-
- 3 edits in trunk/Source/WebCore
Generate an XSLTProcessor constructor of V8 using the IDL 'Constructor' extended attribute
https://bugs.webkit.org/show_bug.cgi?id=67414
Patch by Kentaro Hara <haraken@google.com> on 2011-09-01
Reviewed by Dimitri Glazkov.
Test: fast/dom/Window/custom-constructors.html
fast/xsl/default-html.html
- bindings/v8/custom/V8XSLTProcessorCustom.cpp: Removed constructorCallback().
- xml/XSLTProcessor.idl: Added the 'Constructor' extended attribute.
- 3:02 PM Changeset in webkit [94349] by
-
- 2 edits in trunk/LayoutTests
[chromium] Mark test that renders differently in 32 vs 64 bit mode as failing (WTF?)
- platform/chromium/test_expectations.txt:
- 2:52 PM BuildingQtOnLinux edited by
- Remove the section about debugging from a Qt build. This is not … (diff)
- 2:40 PM Changeset in webkit [94348] by
-
- 6 edits6 adds in trunk/LayoutTests
[chromium] Update chromium baselines for 94338 for windows/mac
- platform/chromium-cg-mac/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Added.
- platform/chromium-cg-mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Added.
- platform/chromium-cg-mac/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Added.
- platform/chromium-linux-x86/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Added.
- platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
- platform/chromium-linux/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
- platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
- platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
- platform/chromium/test_expectations.txt:
- 2:30 PM Changeset in webkit [94347] by
-
- 2 edits in trunk/Websites/webkit.org
Adding control rendering at various sizes.
- projects/forms/survey.html:
- 2:30 PM Changeset in webkit [94346] by
-
- 4 edits1 move1 delete in trunk/LayoutTests
[chromium] Update chromium baselines for 94338
- platform/chromium-linux/svg/custom/pattern-rotate-expected.png:
- platform/chromium-win/svg/custom/pattern-rotate-expected.png:
- platform/chromium/test_expectations.txt:
- platform/qt/svg/custom/pattern-rotate-expected.txt: Removed.
- svg/custom/pattern-rotate-expected.txt: Renamed from LayoutTests/platform/gtk/svg/custom/pattern-rotate-expected.txt.
- 2:29 PM Changeset in webkit [94345] by
-
- 5 edits in trunk/Tools
REGRESSION (NRWT): Leaks Viewer can't load leaks from test runs that used NRWT
https://bugs.webkit.org/show_bug.cgi?id=66228
Reviewed by Dirk Pranke.
ORWT used $(PROCESS)$(NUMBER)-leaks.txt for leaks filenames.
The LeaksViewer tool globs for all *-leaks.txt files.
This patch makes NRWT output $(PROCESS)-$(PID)-leaks.txt which should match.
In order to test this I had to fix a limitation in our MockFileSystem.glob
method. However, doing so uncovered a typo and bug in the integration tests.
I've disabled the offending integration tests.
- Scripts/webkitpy/common/system/filesystem_mock.py:
- Scripts/webkitpy/layout_tests/port/leakdetector.py:
- Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py:
- 2:22 PM Changeset in webkit [94344] by
-
- 2 edits in trunk/Source/WebCore
HTMLMediaElement should use fastHasAttribute instead of hasAttribute
https://bugs.webkit.org/show_bug.cgi?id=67421
Reviewed by Simon Fraser.
Use fastHasAttribute instead of hasAttribute because it is faster, and HTMLMediaElement
doesn't ever need to check style or SVG animated attributes.
No new tests required, this is just an optimization.
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::selectMediaResource): hasAttribute -> fastHasAttribute.
(WebCore::HTMLMediaElement::loadResource): Ditto.
(WebCore::HTMLMediaElement::autoplay): Ditto.
(WebCore::HTMLMediaElement::loop): Ditto.
(WebCore::HTMLMediaElement::controls): Ditto.
(WebCore::HTMLMediaElement::selectNextSourceChild): Ditto.
(WebCore::HTMLMediaElement::sourceWasAdded): Ditto.
- 2:14 PM Changeset in webkit [94343] by
-
- 21 edits2 adds in trunk
Source/WebCore: Add API functions to enable starting and stopping speech input,
and checking the current speech input state.
https://bugs.webkit.org/show_bug.cgi?id=60170
Patch by Dominic Mazzoni <dmazzoni@google.com> on 2011-09-01
Reviewed by Dimitri Glazkov.
Test: fast/speech/input-text-speechstart.html
- html/shadow/TextControlInnerElements.cpp:
(WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
(WebCore::InputFieldSpeechButtonElement::startSpeechInput):
(WebCore::InputFieldSpeechButtonElement::stopSpeechInput):
- html/shadow/TextControlInnerElements.h:
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::speechButtonElement):
- rendering/RenderTextControlSingleLine.h:
Source/WebKit/chromium: Add API functions to enable starting and stopping speech input,
and checking the current speech input state.
https://bugs.webkit.org/show_bug.cgi?id=60170
Patch by Dominic Mazzoni <dmazzoni@google.com> on 2011-09-01
Reviewed by Dimitri Glazkov.
- public/WebInputElement.h:
- src/AssertMatchingEnums.cpp:
- src/WebInputElement.cpp:
(WebKit::WebInputElement::isSpeechInputEnabled):
(WebKit::WebInputElement::getSpeechInputState):
(WebKit::WebInputElement::startSpeechInput):
(WebKit::WebInputElement::stopSpeechInput):
Tools: Adds a LayoutTestController method to make it possible to test
starting speech input via an API call.
https://bugs.webkit.org/show_bug.cgi?id=60170
Patch by Dominic Mazzoni <dmazzoni@google.com> on 2011-09-01
Reviewed by Dimitri Glazkov.
- DumpRenderTree/LayoutTestController.h:
- DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::startSpeechInput):
- DumpRenderTree/chromium/LayoutTestController.h:
- DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::startSpeechInput):
- DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::startSpeechInput):
- DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::startSpeechInput):
- DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::startSpeechInput):
- DumpRenderTree/qt/LayoutTestControllerQt.h:
- DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::startSpeechInput):
- DumpRenderTree/wx/LayoutTestControllerWx.cpp:
(LayoutTestController::startSpeechInput):
LayoutTests: Adds a new test that checks triggering speech input via an API call.
https://bugs.webkit.org/show_bug.cgi?id=60170
Patch by Dominic Mazzoni <dmazzoni@google.com> on 2011-09-01
Reviewed by Dimitri Glazkov.
- fast/speech/input-text-speechtrigger-expected.txt: Added.
- fast/speech/input-text-speechtrigger.html: Added.
- 2:06 PM Changeset in webkit [94342] by
-
- 2 edits in trunk/Source/JavaScriptCore
QNX GCC distribution doesn't support vasprintf()
https://bugs.webkit.org/show_bug.cgi?id=67423
Reviewed by Antonio Gomes.
- wtf/Platform.h: Don't enable HAVE_VASPRINTF when building with GCC on QNX.
- 1:46 PM Changeset in webkit [94341] by
-
- 39 edits203 adds1154 deletes in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac, next chunk of files)
Some images incorrectly created with LCD text replaced with gray-scale.
Updated newer tests with reference images.
Deleted images with correct fallbacks.
- platform/chromium-mac/http/tests/navigation/error404-basic-expected.png: Removed.
(remaining files omitted for brevity)
- 1:39 PM Changeset in webkit [94340] by
-
- 5 edits in trunk/Source/WebKit2
Gather memory cache statistics in WebProcess::getWebCoreStatistics().
https://bugs.webkit.org/show_bug.cgi?id=67160
Reviewed by Darin Adler.
Encode and decode webCoreCacheStatistics data member in StatisticsData.
- Shared/StatisticsData.cpp:
(WebKit::StatisticsData::encode):
(WebKit::StatisticsData::decode):
- Shared/StatisticsData.h:
Convert the cache statistics data into an ImmutableArray and return it in WebContext::didGetWebCoreStatistics().
- UIProcess/WebContext.cpp:
(WebKit::WebContext::didGetWebCoreStatistics):
Store memory cache statistics into the StatisticsData object.
- WebProcess/WebProcess.cpp:
(WebKit::getWebCoreMemoryCacheStatistics):
(WebKit::WebProcess::getWebCoreStatistics):
- 1:38 PM Changeset in webkit [94339] by
-
- 1 edit5 adds in trunk/LayoutTests
[chromium] Land chromium baselines for fast/css/focus-ring-multiline-writingmode-vertical.html
- platform/chromium-cg-mac/fast/css/focus-ring-multiline-writingmode-vertical-expected.png: Added.
- platform/chromium-cg-mac/fast/css/focus-ring-multiline-writingmode-vertical-expected.txt: Added.
- platform/chromium-linux/fast/css/focus-ring-multiline-writingmode-vertical-expected.png: Added.
- platform/chromium-win/fast/css/focus-ring-multiline-writingmode-vertical-expected.png: Added.
- platform/chromium-win/fast/css/focus-ring-multiline-writingmode-vertical-expected.txt: Added.
- 1:27 PM Changeset in webkit [94338] by
-
- 10 edits3 adds in trunk
REGRESSION: Rendering artifacts on a rotated, pattern filled SVG shape
https://bugs.webkit.org/show_bug.cgi?id=53055
<rdar://problem/8910917>
Reviewed by Simon Fraser.
Make use of wkCGPatternCreateWithImageAndTransform
when tiling patterns in both directions. This helps to avoid
pixel-cracking along pattern tiling boundaries.
Ignore 2D rotation when computing the size of a pattern's tile image,
as it artificially inflates the size of the tile, which can cause
pixel-cracking.
Test: svg/custom/pattern-rotate-gaps.svg
- platform/graphics/cg/PatternCG.cpp:
(WebCore::Pattern::createPlatformPattern):
- rendering/svg/RenderSVGResourcePattern.cpp:
- rendering/svg/SVGImageBufferTools.cpp:
(WebCore::SVGImageBufferTools::roundedImageBufferSize):
- rendering/svg/SVGImageBufferTools.h:
Add a test that makes pixel cracking in transformed SVG patterns quite blatant,
and rebaseline some other tests affected by the change.
- platform/mac/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
- platform/mac/svg/custom/pattern-rotate-expected.png:
- platform/mac/svg/custom/pattern-rotate-gaps-expected.png: Added.
- platform/mac/svg/custom/pattern-rotate-gaps-expected.txt: Added.
- platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
- platform/mac/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
- svg/custom/pattern-rotate-gaps.svg: Added.
- 1:09 PM Changeset in webkit [94337] by
-
- 2 edits3 deletes in trunk/LayoutTests
[chromium] Update expectations and baselines
- platform/chromium-win-xp/fast/css/getComputedStyle/computed-style-expected.txt: Removed.
- platform/chromium-win-xp/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Removed.
- platform/chromium-win-xp/svg/css/getComputedStyle-basic-expected.txt: Removed.
- platform/chromium/test_expectations.txt:
- 1:04 PM Changeset in webkit [94336] by
-
- 11 edits in trunk/Source/JavaScriptCore
Remove simple usage of UString::characters() from JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=67340
In preparation to allowing StringImpl to be backed by 8 bit
characters when appropriate, we need to eliminate or change the
usage of StringImpl::characters(). Most of the changes below
change s->characters()[0] to s[0].
Reviewed by Geoffrey Garen.
- bytecompiler/BytecodeGenerator.cpp:
(JSC::keyForCharacterSwitch):
- bytecompiler/NodesCodegen.cpp:
(JSC::processClauseList):
- interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
- jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
- runtime/Identifier.cpp:
(JSC::Identifier::addSlowCase):
- runtime/JSGlobalObjectFunctions.cpp:
(JSC::jsToNumber):
(JSC::parseFloat):
- runtime/JSString.cpp:
(JSC::JSString::substringFromRope):
- runtime/JSString.h:
(JSC::jsSingleCharacterSubstring):
(JSC::jsString):
(JSC::jsSubstring):
(JSC::jsOwnedString):
- runtime/RegExp.cpp:
(JSC::regExpFlags):
- wtf/text/StringBuilder.h:
(WTF::StringBuilder::operator[]):
- 12:56 PM Changeset in webkit [94335] by
-
- 2 edits in trunk/Tools
Fix TestWebKitAPI build on clang-2.0
- TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
- 12:51 PM Changeset in webkit [94334] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, rolling out r94284.
http://trac.webkit.org/changeset/94284
https://bugs.webkit.org/show_bug.cgi?id=65050
Broke building without SVG enabled on Chromium.
- page/DOMWindow.idl:
- 12:50 PM Changeset in webkit [94333] by
-
- 3 edits in trunk/Source/WebCore
REGRESSION (r93247): 2 http/tests/misc tests failing on SnowLeopard Intel Release (Tests)
https://bugs.webkit.org/show_bug.cgi?id=67374
Reviewed by Simon Fraser.
- platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::applyBasicAuthorizationHeader):
- platform/network/mac/ResourceHandleMac.mm:
(WebCore::applyBasicAuthorizationHeader):
Some versions of CFNetwork carry along an Authorization header, some don't. We shouldn't
repeat its value twice, this is not one of those headers that allow comma separated lists
of values.
- 12:40 PM Changeset in webkit [94332] by
-
- 2 edits in trunk/Source/WebCore
[chromium] Move ImageBuffer::platformLayer()
https://bugs.webkit.org/show_bug.cgi?id=67372
Reviewed by Kenneth Russell.
No new tests: refactoring only, covered by existting tests.
- platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::ImageBuffer::platformLayer): Move it away from the toDataURL code.
- 12:38 PM Changeset in webkit [94331] by
-
- 3 edits5 adds in trunk
Focus ring is rendered incorrectly for a block with -webkit-writing-mode
https://bugs.webkit.org/show_bug.cgi?id=62915
Patch by Kulanthaivel Palanichamy <kulanthaivel@codeaurora.org> on 2011-09-01
Reviewed by Simon Fraser.
Source/WebCore:
RenderBlock::addFocusRingRects() should consider physical box position and
dimension instead of logical values for focus ring rects calculation.
Test: fast/css/focus-ring-multiline-writingmode-vertical.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::addFocusRingRects):
LayoutTests:
- fast/css/focus-ring-multiline-writingmode-vertical.html: Added.
- platform/qt-linux/fast/css/focus-ring-multiline-writingmode-vertical-expected.png: Added.
- platform/qt-linux/fast/css/focus-ring-multiline-writingmode-vertical-expected.txt: Added.
- 12:33 PM Changeset in webkit [94330] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, GTK build fix after r94299.
- GNUmakefile.list.am:
- 12:28 PM Changeset in webkit [94329] by
-
- 6 edits in trunk/Source/WebCore
[Chromium/Skia] Use GraphicsContext3D::grContext() to create GrContext for accelerated drawing
https://bugs.webkit.org/show_bug.cgi?id=67419
Patch by Brian Salomon <bsalomon@google.com> on 2011-09-01
Reviewed by James Robinson.
Accelerated drawing is not enabled in layout tests. However, once it is this change will be tested by every test.
- platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::createTextureUpdater):
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::contextSupportsAcceleratedPainting):
(WebCore::LayerRendererChromium::initialize):
- platform/graphics/chromium/LayerRendererChromium.h:
- platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
(WebCore::LayerTextureUpdaterSkPicture::create):
(WebCore::LayerTextureUpdaterSkPicture::LayerTextureUpdaterSkPicture):
(WebCore::LayerTextureUpdaterSkPicture::updateTextureRect):
(WebCore::LayerTextureUpdaterSkPicture::createFrameBuffer):
- platform/graphics/chromium/LayerTextureUpdaterCanvas.h:
- 12:27 PM Changeset in webkit [94328] by
-
- 1 edit1 move in trunk/Source/WebCore
Rename GraphicsContext3DInternal to GraphicsContext3DPrivate and add a dummy version of this class for Mac
https://bugs.webkit.org/show_bug.cgi?id=67172
Build fix, completing rename for GTK file.
Patch by Dominik Röttsches <dominik.rottsches@linux.intel.com> on 2011-09-01
Reviewed by Chris Marrin.
- platform/graphics/gtk/GraphicsContext3DPrivate.cpp: Renamed from Source/WebCore/platform/graphics/gtk/GraphicsContext3DInternal.cpp.
(sharedDisplay):
(WebCore::activeGraphicsContexts):
(WebCore::GraphicsContext3DPrivate::addActiveGraphicsContext):
(WebCore::GraphicsContext3DPrivate::removeActiveGraphicsContext):
(WebCore::GraphicsContext3DPrivate::cleanupActiveContextsAtExit):
(WebCore::GraphicsContext3DPrivate::create):
(WebCore::GraphicsContext3DPrivate::createPbufferContext):
(WebCore::GraphicsContext3DPrivate::createPixmapContext):
(WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::makeContextCurrent):
- 12:12 PM Changeset in webkit [94327] by
-
- 1 edit4 moves in trunk/LayoutTests
r93794 results in ruby tests causing assertion failure in RenderBlock.cpp
https://bugs.webkit.org/show_bug.cgi?id=67007
Reviewed by Beth Dakin.
Disable these asserting ruby tests until the underlying issue can be fixed.
- fast/ruby/after-block-doesnt-crash.html-disabled: Renamed from LayoutTests/fast/ruby/after-block-doesnt-crash.html.
- fast/ruby/after-table-doesnt-crash.html-disabled: Renamed from LayoutTests/fast/ruby/after-table-doesnt-crash.html.
- fast/ruby/generated-after-counter-doesnt-crash.html-disabled: Renamed from LayoutTests/fast/ruby/generated-after-counter-doesnt-crash.html.
- fast/ruby/generated-before-and-after-counter-doesnt-crash.html-disabled: Renamed from LayoutTests/fast/ruby/generated-before-and-after-counter-doesnt-crash.html.
- 12:01 PM Changeset in webkit [94326] by
-
- 1 edit2 adds in trunk/LayoutTests
[chromium] Update baselines for vertical-text-glyph-test.html
- platform/chromium-cg-mac/fast/text/international/vertical-text-glyph-test-expected.png: Added.
- platform/chromium-cg-mac/fast/text/international/vertical-text-glyph-test-expected.txt: Added.
- 11:57 AM Changeset in webkit [94325] by
-
- 4 edits in trunk/Tools
Remove unused "extension" parameter from rebaseline gardeningserver handler
https://bugs.webkit.org/show_bug.cgi?id=67384
Patch by Adam Barth <abarth@webkit.org> on 2011-09-01
Reviewed by James Robinson.
This parameter hasn't done anything in a while.
- Scripts/webkitpy/tool/commands/rebaseline.py:
- Scripts/webkitpy/tool/servers/gardeningserver.py:
- Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
- 11:44 AM Changeset in webkit [94324] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION (r94259): Two tests doing hit testing were broken by this change.
https://bugs.webkit.org/show_bug.cgi?id=67353
Reviewed by Chris Marrin.
Fix a regression from r94259; that change missed a fix in RenderView,
which affects coordinate transforms in position:fixed elements.
This fixes these tests:
fast/events/document-elementFromPoint.html
fast/events/offsetX-offsetY.html
plugins/mouse-events-fixedpos.html
- rendering/RenderView.cpp:
(WebCore::RenderView::mapAbsoluteToLocalPoint):
- 11:41 AM Changeset in webkit [94323] by
-
- 3 edits in trunk/Source
[chromium] Fonts returned by FontCache::getFontDataForCharacters() are never released
https://bugs.webkit.org/show_bug.cgi?id=66673
Reviewed by James Robinson.
This was fixed for other ports in http://trac.webkit.org/changeset/88260.
However, it was missed in FontCacheLinux likely due to similar param in the nested call to getCachedFontPlatformData().
No new tests because no directly observable change in behavior.
- platform/graphics/chromium/FontCacheLinux.cpp:
(WebCore::FontCache::getFontDataForCharacters):
- 11:39 AM Changeset in webkit [94322] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [Chromium] Perform a more effective JS GC
https://bugs.webkit.org/show_bug.cgi?id=67304
Reviewed by Pavel Feldman.
- bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::collectGarbage):
- 11:39 AM Changeset in webkit [94321] by
-
- 5 edits2 adds in trunk/Source/WebKit/qt
[Qt] Transform QtFallbackWebPopupCombo into QtWebComboBox
https://bugs.webkit.org/show_bug.cgi?id=67344
Reviewed by Andreas Kling.
Renamed QtFallbackWebPopup to QtWebComboBox and decoupled it from
QtFallbackWebPopup. The new class is a QComboBox with the features that
we need for QtWebKit: tracking when the popup is hidden (via the didHide()
signal) and a convenience method to show its popup in the cursor position.
An important change was made to the combobox: instead of hooking our actions in
showPopup() and hidePopup(), as well as watching for popup visibility events, we
now just watch for the visibility events. This allowed us to get rid of
m_popupVisible and tracking the Show event.
This commit also removed a workaround for input focus added in r40970 after
reviewers request. See bug report for details.
- QtWebKit.pro:
- WebCoreSupport/QtFallbackWebPopup.cpp:
(WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
(WebCore::QtFallbackWebPopup::~QtFallbackWebPopup):
(WebCore::QtFallbackWebPopup::show):
(WebCore::QtFallbackWebPopup::deleteComboBox):
- WebCoreSupport/QtFallbackWebPopup.h:
- WebCoreSupport/QtWebComboBox.cpp: Added.
(WebCore::QtWebComboBox::QtWebComboBox):
(WebCore::QtWebComboBox::showPopupAtCursorPosition):
(WebCore::QtWebComboBox::eventFilter):
- WebCoreSupport/QtWebComboBox.h: Added.
- tests/qwebframe/tst_qwebframe.cpp:
(tst_QWebFrame::popupFocus):
Change the test to use QObject::findChild(). The old method couldn't find our
new class because we defined a new metaclass for it.
- 11:37 AM Changeset in webkit [94320] by
-
- 3 edits in trunk/LayoutTests
http/tests/loading/empty-urls.html shouldn't
fail if the load event fires before we finish.
https://bugs.webkit.org/show_bug.cgi?id=67359
Reviewed by Adam Barth.
- http/tests/loading/empty-urls-expected.txt:
- http/tests/loading/empty-urls.html:
- 11:20 AM Changeset in webkit [94319] by
-
- 10 edits2 adds in trunk
WebGLContextEvent should have its own JS wrapper
https://bugs.webkit.org/show_bug.cgi?id=67352
Reviewed by Anders Carlsson.
Source/WebCore:
The WebGLContextEvent was missing a proper JS wrapper, and thus
anyone using one in an EventListener was actually just getting
a plain old Event. Rectify this by generating the wrapper and
wrapping it on creating.
Test: fast/canvas/webgl/WebGLContextEvent.html
- CodeGenerators.pri:
Add WebGLContextEvent.idl
- DerivedSources.make:
Add WebGLContextEvent and sort.
- WebCore.xcodeproj/project.pbxproj:
Add generated JSWebGLContextEvent.h/cpp.
- bindings/js/JSEventCustom.cpp:
(WebCore::toJS):
Wrap WebGLContextEvents as JSWebGLContextEvents.
- dom/Event.cpp:
(WebCore::Event::isWebGLContextEvent):
- dom/Event.h:
- html/canvas/WebGLContextEvent.cpp:
(WebCore::WebGLContextEvent::isWebGLContextEvent):
- html/canvas/WebGLContextEvent.h:
Add predicate for WebGLContextEvent.
LayoutTests:
- fast/canvas/webgl/WebGLContextEvent-expected.txt: Added.
- fast/canvas/webgl/WebGLContextEvent.html: Added.
Add a test that shows that WebGLContextEvents are not just base Events.
- 11:10 AM Changeset in webkit [94318] by
-
- 6 edits2 adds in trunk
Add 'muted' content attribute to HTMLMediaElement
https://bugs.webkit.org/show_bug.cgi?id=58369
Source/WebCore:
Reviewed by Darin Adler.
Test: media/video-defaultmuted.html
- html/HTMLAttributeNames.in: Add muted.
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::loadResource): Deal with the 'muted' attribute.
- html/HTMLMediaElement.idl: Add defaultMuted.
LayoutTests:
Reviewed by Darin Adler.
- media/video-defaultmuted-expected.txt: Added.
- media/video-defaultmuted.html: Added.
- 11:03 AM Changeset in webkit [94317] by
-
- 15 edits in trunk
REGRESSION: Rendering artifacts on a rotated, pattern filled shape
https://bugs.webkit.org/show_bug.cgi?id=53055
<rdar://problem/8910917>
Reviewed by Simon Fraser.
Introduce wkCGPatternCreateWithImageAndTransform.
- WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):
- WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):
- WebCore.exp.in:
- platform/mac/WebCoreSystemInterface.h:
- platform/mac/WebCoreSystemInterface.mm:
- WebKitSystemInterface.h:
- libWebKitSystemInterfaceLeopard.a:
- libWebKitSystemInterfaceLion.a:
- libWebKitSystemInterfaceSnowLeopard.a:
- win/include/WebKitSystemInterface/WebKitSystemInterface.h:
- win/lib/WebKitSystemInterface.lib:
- 11:01 AM Changeset in webkit [94316] by
-
- 2 edits in trunk/Tools
Unreviewed.
Fix a typo in unittests. Unfortunately fixing it
caused several assertions. Just disabling the test
instead, since it was providing no value before due to the typo.
- Scripts/webkitpy/layout_tests/port/test.py:
- 10:58 AM Changeset in webkit [94315] by
-
- 3 edits5 adds in trunk
[chromium] Fix scissor rects on clipped nested iframes
https://bugs.webkit.org/show_bug.cgi?id=67221
Reviewed by James Robinson.
Source/WebCore:
Layers that mask to bounds (like iframes) weren't being properly
clipped if their parent scissor rect was empty. This case happens
when a parent iframe is clipped. Fixed by propagating the empty
scissor rect to child layers rather than ignoring it.
Test: compositing/iframes/nested-composited-iframe.html
- platform/graphics/chromium/LayerRendererChromium.cpp:
LayoutTests:
- compositing/iframes/nested-composited-iframe-expected.png: Added.
- compositing/iframes/nested-composited-iframe-expected.txt: Added.
- compositing/iframes/nested-composited-iframe.html: Added.
- compositing/iframes/resources/composited-red.html: Added.
- compositing/iframes/resources/has-composited-iframe-child.html: Added.
- 10:57 AM Changeset in webkit [94314] by
-
- 12 edits in trunk/Tools
Add a "rebaseline" button to the garden-o-matic summary page
https://bugs.webkit.org/show_bug.cgi?id=67382
Reviewed by Dimitri Glazkov.
As much as we might wish folks to not rebaseline entire test groups at
once, the truth is that doing so is a common operation. Adding a
button for this operation is likely to make folks happy.
This patch also cleans up a bunch of plumbing surrounding failureInfo
objects.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/checkout_unittests.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/model.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
- 10:56 AM Changeset in webkit [94313] by
-
- 3 edits3 adds in trunk/Source/WebKit2
[Qt] TouchWebView crashes with segmentation fault
https://bugs.webkit.org/show_bug.cgi?id=67308
Patch by Gopal Raghavan <gopal.1.raghavan@nokia.com> on 2011-09-01
Reviewed by Benjamin Poulain.
If you instantiate TouchWebView element with height and width in a qml file and
load a url it crashes.
The functions setWidth() and setHeight() are called sequentially therefore it can happen
that computeViewportAttributes was called with a size like (width, 0) breaking the
assumption of the function that the size is valid. The patch makes sure we compute the
viewport when both height and width are valid.
- UIProcess/API/qt/qtouchwebview.cpp:
(QTouchWebViewPrivate::updateViewportConstraints):
- UIProcess/API/qt/tests/qmltests/TouchWebView/tst_load.qml: Added.
- UIProcess/API/qt/tests/qmltests/TouchWebView/tst_loadNegativeSizeView.qml: Added.
- UIProcess/API/qt/tests/qmltests/TouchWebView/tst_loadZeroSizeView.qml: Added.
- UIProcess/API/qt/tests/qmltests/qmltests.pro:
- 10:54 AM Changeset in webkit [94312] by
-
- 6 edits in trunk/Tools
garden-o-matic should let the gardener assign blame for a group of test failures
https://bugs.webkit.org/show_bug.cgi?id=67379
Reviewed by Dimitri Glazkov.
If a group of test failures has a large revision range, the gardener
might wish to blame a specific revision for the failure. Currently,
this only effect of assigning blame in this way is to hide the other
suspect commits.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/actions.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
- 10:53 AM Changeset in webkit [94311] by
-
- 4 edits in trunk/Tools
Hide garden-o-matic failure table until hover
https://bugs.webkit.org/show_bug.cgi?id=67376
Reviewed by Dimitri Glazkov.
This patch removes the failure table for build failures (because it
does not make sense) and hides the failure table for test groups until
the user hovers over the test failure block, reducing visual noise.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css:
- 10:51 AM Changeset in webkit [94310] by
-
- 4 edits in trunk/Tools
Switch garden-o-matic from commitData.title to commitData.summary
https://bugs.webkit.org/show_bug.cgi?id=67375
Reviewed by Dimitri Glazkov.
commitData.title is a string provided by Trac, which isn't great in all
cases. commitData.summary is my attempt to find the most important
one-line summary of the commit. This patch switches garden-o-matic
over to summary.
Also, this patch tweaks a bunch of CSS to tighten up the summary page
and reduce visual noise.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/notifications.css:
- 10:48 AM Changeset in webkit [94309] by
-
- 6 edits in trunk/Tools
Group failing tests in garden-o-matic if there are more than three in a folder
https://bugs.webkit.org/show_bug.cgi?id=67373
Reviewed by Dimitri Glazkov.
Sometimes a failure will cause many tests in a given directory to fail.
When that happens, it's better to list the directory as a single item
(with a count) rather than spamming all the test names.
(This patch also updates a bunch of unit test expected results after my last commit.)
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
- 10:47 AM Changeset in webkit [94308] by
-
- 3 edits1 add in trunk/Tools
Lower the visual noise from the failing builders display
https://bugs.webkit.org/show_bug.cgi?id=67369
Reviewed by Dimitri Glazkov.
This patch ensures that the "Building" row in the failing builders
display is always last and dims it by 50% to reduce visual noise. This
lets the gardener focus on the actual failures.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/failures.css: Added.
- 10:39 AM Changeset in webkit [94307] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: close dedicated worker inspectors when page inspector is closing
https://bugs.webkit.org/show_bug.cgi?id=67366
Close all dedicated worker inspector windows when page inspector is closing.
Reviewed by Pavel Feldman.
- inspector/front-end/WorkerManager.js:
(WebInspector.WorkerManager.prototype._openInspectorWindow):
(WebInspector.WorkerManager.prototype._pageInspectorClosing):
(WebInspector.WorkerManager.prototype._workerInspectorClosing):
- inspector/front-end/inspector.js:
(WebInspector.close):
- 10:36 AM Changeset in webkit [94306] by
-
- 6 edits in trunk/Source/WebCore
[Chromium] Web Inspector: dedicated worker inspection is broken
https://bugs.webkit.org/show_bug.cgi?id=67279
Provide transport for inspector messages between Page and DedicatedWorker inspectors
in case of in-process workers.
Reviewed by Pavel Feldman.
- inspector/CodeGeneratorInspector.pm: sendMessageObjectToBackend should accept message
object which is ready for sending to backend. This method is overriden in WorkerManager
for dedicated workers and we don't want to replicate request id assignment there.
- workers/WorkerMessagingProxy.cpp:
(WebCore::PostMessageToPageInspectorTask::create):
(WebCore::PostMessageToPageInspectorTask::PostMessageToPageInspectorTask):
(WebCore::PostMessageToPageInspectorTask::performTask):
(WebCore::WorkerMessagingProxy::WorkerMessagingProxy):
(WebCore::connectToWorkerContextInspectorTask):
(WebCore::WorkerMessagingProxy::connectToInspector):
(WebCore::disconnectFromWorkerContextInspectorTask):
(WebCore::WorkerMessagingProxy::disconnectFromInspector):
(WebCore::dispatchOnInspectorBackendTask):
(WebCore::WorkerMessagingProxy::sendMessageToInspector):
(WebCore::WorkerMessagingProxy::postMessageToPageInspector):
- workers/WorkerMessagingProxy.h:
- 10:25 AM Changeset in webkit [94305] by
-
- 4 edits3 copies3 adds in trunk/LayoutTests
[Chromium] Unreviewed, rebaseline tests after r94299.
- platform/chromium-win-xp/fast/css/getComputedStyle/computed-style-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt.
- platform/chromium-win-xp/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt.
- platform/chromium-win-xp/svg/css/getComputedStyle-basic-expected.txt: Copied from LayoutTests/platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt.
- platform/chromium-win/fast/borders/border-image-slices-expected.png: Added.
- platform/chromium-win/fast/borders/border-image-slices-expected.txt: Added.
- platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
- platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
- 10:22 AM Changeset in webkit [94304] by
-
- 2 edits in trunk/Source/WebCore
[CSS3 Backgrounds and Borders] Implement border-image-slice
https://bugs.webkit.org/show_bug.cgi?id=67321
- WebCore.pro: Unreviewed buildfix after Dave "scattered" Hyatt (r94299).
- 10:20 AM Changeset in webkit [94303] by
-
- 2 edits in trunk/Source/WebCore
Typesetting features need not force complex for single-character runs
https://bugs.webkit.org/show_bug.cgi?id=66498
Typesetting features have no effect on a solitary character, so they shouldn't enable complex layout
unless multiple characters are present.
Patch by Ned Holbrook <nholbrook@apple.com> on 2011-09-01
Reviewed by Dan Bernstein.
No new tests, this is merely a performance optimization.
- platform/graphics/Font.cpp:
(WebCore::Font::codePath): typesettingFeatures() only forces Complex for multiple-character runs.
- 10:15 AM Changeset in webkit [94302] by
-
- 3 edits in trunk/Source/WebCore
Defer creating AVPlayer and AVPlayerItem in MediaPlayerPrivateAVFoundation::setPreload()
https://bugs.webkit.org/show_bug.cgi?id=66253
Reviewed by Jon Honeycutt.
No new tests, should be covered by existing media tests.
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::setPreload): Use the same code on Mac and Windows to only create the AVPlayer and AVPlayerItem when needed.
- platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): Assign any existing AVPlayerItem to the new AVPlayer.
(WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerItem): Allow creation of the AVPlayerItem before the AVPlayer.
- 9:15 AM WebKitGtkLayoutTests edited by
- (diff)
- 9:10 AM Changeset in webkit [94301] by
-
- 6 edits in trunk/LayoutTests
New baselines needed after changes in r94185
https://bugs.webkit.org/show_bug.cgi?id=67350
Patch by Anna Cavender <annacc@chromium.org> on 2011-09-01
Reviewed by Eric Carlson.
- platform/chromium-linux/media/audio-repaint-expected.png:
- platform/chromium-linux/media/video-zoom-controls-expected.png:
- platform/chromium-win/media/audio-repaint-expected.png:
- platform/chromium-win/media/video-zoom-controls-expected.png:
- platform/chromium/test_expectations.txt:
- 9:03 AM Changeset in webkit [94300] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, rolling out r94194.
http://trac.webkit.org/changeset/94194
https://bugs.webkit.org/show_bug.cgi?id=67410
Broke a test on the GTK+ bots. (Requested by mrobinson on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-01
- platform/gtk/Skipped:
- 9:01 AM Changeset in webkit [94299] by
-
- 27 edits5 adds in trunk
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=67321
Implement border-image-slice. This will eventually be a component of the new border-image shorthand
property. It holds the cuts that you make into the border image along with a new optional "fill"
keyword that indicates whether or not the center should be filled with the middle slice of the image.
By default -webkit-border-image has always filled, but this does not match the specification. To preserve
backwards compatibility, -webkit-border-image will continue to fill by default, but this does slightly affect
computed style results, since the "fill" keyword will now be included in property dumps.
Reviewed by Beth Dakin.
Added fast/borders/border-image-slices.html.
- CMakeLists.txt:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- css/CSSBorderImageSliceValue.cpp: Added.
(WebCore::CSSBorderImageSliceValue::CSSBorderImageSliceValue):
(WebCore::CSSBorderImageSliceValue::~CSSBorderImageSliceValue):
(WebCore::CSSBorderImageSliceValue::cssText):
- css/CSSBorderImageSliceValue.h: Added.
(WebCore::CSSBorderImageSliceValue::create):
(WebCore::CSSBorderImageSliceValue::isBorderImageSliceValue):
Add a new CSSBorderImageSliceValue that holds both the four slices (as a CSS rect) and the
fill keyword (as a boolean). Note that the cssText() dumping of the slices has been refined
to be smarter, and it will no longer dump repeating values.
- css/CSSBorderImageValue.cpp:
(WebCore::CSSBorderImageValue::CSSBorderImageValue):
(WebCore::CSSBorderImageValue::cssText):
- css/CSSBorderImageValue.h:
(WebCore::CSSBorderImageValue::create):
CSSBorderImageValue now owns a CSSBorderImageSliceValue instead of just a CSS rect.
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::valueForNinePieceImageSlice):
(WebCore::valueForNinePieceImage):
Add a new method, valueForNinePieceImageSlice, for getting the slices plus the fill value
from the NinePieceImage and putting it into a CSSBorderImageSliceValue. This method is now used by
valueForNinePieceImage to get the CSSBorderImageSliceValue that is part of the overall
CSSBorderImageValue.
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
Adding support for the new properties: border-image-slice and -webkit-mask-box-image-slice.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::BorderImageParseContext::BorderImageParseContext):
(WebCore::BorderImageParseContext::allowBreak):
(WebCore::BorderImageParseContext::commitImage):
(WebCore::BorderImageParseContext::commitSlice):
(WebCore::BorderImageParseContext::commitSlash):
(WebCore::BorderImageParseContext::commitBorderImage):
(WebCore::CSSParser::parseBorderImage):
Modify parseBorderImage to no longer parse the slices itself. Instead it farms out the parsing
to parseBorderImageSlice.
(WebCore::BorderImageSliceParseContext::BorderImageSliceParseContext):
(WebCore::BorderImageSliceParseContext::allowNumber):
(WebCore::BorderImageSliceParseContext::allowFill):
(WebCore::BorderImageSliceParseContext::allowFinalCommit):
(WebCore::BorderImageSliceParseContext::top):
(WebCore::BorderImageSliceParseContext::commitNumber):
(WebCore::BorderImageSliceParseContext::commitFill):
(WebCore::BorderImageSliceParseContext::setAllowFinalCommit):
(WebCore::BorderImageSliceParseContext::setTop):
(WebCore::BorderImageSliceParseContext::commitBorderImageSlice):
(WebCore::CSSParser::parseBorderImageSlice):
Slice parsing has now been broken out so that it can be parsed as a single property. In addition
support for the "fill" keyword has been added to control image filling.
- css/CSSParser.h:
Modified to add the new parseBorderImageSlice method.
- css/CSSPropertyNames.in:
Add the new properties: border-image-slice and -webkit-mask-box-image-slice.
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
(WebCore::CSSStyleSelector::mapNinePieceImage):
Rework mapNinePieceImage to call mapNinePieceImageSlice so that the mapping can be done just for
the slices.
(WebCore::CSSStyleSelector::mapNinePieceImageSlice):
A new method that handles mapping just the slices into the front-end NinePieceImage.
(WebCore::CSSStyleSelector::loadPendingImages):
Modified to ensure the fill value is preserved when box-reflect makes a new NinePieceImage.
- css/CSSStyleSelector.h:
Added the new mapNinePieceImageSlice method.
- css/CSSValue.h:
(WebCore::CSSValue::isBorderImageSliceValue):
Virtual function for identifying border image slice values.
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintNinePieceImage):
The painting of the nine piece image has been modified to match the specification. The "fill"
keyword controls whether or not the middle is painted.
- rendering/style/NinePieceImage.cpp:
(WebCore::NinePieceImage::operator==):
The fill keyword has to be checked now for equality.
- rendering/style/NinePieceImage.h:
(WebCore::NinePieceImage::NinePieceImage):
(WebCore::NinePieceImage::fill):
(WebCore::NinePieceImage::setFill):
Added the fill keyword to the front end NinePieceImage.
(WebCore::NinePieceImage::copySlicesFrom):
Added a helper to copy only the slices over from another NinePieceImage. Used when inheriting
the border-image-slice property from a parent style.
LayoutTests: Implement border-image-slice. This will eventually be a component of the new border-image shorthand
property. It holds the cuts that you make into the border image along with a new optional "fill"
keyword that indicates whether or not the center should be filled with the middle slice of the image.
By default -webkit-border-image has always filled, but this does not match the specification. To preserve
backwards compatibility, -webkit-border-image will continue to fill by default, but this does slightly affect
computed style results, since the "fill" keyword will now be included in property dumps.
Reviewed by Beth Dakin.
Added fast/borders/border-image-slices.html.
- fast/borders/border-image-slices.html: Added.
- fast/css/getComputedStyle/computed-style-expected.txt:
- fast/css/getComputedStyle/computed-style-with-zoom-expected.txt:
- fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- fast/css/getComputedStyle/getComputedStyle-border-image-expected.txt:
- fast/css/uri-token-parsing-expected.txt:
- fast/css/uri-token-parsing.html:
- platform/mac/fast/borders/border-image-slices-expected.png: Added.
- platform/mac/fast/borders/border-image-slices-expected.txt: Added.
- svg/css/getComputedStyle-basic-expected.txt:
- 8:09 AM Changeset in webkit [94298] by
-
- 7 edits in trunk/Source
Source/JavaScriptCore: Export fastMallocStatistics and Heap::objectTypeCounts for https://bugs.webkit.org/show_bug.cgi?id=67160.
Reviewed by Darin Adler.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
Source/WebKit2: Gather JavaScript, FastMalloc, icon, font, and glyph page statistics in WebProcess::getWebCoreStatistics().
https://bugs.webkit.org/show_bug.cgi?id=67160
Reviewed by Darin Adler.
Encode and decode the data members in StatisticsData.
- Shared/StatisticsData.cpp:
(WebKit::StatisticsData::encode):
(WebKit::StatisticsData::decode):
(WebKit::StatisticsData::StatisticsData):
Add three data members to StatisticsData:
- statisticsNumbers: Map containing statistics values that are numbers, mapped by their names, such as
JavaScriptObjectsCount, CachedFontDataCount, etc.
- javaScriptProtectedObjectTypeCounts
- javaScriptObjectTypeCounts
- Shared/StatisticsData.h:
Create a WK::Dictionary containing statistics values mapped by their names and return that dictionary
in WebContext::didGetWebCoreStatistics().
- UIProcess/WebContext.cpp:
(WebKit::createDictionaryFromHashMap):
(WebKit::WebContext::didGetWebCoreStatistics):
Package JavaScript, FastMalloc, icon, font, and glyph page statistics into a StatisticsData object
and send it to the UIProcess.
- WebProcess/WebProcess.cpp:
(WebKit::fromCountedSetToHashMap):
(WebKit::WebProcess::getWebCoreStatistics):
- 7:41 AM Changeset in webkit [94297] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Qt gardening.
https://bugs.webkit.org/show_bug.cgi?id=67392
Patch by Zsolt Fehér <feherzs@inf.u-szeged.hu> on 2011-09-01
- platform/qt-wk2/Skipped:
- 7:22 AM Changeset in webkit [94296] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Decode query/form parameters names as well as values.
https://bugs.webkit.org/show_bug.cgi?id=67393
Reviewed by Yury Semikhatsky.
- inspector/front-end/ResourceHeadersView.js:
(WebInspector.ResourceHeadersView.prototype._decodeURIComponent):
(WebInspector.ResourceHeadersView.prototype._refreshParms):
- 7:22 AM Changeset in webkit [94295] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, skip 2 GTK a11y failing tests.
- platform/gtk/Skipped:
- 7:20 AM Changeset in webkit [94294] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: remove PresentationBreakpoint class.
https://bugs.webkit.org/show_bug.cgi?id=67275
Reviewed by Yury Semikhatsky.
- inspector/front-end/BreakpointsSidebarPane.js:
(WebInspector.JavaScriptBreakpointsSidebarPane.prototype.addBreakpoint.didRequestContent):
(WebInspector.JavaScriptBreakpointsSidebarPane.prototype.addBreakpoint):
- inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
(WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
- 7:09 AM Changeset in webkit [94293] by
-
- 1 edit18 adds in trunk/LayoutTests
Unreviewed, GTK baselines for new tests.
- platform/gtk/fast/borders/border-fit-2-expected.png: Added.
- platform/gtk/fast/borders/border-fit-2-expected.txt: Added.
- platform/gtk/fast/borders/border-image-source-expected.png: Added.
- platform/gtk/fast/borders/border-image-source-expected.txt: Added.
- platform/gtk/fast/multicol/overflow-across-columns-expected.png: Added.
- platform/gtk/fast/multicol/overflow-across-columns-expected.txt: Added.
- platform/gtk/fast/multicol/overflow-across-columns-percent-height-expected.png: Added.
- platform/gtk/fast/multicol/overflow-across-columns-percent-height-expected.txt: Added.
- platform/gtk/fast/multicol/overflow-unsplittable-expected.png: Added.
- platform/gtk/fast/multicol/overflow-unsplittable-expected.txt: Added.
- platform/gtk/fast/multicol/positive-leading-expected.png: Added.
- platform/gtk/fast/multicol/positive-leading-expected.txt: Added.
- platform/gtk/fast/table/table-after-child-in-table-expected.png: Added.
- platform/gtk/fast/table/table-after-child-in-table-expected.txt: Added.
- platform/gtk/fast/text/complex-preferred-logical-widths-expected.png: Added.
- platform/gtk/fast/text/complex-preferred-logical-widths-expected.txt: Added.
- platform/gtk/fast/text/midword-break-before-surrogate-pair-2-expected.png: Added.
- platform/gtk/fast/text/midword-break-before-surrogate-pair-2-expected.txt: Added.
- 6:06 AM Changeset in webkit [94292] by
-
- 1 edit4 adds in trunk/LayoutTests
Unreviewed, rebaseline Qt-specific tests.
- platform/qt/fast/borders/border-image-source-expected.png: Added.
- platform/qt/fast/borders/border-image-source-expected.txt: Added.
- platform/qt/fast/multicol/overflow-across-columns-percent-height-expected.png: Added.
- platform/qt/fast/multicol/overflow-across-columns-percent-height-expected.txt: Added.
- 5:46 AM Changeset in webkit [94291] by
-
- 1 edit611 adds in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac, next chunk of 800 files)
tables/mozilla/bugs/bug8361 through transitions/svg-text-shadow-transition
- platform/chromium-mac/transforms: Added.
(remaining files omitted for brevity)
- 5:37 AM Changeset in webkit [94290] by
-
- 7 edits in trunk/Source/WebCore
Clean up all mentions of Android in comments
https://bugs.webkit.org/show_bug.cgi?id=67303
Also removes some superfluous guards and methods added for Android.
Reviewed by Darin Adler.
No new tests, removing dead code only.
- WebCorePrefix.h: Chromium uses this file only on Mac, so these Android guards are no longer required.
- bindings/v8/NPV8Object.cpp:
- bindings/v8/NPV8Object.h: Including npruntime.h for non-Chromium ports was added in http://trac.webkit.org/changeset/53634 for Android. However, this file is included in WebCore.pro, so leaving the guard in place.
- bindings/v8/ScriptCachedFrameData.h: This code was added for Android in http://trac.webkit.org/changeset/56716 but is now also used by QT. The comment should have been removed in http://trac.webkit.org/changeset/93573.
- dom/Document.cpp:
(WebCore::Document::Document):
(WebCore::Document::isLayoutTimerActive):
(WebCore::Document::minimumLayoutDelay):
- dom/Document.h: This method was added for Android in http://trac.webkit.org/changeset/52919 and modified in http://trac.webkit.org/changeset/79775. It is no longer needed.
- 5:36 AM Changeset in webkit [94289] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Qt gardening.
Patch by Zsolt Fehér <feherzs@inf.u-szeged.hu> on 2011-09-01
- platform/qt-wk2/Skipped:
- 5:24 AM Changeset in webkit [94288] by
-
- 4 edits in trunk
[Qt] Build dependency problems
https://bugs.webkit.org/show_bug.cgi?id=38054
Make clean build after the defines are changed.
Patch by Kristóf Kosztyó <kkristof@inf.u-szeged.hu> on 2011-09-01
Reviewed by Csaba Osztrogonác.
Source/WebCore:
- features.pri:
Tools:
- Scripts/webkitdirs.pm:
(buildQMakeProject):
- 5:16 AM Changeset in webkit [94287] by
-
- 7 edits in trunk
Web Inspector: Network error messages in console should link to the respective request in network panel if there is one.
https://bugs.webkit.org/show_bug.cgi?id=65550
Reviewed by Yury Semikhatsky.
Source/WebCore:
- inspector/front-end/ConsoleMessage.js:
(WebInspector.ConsoleMessage.prototype._formatMessage):
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype.refresh):
(WebInspector.NetworkLogView.prototype.switchToBriefView):
(WebInspector.NetworkLogView.prototype.searchCanceled):
(WebInspector.NetworkLogView.prototype.revealAndHighlightResource):
(WebInspector.NetworkLogView.prototype._removeAllNodeHighlights):
(WebInspector.NetworkLogView.prototype._highlightNode):
(WebInspector.NetworkPanel.prototype._resourceByAnchor):
(WebInspector.NetworkPanel.prototype.canShowAnchorLocation):
(WebInspector.NetworkPanel.prototype.showAnchorLocation):
- inspector/front-end/networkLogView.css:
(.network-log-grid tr.highlighted-row):
(from):
(to):
LayoutTests:
- http/tests/inspector/console-resource-errors-expected.txt:
- http/tests/inspector/console-xhr-logging-expected.txt:
- 5:06 AM Changeset in webkit [94286] by
-
- 1 edit812 adds in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac, next chunk of 800 files)
svg/svg/text/scaled-font through tables/mozilla/bugs/bug82946-1
- platform/chromium-mac/svg/zoom: Added.
(remaining files omitted for brevity)
- 4:18 AM Changeset in webkit [94285] by
-
- 2 edits in trunk/Source/WebKit2
2011-09-01 Xan Lopez <xlopez@igalia.com>
[GTK] Add XRender lib dependencies explicitly
Reviewed by Philippe Normand.
This is needed when using the GNU/Gold linker, since we use
XRender directly.
- GNUmakefile.am:
- 3:24 AM Changeset in webkit [94284] by
-
- 2 edits in trunk/Source/WebCore
Replace preprocessor statements in DOMWindow.idl with Conditional attribute
https://bugs.webkit.org/show_bug.cgi?id=65050
Reviewed by Brent Fulgham.
Many attributes use the [Conditional=XXX] syntax already.
Unify the declaration of conditional attributes of DOMWindow
with the corresponding Conditional attribute.
This reduces the need of the preprocessor which is the
the source of much pain on native windows.
- page/DOMWindow.idl:
- 3:22 AM Changeset in webkit [94283] by
-
- 3 edits in trunk/LayoutTests
Unreviewed, skipping failing tests after r94259.
r94259 fails on Qt and Gtk
https://bugs.webkit.org/show_bug.cgi?id=67383
- platform/gtk/Skipped:
- platform/qt/Skipped:
- 2:58 AM Changeset in webkit [94282] by
-
- 6 edits in trunk
WebSocket: Fix bufferedAmount after WebSocket is closed
https://bugs.webkit.org/show_bug.cgi?id=67363
Reviewed by Kent Tamura.
Source/WebCore:
Test: http/tests/websocket/tests/hybi/bufferedAmount-after-close.html (updated)
- websockets/WebSocket.cpp:
(WebCore::WebSocket::send):
(WebCore::WebSocket::getFramingOverhead):
- websockets/WebSocket.h:
LayoutTests:
- http/tests/websocket/tests/hybi/bufferedAmount-after-close-expected.txt:
- http/tests/websocket/tests/hybi/bufferedAmount-after-close.html:
Try to send messages having various lengths to make sure we correctly calculate
the framing overhead.
- 2:40 AM Changeset in webkit [94281] by
-
- 2 edits in trunk/Source/JavaScriptCore
Define PTHREAD_KEYS_MAX to fix Android port build.
https://bugs.webkit.org/show_bug.cgi?id=67362
Patch by Hao Zheng <zhenghao@chromium.org> on 2011-09-01
Reviewed by Adam Barth.
PTHREAD_KEYS_MAX is not defined in bionic, so explicitly define it.
- wtf/ThreadIdentifierDataPthreads.cpp:
- 1:44 AM Changeset in webkit [94280] by
-
- 2 edits in trunk/LayoutTests
Temporarily skip a test that started failing after r94274.
The failure is tracked by the bug 67377.
- platform/mac/Skipped:
- 12:40 AM Changeset in webkit [94279] by
-
- 6 edits in trunk/Source/WebCore
Rename colorSelected to didChooseColor
https://bugs.webkit.org/show_bug.cgi?id=67271
Reviewed by Kent Tamura.
- WebCore.exp.in:
- html/ColorInputType.cpp:
(WebCore::ColorInputType::didChooseColor): Renamed colorSelected to didChooseColor so it follows common naming practice.
- html/ColorInputType.h:
- platform/ColorChooser.cpp:
(WebCore::ColorChooser::didChooseColor): Renamed.
- platform/ColorChooser.h:
- 12:27 AM Changeset in webkit [94278] by
-
- 2 edits in trunk/Source/WebCore
Attempt to fix Windows build.
- platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
- 12:00 AM Changeset in webkit [94277] by
-
- 4 edits in trunk/Source/WebKit/chromium
Add pass-throughs for NPObject/v8::Value marshalling to WebBindings
https://bugs.webkit.org/show_bug.cgi?id=67302
Patch by Greg Billock <gbillock@google.com> on 2011-08-31
Reviewed by Darin Fisher.
- public/WebBindings.h:
- src/WebBindings.cpp:
(WebKit::WebBindings::toNPVariant):
(WebKit::WebBindings::toV8Value):
- src/WebSerializedScriptValue.cpp:
(WebKit::WebSerializedScriptValue::serialize):
Aug 31, 2011:
- 11:29 PM Changeset in webkit [94276] by
-
- 1 edit2 adds in trunk/LayoutTests
[chromium] Add baseline due to r94258.
- platform/chromium-linux/http/tests/eventsource/existent-eventsource-status-error-iframe-crash-expected.txt: Added.
- 11:23 PM Changeset in webkit [94275] by
-
- 62 edits3 moves1 add1 delete in trunk/Source
[Chromium] Rename PlatformBridge to PlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=67349
Reviewed by Darin Fisher.
This matches the WebKitPlatformSupport embedder API.
Source/WebCore:
- WebCore.gypi:
- WebCore.pro:
- bindings/v8/NPV8Object.cpp:
(_NPN_Evaluate):
- bindings/v8/ScriptController.cpp:
(WebCore::ScriptController::createScriptInstanceForWidget):
- bindings/v8/V8DOMWindowShell.cpp:
(WebCore::reportFatalErrorInV8):
- bindings/v8/V8GCController.cpp:
- bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::handleOutOfMemory):
(WebCore::V8Proxy::evaluate):
- bindings/v8/V8Proxy.h:
- bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
(WebCore::histogramEnumeration):
- page/PageGroup.cpp:
(WebCore::PageGroup::isLinkVisited):
- platform/audio/chromium/AudioBusChromium.cpp:
(WebCore::AudioBus::loadPlatformResource):
(WebCore::createBusFromInMemoryAudioFile):
- platform/chromium/ChromiumDataObject.cpp:
(WebCore::ChromiumDataObject::types):
(WebCore::ChromiumDataObject::getData):
(WebCore::ChromiumDataObject::getSequenceNumber):
(WebCore::ChromiumDataObject::containsFilenames):
- platform/chromium/DataTransferItemChromium.cpp:
(WebCore::DataTransferItemChromium::getAsString):
(WebCore::DataTransferItemChromium::getAsFile):
- platform/chromium/DragDataChromium.cpp:
(WebCore::DragData::asURL):
- platform/chromium/FileSystemChromium.cpp:
(WebCore::deleteFile):
(WebCore::deleteEmptyDirectory):
(WebCore::getFileSize):
(WebCore::getFileModificationTime):
(WebCore::revealFolderInOS):
(WebCore::directoryName):
(WebCore::pathByAppendingComponent):
(WebCore::makeAllDirectories):
(WebCore::fileExists):
(WebCore::openFile):
(WebCore::closeFile):
(WebCore::seekFile):
(WebCore::truncateFile):
(WebCore::readFromFile):
(WebCore::writeToFile):
- platform/chromium/LanguageChromium.cpp:
(WebCore::platformDefaultLanguage):
- platform/chromium/LinkHashChromium.cpp:
(WebCore::visitedLinkHash):
- platform/chromium/MIMETypeRegistryChromium.cpp:
(WebCore::MIMETypeRegistry::getMIMETypeForExtension):
(WebCore::MIMETypeRegistry::getWellKnownMIMETypeForExtension):
(WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
(WebCore::MIMETypeRegistry::isSupportedImageMIMEType):
(WebCore::MIMETypeRegistry::isSupportedJavaScriptMIMEType):
(WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType):
- platform/chromium/PasteboardChromium.cpp:
(WebCore::Pasteboard::writeSelection):
(WebCore::Pasteboard::writePlainText):
(WebCore::Pasteboard::writeURL):
(WebCore::Pasteboard::writeImage):
(WebCore::Pasteboard::canSmartReplace):
(WebCore::Pasteboard::plainText):
(WebCore::Pasteboard::documentFragment):
- platform/chromium/PlatformBridge.h: Removed.
- platform/chromium/PlatformScreenChromium.cpp:
(WebCore::screenDepth):
(WebCore::screenDepthPerComponent):
(WebCore::screenIsMonochrome):
(WebCore::screenRect):
(WebCore::screenAvailableRect):
- platform/chromium/PlatformSupport.h: Copied from Source/WebCore/platform/chromium/PlatformBridge.h.
- platform/chromium/SSLKeyGeneratorChromium.cpp:
(WebCore::signedPublicKeyAndChallengeString):
- platform/chromium/ScrollbarThemeChromium.cpp:
- platform/chromium/ScrollbarThemeChromiumLinux.cpp:
(WebCore::ScrollbarThemeChromiumLinux::scrollbarThickness):
(WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece):
(WebCore::ScrollbarThemeChromiumLinux::paintButton):
(WebCore::ScrollbarThemeChromiumLinux::paintThumb):
(WebCore::ScrollbarThemeChromiumLinux::buttonSize):
(WebCore::ScrollbarThemeChromiumLinux::minimumThumbLength):
- platform/chromium/ScrollbarThemeChromiumMac.mm:
(WebCore::scrollbarStateToThemeState):
(WebCore::ScrollbarThemeChromiumMac::paint):
- platform/chromium/ScrollbarThemeChromiumWin.cpp:
(WebCore::ScrollbarThemeChromiumWin::scrollbarThickness):
(WebCore::ScrollbarThemeChromiumWin::paintTrackPiece):
(WebCore::ScrollbarThemeChromiumWin::paintButton):
(WebCore::ScrollbarThemeChromiumWin::paintThumb):
(WebCore::ScrollbarThemeChromiumWin::buttonSize):
- platform/chromium/SharedTimerChromium.cpp:
(WebCore::setSharedTimerFiredFunction):
(WebCore::setSharedTimerFireInterval):
(WebCore::stopSharedTimer):
- platform/chromium/SuddenTerminationChromium.cpp:
(WebCore::disableSuddenTermination):
(WebCore::enableSuddenTermination):
- platform/chromium/TraceEvent.h:
(WebCore::internal::ScopeTracer::ScopeTracer):
(WebCore::internal::ScopeTracer::~ScopeTracer):
- platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerPainter::paint):
- platform/graphics/chromium/CrossProcessFontLoading.mm:
- platform/graphics/chromium/FontCacheChromiumWin.cpp:
(WebCore::fontContainsCharacter):
(WebCore::FillLogFont):
- platform/graphics/chromium/FontCacheLinux.cpp:
(WebCore::FontCache::getFontDataForCharacters):
- platform/graphics/chromium/FontChromiumWin.cpp:
(WebCore::drawGlyphsWin):
- platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
(WebCore::FontPlatformData::scriptFontProperties):
- platform/graphics/chromium/FontPlatformDataLinux.cpp:
(WebCore::FontPlatformData::querySystemForRenderStyle):
- platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp:
(WebCore::fillBMPGlyphs):
- platform/graphics/chromium/ImageChromium.cpp:
(WebCore::Image::loadPlatformResource):
- platform/graphics/chromium/ImageChromiumMac.mm:
(WebCore::Image::loadPlatformResource):
- platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
(WebCore::SimpleFontData::platformInit):
(WebCore::SimpleFontData::determinePitch):
(WebCore::SimpleFontData::platformWidthForGlyph):
- platform/graphics/chromium/UniscribeHelperTextRun.cpp:
(WebCore::UniscribeHelperTextRun::tryToPreloadFont):
- platform/graphics/skia/FontCustomPlatformData.cpp:
(WebCore::FontCustomPlatformData::fontPlatformData):
- platform/network/chromium/CookieJarChromium.cpp:
(WebCore::setCookies):
(WebCore::cookies):
(WebCore::cookieRequestHeaderFieldValue):
(WebCore::cookiesEnabled):
(WebCore::getRawCookies):
(WebCore::deleteCookie):
- platform/network/chromium/DNSChromium.cpp:
(WebCore::prefetchDNS):
- platform/qt/PlatformBridge.h: Removed.
- platform/qt/PlatformBridgeQt.cpp: Removed.
- platform/qt/PlatformSupport.h: Copied from Source/WebCore/platform/qt/PlatformBridge.h.
- platform/qt/PlatformSupportQt.cpp: Copied from Source/WebCore/platform/qt/PlatformBridgeQt.cpp.
(WebCore::PlatformSupport::popupsAllowed):
(WebCore::PlatformSupport::pluginScriptableObject):
- platform/sql/chromium/SQLiteFileSystemChromium.cpp:
(WebCore::SQLiteFileSystem::deleteDatabaseFile):
(WebCore::SQLiteFileSystem::getDatabaseFileSize):
- platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:
- platform/sql/chromium/SQLiteFileSystemChromiumWin.cpp:
- plugins/chromium/PluginDataChromium.cpp:
(WebCore::PluginCache::plugins):
- rendering/RenderThemeChromiumLinux.cpp:
(WebCore::getWebThemeState):
(WebCore::RenderThemeChromiumLinux::adjustSliderThumbSize):
(WebCore::RenderThemeChromiumLinux::paintCheckbox):
(WebCore::RenderThemeChromiumLinux::setCheckboxSize):
(WebCore::RenderThemeChromiumLinux::paintRadio):
(WebCore::RenderThemeChromiumLinux::setRadioSize):
(WebCore::RenderThemeChromiumLinux::paintButton):
(WebCore::RenderThemeChromiumLinux::paintTextField):
(WebCore::RenderThemeChromiumLinux::paintMenuList):
(WebCore::RenderThemeChromiumLinux::paintSliderTrack):
(WebCore::RenderThemeChromiumLinux::paintSliderThumb):
(WebCore::RenderThemeChromiumLinux::adjustInnerSpinButtonStyle):
(WebCore::RenderThemeChromiumLinux::paintInnerSpinButton):
(WebCore::RenderThemeChromiumLinux::paintProgressBar):
- rendering/RenderThemeChromiumMac.mm:
(WebCore::RenderThemeChromiumMac::usesTestModeFocusRingColor):
- rendering/RenderThemeChromiumSkia.cpp:
(WebCore::RenderThemeChromiumSkia::caretBlinkInterval):
- rendering/RenderThemeChromiumWin.cpp:
(WebCore::RenderThemeChromiumWin::platformActiveSelectionBackgroundColor):
(WebCore::RenderThemeChromiumWin::platformInactiveSelectionBackgroundColor):
(WebCore::RenderThemeChromiumWin::platformActiveSelectionForegroundColor):
(WebCore::RenderThemeChromiumWin::systemColor):
(WebCore::RenderThemeChromiumWin::paintButton):
(WebCore::RenderThemeChromiumWin::paintSliderTrack):
(WebCore::menuListButtonWidth):
(WebCore::RenderThemeChromiumWin::paintMenuList):
(WebCore::RenderThemeChromiumWin::paintTextFieldInternal):
(WebCore::RenderThemeChromiumWin::paintInnerSpinButton):
(WebCore::RenderThemeChromiumWin::paintProgressBar):
- storage/chromium/IDBFactoryBackendInterface.cpp:
(WebCore::IDBFactoryBackendInterface::create):
- storage/chromium/IDBKeyPathBackendImpl.cpp:
(WebCore::IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath):
(WebCore::IDBKeyPathBackendImpl::injectIDBKeyIntoSerializedValue):
- storage/chromium/QuotaTracker.cpp:
(WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
Source/WebKit/chromium:
- WebKit.gyp:
- src/AssertMatchingEnums.cpp:
- src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
- src/PlatformBridge.cpp: Removed.
- src/ResourceHandle.cpp:
(WebCore::ResourceHandle::cacheMetadata):
- src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::WebFrameImpl):
(WebKit::WebFrameImpl::~WebFrameImpl):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::paint):
(WebKit::WebViewImplContentPainter::paint):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
- 11:11 PM Changeset in webkit [94274] by
-
- 10 edits4 adds in trunk
Crash when inserting text with a trailing newline into a textarea via JS
https://bugs.webkit.org/show_bug.cgi?id=66241
Reviewed by Darin Adler and Kent Tamura.
Source/WebCore:
The crash was caused by updateFromElement biting on the editing code.
When there is a style rule that applies on text nodes inside the shadow DOM, DOM modifications made
by the editing code may trigger style recalculation on input or textarea elements in the midst of editing
commands. In response to this style recalculation, HTMLInputElement::updateFromElement and
HTMLTextAreaElement::updateFromElement call setInnerTextValue to re-create the text nodes in the
shadow DOM. The editing code blows up because setInnerTextValue detaches old text nodes referenced by
Positions and VisiblePositions held by the editing commands in progress.
Fixed the crash by stop calling setInnerTextValue in updateFromElement. Instead, WebKit now creates
the text nodes when attributes, descendent nodes, etc... of input or textarea element changes.
Tests: fast/forms/update-from-element-during-editing-crash-1.html
fast/forms/update-from-element-during-editing-crash-2.html
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::updateType): Force calling setInnerTextValue when input type changes.
(WebCore::HTMLInputElement::updateInnerTextValue): Extracted from RenderTextControlSingleLine's
updateElement.
(WebCore::HTMLInputElement::parseMappedAttribute): Calls updateInnerTextValue; force calling
setInnerTextValue when -webkit-speech attribute changes. In the theory, we should be able to call it less
frequently but there are too many cases to consider at the moment.
(WebCore::HTMLInputElement::setValue): Calls updateInnerTextValue when the value actually changed.
Note we need to call it before we set or restore selection.
- html/HTMLInputElement.h:
- html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::childrenChanged): Calls updateInnerTextValue when textarea's descendants
nodes are changed by parser or scripts.
(WebCore::HTMLTextAreaElement::setValueCommon): Calls updateInnerTextValue when the value changes.
- html/HTMLTextFormControlElement.h:
- html/NumberInputType.cpp:
(WebCore::NumberInputType::willBlur): Calls updateInnerTextValue because input[type=number] forces
the value to be valid on blur.
- rendering/RenderTextControlMultiLine.cpp: Removed RenderTextControlMultiLine::updateFromElement.
- rendering/RenderTextControlMultiLine.h: Ditto.
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::updateFromElement):
LayoutTests:
Add regressions tests to ensure WebKit doesn't crash even when style recalc happens
in the midst of editing commands.
- fast/forms/update-from-element-during-editing-crash-1-expected.txt: Added.
- fast/forms/update-from-element-during-editing-crash-1.html: Added.
- fast/forms/update-from-element-during-editing-crash-2-expected.txt: Added.
- fast/forms/update-from-element-during-editing-crash-2.html: Added.
- 11:07 PM Changeset in webkit [94273] by
-
- 2 edits in trunk/Source/WebCore
Fix snow-leopard regression caused by r93982
https://bugs.webkit.org/show_bug.cgi?id=67301
Patch by Tom Zakrajsek <tomz@codeaurora.org> on 2011-08-31
Reviewed by Kenneth Russell.
Test: canvas/philip/tests/2d.path.stroke.prune.arc.html
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::arc):
- 10:56 PM Changeset in webkit [94272] by
-
- 2 edits3 adds in trunk/LayoutTests
[chromium] Add baselines due to r94253 and r94258.
- platform/chromium-cg-mac-leopard/fast/multicol/overflow-across-columns-percent-height-expected.png: Added.
- platform/chromium-win/http/tests/eventsource/existent-eventsource-status-error-iframe-crash-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 10:47 PM Changeset in webkit [94271] by
-
- 1 edit in branches/chromium/835/Source/WebCore/css/html.css
Merge 94268 - REGRESSION(r88115): "Choose File" button doesn't respect font-size property for the <input>
https://bugs.webkit.org/show_bug.cgi?id=67181
Reviewed by Dimitri Glazkov.
Source/WebCore:
r88115 removed the code to make inherited style of the owner input
element, and html.css contains "font: -webkit-small-control" for
input element. So -webkit-file-upload-button always had
-webkit-small-control font.
Test: fast/forms/file/file-style-inheritance.html
- css/html.css:
(input[type="file"]::-webkit-file-upload-button):
Specify font-size:inherit explicitly.
LayoutTests:
- fast/forms/file/file-style-inheritance-expected.txt: Added.
- fast/forms/file/file-style-inheritance.html: Added.
TBR=tkent@chromium.org
BUG=94602
Review URL: http://codereview.chromium.org/7828001
- 10:33 PM Changeset in webkit [94270] by
-
- 7 edits in trunk/Source/WebCore
Rename closeColorChooser to cleanupColorChooser
https://bugs.webkit.org/show_bug.cgi?id=67270
Reviewed by Kent Tamura.
- html/ColorInputType.cpp:
(WebCore::ColorInputType::~ColorInputType):
(WebCore::ColorInputType::detach):
(WebCore::ColorInputType::cleanupColorChooserIfCurrentClient): NSColorPanel shouldn't be closed but the color
chooser listeners need to be taken care of. Therefore closeColorChooser will be renamed to cleanupColorChooser.
This will close the color chooser on platforms where appropriate.
- html/ColorInputType.h:
- loader/EmptyClients.h:
(WebCore::EmptyChromeClient::cleanupColorChooser): Rename.
- page/Chrome.cpp:
(WebCore::Chrome::cleanupColorChooser): Rename.
- page/Chrome.h:
- page/ChromeClient.h:
- 8:23 PM Changeset in webkit [94269] by
-
- 1 edit4 adds in trunk/LayoutTests
[chromium] Add baselines for test added by r94253.
- platform/chromium-cg-mac/fast/multicol/overflow-across-columns-percent-height-expected.png: Added.
- platform/chromium-linux/fast/multicol/overflow-across-columns-percent-height-expected.png: Added.
- platform/chromium-win/fast/multicol/overflow-across-columns-percent-height-expected.png: Added.
- platform/chromium-win/fast/multicol/overflow-across-columns-percent-height-expected.txt: Added.
- 7:40 PM Changeset in webkit [94268] by
-
- 3 edits2 adds in trunk
REGRESSION(r88115): "Choose File" button doesn't respect font-size property for the <input>
https://bugs.webkit.org/show_bug.cgi?id=67181
Reviewed by Dimitri Glazkov.
Source/WebCore:
r88115 removed the code to make inherited style of the owner input
element, and html.css contains "font: -webkit-small-control" for
input element. So -webkit-file-upload-button always had
-webkit-small-control font.
Test: fast/forms/file/file-style-inheritance.html
- css/html.css:
(input[type="file"]::-webkit-file-upload-button):
Specify font-size:inherit explicitly.
LayoutTests:
- fast/forms/file/file-style-inheritance-expected.txt: Added.
- fast/forms/file/file-style-inheritance.html: Added.
- 7:28 PM Changeset in webkit [94267] by
-
- 1 edit in branches/chromium/835/Source/WebCore/webaudio/AudioNode.cpp
Merge 94262 - Add defensive bounds checking for AudioNode methods
https://bugs.webkit.org/show_bug.cgi?id=67346
BUG=95012
Review URL: http://codereview.chromium.org/7821023
- 7:24 PM Changeset in webkit [94266] by
-
- 1 edit in branches/chromium/835/Source/WebCore/webaudio/AudioBufferSourceNode.cpp
Merge 94265 - Do more rigorous bounds checking in AudioBufferSourceNode::renderFromBuffer()
https://bugs.webkit.org/show_bug.cgi?id=67351
TBR=crogers@google.com
Review URL: http://codereview.chromium.org/7756026
- 7:08 PM Changeset in webkit [94265] by
-
- 2 edits in trunk/Source/WebCore
Do more rigorous bounds checking in AudioBufferSourceNode::renderFromBuffer()
https://bugs.webkit.org/show_bug.cgi?id=67351
Reviewed by Dirk Pranke.
No new tests since this does not change JavaScript API.
- webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::renderFromBuffer):
- 6:56 PM Changeset in webkit [94264] by
-
- 4 edits in trunk/Source/WebCore
Remove closeColorChooser call from FrameLoader::transitionToCommitted
https://bugs.webkit.org/show_bug.cgi?id=67267
Reviewed by Darin Adler.
- html/ColorInputType.cpp:
(WebCore::ColorInputType::closeColorChooserIfCurrentClient): Moved order to match header.
- html/ColorInputType.h:
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::transitionToCommitted): Remove ColorInputType::closeColorChooserIfCurrentClient call.
It wasn't the right place to directly manipulate the UI.
- 6:46 PM Changeset in webkit [94263] by
-
- 3 edits in trunk/Tools
Move DumpRenderTree to WebKitPlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=67331
Reviewed by Darin Fisher.
This patch update DumpRenderTree to account for the WebKitClient =>
WebKitPlatformSupport rename.
- DumpRenderTree/chromium/NotificationPresenter.cpp:
(NotificationPresenter::show):
- DumpRenderTree/chromium/Task.cpp:
(postTask):
- 6:43 PM Changeset in webkit [94262] by
-
- 2 edits in trunk/Source/WebCore
Add defensive bounds checking for AudioNode methods
https://bugs.webkit.org/show_bug.cgi?id=67346
Reviewed by Anders Carlsson.
No new tests since this does not change JavaScript API.
- webaudio/AudioNode.cpp:
(WebCore::AudioNode::input):
(WebCore::AudioNode::output):
- 6:31 PM Changeset in webkit [94261] by
-
- 4 edits in trunk/Source/WebKit/chromium
Chromium Mac: PDF: Scrollsbars should be visible when scrolling using the two finger gesture on Lion
https://bugs.webkit.org/show_bug.cgi?id=66599
Patch by Sailesh Agrawal <sail@chromium.org> on 2011-08-31
Reviewed by Darin Fisher.
Overlay scrollbars over a pdf wouldn't stay visible if a gesture was in progress. Normally we use a beginScrollGesture and endScrollGesture to keep the scrollbars visible. Unfortunately PDFs didn't handle gesture events so we didn't get the begin/end gesture events.
This change pipes gesture events to WebPluginContainerImpl if possible. This fixes this bug.
- src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::handleGestureEvent):
- src/WebPluginContainerImpl.h:
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::gestureEvent):
- 6:22 PM Changeset in webkit [94260] by
-
- 3 edits in trunk/LayoutTests
shouldBeEqualToString should encode special characters
https://bugs.webkit.org/show_bug.cgi?id=67223
Reviewed by Darin Adler.
- fast/js/resources/standalone-pre.js:
(shouldBeEqualToString): Encode \, ", \n, \r
- http/tests/cookies/resources/cookies-test-pre.js:
(shouldBeEqualToString): Encode \, ", \n, \r
- 6:20 PM Changeset in webkit [94259] by
-
- 5 edits in trunk/Source/WebCore
TransformState.move() should be negated in the unapply code path
https://bugs.webkit.org/show_bug.cgi?id=66246
Reviewed by Chris Marrin.
Code using TransformState was confused about when to negate the arguments
to move() in the "UnapplyInverseTransform" direction (used by mapAbsoluteToLocal).
Made the move() path equivalent to the applyTransform() path by not requiring
the caller to negate, and instead negating inside move().
Fixed the erroneous negation in TransformState::move() when accumulating;
that negation will happen later via matrix inversion.
No behavior change.
- platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::recursiveCommitChanges):
- platform/graphics/transforms/TransformState.cpp:
(WebCore::TransformState::move):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::mapAbsoluteToLocalPoint):
- rendering/RenderInline.cpp:
(WebCore::RenderInline::mapAbsoluteToLocalPoint):
- 6:11 PM Changeset in webkit [94258] by
-
- 1 edit2 copies3 moves1 add in trunk/LayoutTests
Add test for testing non-existent eventsource and
fix typo in previous test.
https://bugs.webkit.org/show_bug.cgi?id=49448
Reviewed by Alexey Proskuryakov.
- http/tests/eventsource/eventsource-status-error-iframe-crash-expected.txt: Removed.
- http/tests/eventsource/eventsource-status-error-iframe-crash.html: Removed.
- http/tests/eventsource/existent-eventsource-status-error-iframe-crash-expected.txt: Copied from LayoutTests/http/tests/eventsource/eventsource-status-error-iframe-crash-expected.txt.
- http/tests/eventsource/existent-eventsource-status-error-iframe-crash.html: Copied from LayoutTests/http/tests/eventsource/eventsource-status-error-iframe-crash.html.
- http/tests/eventsource/non-existent-eventsource-status-error-iframe-crash-expected.txt: Added.
- http/tests/eventsource/non-existent-eventsource-status-error-iframe-crash.html: Added.
- http/tests/eventsource/resources/request-existent-eventsource-error.html: Copied from LayoutTests/http/tests/eventsource/resources/request-status-error.htm.
- http/tests/eventsource/resources/request-non-existent-eventsource-error.html: Added.
- http/tests/eventsource/resources/request-status-error.htm: Removed.
- 5:36 PM Changeset in webkit [94257] by
-
- 2 edits in trunk/Source/WebKit2
Jagged text shown in find-in-page highlight
https://bugs.webkit.org/show_bug.cgi?id=67347
<rdar://problem/9870444>
Reviewed by Dan Bernstein.
When painting each text line in the find indicator, make sure to clip it against
the text rect and not paint the entire rect over and over.
- UIProcess/FindIndicator.cpp:
(WebKit::FindIndicator::draw):
- 5:28 PM Changeset in webkit [94256] by
-
- 2 edits in trunk/Source/JavaScriptCore
Fix build.
- 5:26 PM Changeset in webkit [94255] by
-
- 3 edits in trunk/Source/WebCore
Fix compile issues when enabling HAVE(CFNETWORK_DATA_ARRAY_CALLBACK)
https://bugs.webkit.org/show_bug.cgi?id=67332
Reviewed by Darin Adler.
- loader/mac/ResourceLoaderMac.mm:
(WebCore::ResourceLoader::didReceiveDataArray):
- platform/network/cf/ResourceHandleCFNet.cpp:
- 5:21 PM Changeset in webkit [94254] by
-
- 2 edits in trunk/Source/JavaScriptCore
fast/regex/overflow.html asserts in debug builds
https://bugs.webkit.org/show_bug.cgi?id=67326
Reviewed by Gavin Barraclough.
The deliberate overflows in these expressions don't interact nicely
with Checked<32bit-type> so we just bump up to Checked<int64_t> for the
intermediate calculations.
- yarr/YarrJIT.cpp:
(JSC::Yarr::YarrGenerator::generatePatternCharacterFixed):
(JSC::Yarr::YarrGenerator::generateCharacterClassFixed):
- 5:14 PM Changeset in webkit [94253] by
-
- 3 edits3 adds in trunk
Source/WebCore: Refined the heuristic introduced to fix <rdar://problem/10002140> Text gets clipped in
multi-column layouts when overflow:auto is used.
https://bugs.webkit.org/show_bug.cgi?id=67212
Reviewed by Dave Hyatt.
Test: fast/multicol/overflow-across-columns-percent-height.html
- rendering/RenderBox.cpp:
(WebCore::percentageLogicalHeightIsResolvable): Added. This follows logic similar to the one
in computePercentageLogicalHeight() to determine whether percentage values for height properties
are resolved or treated as "auto".
(WebCore::RenderBox::hasUnsplittableScrollingOverflow): If min-height or max-height are specified
as a percentage but actually resolve to "auto", don’t let that prevent splitting.
LayoutTests: Additional test for <rdar://problem/10002140> Text gets clipped in
multi-column layouts when overflow:auto is used.
https://bugs.webkit.org/show_bug.cgi?id=67212
Reviewed by Dave Hyatt.
- fast/multicol/overflow-across-columns-percent-height.html: Added.
- platform/mac/fast/multicol/overflow-across-columns-percent-height-expected.png: Added.
- platform/mac/fast/multicol/overflow-across-columns-percent-height-expected.txt: Added.
- 5:00 PM Changeset in webkit [94252] by
-
- 13 edits in trunk/Source
Move text() and textWithHardLineBreaks() from RenderTextControl to HTMLTextFormControlElement
https://bugs.webkit.org/show_bug.cgi?id=67320
Reviewed by Darin Adler.
Source/WebCore:
Moved and renamed RenderText::text and RenderText::textWithHardLineBreaks to
HTMLTextFormControlElement::innerTextValue and HTMLTextFormControlElement::valueWithHardLineBreaks.
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::text):
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::subtreeHasChanged):
- html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::appendFormData): Calls valueWithHardLineBreaks. It doesn't have to check
the existence of renderer anymore because valueWithHardLineBreaks returns value() when renderer do not
exist unlike RenderText::textWithHardLineBreaks returned emptyString() in such cases. This is the only place
valueWithHardLineBreaks is ever called; but we can't move valueWithHardLineBreaks because it calls
finishText.
(WebCore::HTMLTextAreaElement::handleBeforeTextInsertedEvent):
(WebCore::HTMLTextAreaElement::updateValue):
- html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::selectedText):
(WebCore::HTMLTextFormControlElement::setInnerTextValue):
(WebCore::finishText): Moved from RenderText.cpp
(WebCore::HTMLTextFormControlElement::innerTextValue): Ditto.
(WebCore::getNextSoftBreak): Ditto.
(WebCore::HTMLTextFormControlElement::valueWithHardLineBreaks): Ditto; this function returns value()
when there are no renderers or root inline boxes instead of emptyString().
- html/HTMLTextFormControlElement.h:
- html/NumberInputType.cpp:
(WebCore::NumberInputType::hasUnacceptableValue):
- html/SearchInputType.cpp:
(WebCore::SearchInputType::startSearchEventTimer):
- html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::handleBeforeTextInsertedEvent):
- rendering/RenderTextControl.cpp:
- rendering/RenderTextControl.h:
Source/WebKit/qt:
Call HTMLTextFormControlElement::value() instead of RenderText::text()
- Api/qwebpage.cpp:
(QWebPage::inputMethodQuery):
- 4:55 PM Changeset in webkit [94251] by
-
- 4 edits in trunk/Source
Source/JavaScriptCore: REGRESSION(92210): AVFoundation media engine is disabled on OS X
https://bugs.webkit.org/show_bug.cgi?id=67316
Move the definition of WTF_USE_AVFOUNDATION on the Mac back to JavaScriptCore/wtf/Platform.h,
since WebKit2 doesn't have access to WebCore/config.h on this platform. This reverts the
changes that were made in r92210.
Reviewed by Darin Adler.
- wtf/Platform.h: Added definition of WTF_USE_AVFOUNDATION on the Mac.
Source/WebCore: REGRESSION(92210): AVFoundation media engine is disabled on OS X
https://bugs.webkit.org/show_bug.cgi?id=67316
Move the definition of WTF_USE_AVFOUNDATION on the Mac back to JavaScriptCore/wtf/Platform.h,
since WebKit2 doesn't have access to WebCore/config.h on this platform. This reverts the
changes that were made in r92210.
Reviewed by Darin Adler.
No new tests, covered by existing media tests.
- config.h: Removed definition of WTF_USE_AVFOUNDATION on the Mac, add a comment about fixing this on Windows in the future.
- 4:54 PM Changeset in webkit [94250] by
-
- 2 edits in trunk/LayoutTests
fix bug in flexbox test with offsetWidth/offsetLeft of 0
https://bugs.webkit.org/show_bug.cgi?id=67330
Reviewed by Tony Chang.
- css3/flexbox/resources/flexbox.js:
- 4:54 PM Changeset in webkit [94249] by
-
- 5 edits in branches/safari-534.51-branch/Source
Versioning.
- 4:52 PM Changeset in webkit [94248] by
-
- 1 copy in tags/Safari-534.51.19
New tag.
- 4:32 PM Changeset in webkit [94247] by
-
- 10 edits in trunk/Source
https://bugs.webkit.org/show_bug.cgi?id=67322
Re-name overrideBackingScaleFactor
Reviewed by John Sullivan.
Source/WebKit/mac:
_setOverrideBackingScaleFactor is now _setCustomBackingScaleFactor
- WebView/WebView.mm:
(-[WebView _setCustomBackingScaleFactor:]):
(-[WebView _deviceScaleFactor]):
- WebView/WebViewData.h:
- WebView/WebViewPrivate.h:
Source/WebKit2:
API is now WKPageSetCustomBackingScaleFactor() and WKPageGetBackingScaleFactor()
which returns the custom scale factor if one was set, and the intrinsic scale
factor otherwise.
- UIProcess/API/C/WKPage.cpp:
(WKPageGetBackingScaleFactor):
(WKPageSetCustomBackingScaleFactor):
- UIProcess/API/C/WKPage.h:
Re-named _deviceScaleFactor to _intrinsicDeviceScaleFactor since it only ever
refers to the intrinsic value.
- UIProcess/API/mac/WKView.mm:
(-[WKView viewDidMoveToWindow]):
(-[WKView _windowDidChangeResolution:]):
(-[WKView _intrinsicDeviceScaleFactor]):
WebPageProxy stores both the customDeviceScaleFactor and the
intrinsicDeviceScaleFactor. deviceScaleFactor() returns the appropriate value that
should be the one used.
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::setIntrinsicDeviceScaleFactor):
(WebKit::WebPageProxy::deviceScaleFactor):
(WebKit::WebPageProxy::setCustomDeviceScaleFactor):
(WebKit::WebPageProxy::creationParameters):
- UIProcess/WebPageProxy.h:
- 4:16 PM Changeset in webkit [94246] by
-
- 3 edits in trunk/Source/WebKit2
REGRESSION(r93902): Can't open external links on gmail
https://bugs.webkit.org/show_bug.cgi?id=67234
<rdar://problem/10053636>
Reviewed by Alexey Proskuryakov.
- Shared/cf/ArgumentCodersCF.cpp:
(CoreIPC::decode):
If we encounter an empty URL string, create an empty url by using NSURL, just
like we do in WebCore when converting an empty KURL to an NSURL.
- WebKit2.xcodeproj/project.pbxproj:
Compile ArgumentCodersCF.cpp as Objective-C++ for now.
- 4:14 PM Changeset in webkit [94245] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Update a bug number in test expectation file and skip
media-document-audio-repaint.html for GPU due to an unimplented
feature.
https://bugs.webkit.org/show_bug.cgi?id=67328
Reviewed by Adam Barth.
- platform/chromium/test_expectations.txt:
- 4:12 PM Changeset in webkit [94244] by
-
- 1 edit14 moves42 adds in trunk/LayoutTests
[chromium] Test expectation updates due to r94211.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-001-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-002-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-003-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-004-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-005-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-006-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-007-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-008-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-009-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-010-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-012-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-013-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-014-expected.png: Added.
- platform/chromium-cg-mac-leopard/css2.1/20110323/margin-applies-to-015-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-001-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-002-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-003-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-004-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-005-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-006-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-007-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-008-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-009-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-010-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-012-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-013-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-014-expected.png: Added.
- platform/chromium-cg-mac/css2.1/20110323/margin-applies-to-015-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-001-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-001-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-001-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-002-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-002-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-002-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-003-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-003-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-003-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-004-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-004-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-004-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-005-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-005-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-005-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-006-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-006-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-006-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-007-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-007-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-007-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-008-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-008-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-008-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-009-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-009-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-009-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-010-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-010-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-010-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-012-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-012-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-012-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-013-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-013-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-013-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-014-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-014-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-014-expected.txt.
- platform/chromium-win/css2.1/20110323/margin-applies-to-015-expected.png: Added.
- platform/chromium-win/css2.1/20110323/margin-applies-to-015-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/margin-applies-to-015-expected.txt.
- 4:06 PM Changeset in webkit [94243] by
-
- 2 edits in trunk/Source/WebCore
[Chromium] Switching between overlay and opaque scrollbars causes glitches
https://bugs.webkit.org/show_bug.cgi?id=62686
Patch by Sailesh Agrawal <sail@chromium.org> on 2011-08-31
Reviewed by Beth Dakin.
When switching from opaque scrollbars to overlay scrollbars the page content size wouldn't change leaving a empty region under the overlay scrollbar.
The problem was that we were relying on ScrollView::updateScrollbars() to kick off a layout. Unfortunately this doesn't happen because updateScrollbars doesn't distinguish between overlay and opaque scrollbars.
To fix this I'm explicitly invalidating the layout when ScrollView::scrollbarStyleChanged() is called.
No tests because there are no Mac 10.7 chromium bots yet. Bug 66504 will track the work to add these tests once the bots are in place.
- platform/ScrollView.cpp:
(WebCore::ScrollView::scrollbarStyleChanged):
- 4:01 PM Changeset in webkit [94242] by
-
- 6 edits in trunk
http/tests/eventsource/workers/eventsource-simple.html is a flaky crash because of
eventsource-status-error-iframe-crash.html
https://bugs.webkit.org/show_bug.cgi?id=61523
Reviewed by Nate Chapin.
Source/WebCore:
The problem here was that canceling EventSource during frame removal erroneously resulted
in event dispatch, and event handler re-entered frame destruction code.
- page/EventSource.h: Renamed endRequest() to networkRequestEnded(), because this method
doesn't end request. It implements "reestablish the connection" or "fail the connection"
algotithms from the spec, depending on current state.
Removed m_failSilently, since we can make this decision with existing data, and want to
fail silently by default (e.g. when detaching a frame cancels all loads).
- page/EventSource.cpp:
(WebCore::EventSource::EventSource): Don't initialize m_failSilently.
(WebCore::EventSource::~EventSource): Assert taht we are in a correct state.
(WebCore::EventSource::connect): Ditto.
(WebCore::EventSource::networkRequestEnded): Moved errorevent dispatch elsewhere.
(WebCore::EventSource::scheduleReconnect): Error event should always be queued when
reconnecting; firing it synchronously after starting m_reconnectTimer implements that.
(WebCore::EventSource::reconnectTimerFired): Assert that state is correct (the timer is
stopped if EventSource is stopped while waiting on the timer).
(WebCore::EventSource::close): Don't set m_state before calling cancel() - it will indirectly
call didFail(), which asserts that EventSource is not stopped yet.
(WebCore::EventSource::didReceiveResponse): Explicitly dispatch an error event, since it
is no longer dispatched when canceling, and canceling is the only way to stop a ThreadableLoader.
Removed a special case for 2xx responses, since it's no longer in the spec.
(WebCore::EventSource::didReceiveData): Assert that state is correct.
(WebCore::EventSource::didFinishLoading): Don't set state to CONNECTING after parsing remaining
response bytes - that may well result in dispatching an event whose handler calls close().
(WebCore::EventSource::didFail): It's simple now - we always reconnect unless the request
got canceled.
(WebCore::EventSource::didFailRedirectCheck): Dispatch error event explicitly, as we are
not going to attempt reconnecting.
LayoutTests:
- http/tests/eventsource/eventsource-status-code-states-expected.txt:
- http/tests/eventsource/eventsource-status-code-states.html:
2xx responses are no longer different from any other failures.
- 3:44 PM Changeset in webkit [94241] by
-
- 1 edit in branches/chromium/835/Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp
Merge 94237
BUG=91197
Review URL: http://codereview.chromium.org/7822005
- 3:40 PM Changeset in webkit [94240] by
-
- 5 edits in trunk/Source/WebKit/chromium
Chromium Mac: Add fallback for drawing PDF overhang area
https://bugs.webkit.org/show_bug.cgi?id=66614
Patch by Sailesh Agrawal <sail@chromium.org> on 2011-08-31
Reviewed by Darin Fisher.
This change adds a fallback for overhang drawing for PDF content. This fallback is needed until the PDF plugin uses the linen pattern to draw its own overhang.
- src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::paintCustomOverhangArea):
- src/ChromeClientImpl.h:
- src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::paintCustomOverhangArea):
- src/WebPluginContainerImpl.h:
- 3:26 PM Changeset in webkit [94239] by
-
- 1 edit1 delete in trunk/LayoutTests
[chromium] Fix expectations due to r94213.
- platform/chromium-cg-mac/fast/tokenizer/script_extra_close-expected.txt: Removed.
- 3:20 PM Changeset in webkit [94238] by
-
- 3 edits in trunk/LayoutTests
empty-urls.html is non-deterministic.
https://bugs.webkit.org/show_bug.cgi?id=67327
Reviewed by Adam Barth.
- http/tests/loading/empty-urls-expected.txt:
- http/tests/loading/empty-urls.html: Ensure the ordering of the pass messages and remove the loader events which also seem to produce non-deterministic results.
- 2:51 PM Changeset in webkit [94237] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] Have the FrameLoaderClient release any plugin widget
reference is holding when the FrameLoader detaches it, to ensure that
the plugin won't out-live the containing page.
https://bugs.webkit.org/show_bug.cgi?id=66517
Patch by James Weatherall <wez@chromium.org> on 2011-08-31
Reviewed by Darin Fisher.
- src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::detachedFromParent3):
- 2:51 PM Changeset in webkit [94236] by
-
- 4 edits2 deletes in trunk
Unreviewed, rolling out r94116.
http://trac.webkit.org/changeset/94116
https://bugs.webkit.org/show_bug.cgi?id=67323
caused a lot of tests failures (Requested by thorton on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-31
Source/WebCore:
- platform/graphics/cg/PathCG.cpp:
(WebCore::Path::boundingRect):
LayoutTests:
- platform/chromium/test_expectations.txt:
- svg/custom/getBBox-path-expected.txt: Removed.
- svg/custom/getBBox-path.svg: Removed.
- 2:48 PM Changeset in webkit [94235] by
-
- 3 edits in trunk/Source/JavaScriptCore
Add Android's platform specification and the right atomic functions.
https://bugs.webkit.org/show_bug.cgi?id=66687
Patch by Peter Beverloo <peter@chromium.org> on 2011-08-31
Reviewed by Adam Barth.
- wtf/Atomics.h:
(WTF::atomicIncrement):
(WTF::atomicDecrement):
- wtf/Platform.h:
- 2:24 PM Changeset in webkit [94234] by
-
- 2 edits in trunk/Source/WebCore
Chromium Mac: Tweak rubber banding overhang shadows. Add a drop shadow from the browser's toolbar.
https://bugs.webkit.org/show_bug.cgi?id=67289
Chromium bug: http://crbug.com/93228
Patch by Alexei Svitkine <asvitkine@chromium.org> on 2011-08-31
Reviewed by Dimitri Glazkov.
No new tests, since this merely tweaks Chromium overhang area appearance.
- platform/chromium/ScrollbarThemeChromiumMac.mm:
(WebCore::ScrollbarThemeChromiumMac::paintGivenTickmarks):
(WebCore::ScrollbarThemeChromiumMac::paintOverhangAreas):
- 2:19 PM Changeset in webkit [94233] by
-
- 1 edit828 adds in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac, next chunk of 800 files)
svg/batik/text/textLayout through svg/text/multichar-glyph
- platform/chromium-mac/svg/batik/text/textLayout-expected.png: Added.
(remaining files omitted for brevity)
- 2:12 PM Changeset in webkit [94232] by
-
- 2 edits in trunk/Source/WebCore
Remove webcore_bindings (including DerivedSources##.cpp) from the critical path
https://bugs.webkit.org/show_bug.cgi?id=67168
Reviewed by Adam Barth.
webcore_bindings_sources, debugger_script_source, injected_script_source, and
inspector_protocol_sources generates various files (e.g., CSSPropertyNames,
DerivedSources, HTMLNames, etc). webcore_bindings depends on *_sources and compiles
these files. Previously, the other webcore libs (webcore_svg, webcore_html,
webcore_remaining, etc) depended on webcore_bindings. This moves the *_sources
dependencies from webcore_bindings to the other webcore libs so the build can
parallelize the compile of webcore_bindings and the other webcore_* libs.
Also copy over the include dirs that we used to get from webcore_bindings'
direct_dependent_settings.
No new tests, just changing the build dependencies.
- WebCore.gyp/WebCore.gyp:
- 2:10 PM Changeset in webkit [94231] by
-
- 32 edits1 copy1 add in trunk/Source/WebKit/chromium
[Chromium] Rename WebKitClient to WebKitPlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=67309
Reviewed by Darin Fisher.
WebKitClient doesn't actually represent the WebKit Client. Instead, it
represents supporting code for the WebKit Platform. This patch renames
WebKitClient to WebKitPlatformSupport to make it easier for folks to
understand the difference between the Client and the Platform.
This patch includes shims so as not to break the Chromium build. Once
the Chromium side is updated, I'll remove the shims.
- WebKit.gyp:
- public/WebFrameClient.h:
- public/WebKit.h:
(WebKit::webKitClient):
- public/WebKitClient.h: Removed.
- public/WebKitPlatformSupport.h: Copied from Source/WebKit/chromium/public/WebKitClient.h.
(WebKit::WebKitPlatformSupport::~WebKitPlatformSupport):
- src/ApplicationCacheHostInternal.h:
- src/AssociatedURLLoader.cpp:
- src/AsyncFileSystemChromium.cpp:
(WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
- src/AudioDestinationChromium.cpp:
(WebCore::AudioDestinationChromium::AudioDestinationChromium):
(WebCore::AudioDestination::hardwareSampleRate):
- src/BlobRegistryProxy.cpp:
(WebCore::BlobRegistryProxy::BlobRegistryProxy):
- src/CCThreadImpl.cpp:
(WebKit::CCThreadImpl::CCThreadImpl):
- src/ChromiumCurrentTime.cpp:
(WTF::currentTime):
(WTF::monotonicallyIncreasingTime):
- src/ChromiumOSRandomSource.cpp:
(WTF::cryptographicallyRandomValuesFromOS):
- src/ChromiumThreading.cpp:
(WTF::ChromiumThreading::callOnMainThread):
- src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::canShowMIMEType):
(WebKit::FrameLoaderClientImpl::userAgent):
- src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3D::create):
- src/IDBFactoryBackendProxy.cpp:
(WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
- src/LocalizedStrings.cpp:
(WebCore::query):
- src/PlatformBridge.cpp:
(WebCore::getCookieJar):
(WebCore::PlatformBridge::cacheMetadata):
(WebCore::PlatformBridge::clipboardIsFormatAvailable):
(WebCore::PlatformBridge::clipboardReadPlainText):
(WebCore::PlatformBridge::clipboardReadHTML):
(WebCore::PlatformBridge::clipboardReadImage):
(WebCore::PlatformBridge::clipboardGetSequenceNumber):
(WebCore::PlatformBridge::clipboardWriteSelection):
(WebCore::PlatformBridge::clipboardWritePlainText):
(WebCore::PlatformBridge::clipboardWriteURL):
(WebCore::PlatformBridge::clipboardWriteImage):
(WebCore::PlatformBridge::clipboardWriteData):
(WebCore::PlatformBridge::clipboardReadAvailableTypes):
(WebCore::PlatformBridge::clipboardReadData):
(WebCore::PlatformBridge::clipboardReadFilenames):
(WebCore::PlatformBridge::prefetchDNS):
(WebCore::PlatformBridge::fileExists):
(WebCore::PlatformBridge::deleteFile):
(WebCore::PlatformBridge::deleteEmptyDirectory):
(WebCore::PlatformBridge::getFileSize):
(WebCore::PlatformBridge::revealFolderInOS):
(WebCore::PlatformBridge::getFileModificationTime):
(WebCore::PlatformBridge::directoryName):
(WebCore::PlatformBridge::pathByAppendingComponent):
(WebCore::PlatformBridge::makeAllDirectories):
(WebCore::PlatformBridge::getAbsolutePath):
(WebCore::PlatformBridge::isDirectory):
(WebCore::PlatformBridge::filePathToURL):
(WebCore::PlatformBridge::openFile):
(WebCore::PlatformBridge::closeFile):
(WebCore::PlatformBridge::seekFile):
(WebCore::PlatformBridge::truncateFile):
(WebCore::PlatformBridge::readFromFile):
(WebCore::PlatformBridge::writeToFile):
(WebCore::PlatformBridge::ensureFontLoaded):
(WebCore::PlatformBridge::loadFont):
(WebCore::PlatformBridge::getFontFamilyForCharacters):
(WebCore::PlatformBridge::getRenderStyleForStrike):
(WebCore::PlatformBridge::databaseOpenFile):
(WebCore::PlatformBridge::databaseDeleteFile):
(WebCore::PlatformBridge::databaseGetFileAttributes):
(WebCore::PlatformBridge::databaseGetFileSize):
(WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin):
(WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
(WebCore::PlatformBridge::injectIDBKeyIntoSerializedValue):
(WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
(WebCore::PlatformBridge::computedDefaultLanguage):
(WebCore::PlatformBridge::isSupportedImageMIMEType):
(WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
(WebCore::PlatformBridge::isSupportedNonImageMIMEType):
(WebCore::PlatformBridge::mimeTypeForExtension):
(WebCore::PlatformBridge::wellKnownMimeTypeForExtension):
(WebCore::PlatformBridge::mimeTypeFromFile):
(WebCore::PlatformBridge::preferredExtensionForMIMEType):
(WebCore::PlatformBridge::plugins):
(WebCore::PlatformBridge::loadPlatformImageResource):
(WebCore::PlatformBridge::loadPlatformAudioResource):
(WebCore::PlatformBridge::decodeAudioFileData):
(WebCore::PlatformBridge::sandboxEnabled):
(WebCore::PlatformBridge::setSharedTimerFiredFunction):
(WebCore::PlatformBridge::setSharedTimerFireInterval):
(WebCore::PlatformBridge::stopSharedTimer):
(WebCore::PlatformBridge::decrementStatsCounter):
(WebCore::PlatformBridge::incrementStatsCounter):
(WebCore::PlatformBridge::histogramCustomCounts):
(WebCore::PlatformBridge::histogramEnumeration):
(WebCore::PlatformBridge::suddenTerminationChanged):
(WebCore::PlatformBridge::paintButton):
(WebCore::PlatformBridge::paintMenuList):
(WebCore::PlatformBridge::paintScrollbarArrow):
(WebCore::PlatformBridge::paintScrollbarThumb):
(WebCore::PlatformBridge::paintScrollbarTrack):
(WebCore::PlatformBridge::paintSpinButton):
(WebCore::PlatformBridge::paintTextField):
(WebCore::PlatformBridge::paintTrackbar):
(WebCore::PlatformBridge::paintProgressBar):
(WebCore::PlatformBridge::getThemePartSize):
(WebCore::PlatformBridge::paintThemePart):
(WebCore::PlatformBridge::traceEventBegin):
(WebCore::PlatformBridge::traceEventEnd):
(WebCore::PlatformBridge::visitedLinkHash):
(WebCore::PlatformBridge::isLinkVisited):
(WebCore::PlatformBridge::memoryUsageMB):
(WebCore::PlatformBridge::actualMemoryUsageMB):
- src/PlatformMessagePortChannel.cpp:
(WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
- src/ResourceHandle.cpp:
(WebCore::ResourceHandleInternal::start):
(WebCore::ResourceHandle::loadResourceSynchronously):
- src/SharedWorkerRepository.cpp:
(WebCore::SharedWorkerRepository::isAvailable):
(WebCore::SharedWorkerRepository::connect):
(WebCore::SharedWorkerRepository::documentDetached):
(WebCore::SharedWorkerRepository::hasSharedWorkers):
- src/SocketStreamHandle.cpp:
(WebCore::SocketStreamHandleInternal::connect):
- src/StorageEventDispatcherChromium.cpp:
(WebCore::StorageEventDispatcher::dispatch):
- src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespace::localStorageNamespace):
- src/WebKit.cpp:
(WebKit::generateEntropy):
(WebKit::initialize):
(WebKit::shutdown):
(WebKit::webKitPlatformSupport):
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::supportsType):
- src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::copy):
- src/WebViewImpl.cpp:
- src/WebWorkerClientImpl.cpp:
- src/WorkerAsyncFileSystemChromium.cpp:
(WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
- src/WorkerFileWriterCallbacksBridge.cpp:
(WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
- tests/RunAllTests.cpp:
- 2:07 PM Changeset in webkit [94230] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-31
- DEPS:
- 2:03 PM Changeset in webkit [94229] by
-
- 3 edits in trunk/Source/WebCore
Minor cleanup: remove inScriptExecution()
https://bugs.webkit.org/show_bug.cgi?id=67276
Reviewed by Adam Barth.
At one point inScriptExecution() existed as a non-virtual duplicate of isExecutingScript()
to avoid virtual method calls from a tight loop. Now we aren't calling it anywhere perf
sensitive, so remove the duplication.
No new tests because no change in functionality.
- html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::isExecutingScript):
(WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
(WebCore::HTMLDocumentParser::notifyFinished):
- html/parser/HTMLDocumentParser.h:
(WebCore::HTMLDocumentParser::shouldDelayEnd):
- 1:58 PM Changeset in webkit [94228] by
-
- 5 edits2 adds in trunk/Tools
Add queues.webkit.org/active-bots page to make it easy to see which bots are down
https://bugs.webkit.org/show_bug.cgi?id=67314
Reviewed by Adam Barth.
Very simple page. Just lists all the bots, what queue they belong to and what we last heard from them.
If we haven't heard from a bot in the last 500 messages (last day or so), then it won't show up here.
This makes it very easy for me to see which of my cr-jail bots might be down at any one time.
I also moved a bunch of code into dashboard.css which belonged there.
- QueueStatusServer/handlers/activebots.py: Added.
- QueueStatusServer/main.py:
- QueueStatusServer/stylesheets/dashboard.css:
(.queue_bubble):
(.queue_name):
(.last_heard_from):
(.status_text):
(.alive):
(.behind):
(.dead):
- QueueStatusServer/templates/activebots.html: Added.
- QueueStatusServer/templates/dashboard.html:
- QueueStatusServer/templates/recentstatus.html:
- 1:56 PM Changeset in webkit [94227] by
-
- 1 edit42 adds in trunk/LayoutTests
Add new platform-specific results from r94211
Unreviewed.
- platform/gtk/css2.1/20110323/margin-applies-to-001-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-002-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-003-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-004-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-005-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-006-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-007-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-008-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-009-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-010-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-012-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-013-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-014-expected.txt: Added.
- platform/gtk/css2.1/20110323/margin-applies-to-015-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-001-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-002-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-003-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-004-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-005-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-006-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-007-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-008-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-009-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-010-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-012-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-013-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-014-expected.txt: Added.
- platform/mac/css2.1/20110323/margin-applies-to-015-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-001-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-002-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-003-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-004-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-005-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-006-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-007-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-008-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-009-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-010-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-012-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-013-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-014-expected.txt: Added.
- platform/qt/css2.1/20110323/margin-applies-to-015-expected.txt: Added.
- 1:53 PM Changeset in webkit [94226] by
-
- 6 edits2 adds in trunk/LayoutTests
[chromium] Update test expectation due to r94206 and r94211.
- platform/chromium-win/fast/borders/border-image-source-expected.png: Added.
- platform/chromium-win/fast/borders/border-image-source-expected.txt: Added.
- platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
- platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
- platform/chromium-win/tables/mozilla_expected_failures/core/captions1-expected.png:
- platform/chromium-win/tables/mozilla_expected_failures/core/captions2-expected.png:
- 1:52 PM Changeset in webkit [94225] by
-
- 4 edits1 add in trunk
Fix XSS filter bypass by multiply decoding both the URL and the body
snippet until they are in the most minimal form before comparison.
https://bugs.webkit.org/show_bug.cgi?id=66585
Patch by Tom Sepez <tsepez@chromium.org> on 2011-08-31
Reviewed by Adam Barth.
Source/WebCore:
- html/parser/XSSAuditor.cpp:
(WebCore::fullyDecodeString):
(WebCore::XSSAuditor::init):
(WebCore::XSSAuditor::filterToken):
(WebCore::XSSAuditor::isContainedInRequest):
LayoutTests:
- http/tests/security/xssAuditor/anchor-url-dom-write-location2.html:
- http/tests/security/xssAuditor/resources/echo-dom-write-unescaped-location.html: Added.
- 1:46 PM Changeset in webkit [94224] by
-
- 1 edit846 adds in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac, next chunk of 800 files)
fast/overflow through svg/batik/text
- platform/chromium-mac/fast/overflow/overflow-with-local-background-attachment-expected.png: Added.
(remaining files omitted for brevity)
- 1:32 PM Changeset in webkit [94223] by
-
- 1 edit850 adds in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac, next chunk of 800 files)
Most files were inadvertantly excluded from earlier checkins.
- platform/chromium-mac/fast/overflow: Added.
(remaining files omitted for brevity)
- 1:16 PM Changeset in webkit [94222] by
-
- 16 edits in trunk/LayoutTests
Update platform-specific results after r94211
Unreviewed, update platform-specifc results.
- platform/gtk/tables/mozilla_expected_failures/bugs/bug10140-expected.txt:
- platform/gtk/tables/mozilla_expected_failures/bugs/bug91057-expected.txt:
- platform/gtk/tables/mozilla_expected_failures/core/captions1-expected.txt:
- platform/gtk/tables/mozilla_expected_failures/core/captions2-expected.txt:
- platform/gtk/tables/mozilla_expected_failures/core/captions3-expected.txt:
- platform/mac/tables/mozilla_expected_failures/bugs/bug10140-expected.txt:
- platform/mac/tables/mozilla_expected_failures/bugs/bug91057-expected.txt:
- platform/mac/tables/mozilla_expected_failures/core/captions1-expected.txt:
- platform/mac/tables/mozilla_expected_failures/core/captions2-expected.txt:
- platform/mac/tables/mozilla_expected_failures/core/captions3-expected.txt:
- platform/qt/tables/mozilla_expected_failures/bugs/bug10140-expected.txt:
- platform/qt/tables/mozilla_expected_failures/bugs/bug91057-expected.txt:
- platform/qt/tables/mozilla_expected_failures/core/captions1-expected.txt:
- platform/qt/tables/mozilla_expected_failures/core/captions2-expected.txt:
- platform/qt/tables/mozilla_expected_failures/core/captions3-expected.txt:
- 1:14 PM Changeset in webkit [94221] by
-
- 2 edits1 move in trunk/Tools
Move CheckedArithmeticOperations.cpp to the intended location
- 1:12 PM Changeset in webkit [94220] by
-
- 19 edits2 copies in branches/safari-534.51-branch
Merged r92982.
- 1:09 PM Changeset in webkit [94219] by
-
- 2 edits in trunk/Tools
add unittest to validate the complete set of Chromium configurations
https://bugs.webkit.org/show_bug.cgi?id=67211
Patch by Elliot Poger <epoger@google.com> on 2011-08-31
Reviewed by Adam Barth.
- Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
- 12:42 PM Changeset in webkit [94218] by
-
- 3 edits in branches/safari-534.51-branch/Source/WebCore
Merge r93459.
- 12:29 PM Changeset in webkit [94217] by
-
- 2 edits in branches/chromium/835/Source/WebKit/chromium/src
Direct commit into chromium 835 branch:
Fix handling of lost context recovery for windows XP. The existing code didn't always
succeed creating a GC3D right after recovering from a lost device and ended up in an inconsistent
state of doing s/w rendering but without having properly cleared the composited layers.
The new code attempts to create a GC3D a few times before giving up and switching to s/w rendering.
Upon repeated failure we now switch to s/w rendering and force a style recalc on the document
to make sure that composited layers are properly disposed.
This code is checked in to the 835 branch directly as handling of the lost context events on the trunk has significantly diverged. A similar change must be made to the trunk as well.
CHROME BUG=http://code.google.com/p/chromium/issues/detail?id=94183
TEST=Open pages using the compositor like the poster circle on windows XP and trigger repeated lost device events
by locking the screen. Verify that upon return the page renders correctly.
- 12:21 PM Changeset in webkit [94216] by
-
- 1 edit in branches/chromium/835/Source/WebCore/inspector/InspectorResourceAgent.cpp
Merge 94078 - Web Inspector: Inspected page sometimes crashes in InspectorResourceAgent::didFailLoading
https://bugs.webkit.org/show_bug.cgi?id=67193
Reviewed by Pavel Feldman.
- inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::didFailLoading):
TBR=vsevik@chromium.org
Review URL: http://codereview.chromium.org/7819001
- 12:12 PM Changeset in webkit [94215] by
-
- 3 edits2 adds in trunk
Crash with -webkit-radial-gradient(top) gradient
https://bugs.webkit.org/show_bug.cgi?id=66686
Source/WebCore:
Reviewed by Darin Adler.
Null-check the current value after calling parseFillPosition(),
since it may be null for gradients with degenerate arguments.
Test: fast/gradients/css3-radial-gradient-crash.html
- css/CSSParser.cpp:
(WebCore::CSSParser::parseRadialGradient):
LayoutTests:
Reviewed by Darin Adler.
Test case with degenerate arguments in a radial gradient.
- fast/gradients/css3-radial-gradient-crash-expected.txt: Added.
- fast/gradients/css3-radial-gradient-crash.html: Added.
- 12:08 PM Changeset in webkit [94214] by
-
- 6 edits in trunk
Make ScrollAnimator(Chromium)?Mac check scrollAnimatorEnabled()
https://bugs.webkit.org/show_bug.cgi?id=67297
Reviewed by Tony Chang.
Source/WebCore:
I need this to disable smooth scrolling in chromium tests. I'm making
the change to ScrollAnimatorMac to make unforking the file easier. I
changed scrollAnimatorEnabled() to default to true so that this change
is a no-op for Safari; in chromium the flag is set explicitly to true
or false anyway.
- page/Settings.cpp:
(WebCore::Settings::Settings):
- platform/chromium/ScrollAnimatorChromiumMac.mm:
(WebCore::ScrollAnimatorChromiumMac::scroll):
- platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::scroll):
Tools:
Explicitly disable smooth scrolling in chromium's DRT.
- DumpRenderTree/chromium/WebPreferences.cpp:
(WebPreferences::applyTo):
- 12:01 PM Changeset in webkit [94213] by
-
- 10 edits5 adds32 deletes in trunk
Source/WebCore: Don't load resources with empty urls, since this
will resolve to the current document.
https://bugs.webkit.org/show_bug.cgi?id=30303
Reviewed by Darin Adler.
Test: http/tests/loading/empty-urls.html
- dom/ScriptElement.cpp:
(WebCore::ScriptElement::requestScript): If src="", fail through
to the error event case.
- html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::parseMappedAttribute): Ensure the url
stays empty if we try to resolve an empty href.
- loader/ImageLoader.cpp:
(WebCore::ImageLoader::updateFromElement): Throw an error instead of
loading if the src is empty in all cases, not just local files.
LayoutTests: Test updates for https://bugs.webkit.org/show_bug.cgi?id=30303.
Reviewed by Darin Adler.
- fast/images/load-img-with-empty-src-expected.txt:
- fast/images/load-img-with-empty-src.html: Expect the same behavior whether or not an empty src
is in a local file document.
- fast/tokenizer/002-expected.txt: Added.
- fast/tokenizer/002.html: Make dumpAsText().
- fast/tokenizer/external-script-document-write_2-expected.txt: Added.
- fast/tokenizer/external-script-document-write_2.html:: Make dumpAsText().
- fast/tokenizer/script_extra_close-expected.txt: Added.
- fast/tokenizer/script_extra_close.html:: Make dumpAsText().
- http/tests/loading/empty-urls-expected.txt: Added.
- http/tests/loading/empty-urls.html: Added. Test empty urls with a bunch of subresource types
and ensure their error event behavior matches the spec.
- platform/chromium-cg-mac/fast/tokenizer/002-expected.txt: Removed.
- platform/chromium-cg-mac/fast/tokenizer/external-script-document-write_2-expected.txt: Removed.
- platform/chromium-linux/fast/tokenizer/002-expected.png: Removed.
- platform/chromium-linux/fast/tokenizer/external-script-document-write_2-expected.png: Removed.
- platform/chromium-linux/fast/tokenizer/script_extra_close-expected.png: Removed.
- platform/chromium-win/fast/tokenizer/002-expected.png: Removed.
- platform/chromium-win/fast/tokenizer/002-expected.txt: Removed.
- platform/chromium-win/fast/tokenizer/external-script-document-write_2-expected.png: Removed.
- platform/chromium-win/fast/tokenizer/external-script-document-write_2-expected.txt: Removed.
- platform/chromium-win/fast/tokenizer/script_extra_close-expected.png: Removed.
- platform/chromium-win/fast/tokenizer/script_extra_close-expected.txt: Removed.
- platform/gtk/fast/tokenizer/002-expected.png: Removed.
- platform/gtk/fast/tokenizer/002-expected.txt: Removed.
- platform/gtk/fast/tokenizer/external-script-document-write_2-expected.png: Removed.
- platform/gtk/fast/tokenizer/external-script-document-write_2-expected.txt: Removed.
- platform/gtk/fast/tokenizer/script_extra_close-expected.png: Removed.
- platform/gtk/fast/tokenizer/script_extra_close-expected.txt: Removed.
- platform/mac-leopard/fast/tokenizer/002-expected.png: Removed.
- platform/mac-leopard/fast/tokenizer/external-script-document-write_2-expected.png: Removed.
- platform/mac-leopard/fast/tokenizer/script_extra_close-expected.png: Removed.
- platform/mac/fast/tokenizer/002-expected.png: Removed.
- platform/mac/fast/tokenizer/002-expected.txt: Removed.
- platform/mac/fast/tokenizer/external-script-document-write_2-expected.png: Removed.
- platform/mac/fast/tokenizer/external-script-document-write_2-expected.txt: Removed.
- platform/mac/fast/tokenizer/script_extra_close-expected.png: Removed.
- platform/mac/fast/tokenizer/script_extra_close-expected.txt: Removed.
- platform/qt/fast/tokenizer/002-expected.png: Removed.
- platform/qt/fast/tokenizer/002-expected.txt: Removed.
- platform/qt/fast/tokenizer/external-script-document-write_2-expected.png: Removed.
- platform/qt/fast/tokenizer/external-script-document-write_2-expected.txt: Removed.
- platform/qt/fast/tokenizer/script_extra_close-expected.png: Removed.
- platform/qt/fast/tokenizer/script_extra_close-expected.txt: Removed.
- 11:57 AM Changeset in webkit [94212] by
-
- 2 edits in trunk/LayoutTests
Improve appearance and performance of layout test results.html
https://bugs.webkit.org/show_bug.cgi?id=67252
Reviewed by Adam Barth, Ojan Vafai.
Improve the appearance of the pixel result comparison overlay.
Change the overlay from painting pixels into a canvas one by one
to using images enlarged with 'image-rendering: -webkit-optimize-contrast",
which is very much faster.
- fast/harness/results.html:
- 11:48 AM Changeset in webkit [94211] by
-
- 10 edits42 adds in trunk
CSS 2.1 failure: margin-applies-to-015 fails, WebKit does not respect top margin for table captions
https://bugs.webkit.org/show_bug.cgi?id=34763
Reviewed by Simon Fraser.
Source/WebCore:
- rendering/RenderTable.cpp:
(WebCore::RenderTable::adjustLogicalHeightForCaption): Added the caption's margin to the position calculation.
LayoutTests:
- css2.1/20110323/margin-applies-to-001.htm: Added.
- css2.1/20110323/margin-applies-to-002.htm: Added.
- css2.1/20110323/margin-applies-to-003.htm: Added.
- css2.1/20110323/margin-applies-to-004.htm: Added.
- css2.1/20110323/margin-applies-to-005.htm: Added.
- css2.1/20110323/margin-applies-to-006.htm: Added.
- css2.1/20110323/margin-applies-to-007.htm: Added.
- css2.1/20110323/margin-applies-to-008.htm: Added.
- css2.1/20110323/margin-applies-to-009.htm: Added.
- css2.1/20110323/margin-applies-to-010.htm: Added.
- css2.1/20110323/margin-applies-to-012.htm: Added.
- css2.1/20110323/margin-applies-to-013.htm: Added.
- css2.1/20110323/margin-applies-to-014.htm: Added.
- css2.1/20110323/margin-applies-to-015.htm: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-001-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-001-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-002-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-002-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-003-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-003-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-004-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-004-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-005-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-005-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-006-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-006-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-007-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-007-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-008-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-008-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-009-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-009-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-010-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-010-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-012-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-012-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-013-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-013-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-014-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-014-expected.txt: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-015-expected.png: Added.
- platform/chromium-linux/css2.1/20110323/margin-applies-to-015-expected.txt: Added.
- Chromium-Linux results for http://test.csswg.org/suites/css2.1/20110323/html4/chapter-8.html
- platform/chromium-linux/tables/mozilla_expected_failures/core/captions1-expected.png:
- platform/chromium-linux/tables/mozilla_expected_failures/core/captions2-expected.png:
- platform/chromium-win/tables/mozilla_expected_failures/bugs/bug10140-expected.txt:
- platform/chromium-win/tables/mozilla_expected_failures/bugs/bug91057-expected.txt:
- platform/chromium-win/tables/mozilla_expected_failures/core/captions1-expected.txt:
- platform/chromium-win/tables/mozilla_expected_failures/core/captions2-expected.txt:
- platform/chromium-win/tables/mozilla_expected_failures/core/captions3-expected.txt:
- Updated to reflect position of table caption taking account of margin, matching Firefox where appropriate. Still some unrelated failures that prevent matching Firefox exactly.
- 11:48 AM Changeset in webkit [94210] by
-
- 2 edits in branches/safari-534.51-branch/Source/WebCore
Merge r93900.
- 11:46 AM Changeset in webkit [94209] by
-
- 3 edits in branches/safari-534.51-branch/Source/WebCore
Merge r93878.
- 11:37 AM Changeset in webkit [94208] by
-
- 2 edits in trunk/Tools
2011-08-31 Oliver Hunt <oliver@apple.com>
Add Checked<> tests to windows build
- TestWebKitAPI/win/TestWebKitAPI.vcproj:
- 11:16 AM Changeset in webkit [94207] by
-
- 13 edits3 adds in trunk
Add support for checked arithmetic
https://bugs.webkit.org/show_bug.cgi?id=67095
Reviewed by Sam Weinig.
../../../../Volumes/Data/git/WebKit/OpenSource/Source/JavaScriptCore:
Add a checked arithmetic class Checked<T> that provides overflow-safe
arithmetic over all integral types. Checked<T> supports addition, subtraction
and multiplication, along with "bool" conversions and equality operators.
Checked<> can be used in either CRASH() on overflow or delayed failure modes,
although the default is to CRASH().
To ensure the code is actually in use (rather than checking in dead code) I've
made a couple of properties in YARR use Checked<int> and Checked<unsigned>
instead of raw value arithmetic. This has resulted in a moderate set of changes,
to YARR - mostly adding .get() calls, but a couple of casts from unsigned long
to unsigned for some uses of sizeof, as Checked<> currently does not support
mixed signed-ness of types wider that 32 bits.
Happily the increased type safety of Checked<> means that it's not possible to
accidentally assign away precision, nor accidentally call integer overload of
a function instead of the bool version.
No measurable regression in performance, and SunSpider claims this patch to be
a progression of 0.3%.
- GNUmakefile.list.am:
- JavaScriptCore.gypi:
- JavaScriptCore.vcproj/WTF/WTF.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- wtf/CheckedArithmetic.h: Added.
(WTF::CrashOnOverflow::overflowed):
(WTF::CrashOnOverflow::clearOverflow):
(WTF::CrashOnOverflow::hasOverflowed):
(WTF::RecordOverflow::RecordOverflow):
(WTF::RecordOverflow::overflowed):
(WTF::RecordOverflow::clearOverflow):
(WTF::RecordOverflow::hasOverflowed):
(WTF::isInBounds):
(WTF::safeAdd):
(WTF::safeSub):
(WTF::safeMultiply):
(WTF::safeEquals):
(WTF::workAroundClangBug):
(WTF::Checked::Checked):
(WTF::Checked::operator=):
(WTF::Checked::operator++):
(WTF::Checked::operator--):
(WTF::Checked::operator!):
(WTF::Checked::operator UnspecifiedBoolType*):
(WTF::Checked::get):
(WTF::Checked::operator+=):
(WTF::Checked::operator-=):
(WTF::Checked::operator*=):
(WTF::Checked::operator==):
(WTF::Checked::operator!=):
(WTF::operator+):
(WTF::operator-):
(WTF::operator*):
- yarr/YarrInterpreter.cpp:
(JSC::Yarr::ByteCompiler::atomPatternCharacter):
(JSC::Yarr::ByteCompiler::atomCharacterClass):
(JSC::Yarr::ByteCompiler::atomBackReference):
(JSC::Yarr::ByteCompiler::atomParentheticalAssertionEnd):
(JSC::Yarr::ByteCompiler::atomParenthesesSubpatternEnd):
(JSC::Yarr::ByteCompiler::atomParenthesesOnceEnd):
(JSC::Yarr::ByteCompiler::atomParenthesesTerminalEnd):
- yarr/YarrInterpreter.h:
(JSC::Yarr::ByteTerm::ByteTerm):
(JSC::Yarr::ByteTerm::CheckInput):
(JSC::Yarr::ByteTerm::UncheckInput):
- yarr/YarrJIT.cpp:
(JSC::Yarr::YarrGenerator::generateAssertionEOL):
(JSC::Yarr::YarrGenerator::generatePatternCharacterFixed):
(JSC::Yarr::YarrGenerator::generatePatternCharacterGreedy):
(JSC::Yarr::YarrGenerator::backtrackPatternCharacterNonGreedy):
(JSC::Yarr::YarrGenerator::generateCharacterClassOnce):
(JSC::Yarr::YarrGenerator::generateCharacterClassFixed):
(JSC::Yarr::YarrGenerator::generateCharacterClassGreedy):
(JSC::Yarr::YarrGenerator::backtrackCharacterClassNonGreedy):
- yarr/YarrPattern.cpp:
(JSC::Yarr::YarrPatternConstructor::setupAlternativeOffsets):
- yarr/YarrPattern.h:
../../../../Volumes/Data/git/WebKit/OpenSource/Source/WebCore:
Add a forwarding header for CheckedArithmetic.h
- ForwardingHeaders/wtf/CheckedArithmetic.h: Added.
../../../../Volumes/Data/git/WebKit/OpenSource/Tools:
Add test cases for Checked<>
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/CheckedArithmeticOperations.cpp: Added.
- 11:11 AM Changeset in webkit [94206] by
-
- 11 edits3 adds in trunk
https://bugs.webkit.org/show_bug.cgi?id=67300
Add the new border-image-source property (and its corresponding analogue for masks, mask-box-image-source).
Change the border-image parsing code to no longer consider "none" to represent the entire border-image
expression, but instead to just mean "none" for the image component of the expression.
Change the pending image code for border-image and mask-box-image to use the new *-source properties when
loading the image so that they're considered the same.
This is the first step towards eliminating the border-image parsing code in favor of just parsing it as
a shorthand instead, but for now I'm implementing each property one by one, and once they're all there,
we can cut over to border-image as a true shorthand.
Reviewed by Beth Dakin.
Added fast/borders/border-image-source.html.
Source/WebCore:
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseBorderImage):
- css/CSSPropertyNames.in:
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
(WebCore::CSSStyleSelector::mapNinePieceImage):
(WebCore::CSSStyleSelector::loadPendingImages):
- rendering/style/NinePieceImage.h:
(WebCore::NinePieceImage::setImage):
- rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::borderImageSource):
(WebCore::InheritedFlags::maskBoxImageSource):
(WebCore::InheritedFlags::setBorderImageSource):
(WebCore::InheritedFlags::setMaskBoxImageSource):
(WebCore::InheritedFlags::initialBorderImageSource):
(WebCore::InheritedFlags::initialMaskBoxImageSource):
LayoutTests:
- fast/borders/border-image-source.html: Added.
- fast/css/getComputedStyle/computed-style-expected.txt:
- fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
- svg/css/getComputedStyle-basic-expected.txt:
- 10:54 AM Changeset in webkit [94205] by
-
- 1 edit677 adds in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac, remainder of fast directory)
- platform/chromium-mac/fast/blockflow: Added.
(remaining files omitted for brevity)
- 10:53 AM Changeset in webkit [94204] by
-
- 1 edit2 moves in trunk/Tools
Move summary.html to garden-o-matic.html.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js: Removed.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html: Removed.
- 10:44 AM Changeset in webkit [94203] by
-
- 4 edits in trunk
[chromium] DRT linux should pass nativeKeyCode to plugins
https://bugs.webkit.org/show_bug.cgi?id=66679
Reviewed by Tony Chang.
Tools:
- DumpRenderTree/chromium/EventSender.cpp:
(EventSender::keyDown): Call a Chromium Linux GTK helper routine that returns the
(simulated) nativeKeyCode for the given input keyboard code.
LayoutTests:
- platform/chromium-linux/plugins/keyboard-events-expected.txt:
- 10:41 AM Changeset in webkit [94202] by
-
- 2 edits in trunk/Source/WebCore
[chromium] Set the GrContext before SkGpuDevice is destroyed.
https://bugs.webkit.org/show_bug.cgi?id=67296
When SkGpuDevice is destroyed, it frees the FBO used for accelerated
rendering. If the wrong context is set (e.g., compositor context),
a crash may result.
Reviewed by Kenneth Russell.
No new tests. (Unfortunately, wrong-context bugs are difficult to
express in a layout test).
- platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::ImageBuffer::~ImageBuffer):
- 10:32 AM Changeset in webkit [94201] by
-
- 3 edits1 add in trunk/Tools
Tighen up UI for garden-o-matic tab strip
https://bugs.webkit.org/show_bug.cgi?id=67266
Reviewed by Dimitri Glazkov.
This patch add CSS to move the tab strip to the edges of the page and
to remove some gratuitous border-radius.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/common.css:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html:
- 10:30 AM Changeset in webkit [94200] by
-
- 4 edits in trunk/Tools
garden-o-matic results view shouldn't be horrifically ugly
https://bugs.webkit.org/show_bug.cgi?id=67264
Reviewed by Dimitri Glazkov.
Minor tweak to the results view CSS to make it fit in better with the new tabbed UI.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/results.css:
- 10:20 AM Changeset in webkit [94199] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] Unreviewed, fix inconsistent WebKit.gypi after r94106
https://bugs.webkit.org/show_bug.cgi?id=67288
- WebKit.gypi:
- 9:37 AM Changeset in webkit [94198] by
-
- 6 edits in trunk/Tools
garden-o-matic needs a tabstrip
https://bugs.webkit.org/show_bug.cgi?id=67263
Reviewed by Dimitri Glazkov.
This patch adds a basic tabstrip to garden-o-matic. The results
details view now opens in the "Results" tab, and the user can flip back
and forth between the Summary and the Results tab quickly. There's
also a stub for a "Commits" tab, which is disabled.
This patch isn't the most beautiful in the world, but it gets the ball
rolling on a multi-modal UI.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/summary.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/common.css:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/summary.html:
- 9:34 AM Changeset in webkit [94197] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
Unskip fast/files/create-blob-url.html after r94187
- platform/qt/Skipped:
- 9:31 AM Changeset in webkit [94196] by
-
- 4 edits in trunk/Source/WebCore
Clean up HTMLMediaElement behavior restrictions
https://bugs.webkit.org/show_bug.cgi?id=67231
Reviewed by Darin Adler.
No new tests, cleanup only.
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement): Deal with enum and function renaming.
(WebCore::HTMLMediaElement::load): Call userGestureRequiredForLoad() instead of testing bits
directly.
(WebCore::HTMLMediaElement::loadInternal): Deal with enum and function renaming.
(WebCore::HTMLMediaElement::play): Call userGestureRequiredForRateChange() instead of testing bits
directly.
(WebCore::HTMLMediaElement::pause): Ditto.
- html/HTMLMediaElement.h:
(WebCore::HTMLMediaElement::userGestureRequiredForLoad): Renamed.
(WebCore::HTMLMediaElement::userGestureRequiredForRateChange):
(WebCore::HTMLMediaElement::userGestureRequiredForFullscreen):
(WebCore::HTMLMediaElement::pageConsentRequiredForLoad):
(WebCore::HTMLMediaElement::addBehaviorRestriction):
(WebCore::HTMLMediaElement::removeBehaviorRestriction):
- html/HTMLVideoElement.cpp:
(WebCore::HTMLVideoElement::webkitEnterFullscreen): requireUserGestureForFullScreen renamed to
userGestureRequiredForFullscreen.
- 9:20 AM Changeset in webkit [94195] by
-
- 1 edit946 adds in trunk/LayoutTests
unreviewed; new baselines (Skia on Mac, css3, edit, partial fast directories)
- platform/chromium-mac/css3: Added.
- platform/chromium-mac/edit: Added.
- platform/chromium-mac/fast/backgrounds: Added.
(remaining files omitted for brevity)
- 9:09 AM Changeset in webkit [94194] by
-
- 2 edits in trunk/LayoutTests
Unskip a test which now seems to be passing on GTK+.
- platform/gtk/Skipped: Unskip a test.
- 8:25 AM Changeset in webkit [94193] by
-
- 2 edits in trunk/LayoutTests
[Qt] Incorrect results for new fast/multicol tests added in r94084
https://bugs.webkit.org/show_bug.cgi?id=67293
Unreviwed gardening.
- platform/qt/Skipped:
- 8:25 AM Changeset in webkit [94192] by
-
- 2 edits in trunk/Source/JavaScriptCore
2011-08-31 Andrei Popescu <andreip@google.com>
Investigate current uses of OS(ANDROID)
https://bugs.webkit.org/show_bug.cgi?id=66761
Unreviewed, build fix for ARM platforms.
- wtf/Platform.h:
- 8:10 AM Changeset in webkit [94191] by
-
- 6 edits in trunk/Source
Investigate current uses of OS(ANDROID)
https://bugs.webkit.org/show_bug.cgi?id=66761
Reviewed by Darin Adler.
Remove the last legacy Android code.
No new tests needed as the code wasn't tested in the first place.
Source/JavaScriptCore:
- wtf/Atomics.h:
- wtf/Platform.h:
- wtf/ThreadingPthreads.cpp:
(WTF::createThreadInternal):
Source/WebCore:
- bridge/jni/JNIUtility.cpp:
(JSC::Bindings::getJNIEnv):
- 8:02 AM Changeset in webkit [94190] by
-
- 1 edit683 adds in trunk/LayoutTests
unreviewed; new baselines (Skia on Mac, css2.1 directory only)
- platform/chromium-mac/css2.1: Added.
- platform/chromium-mac/css2.1/20110323: Added.
- platform/chromium-mac/css2.1/20110323/absolute-non-replaced-height-001-expected.png: Added.
(remaining files omitted for brevity)
- 7:52 AM Changeset in webkit [94189] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, rolling out r94082.
http://trac.webkit.org/changeset/94082
https://bugs.webkit.org/show_bug.cgi?id=67291
Breaks trunk (not canary) Chromium Mac builders upon WebKit
roll (Requested by apavlov on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-31
- WebCore.gyp/WebCore.gyp:
- 7:50 AM Changeset in webkit [94188] by
-
- 3 edits in trunk/Source/WebCore
[Qt] Add a convenience function to cast a QTransform to TransformationMatrix
https://bugs.webkit.org/show_bug.cgi?id=67246
Reviewed by Andreas Kling.
No new functionality so no new tests.
- platform/graphics/qt/TransformationMatrixQt.cpp:
(WebCore::TransformationMatrix::TransformationMatrix):
- platform/graphics/transforms/TransformationMatrix.h:
- 7:43 AM Changeset in webkit [94187] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, revert part of r94168, the test didn't need result
update. Proper fix is worked on in bug 66045.
- fast/files/create-blob-url-crash-expected.txt:
- 7:37 AM Changeset in webkit [94186] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, rolling out r94176.
http://trac.webkit.org/changeset/94176
https://bugs.webkit.org/show_bug.cgi?id=67290
This does not fix the build failure on Macs (Requested by
apavlov on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-31
- WebCore.gyp/WebCore.gyp:
- 7:03 AM Changeset in webkit [94185] by
-
- 4 edits in trunk
[skia] antialias images if we're rotated
https://bugs.webkit.org/show_bug.cgi?id=67207
Reviewed by Stephen White.
Source/WebCore:
- platform/graphics/skia/ImageSkia.cpp:
(WebCore::hasNon90rotation):
(WebCore::paintSkBitmap):
LayoutTests:
- platform/chromium/test_expectations.txt:
- 6:37 AM Changeset in webkit [94184] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewedly skip new failures.
It covers the following bugs:
- Ping-pong with fast/files/create-blob-url-crash-expected.txt https://bugs.webkit.org/show_bug.cgi?id=67282
- [Qt] css2.1/t090204-display-change-01-b-ao.html fails after r94084 https://bugs.webkit.org/show_bug.cgi?id=67286
- platform/qt/Skipped:
- 6:24 AM Changeset in webkit [94183] by
-
- 3 edits in trunk/LayoutTests
Unreviewed, rebaseline GTK-specific font tests.
- platform/gtk/fonts/complex-text-shadows-expected.txt:
- platform/gtk/fonts/font-face-with-complex-text-expected.txt:
- 6:11 AM Changeset in webkit [94182] by
-
- 2 edits in trunk/Source/WebKit/qt
[Qt] Unskip API test for load signals order
https://bugs.webkit.org/show_bug.cgi?id=67285
Reviewed by Andreas Kling.
- tests/qwebpage/tst_qwebpage.cpp:
(tst_QWebPage::loadSignalsOrder):
- 5:53 AM Changeset in webkit [94181] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Having the "Metrics" pane open affects the node highlight display
https://bugs.webkit.org/show_bug.cgi?id=67278
Reviewed by Yury Semikhatsky.
- inspector/front-end/MetricsSidebarPane.js:
(WebInspector.MetricsSidebarPane.prototype._updateMetrics):
- 5:50 AM Changeset in webkit [94180] by
-
- 2 edits in trunk/LayoutTests
2011-08-31 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, build fix after r94167.
- inspector/debugger/script-formatter.html:
- 5:49 AM Changeset in webkit [94179] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
Skipped the wrong test in a previous gardening.
- platform/qt/Skipped:
- 5:13 AM Changeset in webkit [94178] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: console view does a style recalculation per each addMessage call.
https://bugs.webkit.org/show_bug.cgi?id=67198
It is bad from the performance point of view.
Reviewed by Yury Semikhatsky.
- inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleView.prototype._isScrollIntoViewScheduled):
(WebInspector.ConsoleView.prototype._appendConsoleMessage):
- 5:07 AM Changeset in webkit [94177] by
-
- 2 edits in trunk/LayoutTests
[Qt] Incorrect results for svg/custom/getBBox-js.svg
Unreviewed gardening.
- platform/qt/Skipped:
- 4:09 AM Changeset in webkit [94176] by
-
- 2 edits in trunk/Source/WebCore
[Chromium] Unreviewed build fix. Restore debugger_script_source target dependency
broken in http://trac.webkit.org/changeset/94082.
- WebCore.gyp/WebCore.gyp:
- 4:02 AM Changeset in webkit [94175] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, unskip fast/css/square-button-appearance.html which
got baselines in r93953.
- platform/gtk/test_expectations.txt:
- 3:55 AM Changeset in webkit [94174] by
-
- 2 edits in trunk/LayoutTests
[Qt] 3 test started crashing somewhere between r93878-r93935
https://bugs.webkit.org/show_bug.cgi?id=67197
- platform/qt/Skipped: Unskip tests, because bug was fixed by r94088.
- 3:53 AM Changeset in webkit [94173] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, skip failing fast/loader/location-port.html test on
GTK.
- platform/gtk/Skipped:
- 3:52 AM Changeset in webkit [94172] by
-
- 5 edits3 adds in trunk/LayoutTests
[Qt] Unreviewed gardening.
Add Qt specific expected files after r94111, update Qt specific expected files after r94109.
Based on digging of Gabor Rapcsanyi.
- platform/qt/fast/css-generated-content/table-row-before-after-child-add-expected.png:
- platform/qt/fast/css-generated-content/table-row-before-after-child-add-expected.txt:
- platform/qt/fast/css-generated-content/table-table-before-after-child-add-expected.png:
- platform/qt/fast/css-generated-content/table-table-before-after-child-add-expected.txt:
- platform/qt/fast/preloader/document-write-noscript-expected.png: Added.
- platform/qt/fast/preloader/document-write-noscript-expected.txt: Added.
- 3:42 AM Changeset in webkit [94171] by
-
- 7 edits4 adds in trunk/LayoutTests
[Qt] Unreviewed gardening. Add and update platform specific expected files after r94109.
Based on digging of Gabor Rapcsanyi.
- platform/qt/fast/table/table-after-child-in-table-expected.txt:
- platform/qt/fast/table/table-before-child-in-table-expected.txt:
- platform/qt/fast/table/table-before-child-style-update-expected.png: Added.
- platform/qt/fast/table/table-before-child-style-update-expected.txt: Added.
- platform/qt/fast/table/table-row-after-child-in-block-expected.txt:
- platform/qt/fast/table/table-row-after-child-in-table-expected.txt:
- platform/qt/fast/table/table-row-before-child-in-block-expected.txt:
- platform/qt/fast/table/table-row-before-child-in-table-expected.txt:
- platform/qt/fast/table/table-row-before-child-style-update-expected.png: Added.
- platform/qt/fast/table/table-row-before-child-style-update-expected.txt: Added.
- 3:37 AM Changeset in webkit [94170] by
-
- 5 edits in trunk/LayoutTests
[Qt] Unreviewed gardening. Update platform specific expected files after r94147.
Based on digging of Gabor Rapcsanyi.
- platform/qt/fast/dom/Window/window-properties-expected.txt:
- platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/qt/fast/dom/prototype-inheritance-expected.txt:
- platform/qt/fast/js/global-constructors-expected.txt:
- 3:20 AM Changeset in webkit [94169] by
-
- 2 edits in trunk/Source/WebCore
Early return in CSSPrimitiveValue::getDoubleValueInternal() omits additional invalid enums
https://bugs.webkit.org/show_bug.cgi?id=67139
Reviewed by Darin Adler.
- css/CSSPrimitiveValue.cpp:
(WebCore::isValidCSSUnitTypeForDoubleConversion): Check if a given unit type can be converted to a double.
(WebCore::CSSPrimitiveValue::getDoubleValueInternal): Make use of the new method that explicitly lists all unit types.
- 3:11 AM Changeset in webkit [94168] by
-
- 4 edits in trunk/LayoutTests
- fast/files/create-blob-url-crash-expected.txt:
- platform/gtk/css2.1/t0602-c13-inheritance-00-e-expected.txt:
- platform/gtk/css2.1/t090204-display-change-01-b-ao-expected.txt:
- 3:02 AM Changeset in webkit [94167] by
-
- 10 edits in trunk
Web Inspector: rename sourceFile to uiSourceCode and get rid of sourceFileId where possible.
https://bugs.webkit.org/show_bug.cgi?id=67136
Reviewed by Yury Semikhatsky.
Source/WebCore:
- inspector/front-end/BreakpointManager.js:
(WebInspector.BreakpointManager.prototype.uiSourceCodeAdded):
(WebInspector.BreakpointManager.prototype.breakpointsForUISourceCode):
(WebInspector.BreakpointManager.prototype.setBreakpoint):
(WebInspector.BreakpointManager.prototype._materializeBreakpoint):
(WebInspector.BreakpointManager.prototype._breakpointDebuggerLocationChanged):
(WebInspector.BreakpointManager.prototype._addBreakpointToUI):
(WebInspector.BreakpointManager.prototype._deleteBreakpointFromUI):
(WebInspector.BreakpointManager.prototype.set reset):
(WebInspector.BreakpointManager.prototype.debuggerReset):
- inspector/front-end/BreakpointsSidebarPane.js:
(WebInspector.JavaScriptBreakpointsSidebarPane.prototype.addBreakpoint):
(WebInspector.JavaScriptBreakpointsSidebarPane.prototype.removeBreakpoint):
(WebInspector.JavaScriptBreakpointsSidebarPane.prototype.highlightBreakpoint):
(WebInspector.JavaScriptBreakpointsSidebarPane.prototype._createBreakpointItemId):
(WebInspector.JavaScriptBreakpointsSidebarPane.prototype._breakpointClicked):
(WebInspector.JavaScriptBreakpointsSidebarPane.prototype._breakpointCheckboxClicked):
(WebInspector.JavaScriptBreakpointsSidebarPane.prototype._contextMenu):
- inspector/front-end/CallStackSidebarPane.js:
(WebInspector.CallStackSidebarPane.prototype.update.didGetSourceLine):
(WebInspector.CallStackSidebarPane.prototype.update):
- inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype.linkifyLocation.updateAnchor.didGetLocation):
(WebInspector.DebuggerPresentationModel.prototype.linkifyLocation.updateAnchor):
(WebInspector.DebuggerPresentationModel.prototype.linkifyLocation):
(WebInspector.DebuggerPresentationModel.prototype._addScript.didCreateSourceMapping):
(WebInspector.DebuggerPresentationModel.prototype._addScript):
(WebInspector.DebuggerPresentationModel.prototype._uiSourceCodeReplaced):
(WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
(WebInspector.DebuggerPresentationModel.prototype._updateBreakpointsAfterLiveEdit):
(WebInspector.DebuggerPresentationModel.prototype.setFormatSource):
(WebInspector.DebuggerPresentationModel.prototype._addConsoleMessage.didGetUILocation):
(WebInspector.DebuggerPresentationModel.prototype._addConsoleMessage):
(WebInspector.DebuggerPresentationModel.prototype.continueToLine):
(WebInspector.DebuggerPresentationModel.prototype.breakpointsForUISourceCode):
(WebInspector.DebuggerPresentationModel.prototype.setBreakpoint):
(WebInspector.DebuggerPresentationModel.prototype.setBreakpointEnabled):
(WebInspector.DebuggerPresentationModel.prototype.updateBreakpoint):
(WebInspector.DebuggerPresentationModel.prototype.removeBreakpoint):
(WebInspector.DebuggerPresentationModel.prototype.findBreakpoint):
(WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
(WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
(WebInspector.PresentationBreakpoint):
(WebInspector.PresentationBreakpoint.prototype.get url):
(WebInspector.PresentationBreakpoint.prototype.loadSnippet):
(WebInspector.PresenationCallFrame):
(WebInspector.PresenationCallFrame.prototype.get url):
(WebInspector.PresenationCallFrame.prototype.select):
(WebInspector.PresenationCallFrame.prototype.sourceLine):
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype.get statusBarItems):
(WebInspector.ScriptsPanel.prototype._uiSourceCodeAdded.get if):
(WebInspector.ScriptsPanel.prototype._showScriptFoldersSettingChanged):
(WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
(WebInspector.ScriptsPanel.prototype.setScriptSourceIsBeingEdited):
(WebInspector.ScriptsPanel.prototype._consoleMessagesCleared):
(WebInspector.ScriptsPanel.prototype._consoleMessageAdded):
(WebInspector.ScriptsPanel.prototype._breakpointAdded):
(WebInspector.ScriptsPanel.prototype._breakpointRemoved):
(WebInspector.ScriptsPanel.prototype._debuggerPaused.else.didGetSourceLocation):
(WebInspector.ScriptsPanel.prototype._debuggerPaused):
(WebInspector.ScriptsPanel.prototype.reset):
(WebInspector.ScriptsPanel.prototype._resetFilesSelect):
(WebInspector.ScriptsPanel.prototype.showAnchorLocation):
(WebInspector.ScriptsPanel.prototype._showSourceLine):
(WebInspector.ScriptsPanel.prototype._showSourceFrameAndAddToHistory):
(WebInspector.ScriptsPanel.prototype._createSourceFrame):
(WebInspector.ScriptsPanel.prototype._removeSourceFrame):
(WebInspector.ScriptsPanel.prototype._uiSourceCodeReplaced):
(WebInspector.ScriptsPanel.prototype._sourceFrameLoaded):
(WebInspector.ScriptsPanel.prototype._callFrameSelected.didGetSourceLocation):
(WebInspector.ScriptsPanel.prototype._callFrameSelected):
(WebInspector.ScriptsPanel.prototype._filesSelectChanged):
(WebInspector.ScriptsPanel.prototype._toggleFormatSource):
(WebInspector.SourceFrameDelegateForScriptsPanel):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.requestContent):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setBreakpoint):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.updateBreakpoint):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.removeBreakpoint):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.findBreakpoint):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.continueToLine):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.canEditScriptSource):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setScriptSource):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setScriptSourceIsBeingEdited):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.suggestedFileName):
LayoutTests:
- inspector/debugger/breakpoint-manager.html:
- inspector/debugger/scripts-panel.html:
- 2:20 AM Changeset in webkit [94166] by
-
- 1 edit1 add in trunk/LayoutTests
[Chromium] Unreviewed, rebaseline another multicol test expectation.
- platform/chromium-cg-mac-leopard/fast/multicol/overflow-across-columns-expected.png: Added.
- 2:12 AM Changeset in webkit [94165] by
-
- 1 edit2 adds in trunk/LayoutTests
[Chromium] Unreviewed, update Mac-Leopard expectations for multicol tests.
- platform/chromium-cg-mac-leopard/fast/multicol/overflow-unsplittable-expected.png: Added.
- platform/chromium-cg-mac-leopard/fast/multicol/positive-leading-expected.png: Added.
- 2:06 AM Changeset in webkit [94164] by
-
- 20 edits in trunk/LayoutTests
[WebSocket] Prevent unnecessary pywebsocket warnings on layout tests.
https://bugs.webkit.org/show_bug.cgi?id=67182
Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-08-31
Reviewed by Kent Tamura.
Some layout tests for WebSocket raised Exception to prevent unnecessary
pywebsocket warning. But it doesn't work any more on pywebsocket 0.6b4.
Now pywebsocket support AbortedByUserException to prevent warning.
This change make raise AbortedByUserException instead of Exception.
handshake-fail-by-prepended-null_wsh.py didn't use Exception, but
expected abnormal closure on sending response could raise unexpected
Exception by chance. This change also takes care of it.
- http/tests/websocket/tests/hixie76/bad-handshake-crash_wsh.py:
- http/tests/websocket/tests/hixie76/frame-length-longer-than-buffer_wsh.py:
- http/tests/websocket/tests/hixie76/frame-length-overflow_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-maxlength_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-no-connection-header_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-no-cr_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-no-upgrade-header_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-prepended-null_wsh.py:
- http/tests/websocket/tests/hixie76/long-invalid-header_wsh.py:
- http/tests/websocket/tests/hybi/bad-handshake-crash_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-extensions-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-maxlength_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-cr_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header_wsh.py:
- http/tests/websocket/tests/hybi/long-invalid-header_wsh.py:
- http/tests/websocket/tests/hybi/masked-frames_wsh.py:
Use AbortedByUserException instead of Exception.
- 1:45 AM Changeset in webkit [94163] by
-
- 3 edits in trunk/Source/WebKit/efl
[EFL] Fonts API refactoring.
https://bugs.webkit.org/show_bug.cgi?id=66654
Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2011-08-31
Reviewed by Hajime Morita.
There are too many similar API regarding to fonts.
Add one consistent API to set/get the font name for the font family.
Remove the previous font API.
- ewk/ewk_view.cpp:
(ewk_view_font_family_name_get):
(ewk_view_font_family_name_set):
- ewk/ewk_view.h:
- 1:35 AM Changeset in webkit [94162] by
-
- 3 edits in trunk/Source/WebCore
WebSocket: Load Blob in WebSocketChannel
https://bugs.webkit.org/show_bug.cgi?id=67013
Reviewed by Kent Tamura.
Add WebSocketChannel::enqueueBlobFrame(). It makes WebSocketChannel start loading a Blob
and send a WebSocket frame after the Blob is loaded.
While a Blob is being loaded, subsequent send() requests cannot be processed and are blocked.
Pending requests are stored in m_outgoingFrameQueue. When we have finished loading a Blob,
requests in the queue are allowed to get processed.
No new tests are added, because nobody uses enqueueBlobFrame() yet. New tests will be added
when WebSocket.send(Blob) is implemented, and they will cover this code change.
- websockets/WebSocketChannel.cpp:
ref() is called when m_blobLoader is allocated, and deref() is called in didFinishLoading()
or didFail(). This is necessary because WebSocketChannel must be able to receive callbacks
from FileReaderLoader even if the channel is referred from no other objects.
(WebCore::WebSocketChannel::WebSocketChannel):
(WebCore::WebSocketChannel::didStartLoading):
(WebCore::WebSocketChannel::didReceiveData):
(WebCore::WebSocketChannel::didFinishLoading):
(WebCore::WebSocketChannel::didFail):
When we have failed to load a Blob, fail() is called, and eventually didCloseSocketStream()
will be called. It will clean up the pending requests in the queue.
(WebCore::WebSocketChannel::enqueueBlobFrame):
(WebCore::WebSocketChannel::processOutgoingFrameQueue):
(WebCore::WebSocketChannel::abortOutgoingFrameQueue):
Cancel the Blob loader when the outgoing request queue is about to be aborted. The loader
will not invoke didFail() callback once it is canceled, thus we need to call didFail()
manually so that we can free up the loader and decrement the reference count.
- 1:33 AM Changeset in webkit [94161] by
-
- 9 edits2 copies3 adds in trunk
WebSocket: Receive binary message as ArrayBuffer
https://bugs.webkit.org/show_bug.cgi?id=67180
Reviewed by Kent Tamura.
Source/WebCore:
Tests: http/tests/websocket/tests/hybi/receive-arraybuffer.html
http/tests/websocket/tests/hybi/workers/receive-arraybuffer.html
- bindings/js/JSMessageEventCustom.cpp:
(WebCore::JSMessageEvent::data): Convert ArrayBuffer to JSValue.
- bindings/v8/custom/V8MessageEventCustom.cpp:
(WebCore::V8MessageEvent::dataAccessorGetter): Convert ArrayBuffer to v8::Value.
- dom/MessageEvent.cpp:
(WebCore::MessageEvent::MessageEvent):
- dom/MessageEvent.h:
Added DataTypeArrayBuffer and ArrayBuffer-related functions.
(WebCore::MessageEvent::create):
(WebCore::MessageEvent::dataAsArrayBuffer):
- websockets/WebSocket.cpp:
(WebCore::WebSocket::didReceiveBinaryData):
Construct an ArrayBuffer from binaryData and raise MessageEvent.
LayoutTests:
- http/tests/websocket/tests/hybi/receive-arraybuffer-expected.txt: Added.
- http/tests/websocket/tests/hybi/receive-arraybuffer.html:
Added. Connect to binary-frames_wsh.py (which is also used from receive-blob.html) and
check the content of MessageEvent's data attribute.
- http/tests/websocket/tests/hybi/receive-blob.html:
Update function names to match ones in receive-arraybuffer.html.
- http/tests/websocket/tests/hybi/workers/receive-arraybuffer-expected.txt: Added.
- http/tests/websocket/tests/hybi/workers/receive-arraybuffer.html: Added.
- http/tests/websocket/tests/hybi/workers/resources/receive-arraybuffer.js: Added.
- http/tests/websocket/tests/hybi/workers/resources/receive-blob.js:
Same as receive-blob.html above.
- 1:18 AM Changeset in webkit [94160] by
-
- 1 edit4 adds in trunk/Tools
Extract reference links from reftest test file.
https://bugs.webkit.org/show_bug.cgi?id=66838
Patch by Ai Makabi <makabi@google.com> on 2011-08-31
Reviewed by Shinichiro Hamaji.
- Scripts/webkitpy/layout_tests/reftests/init.py: Added.
- Scripts/webkitpy/layout_tests/reftests/extract_reference_link.py: Added.
- Scripts/webkitpy/layout_tests/reftests/extract_reference_link_unittest.py: Added.
- 1:11 AM Changeset in webkit [94159] by
-
- 11 edits4 adds in trunk/LayoutTests
- platform/gtk/fast/css-generated-content/table-row-before-after-child-add-expected.txt:
- platform/gtk/fast/css-generated-content/table-table-before-after-child-add-expected.txt:
- platform/gtk/fast/multicol/inherit-column-values-expected.txt: Added.
- platform/gtk/fast/multicol/initial-column-values-expected.txt: Added.
- platform/gtk/fast/multicol/single-line-expected.txt:
- platform/gtk/fast/multicol/table-vertical-align-expected.txt:
- platform/gtk/fast/repaint/multicol-repaint-expected.txt:
- platform/gtk/fast/table/table-before-child-in-table-expected.txt:
- platform/gtk/fast/table/table-before-child-style-update-expected.txt: Added.
- platform/gtk/fast/table/table-row-after-child-in-block-expected.txt:
- platform/gtk/fast/table/table-row-after-child-in-table-expected.txt:
- platform/gtk/fast/table/table-row-before-child-in-block-expected.txt:
- platform/gtk/fast/table/table-row-before-child-in-table-expected.txt:
- platform/gtk/fast/table/table-row-before-child-style-update-expected.txt: Added.
- 1:08 AM Changeset in webkit [94158] by
-
- 9 edits2 adds in trunk
input color: onchange event is not fired when changing color from color chooser
https://bugs.webkit.org/show_bug.cgi?id=66848
Reviewed by Kent Tamura.
Source/WebCore:
Test: fast/forms/color/input-color-onchange-event.html
- WebCore.exp.in: Added calls used in Internals.cpp.
- html/ColorInputType.cpp:
(WebCore::ColorInputType::colorSelected): Dispatch change event.
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::connectToColorChooser): Added. Called from Internals::connectColorChooserClient.
- html/HTMLInputElement.h:
- testing/Internals.cpp:
(WebCore::Internals::connectColorChooserClient): Added. Connects element as client to color chooser.
(WebCore::Internals::selectColorInColorChooser): Added. Simulate color selection in color chooser.
- testing/Internals.h:
- testing/Internals.idl:
LayoutTests:
- fast/forms/color/input-color-onchange-event-expected.txt: Added.
- fast/forms/color/input-color-onchange-event.html: Added. Tests if change event is fired when user selects color from color chooser.
- 12:38 AM Changeset in webkit [94157] by
-
- 5 edits in trunk/LayoutTests
Unreviewed, GTK rebaseline after r94147.
- platform/gtk/fast/dom/Window/window-properties-expected.txt:
- platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/gtk/fast/dom/prototype-inheritance-expected.txt:
- platform/gtk/fast/js/global-constructors-expected.txt:
- 12:35 AM Changeset in webkit [94156] by
-
- 10 edits in trunk/Source/WebCore
Implement Web IDL Constructor extended attribute in IDLParser.pm and CodeGeneratorV8.pm.
https://bugs.webkit.org/show_bug.cgi?id=66536
Patch by Kentaro Hara <haraken@google.com> on 2011-08-31
Reviewed by Adam Barth.
The spec is here: http://www.w3.org/TR/WebIDL/#Constructor
[1] Introduced Web IDL 'Constructor' extended attribute.
[2] Added 'ConstructorWith=ScriptExecutionContext' extended attribute.
- The constructor passes ScriptExecutionContext to a XXX::create() method,
like XXX::create(..., context, ...).
[3] Added 'V8ConstructorSetsActiveDOMWrapper' extended attribute.
- The constructor calls V8DOMWrapper::setJSWrapperForActiveDOMObject()
instead of V8DOMWrapper::setJSWrapperForDOMObject().
[4] Added 'ConstructorRaisesException' extended attribute.
- A placeholder for ExceptionCode is passed to a XXX::create() method,
like XXX::create(..., ec).
- We can use 'ConstructorRaisesException' and 'ConstructorWith=ScriptExecutionContext' together.
Note:
- Constructor overloading is not yet implemented.
- We cannot yet specify [Optional] without CallWithDefaultValue.
Test: Source/WebCore/bindings/scripts/test/TestInterface.idl
Source/WebCore/bindings/scripts/test/TestObj.idl
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader): Generates constructorCallback() header, if 'Constructor' is specified.
(GenerateFunctionCallback): Uses GenerateArgumentsCountCheck() and GenerateParametersCheck().
(GenerateArgumentsCountCheck): Splits out of GenerateFunctionCallback() for reuse.
(GenerateParametersCheck): Ditto.
(GenerateConstructorCallback): Generates constructorCallback() definition.
(GenerateImplementation):
- bindings/scripts/IDLParser.pm:
(parseExtendedAttributes): Previously, only a string in the "A=B, C, D, E=F" format can be parsed. This patch enables to parse a string in the "A=B, C, D, E=F, G(in DOMString s, in [H, I, J] DOMString t)" format.
(parseParameters): Splits out of ParseInterface() for reuse.
(ParseInterface): Uses parseParameters().
- bindings/scripts/IDLStructure.pm: Added domClass{constructor}. Changed the regular expression to extract the list of extended attributes.
- bindings/scripts/test/TestInterface.idl: Added all the extended attributes that this patch is going to introduce.
- bindings/scripts/test/TestObj.idl: Added 'Constructor'.
- bindings/scripts/test/V8/V8TestInterface.cpp: Updated the test result.
(WebCore::V8TestInterface::constructorCallback):
(WebCore::ConfigureV8TestInterfaceTemplate):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp: Ditto.
- bindings/scripts/test/V8/V8TestObj.cpp: Ditto.
(WebCore::V8TestObj::constructorCallback):
- bindings/scripts/test/V8/V8TestObj.h: Ditto.
- 12:02 AM Changeset in webkit [94155] by
-
- 15 edits in trunk/Source/WebCore
[GTK] gstreamer/ files directly related to the MediaPlayer need VIDEO guards
https://bugs.webkit.org/show_bug.cgi?id=67196
Reviewed by Martin Robinson.
Guard those files with ENABLE(VIDEO) so other features using
GStreamer can be built even with VIDEO disabled.
- platform/graphics/gstreamer/GStreamerGWorld.cpp:
- platform/graphics/gstreamer/GStreamerGWorld.h:
- platform/graphics/gstreamer/ImageGStreamer.h:
- platform/graphics/gstreamer/ImageGStreamerCG.mm:
- platform/graphics/gstreamer/ImageGStreamerCairo.cpp:
- platform/graphics/gstreamer/ImageGStreamerQt.cpp:
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
- platform/graphics/gstreamer/PlatformVideoWindow.h:
- platform/graphics/gstreamer/PlatformVideoWindowGtk.cpp:
- platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
- platform/graphics/gstreamer/VideoSinkGStreamer.h:
- platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
- platform/graphics/gstreamer/WebKitWebSourceGStreamer.h:
Aug 30, 2011:
- 11:59 PM Changeset in webkit [94154] by
-
- 2 edits in trunk/Tools
[webkitpy] missing log import in common/net/resultsjsonparser.py
https://bugs.webkit.org/show_bug.cgi?id=65606
Reviewed by Martin Robinson.
- Scripts/webkitpy/common/net/resultsjsonparser.py: Import the logging module.
- 11:55 PM Changeset in webkit [94153] by
-
- 3 edits in trunk/Tools
[stylechecker] complains about NULL usage in some gst_structure_ calls
https://bugs.webkit.org/show_bug.cgi?id=67194
Reviewed by Martin Robinson.
Don't warn about NULL in some gst_structure_ calls. 0 can't be
used for these, a proper sentinel is required.
- Scripts/webkitpy/style/checkers/cpp.py:
- Scripts/webkitpy/style/checkers/cpp_unittest.py:
- 11:21 PM Changeset in webkit [94152] by
-
- 2 edits1 move in trunk/LayoutTests
[chromium] Update result due to r94114.
- platform/chromium-win/svg/custom/pan-direction-expected.png: Renamed from LayoutTests/platform/chromium-linux/svg/custom/pan-direction-expected.png.
- platform/chromium/test_expectations.txt:
- 10:58 PM Changeset in webkit [94151] by
-
- 2 edits1 copy5 adds in trunk/LayoutTests
[chromium] Update due to r94147.
- platform/chromium-mac/fast/dom/prototype-inheritance-expected.txt: Copied from LayoutTests/platform/chromium/fast/dom/prototype-inheritance-expected.txt.
- platform/chromium-mac/fast/events/constructors/custom-event-constructor-expected.txt: Added.
Several of these results are failures but that should be fixed by bug 66756.
- platform/chromium/fast/dom/prototype-inheritance-expected.txt:
- platform/chromium/fast/events/constructors/custom-event-constructor-expected.txt: Added.
- 9:56 PM Changeset in webkit [94150] by
-
- 3 edits4 deletes in trunk/Tools
Remove old-style UI from garden-o-matic
https://bugs.webkit.org/show_bug.cgi?id=67257
Reviewed by Dimitri Glazkov.
This code is nowhere near as awesome as the new hotness. Let's remove
it so it doesn't weigh us down.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html: Removed.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/main.js: Removed.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/unexpected-passes.js: Removed.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/unexpected-passes.html: Removed.
- 9:45 PM Changeset in webkit [94149] by
-
- 24 edits in trunk/Source
Unreviewed, rolling out r94142, r94144, r94145, and r94148.
http://trac.webkit.org/changeset/94142
http://trac.webkit.org/changeset/94144
http://trac.webkit.org/changeset/94145
http://trac.webkit.org/changeset/94148
https://bugs.webkit.org/show_bug.cgi?id=67262
Broke isindex element (Requested by rniwa on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-30
Source/WebCore:
- WebCore.order:
- accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::textMarkerDataForVisiblePosition):
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::isPasswordField):
(WebCore::AccessibilityRenderObject::isIndeterminate):
(WebCore::AccessibilityRenderObject::isNativeCheckboxOrRadio):
(WebCore::AccessibilityRenderObject::isChecked):
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::canShareStyleWithControl):
(WebCore::CSSStyleSelector::adjustRenderStyle):
(WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
(WebCore::CSSStyleSelector::applyProperty):
- dom/CheckedRadioButtons.cpp:
(WebCore::CheckedRadioButtons::addButton):
(WebCore::CheckedRadioButtons::removeButton):
- dom/Node.cpp:
(WebCore::Node::toInputElement):
- dom/Node.h:
- editing/FrameSelection.cpp:
(WebCore::FrameSelection::isInPasswordField):
- html/HTMLInputElement.h:
(WebCore::HTMLInputElement::toInputElement):
- html/shadow/SliderThumbElement.cpp:
(WebCore::sliderThumbElementOf):
(WebCore::RenderSliderThumb::layout):
(WebCore::RenderSliderContainer::layout):
(WebCore::SliderThumbElement::hostInput):
(WebCore::trackLimiterElementOf):
- html/shadow/TextControlInnerElements.cpp:
(WebCore::SearchFieldResultsButtonElement::shadowPseudoId):
(WebCore::SearchFieldResultsButtonElement::defaultEventHandler):
(WebCore::SearchFieldCancelButtonElement::defaultEventHandler):
(WebCore::SpinButtonElement::defaultEventHandler):
(WebCore::SpinButtonElement::repeatingTimerFired):
(WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
(WebCore::InputFieldSpeechButtonElement::setRecognitionResult):
- page/DragController.cpp:
(WebCore::asFileInput):
- platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::paintThemePart):
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::RenderTextControlSingleLine):
(WebCore::RenderTextControlSingleLine::inputElement):
- rendering/RenderTheme.cpp:
(WebCore::RenderTheme::isChecked):
(WebCore::RenderTheme::isIndeterminate):
Source/WebKit/chromium:
- src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::textFieldDidEndEditing):
(WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
- src/WebInputElement.cpp:
(WebKit::toWebInputElement):
- src/WebPasswordFormUtils.cpp:
(WebKit::findPasswordFormFields):
Source/WebKit/gtk:
- WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
(DumpRenderTreeSupportGtk::setAutofilled):
(DumpRenderTreeSupportGtk::setValueForUser):
Source/WebKit/qt:
- WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::setAutofilled):
(DumpRenderTreeSupportQt::setValueForUser):
(DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
- 9:34 PM Changeset in webkit [94148] by
-
- 2 edits in trunk/Source/WebCore
Quick fix for crashing tests caused by r94142.
Tests:
editing/execCommand/remove-format-elements.html
fast/block/child-not-removed-from-parent-lineboxes-crash.html
fast/forms/implicit-submission.html
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::RenderTextControlSingleLine): Allow
for isIndex element which is derived from HTMLInputElement.
- 9:04 PM Changeset in webkit [94147] by
-
- 13 edits2 adds in trunk
Add constructor for CustomEvent
https://bugs.webkit.org/show_bug.cgi?id=67248
Reviewed by Dan Bernstein.
Source/WebCore:
Test: fast/events/constructors/custom-event-constructor.html
- bindings/generic/EventConstructors.h:
Add definition for CustomEvent constructor.
- bindings/js/JSEventConstructors.cpp:
Add CustomEvent #includes.
- dom/CustomEvent.cpp:
(WebCore::CustomEventInit::CustomEventInit):
(WebCore::CustomEvent::CustomEvent):
- dom/CustomEvent.h:
(WebCore::CustomEvent::create):
Add Initializer./
- dom/CustomEvent.idl:
Make constructible.
- page/DOMWindow.idl:
Add CustomEvent attribute.
LayoutTests:
- fast/events/constructors/custom-event-constructor-expected.txt: Added.
- fast/events/constructors/custom-event-constructor.html: Added.
New test.
- fast/dom/constructed-objects-prototypes-expected.txt:
- platform/mac/fast/dom/Window/window-properties-expected.txt:
- platform/mac/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/mac/fast/dom/prototype-inheritance-expected.txt:
- platform/mac/fast/js/global-constructors-expected.txt:
Updated for add window.CustomEvent.
- 7:48 PM Changeset in webkit [94146] by
-
- 2 edits in trunk/Tools
[WebSocket] update pywebsocket to 0.6b5.
https://bugs.webkit.org/show_bug.cgi?id=66924
Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-08-30
Reviewed by Kent Tamura.
pywebsocket 0.6b2 supported minimum features of Hybi-08 specification.
Now, pywebsocket 0.6b5 supports full features of Hybi-10 specification.
0.6b3 or later supports a closing handshake handler and it is useful to
verify client's closing handshake implementation.
0.6b4 supports AbortedByUserException. It is useful to eliminate
unnecessary server warning messages on intended abnormal closures.
0.6b5 supports Python 2.5.1 or Mac 10.5.
- Scripts/webkitpy/thirdparty/init.py:
Update download URL and directory path.
- 7:13 PM Changeset in webkit [94145] by
-
- 2 edits in trunk/Source/WebKit/gtk
GTK build fix after r94142.
- WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
(DumpRenderTreeSupportGtk::setAutofilled):
(DumpRenderTreeSupportGtk::setValueForUser):
- 6:41 PM Changeset in webkit [94144] by
-
- 3 edits in trunk/Source/WebKit/chromium
Chromium build fix after r94142.
- src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::textFieldDidEndEditing):
(WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
- src/WebPasswordFormUtils.cpp:
(WebKit::findPasswordFormFields):
- 6:23 PM Changeset in webkit [94143] by
-
- 9 edits2 adds8 deletes in trunk/LayoutTests
[chromium] New baselines due to r94109.
- platform/chromium-linux/fast/css-generated-content/table-row-before-after-child-add-expected.txt: Removed.
- platform/chromium-linux/fast/css-generated-content/table-table-before-after-child-add-expected.txt: Removed.
- platform/chromium-linux/fast/table/table-after-child-in-table-expected.txt: Removed.
- platform/chromium-linux/fast/table/table-before-child-in-table-expected.txt: Removed.
- platform/chromium-linux/fast/table/table-row-after-child-in-block-expected.txt: Removed.
- platform/chromium-linux/fast/table/table-row-after-child-in-table-expected.txt: Removed.
- platform/chromium-linux/fast/table/table-row-before-child-in-block-expected.txt: Removed.
- platform/chromium-linux/fast/table/table-row-before-child-in-table-expected.txt: Removed.
- platform/chromium-win/fast/css-generated-content/table-row-before-after-child-add-expected.txt:
- platform/chromium-win/fast/css-generated-content/table-table-before-after-child-add-expected.txt:
- platform/chromium-win/fast/table/table-after-child-in-table-expected.txt:
- platform/chromium-win/fast/table/table-before-child-in-table-expected.txt:
- platform/chromium-win/fast/table/table-before-child-style-update-expected.png: Added.
- platform/chromium-win/fast/table/table-row-after-child-in-block-expected.txt:
- platform/chromium-win/fast/table/table-row-after-child-in-table-expected.txt:
- platform/chromium-win/fast/table/table-row-before-child-in-block-expected.txt:
- platform/chromium-win/fast/table/table-row-before-child-in-table-expected.txt:
- platform/chromium-win/fast/table/table-row-before-child-style-update-expected.png: Added.
- 6:20 PM Changeset in webkit [94142] by
-
- 21 edits in trunk/Source
Get rid of toInputElement()
https://bugs.webkit.org/show_bug.cgi?id=67175
Reviewed by Darin Adler.
Source/WebCore:
Got rid of Node::toInputElement and HTMLInputElement::toInputElement and replaced them by
a global toHTMLInputElement.
- WebCore.order:
- accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::textMarkerDataForVisiblePosition):
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::isPasswordField):
(WebCore::AccessibilityRenderObject::isIndeterminate):
(WebCore::AccessibilityRenderObject::isNativeCheckboxOrRadio):
(WebCore::AccessibilityRenderObject::isChecked):
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::canShareStyleWithControl):
(WebCore::CSSStyleSelector::adjustRenderStyle):
(WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
(WebCore::CSSStyleSelector::applyProperty):
- dom/CheckedRadioButtons.cpp:
(WebCore::CheckedRadioButtons::addButton):
(WebCore::CheckedRadioButtons::removeButton):
- dom/Node.cpp:
- dom/Node.h:
- editing/FrameSelection.cpp:
(WebCore::FrameSelection::isInPasswordField):
- html/HTMLInputElement.h:
(WebCore::toHTMLInputElement):
- html/shadow/SliderThumbElement.cpp:
(WebCore::sliderThumbElementOf):
(WebCore::RenderSliderThumb::layout):
(WebCore::RenderSliderContainer::layout):
(WebCore::SliderThumbElement::hostInput):
(WebCore::trackLimiterElementOf):
- html/shadow/TextControlInnerElements.cpp:
(WebCore::SearchFieldResultsButtonElement::shadowPseudoId):
(WebCore::SearchFieldResultsButtonElement::defaultEventHandler):
(WebCore::SearchFieldCancelButtonElement::defaultEventHandler):
(WebCore::SpinButtonElement::defaultEventHandler):
(WebCore::SpinButtonElement::repeatingTimerFired):
(WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
(WebCore::InputFieldSpeechButtonElement::setRecognitionResult):
- page/DragController.cpp:
(WebCore::asFileInput):
- platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::paintThemePart):
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::RenderTextControlSingleLine):
(WebCore::RenderTextControlSingleLine::inputElement):
- rendering/RenderTheme.cpp:
(WebCore::RenderTheme::isChecked):
(WebCore::RenderTheme::isIndeterminate):
Source/WebKit/chromium:
- src/WebInputElement.cpp:
(WebKit::toWebInputElement):
Source/WebKit/qt:
- WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::setAutofilled):
(DumpRenderTreeSupportQt::setValueForUser):
(DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
- 6:14 PM Changeset in webkit [94141] by
-
- 4 edits1 copy in branches/chromium/835/Source/WebCore
Merge 94107
BUG=88684
Review URL: http://codereview.chromium.org/7776026
- 6:10 PM Changeset in webkit [94140] by
-
- 4 edits1 delete in branches/chromium/835/Source/WebCore
Revert 94131 - Merge 94107
BUG=88684
Review URL: http://codereview.chromium.org/7811011
- 6:09 PM Changeset in webkit [94139] by
-
- 3 edits in branches/chromium/835/Source/WebCore/webaudio
Remove AudioContext createChannelMerger() method until thread safety issues can be properly addressed.
BUG=94834
R=cevans@chromium.org
Review URL: http://codereview.chromium.org/7740069
- 6:05 PM Changeset in webkit [94138] by
-
- 2 edits in trunk/Source/WebCore
Speculative WinCairo build fix after r94093.
- platform/network/ResourceHandle.h:
- 5:29 PM Changeset in webkit [94137] by
-
- 4 edits in trunk/LayoutTests
add a test for border/padding/margin on the flexbox container
https://bugs.webkit.org/show_bug.cgi?id=67243
Reviewed by Tony Chang.
- css3/flexbox/001-expected.txt:
- css3/flexbox/001.html:
- css3/flexbox/resources/flexbox.js:
- 5:26 PM Changeset in webkit [94136] by
-
- 2 edits in trunk/Source/WebCore
Mac build fix after r94128.
- WebCore.xcodeproj/project.pbxproj:
- 5:25 PM Changeset in webkit [94135] by
-
- 3 edits6 copies in branches/chromium/835
Merge 94109
BUG=94800
Review URL: http://codereview.chromium.org/7785020
- 5:21 PM Changeset in webkit [94134] by
-
- 4 edits2 adds in trunk
Correctly report selected text range for accessibility APIs for role=textbox
https://bugs.webkit.org/show_bug.cgi?id=65900
Patch by Alice Boxhall <aboxhall@chromium.org> on 2011-08-30
Reviewed by Chris Fleizach.
Source/WebCore:
Test: accessibility/textbox-role-reports-selection.html
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::indexForVisiblePosition):
(WebCore::AccessibilityRenderObject::rootEditableElementForPosition):
(WebCore::AccessibilityRenderObject::nodeIsTextControl):
(WebCore::AccessibilityRenderObject::determineAriaRoleAttribute):
- accessibility/AccessibilityRenderObject.h:
LayoutTests:
- accessibility/textbox-role-reports-selection-expected.txt: Added.
- accessibility/textbox-role-reports-selection.html: Added.
- 5:18 PM Changeset in webkit [94133] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed, fix WebGL layout tests due to missing WebView pointer.
- src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
- 5:13 PM Changeset in webkit [94132] by
-
- 16 edits3 adds in trunk
The "port" property of an <a> whose href does not specify a port returns the wrong value
https://bugs.webkit.org/show_bug.cgi?id=66081
Source/WebCore:
HTMLAnchorElement now returns "" instead of "0" for unset port
Fixed KURLGoogle.cpp to have same behavior as KURL.cpp when setting port 0
Fixed Location.cpp to have same behavior as KURL.cpp when setting port 0
Patch by Rachel Blum <groby@chromium.org> on 2011-08-30
Reviewed by Adam Barth.
Tests: fast/dom/HTMLAnchorElement/get-href-attribute-port.html
fast/dom/HTMLAnchorElement/set-href-attribute-port.html
fast/loader/location-port.html
fast/url/segments-from-data-url.html
fast/url/segments.html
fast/url/trivial-segments.html
platform/chromium/fast/dom/HTMLAnchorElement/set-href-attribute-port.html
- html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::port):
- page/Location.cpp:
(WebCore::Location::host):
(WebCore::Location::port):
(WebCore::Location::setPort):
- platform/KURLGoogle.cpp:
(WebCore::KURL::setPort):
LayoutTests:
Updated tests to reflect behavior change around invalid port strings.
Updated chromium location-port test to reflect chromium issues
Patch by Rachel Blum <groby@chromium.org> on 2011-08-30
Reviewed by Adam Barth.
- fast/dom/HTMLAnchorElement/get-href-attribute-port-expected.txt: Added.
- fast/dom/HTMLAnchorElement/get-href-attribute-port.html: Added.
- fast/dom/HTMLAnchorElement/script-tests/get-href-attribute-port.js: Added.
- fast/loader/location-port-expected.txt:
- fast/loader/location-port.html:
- fast/url/script-tests/segments-from-data-url.js:
- fast/url/script-tests/segments.js:
- fast/url/script-tests/trivial-segments.js:
- fast/url/segments-expected.txt:
- fast/url/segments-from-data-url-expected.txt:
- fast/url/trivial-segments-expected.txt:
- platform/chromium-cg-mac/fast/loader/location-port-expected.txt:
- platform/chromium-win/fast/loader/location-port-expected.txt:
- platform/chromium/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt:
- 5:13 PM Changeset in webkit [94131] by
-
- 4 edits1 copy in branches/chromium/835/Source/WebCore
Merge 94107
BUG=88684
Review URL: http://codereview.chromium.org/7810012
- 5:03 PM Changeset in webkit [94130] by
-
- 4 edits4 adds in trunk
Fix pan scrolling on Windows to be clamped
https://bugs.webkit.org/show_bug.cgi?id=66910
Source/WebCore:
With the recent change to support rubberband scrolling on the Mac, pan
scrolling of overflow divs became unclamped and would scroll infinitely
and along an axis without a scrollbar.
Patch by Scott Byer <scottbyer@chromium.org> on 2011-08-30
Reviewed by Simon Fraser
Test: platform/win/fast/events/panScroll-correct-direction.html
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::panScrollFromPoint):
(WebCore::RenderLayer::scrollByRecursively):
- rendering/RenderLayer.h:
LayoutTests:
With the recent change to support rubberband scrolling on the Mac, pan
scrolling of overflow divs became unclamped and would scroll infinitely
and along an axis without a scrollbar.
Patch by Scott Byer <scottbyer@chromium.org> on 2011-08-30
Reviewed by Simon Fraser
- platform/mac/fast/frames/iframe-scaling-with-scroll-expected.png:
- platform/win/fast/events/panScroll-click-hyperlink-expected.txt: Added.
- platform/win/fast/events/panScroll-correct-direction-expected.txt: Added.
- platform/win/fast/events/panScroll-correct-direction.html: Added.
- 5:01 PM Changeset in webkit [94129] by
-
- 1 edit in branches/chromium/835/Source/WebCore/webaudio/AudioNode.cpp
Merge 94127
BUG=94820
Review URL: http://codereview.chromium.org/7809009
- 4:55 PM Changeset in webkit [94128] by
-
- 8 edits2 adds in trunk/Source/WebCore
This patch makes the XMLHttpRequest method/header validation logic available as
static methods so URL loaders can perform the same checks for untrusted HTTP requests
coming from plugins.
https://bugs.webkit.org/show_bug.cgi?id=66909
Patch by Bill Budge <bbudge@chromium.org> on 2011-08-30
Reviewed by David Levin.
No new tests. Exposes no new functionality.
- CMakeLists.txt:
- GNUmakefile.list.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- platform/network/HTTPValidation.cpp: Added.
(WebCore::isValidHTTPToken):
(WebCore::isValidHTTPHeaderValue):
- platform/network/HTTPValidation.h: Added.
- xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::isAllowedHTTPMethod):
(WebCore::XMLHttpRequest::uppercaseKnownHTTPMethod):
(WebCore::XMLHttpRequest::isAllowedHTTPHeader):
(WebCore::XMLHttpRequest::open):
(WebCore::XMLHttpRequest::setRequestHeader):
- xml/XMLHttpRequest.h:
- 4:45 PM Changeset in webkit [94127] by
-
- 5 edits in trunk
Don't allow nodes of one context to be connected to nodes of another context
https://bugs.webkit.org/show_bug.cgi?id=67245
Source/WebCore:
Reviewed by Dimitri Glazkov.
Tests: updated webaudio/audionode.html
- webaudio/AudioNode.cpp:
(WebCore::AudioNode::connect):
LayoutTests:
Reviewed by Dimitri Glazkov.
- webaudio/audionode-expected.txt:
- webaudio/audionode.html:
- 4:42 PM Changeset in webkit [94126] by
-
- 2 edits in trunk/Source/WebKit/wince
WinCE build fix attempt after r94080.
- WebCoreSupport/ChromeClientWinCE.cpp:
(WebKit::ChromeClientWinCE::scrollRectIntoView):
- 4:40 PM Changeset in webkit [94125] by
-
- 1 edit2 copies in branches/chromium/835
Merge 94112
BUG=89330
Review URL: http://codereview.chromium.org/7776023
- 4:36 PM Changeset in webkit [94124] by
-
- 14 edits2 adds in trunk
Source/WebCore: WebCore part of <rdar://problem/9281695> Add text search API for getting the DOM range of a text match
https://bugs.webkit.org/show_bug.cgi?id=67230
Reviewed by Darin Adler.
Test: TestWebKitAPI/Tests/mac/DOMRangeOfString.
- WebCore.exp.in: Export Page::rangeOfString().
- dom/Range.h: Added a default ASSERT_NO_EXCEPTION to a few more member functions.
- editing/Editor.cpp:
(WebCore::Editor::findString): Moved most of the logic into rangeOfString(), which this function
now calls, passing in the current selection as the reference range and setting the selection to
the returned range.
(WebCore::Editor::rangeOfString): Added. Contains the find logic from findString().
- editing/Editor.h:
- page/Page.cpp:
(WebCore::Page::rangeOfString): Added. This function is similar to findString(), but it takes an optional
reference range and returns a Range, rather than using the current selection as the reference range and setting the
selection to the next match.
- page/Page.h:
Source/WebKit/mac: <rdar://problem/9281695> Add text search API for getting the DOM range of a text match
https://bugs.webkit.org/show_bug.cgi?id=67230
Reviewed by Darin Adler.
- WebView/WebHTMLView.mm:
- WebView/WebView.mm:
(coreOptions): Moved this function from WebHTMLView.mm to here and made
it accessible from both this file and WebHTMLView.mm.
(-[WebView DOMRangeOfString:relativeTo:options:]): Added this new API.
- WebView/WebViewInternal.h:
- WebView/WebViewPrivate.h:
Tools: Test for <rdar://problem/9281695> Add text search API for getting the DOM range of a text match
https://bugs.webkit.org/show_bug.cgi?id=67230
Reviewed by Darin Adler.
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/mac/DOMRangeOfString.html: Added.
- TestWebKitAPI/Tests/mac/DOMRangeOfString.mm: Added.
(-[DOMRangeOfStringFrameLoadDelegate webView:didFinishLoadForFrame:]):
(TestWebKitAPI::TEST):
- 4:34 PM Changeset in webkit [94123] by
-
- 4 edits in trunk/Source/WebCore
Add additional convertValue overloads to JSDictionary
https://bugs.webkit.org/show_bug.cgi?id=67244
Reviewed by Darin Adler.
Add overloads for convertValue that will be needed for Event
constructors.
- bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
- bindings/js/JSDictionary.h:
Add overloads. Remove #include of <runtime/Error.h> and just include
<interpreter/CallFrame.h>
- bindings/js/JSEventConstructors.cpp:
Add now necessary #include of <runtime/Error.h>.
- 4:31 PM Changeset in webkit [94122] by
-
- 9 edits in trunk/Source
https://bugs.webkit.org/show_bug.cgi?id=67150
Would like API to use a custom device scale factor for a particular WebView/WKView
-and corresponding-
<rdar://problem/10041016>
Reviewed by Darin Adler.
Source/WebKit/mac:
New API is _setOverrideBackingScaleFactor:(CGFloat)
- WebView/WebView.mm:
(-[WebView _setOverrideBackingScaleFactor:]):
(-[WebView _deviceScaleFactor]):
- WebView/WebViewData.h:
- WebView/WebViewPrivate.h:
Source/WebKit2:
New API is setOverrideBackingScaleFactor() on WKPage
- UIProcess/API/C/WKPage.cpp:
(WKPageGetOverrideBackingScaleFactor):
(WKPageSetOverrideBackingScaleFactor):
- UIProcess/API/C/WKPage.h:
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::deviceScaleFactor):
(WebKit::WebPageProxy::setOverrideBackingScaleFactor):
- UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::overrideBackingScaleFactor):
- 4:15 PM Changeset in webkit [94121] by
-
- 35 edits31 adds in trunk
Add MediaSource API to HTMLMediaElement
https://bugs.webkit.org/show_bug.cgi?id=64731
Patch by Aaron Colwell <acolwell@chromium.org> on 2011-08-30
Reviewed by Eric Carlson.
.:
- configure.ac:
Source/JavaScriptCore:
- Configurations/FeatureDefines.xcconfig:
Source/WebCore:
Tests: http/tests/media/media-source/webm/video-media-source-errors.html
http/tests/media/media-source/webm/video-media-source-play.html
http/tests/media/media-source/webm/video-media-source-seek.html
http/tests/media/media-source/webm/video-media-source-state-changes.html
- Configurations/FeatureDefines.xcconfig:
- GNUmakefile.am:
- dom/EventNames.h:
- features.pri:
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement): Added initializers for new member variables.
(WebCore::HTMLMediaElement::prepareForLoad): Close the media source before starting a new load.
(WebCore::HTMLMediaElement::loadResource):
Fail loading if the media source url from another media element is used.
(WebCore::HTMLMediaElement::mediaEngineError):
Make sure the source is in the closed state before firing an emptied event.
(WebCore::HTMLMediaElement::mediaPlayerSourceOpened):
New method called by WebCore::MediaPlayer to signal when the source is open.
(WebCore::HTMLMediaElement::mediaPlayerSourceURL):
New method called by the WebCore::MediaPlayer to determine what the media source URL is for this
HTMLMediaElement instance.
(WebCore::HTMLMediaElement::seek):
Disabled noSeekRequired optimization if a media source is open and resets the source state to SOURCE_OPEN if
it was in the SOURCE_ENDED state when seek() was called.
(WebCore::HTMLMediaElement::webkitSourceAppend):
New method for passing media data from JavaScript to the WebCore::MediaPlayer.
(WebCore::HTMLMediaElement::webkitSourceEndOfStream):
New method that allows JavaScript to signal the end of the stream.
(WebCore::HTMLMediaElement::webkitSourceState): New method allowing JavaScript to read the current source state.
(WebCore::HTMLMediaElement::setSourceState): New method for updating the current source state.
(WebCore::HTMLMediaElement::userCancelledLoad):
Transitions an open source to the closed state before firing an emptied event.
- html/HTMLMediaElement.h:
(WebCore::HTMLMediaElement::webkitMediaSourceURL):
New method providing the media source URL to JavaScript for this HTMLMediaElement instance.
- html/HTMLMediaElement.idl: Added new methods, attributes, and constants for the media source api.
- platform/graphics/MediaPlayer.cpp:
(WebCore::NullMediaPlayerPrivate::sourceAppend):
Stub implementation of new WebCore::MediaPlayerPrivateInterface::sourceAppend.
(WebCore::NullMediaPlayerPrivate::sourceEndOfStream):
Stub implementation of new WebCore::MediaPlayerPrivateInterface::sourceEndOfStream.
(WebCore::MediaPlayer::sourceAppend): New method for receiving media data from WebCore::HTMLMediaElement.
(WebCore::MediaPlayer::sourceEndOfStream): New method for receiving end of stream from WebCore::HTMLMediaElement.
(WebCore::MediaPlayer::sourceOpened):
New method called by the MediaPlayerPrivate object to notify the MediaPlayer when the source has opened.
(WebCore::MediaPlayer::sourceURL):
New method called by the MediaPlayerPrivate implementation to get the media source URL from the MediaPlayer.
- platform/graphics/MediaPlayer.h:
(WebCore::MediaPlayerClient::mediaPlayerSourceOpened):
Interface method used by the MediaPlayer to tell the HTMLMediaElement when the media source has been opened.
(WebCore::MediaPlayerClient::mediaPlayerSourceURL):
Interface method used by the MediaPlayer to get the media source URL from the HTMLMediaElement.
- platform/graphics/MediaPlayerPrivate.h:
(WebCore::MediaPlayerPrivateInterface::sourceAppend):
Interface method used by the MediaPlayer to pass media data to the MediaPlayerPrivate object.
(WebCore::MediaPlayerPrivateInterface::sourceEndOfStream):
Interface method used by the MediaPlayer to pass end of stream information to the MediaPlayerPrivate object.
Source/WebKit/chromium:
- public/WebMediaPlayer.h:
(WebKit::WebMediaPlayer::sourceAppend):
(WebKit::WebMediaPlayer::sourceEndOfStream):
- public/WebMediaPlayerClient.h:
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::sourceOpened):
(WebKit::WebMediaPlayerClientImpl::sourceURL):
(WebKit::WebMediaPlayerClientImpl::sourceAppend):
(WebKit::WebMediaPlayerClientImpl::sourceEndOfStream):
- src/WebMediaPlayerClientImpl.h:
Source/WebKit/mac:
- Configurations/FeatureDefines.xcconfig:
Source/WebKit2:
- Configurations/FeatureDefines.xcconfig:
Tools:
- Scripts/build-webkit:
WebKitLibraries:
- win/tools/vsprops/FeatureDefines.vsprops:
- win/tools/vsprops/FeatureDefinesCairo.vsprops:
LayoutTests:
- http/tests/media/media-source/webm/video-media-source-errors-expected.txt: Added.
- http/tests/media/media-source/webm/video-media-source-errors.html: Added.
- http/tests/media/media-source/webm/video-media-source-play-expected.txt: Added.
- http/tests/media/media-source/webm/video-media-source-play.html: Added.
- http/tests/media/media-source/webm/video-media-source-seek-expected.txt: Added.
- http/tests/media/media-source/webm/video-media-source-seek.html: Added.
- http/tests/media/media-source/webm/video-media-source-state-changes-expected.txt: Added.
- http/tests/media/media-source/webm/video-media-source-state-changes.html: Added.
- http/tests/media/media-source/webm/webm-media-source.js: Added.
(getData):
(getHeaders):
(getClusterCount):
(getCluster):
(getClusterTimeForIndex):
(getClusterIndexForTimestamp):
(setSrcToMediaSourceURL):
(appendHeaders):
(appendCluster):
(appendUntilEndOfStream):
(logSourceState):
(getSourceStateName):
(expectSourceState):
- http/tests/media/resources/media-source/webm/test.webm: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-0: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-1: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-10: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-11: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-12: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-13: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-14: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-15: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-2: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-3: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-4: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-5: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-6: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-7: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-8: Added.
- http/tests/media/resources/media-source/webm/test.webm.cluster-9: Added.
- http/tests/media/resources/media-source/webm/test.webm.headers: Added.
- platform/chromium/test_expectations.txt:
- platform/gtk/Skipped:
- platform/mac/Skipped:
- platform/qt/Skipped:
- platform/win/Skipped:
- 4:09 PM Changeset in webkit [94120] by
-
- 1 edit10 adds in trunk/LayoutTests
Unreviewed. Chromium rebaselines for r94109.
- platform/chromium-linux/fast/css-generated-content/table-row-before-after-child-add-expected.txt: Added.
- platform/chromium-linux/fast/css-generated-content/table-table-before-after-child-add-expected.txt: Added.
- platform/chromium-linux/fast/table/table-after-child-in-table-expected.txt: Added.
- platform/chromium-linux/fast/table/table-before-child-in-table-expected.txt: Added.
- platform/chromium-linux/fast/table/table-before-child-style-update-expected.png: Added.
- platform/chromium-linux/fast/table/table-row-after-child-in-block-expected.txt: Added.
- platform/chromium-linux/fast/table/table-row-after-child-in-table-expected.txt: Added.
- platform/chromium-linux/fast/table/table-row-before-child-in-block-expected.txt: Added.
- platform/chromium-linux/fast/table/table-row-before-child-in-table-expected.txt: Added.
- platform/chromium-linux/fast/table/table-row-before-child-style-update-expected.png: Added.
- 3:49 PM Changeset in webkit [94119] by
-
- 10 edits2 adds in trunk/Source/WebCore
Refactor JS dictionary code into helper class and covert geolocation code to use it
https://bugs.webkit.org/show_bug.cgi?id=67213
Reviewed by Darin Adler.
- GNUmakefile.list.am:
- UseJSC.cmake:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSBindingsAllInOne.cpp:
Add new files.
- bindings/js/JSDictionary.cpp: Added.
(WebCore::JSDictionary::convertValue):
- bindings/js/JSDictionary.h: Added.
(WebCore::JSDictionary::JSDictionary):
(WebCore::JSDictionary::tryGetProperty):
Encapsulate dictionary initialization code into JSDictionary class.
- bindings/js/JSEventConstructors.cpp:
(WebCore::constructJSEventWithInitializer):
Use JSDictionary.
- bindings/js/JSGeolocationCustom.cpp:
(WebCore::setEnableHighAccuracy):
(WebCore::setTimeout):
(WebCore::setMaximumAge):
(WebCore::createPositionOptions):
Use JSDictionary.
- 3:39 PM Changeset in webkit [94118] by
-
- 3 edits in trunk/Source/WebCore
Switch chromium to use ScrollAnimatorNone on Windows.
https://bugs.webkit.org/show_bug.cgi?id=67000
Patch by Scott Byer <scottbyer@chromium.org> on 2011-08-30
Reviewed by Adam Barth.
Testing covered by Chromium webkit_unit_tests ScrollAnimatorNoneTest.*
- WebCore.gyp/WebCore.gyp:
- WebCore.gypi:
- 3:33 PM Changeset in webkit [94117] by
-
- 3 edits in trunk/Source/WebCore
refactor and cleanup RenderFlexibleBox
https://bugs.webkit.org/show_bug.cgi?id=67165
Reviewed by Ojan Vafai.
No new tests, just refactoring code.
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutHorizontalBlock):
(WebCore::RenderFlexibleBox::runFreeSpaceAllocationAlgorithmHorizontal): Make childSizes a param so we can pass the results to layoutAndPlaceChildrenHorizontal.
(WebCore::hasPackingSpace): Move closer to where it's used.
(WebCore::RenderFlexibleBox::layoutAndPlaceChildrenHorizontal):
Pull this code out into its own function because it's not part of running the free space allocation algorithm.
- rendering/RenderFlexibleBox.h:
- 3:12 PM Changeset in webkit [94116] by
-
- 4 edits2 adds in trunk
getBBox() on a SVGPathElement with curves incorrectly includes control points
https://bugs.webkit.org/show_bug.cgi?id=53512
<rdar://problem/9861154>
Reviewed by Dirk Schulze.
The CoreGraphics implementation of Path::boundingRect() called
CGPathGetBoundingBox, which includes the path's control points in its
calculations. Snow Leopard added CGPathGetPathBoundingBox, which
finds the bounding box of only points within the path, and does not
include control points. On Snow Leopard and above, we now use the latter.
- 3:09 PM Changeset in webkit [94115] by
-
- 15 edits2 adds in trunk/Source/WebKit2
Laying some groundwork to fetch performance statistics from WebProcess.
https://bugs.webkit.org/show_bug.cgi?id=67160
Reviewed by Darin Adler.
Add WKContextGetStatistics() which sends a message to WebProcess to fetch the performance statistics.
- UIProcess/API/C/WKContext.cpp:
(WKContextGetStatistics):
- UIProcess/API/C/WKContext.h:
- UIProcess/WebContext.cpp:
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::getWebCoreStatistics):
(WebKit::WebContext::didGetWebCoreStatistics):
- UIProcess/WebContext.h:
- UIProcess/WebContext.messages.in: Add the DidGetWebCoreStatistics message that WebProcess can send when it has
the performance statistics ready.
Add WebProcess::getWebCoreStatistics(). Currently it just sends back an empty StatisticsData object.
It will gather the performance statistics to store in the StatisticsData object in a future patch.
- WebProcess/WebProcess.cpp:
(WebKit::WebProcess::getWebCoreStatistics):
- WebProcess/WebProcess.h:
- WebProcess/WebProcess.messages.in:
Add the skeleton for StatisticsData.
- Scripts/webkit2/messages.py:
- Shared/StatisticsData.cpp: Added.
(WebKit::StatisticsData::encode):
(WebKit::StatisticsData::decode):
(WebKit::StatisticsData::StatisticsData):
- Shared/StatisticsData.h: Added.
Add StatisticsData.h/cpp to project.
- CMakeLists.txt:
- GNUmakefile.am:
- WebKit2.pro:
- WebKit2.xcodeproj/project.pbxproj:
- win/WebKit2.vcproj:
- 3:02 PM Changeset in webkit [94114] by
-
- 4 edits4 adds in trunk
SVG panning y-axis is flipped in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=65800
<rdar://problem/9908012>
Reviewed by Darin Adler.
We previously were not transforming the pointer coordinates passed
to SVGDocument's panning implementation into the coordinate space of
the contents, so on different platforms, the drag direction was different.
Test: svg/custom/pan-direction.svg
- 2:37 PM Changeset in webkit [94113] by
-
- 1 edit83 adds in trunk/LayoutTests
LayoutTest expected results for Skia on Mac (animations and canvas directories only)
https://bugs.webkit.org/show_bug.cgi?id=67218
Reviewed by Adam Barth.
- platform/chromium-mac/animations: Added.
- platform/chromium-mac/animations/missing-values-first-keyframe-expected.png: Added.
- platform/chromium-mac/animations/missing-values-last-keyframe-expected.png: Added.
- platform/chromium-mac/animations/opacity-transform-animation-expected.png: Added.
- platform/chromium-mac/animations/state-at-end-event-expected.png: Added.
- platform/chromium-mac/animations/stop-animation-on-suspend-expected.txt: Added.
- platform/chromium-mac/canvas: Added.
- platform/chromium-mac/canvas/philip: Added.
- platform/chromium-mac/canvas/philip/tests: Added.
- platform/chromium-mac/canvas/philip/tests/2d.composite.operation.clear-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.composite.operation.darker-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.composite.uncovered.fill.copy-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.composite.uncovered.image.copy-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.composite.uncovered.image.destination-atop-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.composite.uncovered.image.destination-in-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.composite.uncovered.image.source-in-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.composite.uncovered.image.source-out-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.composite.uncovered.pattern.copy-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.drawImage.broken-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.drawImage.image.incomplete.omitted-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.fillStyle.parse.invalid.rgba-6-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.fillStyle.parse.rgb-eof-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.fillStyle.parse.rgba-eof-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.cone.behind-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.cone.beside-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.cone.cylinder-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.cone.shape2-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.cone.top-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.outside3-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.touch1-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.touch3-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.imageData.create1.type-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.imageData.create2.type-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.imageData.get.type-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.imageData.object.round-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.imageData.object.wrap-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.imageData.put.wrongtype-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.line.width.basic-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.line.width.transformed-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.missingargs-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.path.arc.angle.3-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.path.arc.angle.5-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.path.arcTo.shape.curve1-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.path.arcTo.shape.curve2-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.pattern.image.broken-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.pattern.image.incomplete.empty-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.pattern.image.incomplete.omitted-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.pattern.image.string-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.pattern.image.undefined-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.pattern.paint.norepeat.coord3-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.pattern.paint.repeatx.coord1-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.pattern.paint.repeaty.coord1-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.shadow.canvas.alpha-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.shadow.canvas.basic-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.shadow.canvas.transparent.2-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.shadow.enable.blur-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.shadow.image.alpha-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.shadow.image.basic-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.shadow.image.scale-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.shadow.image.transparent.2-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.align.center-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.baseline.bottom-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.baseline.hanging-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.baseline.ideographic-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.baseline.middle-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.baseline.top-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.fill.maxWidth.fontface-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.space.collapse.end-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.space.collapse.nonspace-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.space.collapse.other-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.space.collapse.space-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.draw.space.collapse.start-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.font.parse.basic-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.font.parse.complex-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.font.parse.invalid-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.font.parse.size.percentage-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.font.parse.size.percentage.default-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.font.parse.system-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.text.measure.width.space-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.transformation.setTransform.skewed-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/2d.transformation.transform.skewed-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/toDataURL.jpeg.alpha-expected.txt: Added.
- platform/chromium-mac/canvas/philip/tests/type.prototype-expected.txt: Added.
- 2:31 PM Changeset in webkit [94112] by
-
- 3 edits2 adds in trunk
Flaky crash with JavaScript URLs
https://bugs.webkit.org/show_bug.cgi?id=66360
Reviewed by Nate Chapin.
Source/WebCore:
This patch teaches DocumentWriter::begin to make a copy of the URL
before beginning a new document to avoid a crash.
Test: fast/loader/javascript-url-iframe-crash.html
- loader/DocumentWriter.cpp:
(WebCore::DocumentWriter::begin):
LayoutTests:
- fast/loader/javascript-url-iframe-crash-expected.txt: Added.
- fast/loader/javascript-url-iframe-crash.html: Added.
- 2:27 PM Changeset in webkit [94111] by
-
- 4 edits2 adds in trunk
PreloadScanner shouldn't load images inside noscript via doc.write
https://bugs.webkit.org/show_bug.cgi?id=67214
Reviewed by Adam Barth.
Source/WebCore:
The problem was that the tokenizer state was lost between each call to document.write.
This works around that bug by making all document.write()s in the same script block share
the same tokenizer state.
Test: fast/preloader/document-write-noscript.html
- html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::~HTMLDocumentParser):
(WebCore::HTMLDocumentParser::detach):
(WebCore::HTMLDocumentParser::insert):
- html/parser/HTMLDocumentParser.h:
LayoutTests:
- fast/preloader/document-write-noscript-expected.txt: Added.
- fast/preloader/document-write-noscript.html: Added.
- 2:25 PM Changeset in webkit [94110] by
-
- 4 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=67210
[Chromium] Use after free in ScheduledAction::execute(WebCore::V8Proxy*)
Reviewed by David Levin.
- bindings/v8/ScheduledAction.cpp:
(WebCore::ScheduledAction::execute):
Removed usage of V8Proxy instance after it could have been deleted.
- bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::V8Proxy):
- bindings/v8/V8Proxy.h:
Removed unused timerCallback() and setTimerCallback().
- 2:22 PM Changeset in webkit [94109] by
-
- 11 edits6 adds in trunk
Source/WebCore: Style not updated for table parts in :before, :after content.
https://bugs.webkit.org/show_bug.cgi?id=66141
Reviewed by Dave Hyatt.
Tests: fast/table/table-before-child-style-update.html
fast/table/table-row-before-child-style-update.html
- rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::updateBeforeAfterContent):
LayoutTests: Style not updated for table parts in :before, :after content.
https://bugs.webkit.org/show_bug.cgi?id=66141
- 2 new tests show that the blue and green boxes don't overlap
after the fix.
- update r93794 tests showing that style info is propagated.
Reviewed by Dave Hyatt.
- fast/table/table-before-child-style-update-expected.png: Added.
- fast/table/table-before-child-style-update-expected.txt: Added.
- fast/table/table-before-child-style-update.html: Added.
- fast/table/table-row-before-child-style-update-expected.png: Added.
- fast/table/table-row-before-child-style-update-expected.txt: Added.
- fast/table/table-row-before-child-style-update.html: Added.
- platform/mac/fast/table/table-after-child-in-table-expected.txt:
- platform/mac/fast/table/table-before-child-in-table-expected.txt:
- platform/mac/fast/table/table-row-after-child-in-block-expected.txt:
- platform/mac/fast/table/table-row-after-child-in-table-expected.txt:
- platform/mac/fast/table/table-row-before-child-in-block-expected.txt:
- platform/mac/fast/table/table-row-before-child-in-table-expected.txt:
- 1:53 PM Changeset in webkit [94108] by
-
- 3 edits2 adds in trunk
refactor box-ordinal-group handling so we don't timeout on large values
https://bugs.webkit.org/show_bug.cgi?id=65783
Reviewed by David Hyatt.
Source/WebCore:
The old code walked from 1 to the last box-ordinal-group while
iterating over each flex item. The new code collects ordinals as
we do the first walk and sorts them. Each additional iteration
through the flex items gets the next oridnal from the sorted list.
This maintains the single pass for the common case of no
box-ordinal-groups specified. If there are ordinal groups,
the runtime is O(n*m + m lg m) where n is the # of flex items and
m is the number of unique box-ordinal-group values. The memory
usage is O(2m).
Test: fast/flexbox/box-ordinal-group.html
- rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::FlexBoxIterator::FlexBoxIterator):
(WebCore::FlexBoxIterator::reset):
(WebCore::FlexBoxIterator::next):
(WebCore::FlexBoxIterator::compareFlexOrder):
LayoutTests:
- fast/flexbox/box-ordinal-group-expected.txt: Added.
- fast/flexbox/box-ordinal-group.html: Added.
- 1:45 PM Changeset in webkit [94107] by
-
- 5 edits1 add in trunk/Source/WebCore
Removed m_owner accessed in custom scrollbars.
https://bugs.webkit.org/show_bug.cgi?id=64737
Reviewed by David Hyatt.
Problem does not reproduce in DRT, even with Eventhandler tricks
and gc(). So, adding a manual test.
- manual-tests/custom-scrollbar-renderer-removed-crash.html: Added.
- page/FrameView.cpp:
(WebCore::FrameView::clearOwningRendererForCustomScrollbars):
- page/FrameView.h:
- rendering/RenderBox.cpp:
(WebCore::RenderBox::willBeDestroyed): when this renderbox is getting
destroyed, clear the custom scrollbar in this frameview having this renderbox
as its owning renderer.
- rendering/RenderScrollbar.cpp:
(WebCore::RenderScrollbar::getScrollbarPseudoStyle): fix the null check.
- 1:43 PM Changeset in webkit [94106] by
-
- 4 edits1 move in trunk/Source/WebKit/chromium
[chromium] Allow GraphicsContexts to be created from MockWebGraphicsContexts
https://bugs.webkit.org/show_bug.cgi?id=67179
Reviewed by Kenneth Russell.
- WebKit.gypi:
- src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::create):
(WebCore::GraphicsContext3DInternal::createFromWebContext):
(WebCore::GraphicsContext3D::create):
- src/GraphicsContext3DInternal.h:
- tests/MockGraphicsContext3DTest.cpp: Renamed from Source/WebKit/chromium/tests/MockWebGraphicsContext3DTest.cpp.
(FrameCountingContext::FrameCountingContext):
(FrameCountingContext::prepareTexture):
(FrameCountingContext::frameCount):
(TEST):
- 1:42 PM Changeset in webkit [94105] by
-
- 19 edits2 adds in trunk
Emit last progress notification before calling dispatchDidFinishLoad
https://bugs.webkit.org/show_bug.cgi?id=28851
Reviewed by Adam Barth.
Source/WebCore:
Original patch by Xan Lopez. Change FrameLoader to dispatch the notifications in
a more natural sequence.
Test: http/tests/loading/progress-finished-callback.html
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::checkLoadCompleteForThisFrame):
Source/WebKit/qt:
Add infrastructure to dump progressFinishedNotification callback in DRT.
- WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::dumpProgressFinishedCallback):
- WebCoreSupport/DumpRenderTreeSupportQt.h:
- WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
- WebCoreSupport/FrameLoaderClientQt.h:
Tools:
Implement dumpProgressFinishedCallback() in the layoutTestController for Qt,
Chromium and GTK ports. The first two were simple changes.
Some refactoring was needed in GTK port to assure that the dumps are emitted
correctly and the processing after the page load finished is in the right place.
To detect the load finished, we use the callback for the "load-status" notifier
signal of the top loading frame. And we use the deprecated "load-finished" signal
for dumping (if enabled) the progress finished expected output.
- DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(dumpProgressFinishedCallbackCallback):
(LayoutTestController::staticFunctions):
- DumpRenderTree/LayoutTestController.h:
(LayoutTestController::dumpProgressFinishedCallback):
(LayoutTestController::setDumpProgressFinishedCallback):
- DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::dumpProgressFinishedCallback):
(LayoutTestController::reset):
- DumpRenderTree/chromium/LayoutTestController.h:
(LayoutTestController::shouldDumpProgressFinishedCallback):
(LayoutTestController::setShouldDumpProgressFinishedCallback):
- DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::didStopLoading):
- DumpRenderTree/gtk/DumpRenderTree.cpp:
(webViewLoadFinished):
(topLoadingFrameLoadFinished):
(webFrameLoadStatusNotified):
- DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::reset):
(LayoutTestController::dumpProgressFinishedCallback):
- DumpRenderTree/qt/LayoutTestControllerQt.h:
LayoutTests:
Keep track of the order expected for the progressFinishedNotification, which is
before the didFinishLoadForFrame.
- http/tests/loading/progress-finished-callback-expected.txt: Added.
- http/tests/loading/progress-finished-callback.html: Added.
- platform/mac/Skipped:
- platform/win/Skipped:
- 1:39 PM Changeset in webkit [94104] by
-
- 15 edits in trunk
CSS parsing for -webkit-flex-flow
https://bugs.webkit.org/show_bug.cgi?id=67224
Source/WebCore:
Reviewed by Tony Chang.
Adds support for the first value of -webkit-flex-flow.
Later we'll need to add support for the second "wrap" value,
but that can wait until we are ready to implement multiline
flex and the spec has stabilized a bit.
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
- css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator EFlexFlow):
- css/CSSPropertyNames.in:
- css/CSSStyleApplyProperty.cpp:
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
- css/CSSValueKeywords.in:
- rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::flexFlow):
(WebCore::InheritedFlags::setFlexFlow):
(WebCore::InheritedFlags::initialFlexFlow):
- rendering/style/RenderStyleConstants.h:
- rendering/style/StyleFlexibleBoxData.cpp:
(WebCore::StyleFlexibleBoxData::StyleFlexibleBoxData):
(WebCore::StyleFlexibleBoxData::operator==):
- rendering/style/StyleFlexibleBoxData.h:
LayoutTests:
Reviewed by Tony Chang.
- css3/flexbox/css-properties-expected.txt:
- css3/flexbox/script-tests/css-properties.js:
- 1:26 PM Changeset in webkit [94103] by
-
- 1 edit1 add in trunk/Tools
JavaScriptCore does not have a good mechanism for performance
regression testing
https://bugs.webkit.org/show_bug.cgi?id=67177
Reviewed by Darin Adler.
Added a new script, which allows for testing one, two, or more VMs
at once on SunSpider, V8, and Kraken benchmarks. Benchmark/VM runs
are interleaved at random to minimize systematics. The results
that bencher prints includes all possible relevant information about
how bencher was invoked. Bencher can be easily used to measure
performance changes down to fractions of a percent.
Bencher also includes experimental support for running benchmarks in
a DumpRenderTree release build. This works in SunSpider and V8, but
not yet in Kraken. Running benchmarks in DumpRenderTree more
closely mimics the performance when running in browser.
- Scripts/bencher: Added.
- 1:23 PM Changeset in webkit [94102] by
-
- 4 edits in trunk/Source/WebKit/chromium
[Chromium] Add null checks for document()->loader()
https://bugs.webkit.org/show_bug.cgi?id=67077
Reviewed by Nate Chapin.
Document::loader can return 0 for a number of reasons. Call sites need
to null check the result, like we do for Document::frame. I suspect
some of these are real crashes, along the lines of
http://trac.webkit.org/changeset/93692, but null checking this function
is just good practice.
- src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
- src/WebSearchableFormData.cpp:
(HTMLNames::GetFormEncoding):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::pageEncoding):
- 1:17 PM Changeset in webkit [94101] by
-
- 2 edits in trunk/Source/WebCore
[Qt] Replace QLibrary("libgtk-x11-2.0.so.0") with QLibrary("libgtk-x11-2.0", 0)
https://bugs.webkit.org/show_bug.cgi?id=66627
Patch by Dawit Alemayehu <adawit@kde.org> on 2011-08-30
Reviewed by Simon Hausmann.
- plugins/qt/PluginPackageQt.cpp:
(WebCore::initializeGtk):
- 1:10 PM Changeset in webkit [94100] by
-
- 2 edits9 adds in trunk/LayoutTests
[chromium] Add baselines for due to r94092 and r93909.
- platform/chromium-cg-mac/fast/multicol/overflow-across-columns-expected.png: Added.
- platform/chromium-cg-mac/fast/multicol/overflow-unsplittable-expected.png: Added.
- platform/chromium-linux/fast/multicol/overflow-across-columns-expected.png: Added.
- platform/chromium-linux/fast/multicol/overflow-unsplittable-expected.png: Added.
- platform/chromium-win/fast/multicol/overflow-across-columns-expected.png: Added.
- platform/chromium-win/fast/multicol/overflow-across-columns-expected.txt: Added.
- platform/chromium-win/fast/multicol/overflow-unsplittable-expected.png: Added.
- platform/chromium-win/fast/multicol/overflow-unsplittable-expected.txt: Added.
- platform/chromium-win/fast/text/complex-preferred-logical-widths-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 1:08 PM Changeset in webkit [94099] by
-
- 2 edits in trunk/LayoutTests
fast/loader/document-destruction-within-unload.html causes an assertion failure in the next
test (currently, document-with-fragment-url-1.html)
https://bugs.webkit.org/show_bug.cgi?id=66783
- platform/mac/Skipped: Skipping the offending test.
- 1:06 PM Changeset in webkit [94098] by
-
- 8 edits in branches/safari-534.51-branch
Merge r93934.
- 1:01 PM Changeset in webkit [94097] by
-
- 2 edits in branches/safari-534.51-branch/Source/WebCore
Rollout 93664.
- 12:26 PM Changeset in webkit [94096] by
-
- 2 edits in trunk/Source/WebKit/chromium
2011-08-29 Darin Fisher <darin@chromium.org>
[chromium] DumpRenderTree should be explicit about its dependency on
GoogleURL
https://bugs.webkit.org/show_bug.cgi?id=67169
Reviewed by Ryosuke Niwa.
DumpRenderTree uses GoogleURL code directly, and it should be explicit
about that instead of picking up this dependency transitively, which
only works for the static build.
This is needed to support the "component" build of DumpRenderTree, in
which the various Chromium dependencies are built as separate DLLs.
- WebKit.gyp:
- 12:13 PM Changeset in webkit [94095] by
-
- 7 edits in trunk
TypedArrays don't ensure that denormalised values are normalised
https://bugs.webkit.org/show_bug.cgi?id=67178
Reviewed by Gavin Barraclough.
../../../../Volumes/Data/git/WebKit/OpenSource/LayoutTests:
Add test to ensure that we create a non-signalling nan when reading
a singaling nan from a typed array.
- fast/canvas/webgl/webgl-array-invalid-ranges-expected.txt:
- fast/canvas/webgl/webgl-array-invalid-ranges.html:
../../../../Volumes/Data/git/WebKit/OpenSource/Source/JavaScriptCore:
Add a couple of assertions to jsNumber() to ensure that
we block signaling NaNs
- runtime/JSValue.h:
(JSC::jsDoubleNumber):
(JSC::jsNumber):
../../../../Volumes/Data/git/WebKit/OpenSource/Source/WebCore:
Ensure that we convert singaling nans to silent nans when loading
from a typed array.
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
- 12:03 PM Changeset in webkit [94094] by
-
- 17 edits4 adds2 deletes in trunk/LayoutTests
[chromium] Update baselines after r94084 and r94088 and r93909.
- platform/chromium-cg-mac/fast/multicol/positive-leading-expected.png: Added.
- platform/chromium-cg-mac/fast/text/complex-preferred-logical-widths-expected.txt: Removed.
- platform/chromium-linux/fast/multicol/positive-leading-expected.png: Added.
- platform/chromium-linux/fast/multicol/single-line-expected.png:
- platform/chromium-linux/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.png:
- platform/chromium-linux/fast/multicol/span/span-as-immediate-child-generated-content-expected.png:
- platform/chromium-linux/fast/repaint/multicol-repaint-expected.txt: Removed.
- platform/chromium-win/fast/multicol/positive-leading-expected.png: Added.
- platform/chromium-win/fast/multicol/positive-leading-expected.txt: Added.
- platform/chromium-win/fast/multicol/single-line-expected.png:
- platform/chromium-win/fast/multicol/single-line-expected.txt:
- platform/chromium-win/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.png:
- platform/chromium-win/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt:
- platform/chromium-win/fast/multicol/span/span-as-immediate-child-generated-content-expected.png:
- platform/chromium-win/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt:
- platform/chromium-win/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt:
- platform/chromium-win/fast/multicol/span/span-as-immediate-columns-child-expected.txt:
- platform/chromium-win/fast/multicol/span/span-as-immediate-columns-child-removal-expected.txt:
- platform/chromium-win/fast/multicol/table-vertical-align-expected.txt:
- platform/chromium-win/fast/repaint/multicol-repaint-expected.png:
- platform/chromium-win/fast/repaint/multicol-repaint-expected.txt:
- platform/chromium/test_expectations.txt:
- 11:57 AM Changeset in webkit [94093] by
-
- 33 edits in trunk
DumpRenderTree should begin each test with an empty cookie store
https://bugs.webkit.org/show_bug.cgi?id=63545
<rdar://problem/5666907>
Reviewed by Darin Adler.
Use a clean CFURLStorageSession when this functionality is available.
- WebCore.exp.in: Added exports.
- WebCore.xcodeproj/project.pbxproj: Made CookieStorageCFNet.h private, as currentCFHTTPCookieStorage is used in WebKit.
- platform/mac/CookieJar.mm: (WebCore::cookies): (WebCore::cookieRequestHeaderFieldValue): (WebCore::setCookies): (WebCore::cookiesEnabled): (WebCore::getRawCookies): (WebCore::deleteCookie): Updated to use currentCFHTTPCookieStorage().
- platform/network/CookieStorage.h: Moved CFNetwork specific declarations to CookieStorageCFNet.h.
- platform/network/ResourceHandle.cpp: Moved CFNetwork specific code to ResourceHandleCFNet.cpp.
- platform/network/ResourceHandle.h: Exposed default session support on Mac, too. Made privateBrowsingStorageSession() private, as callers shouldn't be concerned about where the current sssion came from.
- platform/network/cf/CookieJarCFNet.cpp: (WebCore::setCookies): (WebCore::cookies): (WebCore::cookieRequestHeaderFieldValue): (WebCore::cookiesEnabled): (WebCore::getRawCookies): (WebCore::deleteCookie): (WebCore::getHostnamesWithCookies): (WebCore::deleteCookiesForHostname): (WebCore::deleteAllCookies): Updated to use currentCFHTTPCookieStorage().
- platform/network/cf/CookieStorageCFNet.cpp: (WebCore::cookieStorageOverride): Make it clear that this override is only for a Windows API. (WebCore::overrideCookieStorage): Ditto. (WebCore::currentCFHTTPCookieStorage): We no longer store a cookie storage in a static variable, unless it has been overridden on Windows. We can always get it from a session. (WebCore::setCookieStoragePrivateBrowsingEnabled): There is nothing to do here - we'll just use private session's storage. Note that Mac has a separate code path for OS versions that don't support sessions. (WebCore::startObservingCookieChanges): Updated to use currentCFHTTPCookieStorage(). (WebCore::stopObservingCookieChanges): Ditto.
- platform/network/cf/CookieStorageCFNet.h: Changed exposed methods for more clarity.
- platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::makeFinalRequest): Updated for currentCookieStorage->currentCFHTTPCookieStorage change. (WebCore::ResourceHandle::createPrivateBrowsingStorageSession): Moved out of USE(CFNETWORK), as this function is also used with NSURLConnection when sessions are enabled. (WebCore::ResourceHandle::currentStorageSession): Ditto. Removed an #if since default session is now supported on Mac, too. (WebCore::defaultCFURLStorageSession): Moved out of USE(CFNETWORK). (WebCore::ResourceHandle::setDefaultStorageSession): Moved out of USE(CFNETWORK). No longer adopt the session, because nothing in method name says that it will steal a reference from the caller. (WebCore::ResourceHandle::defaultStorageSession): Moved out of USE(CFNETWORK). (WebCore::privateStorageSession): Moved from ResourceHandle.cpp. (WebCore::privateBrowsingStorageSessionIdentifierBase): Moved from ResourceHandle.cpp. (WebCore::ResourceHandle::setPrivateBrowsingEnabled): Moved from ResourceHandle.cpp. (WebCore::ResourceHandle::privateBrowsingStorageSession): Moved from ResourceHandle.cpp. (WebCore::ResourceHandle::setPrivateBrowsingStorageSessionIdentifierBase): Moved from ResourceHandle.cpp. (WebCore::ResourceHandle::privateBrowsingStorageSessionIdentifierDefaultBase): Moved from ResourceHandle.cpp.
- platform/network/mac/CookieStorageMac.mm: (WebCore::setCookieStoragePrivateBrowsingEnabled): We no longer store a reference to cookie storage in a static variable, so nothing to do here. On older OS versiosn, we still need to enable legacy private browsing mode.
- platform/network/mac/ResourceHandleMac.mm: (WebCore::shouldRelaxThirdPartyCookiePolicy): Updated to use the new currentCFHTTPCookieStorage function. (WebCore::ResourceHandle::createNSURLConnection): Updated to use currentStorageSession() instead of privateBrowsingStorageSession(). (WebCore::ResourceHandle::willSendRequest): Ditto.
- 11:28 AM Changeset in webkit [94092] by
-
- 6 edits6 adds in trunk
<rdar://problem/10002140> 9A309: Text gets clipped in book because of overflow:auto
https://bugs.webkit.org/show_bug.cgi?id=67212 - Text gets clipped in multi-column layouts when overflow:auto
is used.
Revise our overflow:auto pagination behavior. If the overflow block doesn't specify any logical height
information, then we'll just assume the plan is for it to enclose its contents, and we will be willing
to paginate in those circumstances.
Reviewed by Dan Bernstein.
Added overflow-across-columns.html and overflow-unsplittable.html
Source/WebCore:
- rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState):
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::adjustForUnsplittableChild):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::hasUnsplittableScrollingOverflow):
- rendering/RenderBox.h:
LayoutTests:
- fast/multicol/overflow-across-columns.html: Added.
- fast/multicol/overflow-unsplittable.html: Added.
- platform/mac/fast/multicol/overflow-across-columns-expected.png: Added.
- platform/mac/fast/multicol/overflow-across-columns-expected.txt: Added.
- platform/mac/fast/multicol/overflow-unsplittable-expected.png: Added.
- platform/mac/fast/multicol/overflow-unsplittable-expected.txt: Added.
- 10:58 AM Changeset in webkit [94091] by
-
- 2 edits in trunk/Source/WebKit/chromium
Fix chromium compile when using clang. Another compile error due
to r94080.
- src/ChromeClientImpl.h:
(WebKit::ChromeClientImpl::scrollRectIntoView):
- 10:47 AM Changeset in webkit [94090] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, rolling out r93924.
http://trac.webkit.org/changeset/93924
https://bugs.webkit.org/show_bug.cgi?id=67209
Bad baseline submitted for OS X. Should be chromium specific.
(Requested by dave_levin on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-30
- platform/mac/fast/text/complex-preferred-logical-widths-expected.txt:
- 10:43 AM Changeset in webkit [94089] by
-
- 11 edits2 adds2 deletes in trunk/Source/WebCore
querySelector/querySelectorAll should use selector checker fast path
https://bugs.webkit.org/show_bug.cgi?id=67161
Reviewed by Sam Weinig.
Descendant and child selectors can be matches substantially faster using
SelectorChecker::fastCheckSelector() path. Currently it is used for style matching only.
Add SelectorQuery class that can do both querySelector and querySelectorAll efficiently using
fast path. Use inlined loop for DOM traversal.
The patch is ~25% speedup in the overall native score of http://www.webkit.org/perf/slickspeed/.
Some individual subtests (using child or descendant selectors) execute twice as fast.
- CMakeLists.txt:
- GNUmakefile.list.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::SelectorChecker::checkSelector):
(WebCore::CSSStyleSelector::SelectorChecker::isFastCheckableSelector):
(WebCore::RuleData::RuleData):
- css/CSSStyleSelector.h:
Make fast path checking available outside CSSStyleSelector.
- dom/DOMAllInOne.cpp:
- dom/Node.cpp:
(WebCore::Node::querySelector):
(WebCore::Node::querySelectorAll):
Switch to SelectorQuery.
- dom/SelectorNodeList.cpp: Removed.
- dom/SelectorNodeList.h: Removed.
SelectorQuery makes these obsolete.
- dom/SelectorQuery.cpp: Added.
(WebCore::SelectorQuery::SelectorQuery):
(WebCore::SelectorQuery::queryAll):
(WebCore::SelectorQuery::queryFirst):
(WebCore::SelectorQuery::canUseIdLookup):
(WebCore::SelectorQuery::execute):
- dom/SelectorQuery.h: Added.
Class for selector matching in tree.
- 10:35 AM Changeset in webkit [94088] by
-
- 4 edits in trunk/Source/WebCore
REGRESSION (r93913): Failures in fast/replaced/frame-removed-during-resize.html and scrollbars/scrollable-iframe-remove-crash.html
https://bugs.webkit.org/show_bug.cgi?id=67074
Reviewed by Darin Adler.
Added flag m_isClosed to prevent events that cause Frame to be destroyed
from posting more events into EventQueue of a dying Document.
The tests mentioned above should now pass.
- dom/Document.cpp:
(WebCore::Document::detach):
- dom/EventQueue.cpp:
(WebCore::EventQueue::EventQueue):
(WebCore::EventQueue::enqueueEvent):
(WebCore::EventQueue::close): Renamed method to reflect better what it does.
- dom/EventQueue.h:
- 10:34 AM Changeset in webkit [94087] by
-
- 3 edits in trunk/Source/WebKit2
[Qt][WK2] Make mouse over work again for QDesktopWebView.
https://bugs.webkit.org/show_bug.cgi?id=67200
Reviewed by Noam Rosenthal.
The API has changed after QGraphicsView, SceneGraph sends
QHoverEvents now.
- UIProcess/qt/qdesktopwebpageproxy.cpp:
(QDesktopWebPageProxy::handleEvent):
(QDesktopWebPageProxy::handleHoverMoveEvent):
- UIProcess/qt/qdesktopwebpageproxy.h:
- 10:09 AM Changeset in webkit [94086] by
-
- 2 edits in trunk/Source/WebKit/chromium
Roll chromium DEPS to r98771.
- DEPS:
- 10:06 AM Changeset in webkit [94085] by
-
- 2 edits in trunk/Source/WebCore
Fix compile warning on clang:
error: 'WebKit::ChromeClientImpl::scrollRectIntoView' hides overloaded virtual function [-Werror,-Woverloaded-virtual]
virtual void scrollRectIntoView(
../../WebCore/page/ChromeClient.h:171:22: note: hidden overloaded virtual function 'WebCore::ChromeClient::scrollRectIntoView' declared here
virtual void scrollRectIntoView(const IntRect&) { }; Currently only Mac has a non empty implementation.
- page/ChromeClient.h:
(WebCore::ChromeClient::scrollRectIntoView):
- 9:57 AM Changeset in webkit [94084] by
-
- 7 edits3 adds in trunk
<rdar://problem/8832814> With large line-height, column break can happen anywhere in the
inter-line gap, causing staggered lines.
https://bugs.webkit.org/show_bug.cgi?id=67202 Handle positive leading when paginating lines.
Technically we should paginate lines based solely off their line top and line bottom with
leading included. However there are two issues with always doing so. The first is that overflow
can cause lines to overlap, and the second is that negative leading can cause lines to overlap.
Since we're incapable of dealing with overlap until we stop clipping column boxes and allow them
to have a form of specialized overflow, we still have to at least factor in overflow and ignore
negative leading for now. However we can at least honor positive leading when the lines don't
overlap. This patch provides basic support for paginating when positive leading is involved.
Reviewed by Dan Bernstein.
Added fast/multicol/positive-leading.html.
Source/WebCore:
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::markLinesDirtyInBlockRange):
Renamed blockLogicalHeight() to lineBottomWithLeading(). The value is the same.
(WebCore::RenderBlock::adjustLinePositionForPagination):
Grow the top and extent of the line to include our leading when deciding how to paginate
the line.
- rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeBlockDirectionPositionsForLine):
(WebCore::RenderBlock::layoutRunsAndFloatsInRange):
(WebCore::RenderBlock::linkToEndLineIfNeeded):
(WebCore::RenderBlock::checkFloatsInCleanLine):
(WebCore::RenderBlock::determineStartPosition):
(WebCore::RenderBlock::determineEndPosition):
(WebCore::RenderBlock::matchedEndLine):
Renamed blockLogicalHeight() to lineBottomWithLeading(). The value is the same.
- rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::RootInlineBox):
(WebCore::RootInlineBox::adjustPosition):
(WebCore::RootInlineBox::alignBoxesInBlockDirection):
- rendering/RootInlineBox.h:
(WebCore::RootInlineBox::lineTopWithLeading):
(WebCore::RootInlineBox::lineBottomWithLeading):
(WebCore::RootInlineBox::setLineTopBottomPositions):
Instead of one member variable, blockLogicalHeight(), RootInlineBoxes now know both their top and
bottom including leading. These values are obtainable using lineTopWithLeading() and lineBottomWithLeading().
Add these two values to the setLineTopBottomPositions setter and remove setBlockLogicalHeight.
- rendering/svg/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::layoutRootBox):
Renamed blockLogicalHeight() to lineBottomWithLeading(). The value is the same.
LayoutTests:
- fast/multicol/positive-leading.html: Added.
- platform/mac/fast/multicol/positive-leading-expected.png: Added.
- platform/mac/fast/multicol/positive-leading-expected.txt: Added.
- 9:55 AM Changeset in webkit [94083] by
-
- 12 edits2 moves in trunk/Source
Rename GraphicsContext3DInternal to GraphicsContext3DPrivate and add a dummy version of this class for Mac
https://bugs.webkit.org/show_bug.cgi?id=67172
Reviewed by Kenneth Russell.
Source/WebCore:
- GNUmakefile.list.am:
- platform/graphics/GraphicsContext3D.h:
- platform/graphics/chromium/Extensions3DChromium.h:
- platform/graphics/gtk/GraphicsContext3DGtk.cpp:
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::makeContextCurrent):
(WebCore::GraphicsContext3D::platformGraphicsContext3D):
- platform/graphics/gtk/GraphicsContext3DInternal.h: Removed.
- platform/graphics/gtk/GraphicsContext3DPrivate.h: Copied from Source/WebCore/platform/graphics/gtk/GraphicsContext3DInternal.h.
- platform/graphics/mac/GraphicsContext3DMac.mm:
(WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
(WebCore::GraphicsContext3D::GraphicsContext3D):
- platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::getViewportGLWidget):
(WebCore::GraphicsContext3DPrivate::paintToTextureMapper):
(WebCore::GraphicsContext3DPrivate::boundingRect):
(WebCore::GraphicsContext3DPrivate::paint):
(WebCore::GraphicsContext3DPrivate::blitMultisampleFramebuffer):
(WebCore::GraphicsContext3DPrivate::blitMultisampleFramebufferAndRestoreContext):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::platformGraphicsContext3D):
(WebCore::GraphicsContext3D::platformLayer):
(WebCore::GraphicsContext3D::makeContextCurrent):
(WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3D::reshape):
(WebCore::GraphicsContext3D::activeTexture):
(WebCore::GraphicsContext3D::attachShader):
(WebCore::GraphicsContext3D::getAttachedShaders):
(WebCore::GraphicsContext3D::bindAttribLocation):
(WebCore::GraphicsContext3D::bindBuffer):
(WebCore::GraphicsContext3D::bindFramebuffer):
(WebCore::GraphicsContext3D::bindRenderbuffer):
(WebCore::GraphicsContext3D::bindTexture):
(WebCore::GraphicsContext3D::blendColor):
(WebCore::GraphicsContext3D::blendEquation):
(WebCore::GraphicsContext3D::blendEquationSeparate):
(WebCore::GraphicsContext3D::blendFunc):
(WebCore::GraphicsContext3D::blendFuncSeparate):
(WebCore::GraphicsContext3D::bufferData):
(WebCore::GraphicsContext3D::bufferSubData):
(WebCore::GraphicsContext3D::checkFramebufferStatus):
(WebCore::GraphicsContext3D::clearColor):
(WebCore::GraphicsContext3D::clear):
(WebCore::GraphicsContext3D::clearDepth):
(WebCore::GraphicsContext3D::clearStencil):
(WebCore::GraphicsContext3D::colorMask):
(WebCore::GraphicsContext3D::compileShader):
(WebCore::GraphicsContext3D::copyTexImage2D):
(WebCore::GraphicsContext3D::copyTexSubImage2D):
(WebCore::GraphicsContext3D::cullFace):
(WebCore::GraphicsContext3D::depthFunc):
(WebCore::GraphicsContext3D::depthMask):
(WebCore::GraphicsContext3D::depthRange):
(WebCore::GraphicsContext3D::detachShader):
(WebCore::GraphicsContext3D::disable):
(WebCore::GraphicsContext3D::disableVertexAttribArray):
(WebCore::GraphicsContext3D::drawArrays):
(WebCore::GraphicsContext3D::drawElements):
(WebCore::GraphicsContext3D::enable):
(WebCore::GraphicsContext3D::enableVertexAttribArray):
(WebCore::GraphicsContext3D::finish):
(WebCore::GraphicsContext3D::flush):
(WebCore::GraphicsContext3D::framebufferRenderbuffer):
(WebCore::GraphicsContext3D::framebufferTexture2D):
(WebCore::GraphicsContext3D::frontFace):
(WebCore::GraphicsContext3D::generateMipmap):
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore::GraphicsContext3D::getAttribLocation):
(WebCore::GraphicsContext3D::getError):
(WebCore::GraphicsContext3D::getString):
(WebCore::GraphicsContext3D::hint):
(WebCore::GraphicsContext3D::isBuffer):
(WebCore::GraphicsContext3D::isEnabled):
(WebCore::GraphicsContext3D::isFramebuffer):
(WebCore::GraphicsContext3D::isProgram):
(WebCore::GraphicsContext3D::isRenderbuffer):
(WebCore::GraphicsContext3D::isShader):
(WebCore::GraphicsContext3D::isTexture):
(WebCore::GraphicsContext3D::lineWidth):
(WebCore::GraphicsContext3D::linkProgram):
(WebCore::GraphicsContext3D::pixelStorei):
(WebCore::GraphicsContext3D::polygonOffset):
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::releaseShaderCompiler):
(WebCore::GraphicsContext3D::renderbufferStorage):
(WebCore::GraphicsContext3D::sampleCoverage):
(WebCore::GraphicsContext3D::scissor):
(WebCore::GraphicsContext3D::shaderSource):
(WebCore::GraphicsContext3D::stencilFunc):
(WebCore::GraphicsContext3D::stencilFuncSeparate):
(WebCore::GraphicsContext3D::stencilMask):
(WebCore::GraphicsContext3D::stencilMaskSeparate):
(WebCore::GraphicsContext3D::stencilOp):
(WebCore::GraphicsContext3D::stencilOpSeparate):
(WebCore::GraphicsContext3D::texParameterf):
(WebCore::GraphicsContext3D::texParameteri):
(WebCore::GraphicsContext3D::uniform1f):
(WebCore::GraphicsContext3D::uniform1fv):
(WebCore::GraphicsContext3D::uniform2f):
(WebCore::GraphicsContext3D::uniform2fv):
(WebCore::GraphicsContext3D::uniform3f):
(WebCore::GraphicsContext3D::uniform3fv):
(WebCore::GraphicsContext3D::uniform4f):
(WebCore::GraphicsContext3D::uniform4fv):
(WebCore::GraphicsContext3D::uniform1i):
(WebCore::GraphicsContext3D::uniform1iv):
(WebCore::GraphicsContext3D::uniform2i):
(WebCore::GraphicsContext3D::uniform2iv):
(WebCore::GraphicsContext3D::uniform3i):
(WebCore::GraphicsContext3D::uniform3iv):
(WebCore::GraphicsContext3D::uniform4i):
(WebCore::GraphicsContext3D::uniform4iv):
(WebCore::GraphicsContext3D::uniformMatrix2fv):
(WebCore::GraphicsContext3D::uniformMatrix3fv):
(WebCore::GraphicsContext3D::uniformMatrix4fv):
(WebCore::GraphicsContext3D::useProgram):
(WebCore::GraphicsContext3D::validateProgram):
(WebCore::GraphicsContext3D::vertexAttrib1f):
(WebCore::GraphicsContext3D::vertexAttrib1fv):
(WebCore::GraphicsContext3D::vertexAttrib2f):
(WebCore::GraphicsContext3D::vertexAttrib2fv):
(WebCore::GraphicsContext3D::vertexAttrib3f):
(WebCore::GraphicsContext3D::vertexAttrib3fv):
(WebCore::GraphicsContext3D::vertexAttrib4f):
(WebCore::GraphicsContext3D::vertexAttrib4fv):
(WebCore::GraphicsContext3D::vertexAttribPointer):
(WebCore::GraphicsContext3D::viewport):
(WebCore::GraphicsContext3D::getBooleanv):
(WebCore::GraphicsContext3D::getBufferParameteriv):
(WebCore::GraphicsContext3D::getFloatv):
(WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
(WebCore::GraphicsContext3D::getIntegerv):
(WebCore::GraphicsContext3D::getProgramiv):
(WebCore::GraphicsContext3D::getProgramInfoLog):
(WebCore::GraphicsContext3D::getRenderbufferParameteriv):
(WebCore::GraphicsContext3D::getShaderiv):
(WebCore::GraphicsContext3D::getShaderInfoLog):
(WebCore::GraphicsContext3D::getShaderSource):
(WebCore::GraphicsContext3D::getTexParameterfv):
(WebCore::GraphicsContext3D::getTexParameteriv):
(WebCore::GraphicsContext3D::getUniformfv):
(WebCore::GraphicsContext3D::getUniformiv):
(WebCore::GraphicsContext3D::getUniformLocation):
(WebCore::GraphicsContext3D::getVertexAttribfv):
(WebCore::GraphicsContext3D::getVertexAttribiv):
(WebCore::GraphicsContext3D::getVertexAttribOffset):
(WebCore::GraphicsContext3D::texImage2D):
(WebCore::GraphicsContext3D::texSubImage2D):
(WebCore::GraphicsContext3D::createBuffer):
(WebCore::GraphicsContext3D::createFramebuffer):
(WebCore::GraphicsContext3D::createProgram):
(WebCore::GraphicsContext3D::createRenderbuffer):
(WebCore::GraphicsContext3D::createShader):
(WebCore::GraphicsContext3D::createTexture):
(WebCore::GraphicsContext3D::deleteBuffer):
(WebCore::GraphicsContext3D::deleteFramebuffer):
(WebCore::GraphicsContext3D::deleteProgram):
(WebCore::GraphicsContext3D::deleteRenderbuffer):
(WebCore::GraphicsContext3D::deleteShader):
(WebCore::GraphicsContext3D::deleteTexture):
Source/WebKit/chromium:
- WebKit.gyp:
- src/Extensions3DChromium.cpp:
(WebCore::Extensions3DChromium::Extensions3DChromium):
(WebCore::Extensions3DChromium::supports):
(WebCore::Extensions3DChromium::ensureEnabled):
(WebCore::Extensions3DChromium::isEnabled):
(WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
(WebCore::Extensions3DChromium::blitFramebuffer):
(WebCore::Extensions3DChromium::renderbufferStorageMultisample):
(WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
(WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
(WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
(WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
(WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
(WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
(WebCore::Extensions3DChromium::paintFramebufferToCanvas):
- src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::initialize):
(WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
(WebCore::GraphicsContext3DPrivate::platformGraphicsContext3D):
(WebCore::GraphicsContext3DPrivate::platformTexture):
(WebCore::GraphicsContext3DPrivate::grContext):
(WebCore::GraphicsContext3DPrivate::prepareTexture):
(WebCore::GraphicsContext3DPrivate::platformLayer):
(WebCore::GraphicsContext3DPrivate::markContextChanged):
(WebCore::GraphicsContext3DPrivate::markLayerComposited):
(WebCore::GraphicsContext3DPrivate::layerComposited):
(WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
(WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
(WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
(WebCore::GraphicsContext3DPrivate::paintsIntoCanvasBuffer):
(WebCore::GraphicsContext3DPrivate::reshape):
(WebCore::GraphicsContext3DPrivate::getInternalFramebufferSize):
(WebCore::GraphicsContext3DPrivate::isContextLost):
(WebCore::GraphicsContext3DPrivate::isGLES2Compliant):
(WebCore::GraphicsContext3DPrivate::bindAttribLocation):
(WebCore::GraphicsContext3DPrivate::bufferData):
(WebCore::GraphicsContext3DPrivate::bufferSubData):
(WebCore::GraphicsContext3DPrivate::getActiveAttrib):
(WebCore::GraphicsContext3DPrivate::getActiveUniform):
(WebCore::GraphicsContext3DPrivate::getAttribLocation):
(WebCore::GraphicsContext3DPrivate::getContextAttributes):
(WebCore::GraphicsContext3DPrivate::getProgramInfoLog):
(WebCore::GraphicsContext3DPrivate::getShaderInfoLog):
(WebCore::GraphicsContext3DPrivate::getShaderSource):
(WebCore::GraphicsContext3DPrivate::getString):
(WebCore::GraphicsContext3DPrivate::getUniformLocation):
(WebCore::GraphicsContext3DPrivate::shaderSource):
(WebCore::GraphicsContext3DPrivate::texImage2D):
(WebCore::GraphicsContext3DPrivate::texSubImage2D):
(WebCore::GraphicsContext3DPrivate::uniform1fv):
(WebCore::GraphicsContext3DPrivate::uniform1iv):
(WebCore::GraphicsContext3DPrivate::uniform2fv):
(WebCore::GraphicsContext3DPrivate::uniform2iv):
(WebCore::GraphicsContext3DPrivate::uniform3fv):
(WebCore::GraphicsContext3DPrivate::uniform3iv):
(WebCore::GraphicsContext3DPrivate::uniform4fv):
(WebCore::GraphicsContext3DPrivate::uniform4iv):
(WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
(WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
(WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
(WebCore::GraphicsContext3DPrivate::getExtensions):
(WebCore::GraphicsContext3DPrivate::isResourceSafe):
(WebCore::GraphicsContext3DPrivate::initializeExtensions):
(WebCore::GraphicsContext3DPrivate::supportsExtension):
(WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
(WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::platformGraphicsContext3D):
(WebCore::GraphicsContext3D::platformTexture):
(WebCore::GraphicsContext3D::grContext):
(WebCore::GraphicsContext3D::prepareTexture):
(WebCore::GraphicsContext3D::getInternalFramebufferSize):
(WebCore::GraphicsContext3D::isResourceSafe):
(WebCore::GraphicsContext3D::platformLayer):
(WebCore::GraphicsContext3D::layerComposited):
(WebCore::GraphicsContext3D::paintsIntoCanvasBuffer):
(WebCore::GraphicsContext3DPrivate::setContextLostCallback):
(WebCore::GraphicsContext3D::isGLES2Compliant):
(WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
- src/GraphicsContext3DInternal.h: Removed.
- src/GraphicsContext3DPrivate.h: Copied from Source/WebKit/chromium/src/GraphicsContext3DInternal.h.
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::graphicsContext3D):
- 9:35 AM Changeset in webkit [94082] by
-
- 2 edits in trunk/Source/WebCore
Remove webcore_bindings (including DerivedSources##.cpp) from the critical path
https://bugs.webkit.org/show_bug.cgi?id=67168
Reviewed by Adam Barth.
webcore_bindings_sources generates various files (e.g., CSSPropertyNames,
DerivedSources, HTMLNames, etc). webcore_bindings depends on webcore_bindings_sources
and compiles these files. Previously, the other webcore libs (webcore_svg,
webcore_html, webcore_remaining, etc) depended on webcore_bindings. This changes the
dependency on webocre_bindings_sources so the build can parallelize the compile of
webcore_bindings and the other webcore_* libs.
No new tests, just changing the build dependencies. Manually copy over the
include dirs that we used to get from webcore_bindings' direct_dependent_settings.
- WebCore.gyp/WebCore.gyp:
- 9:35 AM Changeset in webkit [94081] by
-
- 2 edits in trunk/LayoutTests
[Qt][WK2] svg/animations/animate-end-attribute.html r93949
https://bugs.webkit.org/show_bug.cgi?id=67130
Skip a svg test on WebKit2 that rely on unimplemented test harness API.
Patch by Young Han Lee <joybro@company100.net> on 2011-08-30
Reviewed by Noam Rosenthal.
- platform/wk2/Skipped:
- 9:10 AM Changeset in webkit [94080] by
-
- 27 edits in trunk/Source
The unused ScrollView* argument can and should be removed from
scrollRectIntoView.
https://bugs.webkit.org/show_bug.cgi?id=67117
Patch by Kaustubh Atrawalkar <Kaustubh Atrawalkar> on 2011-08-30
Reviewed by Darin Adler.
Source/WebCore:
- loader/EmptyClients.h:
(WebCore::EmptyChromeClient::scrollRectIntoView):
- page/Chrome.cpp:
(WebCore::Chrome::scrollRectIntoView):
- page/ChromeClient.h:
(WebCore::ChromeClient::scrollRectIntoView):
Source/WebKit/chromium:
- src/WebPopupMenuImpl.cpp:
(WebKit::WebPopupMenuImpl::scrollRectIntoView):
- src/WebPopupMenuImpl.h:
Source/WebKit/efl:
- WebCoreSupport/ChromeClientEfl.h:
(WebCore::ChromeClientEfl::scrollRectIntoView):
Source/WebKit/gtk:
- WebCoreSupport/ChromeClientGtk.h:
(WebKit::ChromeClient::scrollRectIntoView):
Source/WebKit/haiku:
- WebCoreSupport/ChromeClientHaiku.cpp:
(WebCore::ChromeClientHaiku::scrollRectIntoView):
Source/WebKit/mac:
- WebCoreSupport/WebChromeClient.h:
- WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::scrollRectIntoView):
Source/WebKit/qt:
- WebCoreSupport/ChromeClientQt.h:
(WebCore::ChromeClientQt::scrollRectIntoView):
Source/WebKit/win:
- WebCoreSupport/WebChromeClient.h:
(WebChromeClient::scrollRectIntoView):
Source/WebKit/wince:
- WebCoreSupport/ChromeClientWinCE.h:
Source/WebKit/wx:
- WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::scrollRectIntoView):
Source/WebKit2:
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::scrollRectIntoView):
- WebProcess/WebCoreSupport/WebChromeClient.h:
- 9:00 AM Changeset in webkit [94079] by
-
- 6 edits in trunk
Update registerProtocolHandler scheme whitelist to match spec
https://bugs.webkit.org/show_bug.cgi?id=67104
Patch by Ben Wells <benwells@chromium.org> on 2011-08-30
Reviewed by Darin Adler.
Source/WebCore:
- page/Navigator.cpp:
(WebCore::initProtocolHandlerWhitelist):
LayoutTests:
- fast/dom/register-protocol-handler-expected.txt:
- fast/dom/register-protocol-handler.html:
- platform/chromium/fast/dom/register-protocol-handler-expected.txt:
- 8:28 AM Changeset in webkit [94078] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Inspected page sometimes crashes in InspectorResourceAgent::didFailLoading
https://bugs.webkit.org/show_bug.cgi?id=67193
Reviewed by Pavel Feldman.
- inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::didFailLoading):
- 8:16 AM Changeset in webkit [94077] by
-
- 2 edits3 deletes in trunk/LayoutTests
Unreviewed, rolling out r94076.
http://trac.webkit.org/changeset/94076
https://bugs.webkit.org/show_bug.cgi?id=67201
Results will be different on each platform (Requested by
apavlov on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-30
- fast/multicol/huge-column-count-expected.png: Removed.
- fast/multicol/inherit-column-values-expected.png: Removed.
- fast/multicol/initial-column-values-expected.png: Removed.
- platform/chromium/test_expectations.txt:
- 7:41 AM Changeset in webkit [94076] by
-
- 2 edits3 adds in trunk/LayoutTests
Unreviewed, add missing multicol test baselines.
- fast/multicol/huge-column-count-expected.png: Added.
- fast/multicol/inherit-column-values-expected.png: Added.
- fast/multicol/initial-column-values-expected.png: Added.
- platform/chromium/test_expectations.txt: Remove huge-column-count-expected.png MISSING expectation.
- 6:57 AM Changeset in webkit [94075] by
-
- 4 edits in trunk/Source
[Qt] Do not unconditionally use pkg-config in .pro files
https://bugs.webkit.org/show_bug.cgi?id=67055
Reviewed by Andreas Kling.
Original patch from Rohan McGovern <rohan.mcgovern@nokia.com>
Using the first pkg-config in PATH is prone to errors when cross
compiling inside the Qt repository (using Qt's build-system).
This patch protect calls for pkg-config with
!contains(QT_CONFIG, no-pkg-config). no-pkg-config is added to
QT_CONFIG by Qt's 'configure' when cross-compiling on systems
without pkg-config.
The respective change in Qt's configure has been submited already.
No new tests as this is just a build change.
Source/JavaScriptCore:
- wtf/wtf.pri: protect pkg-config calls
Source/WebCore:
- features.pri: protect pkg-config calls
- 6:16 AM Changeset in webkit [94074] by
-
- 3 edits in trunk/Source/WebCore
HTMLImageElement: Don't cache "ismap" and "usemap" attributes.
https://bugs.webkit.org/show_bug.cgi?id=66784
Patch by Andreas Kling <kling@webkit.org> on 2011-08-30
Reviewed by Darin Adler.
- html/HTMLImageElement.h: Remove the "ismap" and "usemap" members,
shrinking HTMLImageElement by 16 bytes (on 64-bit.)
- html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::HTMLImageElement):
(WebCore::HTMLImageElement::parseMappedAttribute): Most of the logic
for "ismap" and "usemap" moved into isServerMap().
(WebCore::HTMLImageElement::isServerMap): Out-of-lined and implemented
using fast*Attribute().
- 5:39 AM Changeset in webkit [94073] by
-
- 4 edits2 adds in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt-4.8/fast/text/complex-preferred-logical-widths-expected.png: Added.
- platform/qt-4.8/fast/text/complex-preferred-logical-widths-expected.txt: Added.
- platform/qt-arm/Skipped:
- platform/qt/Skipped:
- platform/qt/test_expectations.txt:
- 5:27 AM Changeset in webkit [94072] by
-
- 8 edits10 adds in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt/Skipped: Unskip now passing tests.
- platform/qt/css2.1/t0602-c13-inheritance-00-e-expected.png:
- platform/qt/css2.1/t0602-c13-inheritance-00-e-expected.txt:
- platform/qt/fast/block/float/floats-and-text-indent-expected.png: Added.
- platform/qt/fast/block/float/floats-and-text-indent-expected.txt: Added.
- platform/qt/fast/block/float/floats-and-text-indent-rl-expected.png: Added.
- platform/qt/fast/block/float/floats-and-text-indent-rl-expected.txt: Added.
- platform/qt/fast/borders/border-fit-2-expected.png: Added.
- platform/qt/fast/borders/border-fit-2-expected.txt: Added.
- platform/qt/fast/forms/input-appearance-number-rtl-expected.png: Added.
- platform/qt/fast/forms/input-appearance-number-rtl-expected.txt:
- platform/qt/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Added.
- platform/qt/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt:
- platform/qt/fast/forms/input-appearance-spinbutton-layer-expected.png: Added.
- platform/qt/fast/forms/input-appearance-spinbutton-layer-expected.txt:
- platform/qt/fast/forms/input-appearance-spinbutton-visibility-expected.png: Added.
- platform/qt/fast/forms/input-appearance-spinbutton-visibility-expected.txt:
- 5:18 AM Changeset in webkit [94071] by
-
- 4 edits1 delete in trunk/LayoutTests
REGRESSION(93978): inspector/styles/styles-computed-trace.html fails
https://bugs.webkit.org/show_bug.cgi?id=67185
Reviewed by Yury Semikhatsky.
- inspector/styles/styles-computed-trace-expected.txt:
- inspector/styles/styles-computed-trace.html:
- platform/chromium-win/inspector/styles/styles-computed-trace-expected.txt: Removed.
- platform/chromium/test_expectations.txt:
- 5:14 AM Changeset in webkit [94070] by
-
- 3 edits in trunk/LayoutTests
2011-08-30 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Update test expectations for userscripts/window-onerror-for-isolated-world-1.html
- platform/chromium/userscripts/window-onerror-for-isolated-world-1-expected.txt:
- userscripts/window-onerror-for-isolated-world-1-expected.txt:
- 5:04 AM Changeset in webkit [94069] by
-
- 2 edits in trunk/LayoutTests
[Qt] 3 test started crashing somewhere between r93878-r93935
https://bugs.webkit.org/show_bug.cgi?id=67197
Unreviewed gardening.
Patch by Oliver Varga <voliver@inf.u-szeged.hu> on 2011-08-30
- platform/qt/Skipped:
- 4:23 AM Changeset in webkit [94068] by
-
- 7 edits in trunk
lastChangeWasUserEdit continues to return true when innerText or textContent is modified
https://bugs.webkit.org/show_bug.cgi?id=67183
Reviewed by Kent Tamura.
Source/WebCore:
Fixed the bug by calling setLastChangeWasNotUserEdit in HTMLTextAreaElement::childrenChanged.
Also got rid of HTMLTextFormControlElement::subtreeHasChanged because it was a needless indirection.
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::subtreeHasChanged): No longer calls HTMLTextFormControlElement::subtreeHasChanged.
- html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::childrenChanged): Calls setLastChangeWasNotUserEdit.
(WebCore::HTMLTextAreaElement::subtreeHasChanged): No longer calls HTMLTextFormControlElement::subtreeHasChanged.
- html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::defaultEventHandler): Merged subtreeHasChanged.
(WebCore::HTMLTextFormControlElement::setInnerTextValue): No longer set m_lastChangeWasUserEdit to false
since this is now done when renderers are set dirty.
- html/HTMLTextFormControlElement.h: Made subtreeHasChanged a pure virtual function.
LayoutTests:
Two test cases now pass.
- fast/forms/textfield-lastchange-was-useredit-expected.txt:
- 3:57 AM Changeset in webkit [94067] by
-
- 5 edits in trunk
Web Inspector: wrong script display name when there is a slash in its URL query parameters
https://bugs.webkit.org/show_bug.cgi?id=67120
Source/WebCore:
Fixed folder name computation in ScriptsPanel. Now search query is ignored
when searching for the script folder name.
Reviewed by Pavel Feldman.
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._folderAndDisplayNameForScriptURL):
LayoutTests:
Reviewed by Pavel Feldman.
- inspector/debugger/scripts-sorting.html:
- platform/chromium/inspector/debugger/scripts-sorting-expected.txt:
- 3:54 AM Changeset in webkit [94066] by
-
- 6 edits in trunk/LayoutTests
2011-08-30 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Update window.onerror tests after r94061 to match new semantics
of window.onerror return value.
- fast/workers/resources/shared-worker-script-error.js:
- http/tests/security/cross-origin-script-window-onerror-redirected.html:
- http/tests/security/cross-origin-script-window-onerror.html:
- userscripts/window-onerror-for-isolated-world-1.html:
- userscripts/window-onerror-for-isolated-world-2.html:
- 3:25 AM Changeset in webkit [94065] by
-
- 1 edit1 add in trunk/LayoutTests
2011-08-30 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Update Chromium test expectations for new test.
- platform/chromium/fast/events/window-onerror13-expected.txt: Added.
- 3:05 AM Changeset in webkit [94064] by
-
- 22 edits in trunk
Unreviewed, rolling out r94055 and r94057.
http://trac.webkit.org/changeset/94055
http://trac.webkit.org/changeset/94057
https://bugs.webkit.org/show_bug.cgi?id=67191
Many failures on Mac 10.5 (Requested by toyoshim on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-30
Tools:
- Scripts/webkitpy/thirdparty/init.py:
LayoutTests:
- http/tests/websocket/tests/hixie76/bad-handshake-crash_wsh.py:
- http/tests/websocket/tests/hixie76/frame-length-longer-than-buffer_wsh.py:
- http/tests/websocket/tests/hixie76/frame-length-overflow_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-maxlength_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-no-connection-header_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-no-cr_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-no-upgrade-header_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-prepended-null_wsh.py:
- http/tests/websocket/tests/hixie76/long-invalid-header_wsh.py:
- http/tests/websocket/tests/hybi/bad-handshake-crash_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-extensions-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-maxlength_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-cr_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header_wsh.py:
- http/tests/websocket/tests/hybi/long-invalid-header_wsh.py:
- http/tests/websocket/tests/hybi/masked-frames_wsh.py:
- 2:39 AM Changeset in webkit [94063] by
-
- 10 edits in trunk/Source/WebKit/efl
[EFL] Add const modifier to passed objects where it's recommended
https://bugs.webkit.org/show_bug.cgi?id=67110
Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2011-08-30
Reviewed by Kent Tamura.
Add const modifier to passed Evas_Object if the function doesn't change its
property (the most cases to the getter functions).
- ewk/ewk_contextmenu.cpp:
(ewk_context_menu_item_list_get):
(ewk_context_menu_item_type_get):
(ewk_context_menu_item_action_get):
(ewk_context_menu_item_title_get):
(ewk_context_menu_item_checked_get):
(ewk_context_menu_item_enabled_get):
(ewk_context_menu_custom_get):
(ewk_context_menu_show):
- ewk/ewk_contextmenu.h:
- ewk/ewk_frame.cpp:
(ewk_frame_text_matches_nth_pos_get):
(ewk_frame_text_selection_type_get):
(ewk_frame_source_get):
(ewk_frame_resources_location_get):
- ewk/ewk_frame.h:
- ewk/ewk_private.h:
- ewk/ewk_view.cpp:
(_ewk_view_viewport_attributes_compute):
(ewk_view_fixed_layout_size_get):
(ewk_view_theme_get):
(ewk_view_imh_get):
(ewk_view_setting_encoding_detector_get):
(ewk_view_setting_enable_developer_extras_get):
(ewk_view_setting_spatial_navigation_get):
(ewk_view_setting_local_storage_get):
(ewk_view_setting_page_cache_get):
(ewk_view_viewport_attributes_get):
(ewk_view_zoom_range_min_get):
(ewk_view_zoom_range_max_get):
(ewk_view_user_scalable_get):
(ewk_view_device_pixel_ratio_get):
(ewk_view_page_rect_get):
(ewk_view_mode_get):
- ewk/ewk_view.h:
- ewk/ewk_window_features.cpp:
(ewk_window_features_bool_property_get):
(ewk_window_features_int_property_get):
- ewk/ewk_window_features.h:
- 2:36 AM Changeset in webkit [94062] by
-
- 2 edits in trunk/LayoutTests
[Qt] Qt Linux Release bot has four failed tests.
They are skipped.
Unreviewed gardening.
- platform/qt/Skipped:
- 2:28 AM Changeset in webkit [94061] by
-
- 18 edits1 copy1 add in trunk
Return value of window.onerror has inverted semantics
https://bugs.webkit.org/show_bug.cgi?id=67119
Source/WebCore:
Error is now treated as handled only when window.onerror function returns true.
Reviewed by Darin Adler.
Test: fast/events/window-onerror13.html
- bindings/js/JSErrorHandler.cpp:
(WebCore::JSErrorHandler::handleEvent):
- bindings/v8/V8WindowErrorHandler.cpp:
(WebCore::V8WindowErrorHandler::callListenerFunction):
- bindings/v8/V8WorkerContextErrorHandler.cpp:
(WebCore::V8WorkerContextErrorHandler::callListenerFunction):
LayoutTests:
Reviewed by Darin Adler.
- fast/events/window-onerror1.html:
- fast/events/window-onerror11.html:
- fast/events/window-onerror12.html:
- fast/events/window-onerror13-expected.txt: Added.
- fast/events/window-onerror13.html: Copied from LayoutTests/fast/events/window-onerror11.html.
- fast/events/window-onerror2.html:
- fast/events/window-onerror3.html:
- fast/events/window-onerror4.html:
- fast/events/window-onerror5.html:
- fast/events/window-onerror6.html:
- fast/events/window-onerror8.html:
- fast/events/window-onerror9.html:
- fast/workers/resources/worker-script-error-bubbled.js:
(onerror):
- fast/workers/resources/worker-script-error-handled.js:
(onerror):
- http/tests/security/window-onerror-exception-in-iframe.html:
- 2:09 AM Changeset in webkit [94060] by
-
- 3 edits in trunk/Tools
Chromium Android should not be a core builder
https://bugs.webkit.org/show_bug.cgi?id=67184
Reviewed by Ryosuke Niwa.
This bot hasn't been consistently green yet because it has never actually run!
- Scripts/webkitpy/common/net/buildbot/buildbot.py:
- Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
- 1:07 AM Changeset in webkit [94059] by
-
- 1 edit in branches/chromium/835/Source/WebCore/rendering/RenderFileUploadControl.cpp
Merge 94045 - REGRESSION(r88115): Disabling a file upload control causes an endless busyloop.
https://bugs.webkit.org/show_bug.cgi?id=66659
Reviewed by Darin Adler.
Source/WebCore:
Test: fast/forms/file/disabling-file-busy-loop.html
- rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::updateFromElement):
Don't call setDisabled() if the disabled status is not changed.
setDisabled() causes styleRecalc(), and
HTMLFormControlElement::styleRecalc() causes
updateFromElement(). updateFromElement() should not call
setDisabled() again.
LayoutTests:
- fast/forms/file/disabling-file-busy-loop-expected.txt: Added.
- fast/forms/file/disabling-file-busy-loop.html: Added.
TBR=tkent@chromium.org
BUG=94710
Review URL: http://codereview.chromium.org/7792032
- 1:04 AM Changeset in webkit [94058] by
-
- 1 edit2 copies in branches/chromium/835
Merge 92809 - Crash when clicking an SVG <a> link to the local document
https://bugs.webkit.org/show_bug.cgi?id=66019
<rdar://problem/9933311>
Reviewed by Rob Buis.
Source/WebCore:
Check if the target element of an internal link is valid before
making use of it.
Test: svg/custom/click-internal-anchor-with-use-crash.xhtml
- svg/SVGAElement.cpp:
(WebCore::SVGAElement::defaultEventHandler):
LayoutTests:
Add a test which programmatically clicks a link referring to "#",
and should crash between r89745 and this commit.
- svg/custom/click-internal-anchor-with-use-crash-expected.txt: Added.
- svg/custom/click-internal-anchor-with-use-crash.xhtml: Added.
TBR=timothy_horton@apple.com
Review URL: http://codereview.chromium.org/7807001
- 1:02 AM Changeset in webkit [94057] by
-
- 20 edits in trunk/LayoutTests
[WebSocket] Prevent unnecessary pywebsocket warnings on layout tests.
https://bugs.webkit.org/show_bug.cgi?id=67182
Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-08-30
Reviewed by Kent Tamura.
Some layout tests for WebSocket raised Exception to prevent unnecessary
pywebsocket warning. But it doesn't work any more on pywebsocket 0.6b4.
Now pywebsocket support AbortedByUserException to prevent warning.
This change make raise AbortedByUserException instead of Exception.
handshake-fail-by-prepended-null_wsh.py didn't use Exception, but
expected abnormal closure on sending response could raise unexpected
Exception by chance. This change also takes care of it.
- http/tests/websocket/tests/hixie76/bad-handshake-crash_wsh.py:
- http/tests/websocket/tests/hixie76/frame-length-longer-than-buffer_wsh.py:
- http/tests/websocket/tests/hixie76/frame-length-overflow_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-maxlength_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-no-connection-header_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-no-cr_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-no-upgrade-header_wsh.py:
- http/tests/websocket/tests/hixie76/handshake-fail-by-prepended-null_wsh.py:
- http/tests/websocket/tests/hixie76/long-invalid-header_wsh.py:
- http/tests/websocket/tests/hybi/bad-handshake-crash_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-extensions-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-maxlength_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-cr_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header_wsh.py:
- http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header_wsh.py:
- http/tests/websocket/tests/hybi/long-invalid-header_wsh.py:
- http/tests/websocket/tests/hybi/masked-frames_wsh.py:
Use AbortedByUserException instead of Exception.
- 12:54 AM Changeset in webkit [94056] by
-
- 2 edits in trunk
Cleanup after r94050 and r94054.
- Source/autotools/symbols.filter:
- 12:47 AM Changeset in webkit [94055] by
-
- 2 edits in trunk/Tools
[WebSocket] update pywebsocket to 0.6b4.
https://bugs.webkit.org/show_bug.cgi?id=66924
Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-08-30
Reviewed by Kent Tamura.
pywebsocket 0.6b2 supported minimum features of Hybi-08 specification.
Now, pywebsocket 0.6b4 supports full features of Hybi-10 specification.
0.6b3 or later supports a closing handshake handler and it is useful to
verify client's closing handshake implementation.
0.6b4 supports AbortedByUserException. It is useful to eliminate
unnecessary server warning messages on intended abnormal closures.
- Scripts/webkitpy/thirdparty/init.py:
Update download URL and directory path.
- 12:43 AM Changeset in webkit [94054] by
-
- 2 edits in trunk
Unreviewed, another attempt to fix GTK build after r94038.
- Source/autotools/symbols.filter:
Aug 29, 2011:
- 11:40 PM Changeset in webkit [94053] by
-
- 2 edits in trunk/Source/WebCore
Touch Internals.cpp in an attempt to fix GTK+ build.
- testing/Internals.cpp:
- 11:37 PM Changeset in webkit [94052] by
-
- 9 edits2 deletes in trunk/LayoutTests
Fix two layout tests which fails on Qt port with latest pywebsocket.
https://bugs.webkit.org/show_bug.cgi?id=66929
Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-08-29
Reviewed by Kent Tamura.
hanging-handshake_wsh.py read socket to hang in opening handshake.
Then client initiated closing handshakes or abnormal closures caused
exception or resulted in http error response on hybi-10 compliant new
pywebsocket. Because tests finished at closure, it depends on timing
whether tests detects the error response. Actually, two tests failed on
Qt port by chance.
Essentially, hangings is unnecessary because open event must be queued
and WebSocket's readyState could not be changed to OPEN until the next
event loop is executed. That's why we can use echo_wsh.py instead of
hanging-handshake_wsh.py safely.
close-unref-websocket tests call close() before GC. These tests expect
GC cause close event. But close() itself also queues close event.
These close() are redandant. If GC doesn't cause close event, these
tests can pass by close event that close() queues. This change also
remove these redandant close() calls.
- http/tests/websocket/tests/hixie76/close-before-open.html:
Use echo_wsh.py instead of hanging-handshake_wsh.py.
- http/tests/websocket/tests/hixie76/close-unref-websocket-expected.txt:
- http/tests/websocket/tests/hixie76/close-unref-websocket.html:
Used echo_wsh.py, remove ws.close() and fix expectation.
- http/tests/websocket/tests/hixie76/hanging-handshake_wsh.py: Removed.
- http/tests/websocket/tests/hybi/close-before-open.html:
Use echo_wsh.py instead of hanging-handshake_wsh.py.
- http/tests/websocket/tests/hybi/close-unref-websocket-expected.txt:
- http/tests/websocket/tests/hybi/close-unref-websocket.html:
Used echo_wsh.py, remove ws.close() and fix expectation.
- http/tests/websocket/tests/hybi/hanging-handshake_wsh.py: Removed.
- http/tests/websocket/tests/hybi/close-code-and-reason.html:
- http/tests/websocket/tests/hybi/workers/resources/close-code-and-reason.js:
Use echo_wsh.py instead of hanging-handshake_wsh.py.
- 11:29 PM Changeset in webkit [94051] by
-
- 3 edits in trunk/Source/WebKit2
Another Windows build fix after r94047.
- win/WebKit2.def:
- win/WebKit2CFLite.def:
- 11:19 PM Changeset in webkit [94050] by
-
- 2 edits in trunk
Build fix attempt after r94038.
- Source/autotools/symbols.filter:
- 11:07 PM Changeset in webkit [94049] by
-
- 2 edits in trunk/Source/WebKit/win
Move setInnerTextValue from RenderTextControl to HTMLTextFormControlElement
https://bugs.webkit.org/show_bug.cgi?id=67152
Reviewed by Darin Adler.
Updated call sites of lastChangeWasUserEdit since it's moved from RenderTextControl
to HTMLTextFormControlElement.
- DOMHTMLClasses.cpp:
(DOMHTMLInputElement::isUserEdited):
(DOMHTMLTextAreaElement::isUserEdited):
- 10:55 PM Changeset in webkit [94048] by
-
- 2 edits in trunk/LayoutTests
[chromium] Add exception due to missing results for r94037.
- platform/chromium/test_expectations.txt:
- 10:51 PM Changeset in webkit [94047] by
-
- 12 edits in trunk/Source/WebCore
Move setInnerTextValue from RenderTextControl to HTMLTextFormControlElement
https://bugs.webkit.org/show_bug.cgi?id=67152
Reviewed by Darin Adler.
Moved setInnerTextValue from RenderTextControl to HTMLTextFormControlElement.
Also moved m_lastChangeWasUserEdit from RenderTextControl to HTMLTextFormControlElement
and related inline functions from RenderTextControl to HTMLTextFormControlElement.
Because m_lastChangeWasUserEdit is no longer reset when RenderTextControl is recreated,
added explicit calls to setLastChangeWasNotUserEdit in setValue functions of HTMLInputElement
and HTMLTextAreaElement.
This patch also fixes the bug that lastChangeWasUserEdit() incorrectly returns false
when input or textarea don't have renderer (e.g. invisible).
Unfortunately, there is no way to test this behavioral change from layout tests.
- WebCore.exp.in: Exports lastChangeWasUserEdit in HTMLTextFormControlElement instead of
that of HTMLInputElement and HTMLTextAreaElement.
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::setValue): Explicitly calls setLastChangeWasNotUserEdit.
- html/HTMLInputElement.h:
- html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::setValueCommon): Ditto.
- html/HTMLTextAreaElement.h:
- html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::HTMLTextFormControlElement):
(WebCore::HTMLTextFormControlElement::subtreeHasChanged): Sets m_lastChangeWasUserEdit true
as it used to do via respondToChangeByUser.
(WebCore::HTMLTextFormControlElement::lastChangeWasUserEdit): Moved from HTMLInputElement
and HTMLTextAreaElement.
(WebCore::HTMLTextFormControlElement::setInnerTextValue): Moved from RenderTextControl.
- html/HTMLTextFormControlElement.h:
(WebCore::HTMLTextFormControlElement::setLastChangeWasNotUserEdit): Added.
- rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::RenderTextControl): No longer initializes m_lastChangeWasUserEdit.
- rendering/RenderTextControl.h:
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::updateFromElement): Calls setInnerTextValue.
- rendering/RenderTextControlMultiLine.cpp:
(WebCore::RenderTextControlMultiLine::updateFromElement): Ditto.
- 10:27 PM Changeset in webkit [94046] by
-
- 2 edits in trunk/LayoutTests
Unreviewed marking skip.
- platform/win/Skipped: Skipped editing/spelling/spelling-insert-html.html
- 10:22 PM Changeset in webkit [94045] by
-
- 3 edits3 adds in trunk
REGRESSION(r88115): Disabling a file upload control causes an endless busyloop.
https://bugs.webkit.org/show_bug.cgi?id=66659
Reviewed by Darin Adler.
Source/WebCore:
Test: fast/forms/file/disabling-file-busy-loop.html
- rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::updateFromElement):
Don't call setDisabled() if the disabled status is not changed.
setDisabled() causes styleRecalc(), and
HTMLFormControlElement::styleRecalc() causes
updateFromElement(). updateFromElement() should not call
setDisabled() again.
LayoutTests:
- fast/forms/file/disabling-file-busy-loop-expected.txt: Added.
- fast/forms/file/disabling-file-busy-loop.html: Added.
- 10:01 PM Changeset in webkit [94044] by
-
- 4 edits in trunk/Source
Add HAVE(VASPRINTF) macro to test for vasprintf() support
https://bugs.webkit.org/show_bug.cgi?id=67156
Reviewed by Darin Adler.
Source/JavaScriptCore:
Encapsulate testing of vasprintf() support in a HAVE macro
instead of hardcoding the list of supported/unsupported
compilers at the call site.
- wtf/Platform.h:
Source/WebCore:
- xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::error): Modified to use HAVE(VASPRINTF).
- 9:57 PM Changeset in webkit [94043] by
-
- 2 edits in trunk/LayoutTests
[chromium] Minor update for test that is timing out.
- platform/chromium/test_expectations.txt:
- 9:51 PM Changeset in webkit [94042] by
-
- 2 edits1 copy1 move2 adds in trunk/LayoutTests
[chromium] Misc test expectations updates.
- platform/chromium-mac/fast/files/create-blob-url-crash-expected.txt: Copied from LayoutTests/platform/qt/fast/files/create-blob-url-crash-expected.txt.
- platform/chromium/fast/files/create-blob-url-crash-expected.txt: Renamed from LayoutTests/platform/qt/fast/files/create-blob-url-crash-expected.txt.
Added due to it being different from normal OSX result.
- platform/chromium/test_expectations.txt: Changes due to expectation update for media-document-audio-repaint.html leading to only an image mismatch and a test that is a slow on OS X as well as Linux and Windows.
- 8:38 PM Changeset in webkit [94041] by
-
- 14 edits10 adds in trunk
WebSocket: Receive binary message as Blob
https://bugs.webkit.org/show_bug.cgi?id=67115
Reviewed by Kent Tamura.
Source/WebCore:
Make WebSocketChannel be able to receive WebSocket binary messages and deliver them via
didReceiveBinaryData() callback of WebSocketChannelClient.
Tests: http/tests/websocket/tests/hybi/fragmented-binary-frames.html
http/tests/websocket/tests/hybi/receive-blob.html
http/tests/websocket/tests/hybi/workers/receive-blob.html
- bindings/js/JSMessageEventCustom.cpp:
(WebCore::JSMessageEvent::data): Convert Blob to JSValue.
- bindings/v8/custom/V8MessageEventCustom.cpp:
(WebCore::V8MessageEvent::dataAccessorGetter): Convert Blob to v8::Value.
- dom/MessageEvent.cpp:
(WebCore::MessageEvent::MessageEvent):
- dom/MessageEvent.h:
Added DataTypeBlob and Blob-related functions.
(WebCore::MessageEvent::create):
(WebCore::MessageEvent::dataAsBlob):
- websockets/ThreadableWebSocketChannelClientWrapper.cpp:
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData):
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryDataCallback):
- websockets/ThreadableWebSocketChannelClientWrapper.h:
- websockets/WebSocket.cpp:
(WebCore::WebSocket::didReceiveBinaryData):
If binaryType attribute is "blob", construct a Blob using BlobData filled with the given
binary message.
- websockets/WebSocket.h:
- websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::processFrame):
Create continuousFrameData as OwnPtr<> rather than stack-allocated value so we can easily
pass it to didReceiveBinaryData() callback.
Save the content of a fragmented message even if it is a binary opcode.
- websockets/WebSocketChannelClient.h:
(WebCore::WebSocketChannelClient::didReceiveBinaryData):
- websockets/WorkerThreadableWebSocketChannel.cpp:
(WebCore::workerContextDidReceiveBinaryData):
(WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData):
Pass binaryData as PassOwnPtr<Vector<char> > to deliver the value efficiently (without
copying the content) across threads.
- websockets/WorkerThreadableWebSocketChannel.h:
LayoutTests:
- http/tests/websocket/tests/hybi/binary-frames_wsh.py: Added. Used from receive-blob.html.
- http/tests/websocket/tests/hybi/fragmented-binary-frames-expected.txt: Added.
- http/tests/websocket/tests/hybi/fragmented-binary-frames.html:
Added. The content of this test is almost identical to receive-blob.html.
- http/tests/websocket/tests/hybi/fragmented-binary-frames_wsh.py: Added.
- http/tests/websocket/tests/hybi/receive-blob-expected.txt: Added.
- http/tests/websocket/tests/hybi/receive-blob.html:
Added. It is a bit complicated to validate the content of a Blob, because a Blob must be read
asynchronously. FileReader is used to read a blob as an ArrayBuffer, each byte of which is
compared with the expected result.
- http/tests/websocket/tests/hybi/workers/receive-blob-expected.txt: Added.
- http/tests/websocket/tests/hybi/workers/receive-blob.html: Added.
- http/tests/websocket/tests/hybi/workers/resources/binary-frames_wsh.py:
Added. Same as above binary-frames_wsh.py.
- http/tests/websocket/tests/hybi/workers/resources/receive-blob.js: Added.
- 7:29 PM Changeset in webkit [94040] by
-
- 3 edits in trunk/Source/WebKit2
Export more symbols for r94038.
- win/WebKit2.def:
- win/WebKit2CFLite.def:
- 7:19 PM Changeset in webkit [94039] by
-
- 3 edits in trunk/Source/WebKit2
Windows build fix for r94038.
- win/WebKit2.def:
- win/WebKit2CFLite.def:
- 7:03 PM Changeset in webkit [94038] by
-
- 5 edits2 adds in trunk
Add a test for lastChangeWasUserEdit in HTMLInputElement and HTMLTextAreaElement
https://bugs.webkit.org/show_bug.cgi?id=67173
Reviewed by Darin Adler.
Source/WebCore:
Exposed HTMLInputElement::lastChangeWasUserEdit and HTMLTextAreaElement::lastChangeWasUserEdit
via internals.wasLastChangeUserEdit(Element*, ExceptionCode&). The first argument must be
an input element or a textarea element lastChangeWasUserEdit is called upon.
Test: fast/forms/textfield-lastchange-was-useredit.html
- testing/Internals.cpp:
(WebCore::Internals::wasLastChangeUserEdit):
- testing/Internals.h:
- testing/Internals.idl:
LayoutTests:
Added some basic test for HTMLInputElement::lastChangeWasUserEdit and
HTMLTextAreaElement::lastChangeWasUserEdit.
- fast/forms/textfield-lastchange-was-useredit-expected.txt: Added.
- fast/forms/textfield-lastchange-was-useredit.html: Added.
- 6:49 PM Changeset in webkit [94037] by
-
- 3 edits4 adds in trunk
Implement CSSPropertyWebkitColumns in CSSStyleApplyProperty.
https://bugs.webkit.org/show_bug.cgi?id=67106
Reviewed by Darin Adler.
Tests:
LayoutTests/fast/multicol/inherit-column-values.html
LayoutTests/fast/multicol/initial-column-values.html
- css/CSSStyleApplyProperty.cpp:
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
Initialize handler for CSSPropertyWebkitColumns.
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
Remove existing implementation for CSSPropertyWebkitColumns.
- 6:43 PM Changeset in webkit [94036] by
-
- 4 edits in trunk/Tools
sheriffbot "usage" help statements are wrong
https://bugs.webkit.org/show_bug.cgi?id=67170
Patch by Tom Zakrajsek <tomz@codeaurora.org> on 2011-08-29
Reviewed by Adam Barth.
- Scripts/webkitpy/tool/bot/irc_command.py:
- Scripts/webkitpy/tool/bot/irc_command_unittest.py:
- Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
- 6:43 PM Changeset in webkit [94035] by
-
- 27 edits in trunk/Source
Unzip initialization lists and constructors in JSCell hierarchy (3/7)
https://bugs.webkit.org/show_bug.cgi?id=67064
Patch by Mark Hahnenberg <mhahnenberg@apple.com> on 2011-08-29
Reviewed by Darin Adler.
Source/JavaScriptCore:
Completed the third level of the refactoring to add finishCreation()
methods to all classes within the JSCell hierarchy with non-trivial
constructor bodies.
This primarily consists of pushing the calls to finishCreation() down
into the constructors of the subclasses of the second level of the hierarchy
as well as pulling the finishCreation() calls out into the class's corresponding
create() method if it has one. Doing both simultaneously allows us to
maintain the invariant that the finishCreation() method chain is called exactly
once during the creation of an object, since calling it any other number of
times (0, 2, or more) will cause an assertion failure.
- debugger/DebuggerActivation.cpp:
(JSC::DebuggerActivation::DebuggerActivation):
(JSC::DebuggerActivation::finishCreation):
- debugger/DebuggerActivation.h:
(JSC::DebuggerActivation::create):
- runtime/Arguments.h:
(JSC::Arguments::create):
(JSC::Arguments::createNoParameters):
(JSC::Arguments::Arguments):
(JSC::Arguments::finishCreation):
- runtime/ErrorInstance.cpp:
(JSC::ErrorInstance::ErrorInstance):
- runtime/ErrorInstance.h:
(JSC::ErrorInstance::finishCreation):
- runtime/ExceptionHelpers.cpp:
(JSC::InterruptedExecutionError::InterruptedExecutionError):
(JSC::TerminatedExecutionError::TerminatedExecutionError):
- runtime/Executable.cpp:
(JSC::EvalExecutable::EvalExecutable):
(JSC::ProgramExecutable::ProgramExecutable):
(JSC::FunctionExecutable::FunctionExecutable):
Moved the assignment of m_firstLine and m_lastLine into the
FunctionExecutable::finishCreation() method in Executable.h
- runtime/Executable.h:
(JSC::ScriptExecutable::ScriptExecutable):
(JSC::EvalExecutable::create):
(JSC::ProgramExecutable::create):
(JSC::FunctionExecutable::create):
(JSC::FunctionExecutable::finishCreation):
- runtime/JSArray.cpp:
(JSC::JSArray::JSArray):
(JSC::JSArray::finishCreation):
- runtime/JSArray.h:
- runtime/JSByteArray.cpp:
(JSC::JSByteArray::JSByteArray):
- runtime/JSByteArray.h:
(JSC::JSByteArray::finishCreation):
- runtime/JSNotAnObject.h:
(JSC::JSNotAnObject::JSNotAnObject):
- runtime/JSObject.h:
(JSC::JSNonFinalObject::JSNonFinalObject):
- runtime/JSObjectWithGlobalObject.cpp:
(JSC::JSObjectWithGlobalObject::JSObjectWithGlobalObject):
(JSC::JSObjectWithGlobalObject::finishCreation):
- runtime/JSObjectWithGlobalObject.h:
- runtime/JSVariableObject.h:
(JSC::JSVariableObject::JSVariableObject):
(JSC::JSVariableObject::finishCreation):
- runtime/JSWrapperObject.h:
(JSC::JSWrapperObject::JSWrapperObject):
- runtime/ObjectPrototype.cpp:
(JSC::ObjectPrototype::ObjectPrototype):
(JSC::ObjectPrototype::finishCreation):
- runtime/ObjectPrototype.h:
- runtime/StrictEvalActivation.cpp:
(JSC::StrictEvalActivation::StrictEvalActivation):
Source/JavaScriptGlue:
Completed the third level of the refactoring to add finishCreation()
methods to all classes within the JSCell hierarchy with non-trivial
constructor bodies.
This primarily consists of pushing the calls to finishCreation() down
into the constructors of the subclasses of the second level of the hierarchy
as well as pulling the finishCreation() calls out into the class's corresponding
create() method if it has one. Doing both simultaneously allows us to
maintain the invariant that the finishCreation() method chain is called exactly
once during the creation of an object, since calling it any other number of
times (0, 2, or more) will cause an assertion failure.
- UserObjectImp.cpp:
(UserObjectImp::UserObjectImp):
Source/WebCore:
No new tests.
Completed the third level of the refactoring to add finishCreation()
methods to all classes within the JSCell hierarchy with non-trivial
constructor bodies.
This primarily consists of pushing the calls to finishCreation() down
into the constructors of the subclasses of the second level of the hierarchy
as well as pulling the finishCreation() calls out into the class's corresponding
create() method if it has one. Doing both simultaneously allows us to
maintain the invariant that the finishCreation() method chain is called exactly
once during the creation of an object, since calling it any other number of
times (0, 2, or more) will cause an assertion failure.
- bindings/js/JSDOMWindowShell.cpp:
(WebCore::JSDOMWindowShell::JSDOMWindowShell):
(WebCore::JSDOMWindowShell::finishCreation):
- bindings/js/JSDOMWindowShell.h:
- 6:29 PM Changeset in webkit [94034] by
-
- 7 edits in trunk/Source/WebKit/efl
[EFL] Add missing API documentation.
https://bugs.webkit.org/show_bug.cgi?id=66927
Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2011-08-29
Reviewed by Kent Tamura.
Adds missing documentation for ewk_context_menu_item_checked_get/set.
Moves API documentation from cpp to the headers.
Adds brief and file commands for ewk_js.h.
- ewk/ewk_contextmenu.h:
- ewk/ewk_cookies.cpp:
- ewk/ewk_cookies.h:
- ewk/ewk_frame.cpp:
- ewk/ewk_frame.h:
- ewk/ewk_js.h:
- 4:47 PM Changeset in webkit [94033] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] QTouchWebView url property test missing
https://bugs.webkit.org/show_bug.cgi?id=67159
Patch by Gopal Raghavan <gopal.1.raghavan@nokia.com> on 2011-08-29
Reviewed by Noam Rosenthal.
Added qml test case to check url property of QTouchWebView. Since url is a readonly property, we make sure that it's set after load() is called.
- UIProcess/API/qt/tests/qmltests/TouchWebView/tst_properties.qml:
- 4:42 PM Changeset in webkit [94032] by
-
- 1 edit2 copies in branches/chromium/835
Merge 94001
BUG=91911
Review URL: http://codereview.chromium.org/7795013
- 4:39 PM Changeset in webkit [94031] by
-
- 12 edits in trunk/Tools
Add support for chomium-mac (non-CoreGraphics) baselines
https://bugs.webkit.org/show_bug.cgi?id=67163
Reviewed by Eric Seidel.
This patch teaches the non-CG chromium-mac bots to look at non-CG
baselines. However, the patch still leaves CG as the default set of
baselines.
- Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
- Scripts/webkitpy/common/config/build.py:
- Scripts/webkitpy/common/config/build_unittest.py:
- Scripts/webkitpy/layout_tests/port/builders.py:
- Scripts/webkitpy/layout_tests/port/chromium.py:
- Scripts/webkitpy/layout_tests/port/chromium_mac.py:
- Scripts/webkitpy/layout_tests/port/factory.py:
- Scripts/webkitpy/layout_tests/port/factory_unittest.py:
- Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py:
- Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests_unittest.py:
- Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
- 4:37 PM Changeset in webkit [94030] by
-
- 2 edits in trunk/Websites/webkit.org
Updating forms survey with non-standard wrap for textarea and more data-list driven text fields.
- projects/forms/survey.html:
- 4:35 PM Changeset in webkit [94029] by
-
- 2 edits in branches/chromium/835/Source/WebCore/webaudio
Merge 94002
BUG=93978
Review URL: http://codereview.chromium.org/7793016
- 4:21 PM Changeset in webkit [94028] by
-
- 6 edits5 adds in trunk/LayoutTests
[Chromium] Added new rebaselines for media/media-document-audio-repaint.
These are obtained by the rebaseline tool.
https://bugs.webkit.org/show_bug.cgi?id=67070
Reviewed by David Levin.
- platform/chromium-cg-mac-leopard/media/media-document-audio-repaint-expected.png: Added.
- platform/chromium-cg-mac/media/media-document-audio-repaint-expected.png:
- platform/chromium-cg-mac/media/media-document-audio-repaint-expected.txt:
- platform/chromium-gpu-cg-mac/media/media-document-audio-repaint-expected.png: Added.
- platform/chromium-gpu-cg-mac/media/media-document-audio-repaint-expected.txt: Added.
- platform/chromium-gpu-win/media/media-document-audio-repaint-expected.png: Added.
- platform/chromium-gpu-win/media/media-document-audio-repaint-expected.txt: Added.
- platform/chromium-linux/media/media-document-audio-repaint-expected.png:
- platform/chromium-win/media/media-document-audio-repaint-expected.png:
- platform/chromium-win/media/media-document-audio-repaint-expected.txt:
- 4:19 PM Changeset in webkit [94027] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] QDesktopWebView url property test missing
https://bugs.webkit.org/show_bug.cgi?id=67155
Patch by Gopal Raghavan <gopal.1.raghavan@nokia.com> on 2011-08-29
Reviewed by Noam Rosenthal.
Added qml test case to check url property. Since url is a readonly property, we make sure that it's set after load() is called.
- UIProcess/API/qt/tests/qmltests/DesktopWebView/tst_properties.qml:
- 3:54 PM Changeset in webkit [94026] by
-
- 2 edits in trunk/Source/WebCore
Speed up texImage from BGRA
https://bugs.webkit.org/show_bug.cgi?id=66884
Patch by John Bauman <jbauman@chromium.org> on 2011-08-29
Reviewed by Kenneth Russell.
BGRA input is common coming from skia, so optimize BGRA->RGBA
conversion and also avoid the pointless RGBA to RGBA conversion.
- platform/graphics/GraphicsContext3D.cpp:
(WebCore::doUnpackingAndPacking):
- 3:53 PM Changeset in webkit [94025] by
-
- 2 edits in trunk/LayoutTests
Fix path to style sheet in fast/events/constructors/event-constructors.html.
Reviewed by Gavin Barraclough.
- fast/events/constructors/event-constructors.html:
- 3:52 PM Changeset in webkit [94024] by
-
- 2 edits in trunk/Source/WebCore
[CG] ImageBufferCG should handle IOSurface allocation failure gracefully
https://bugs.webkit.org/show_bug.cgi?id=67099
Reviewed by Simon Fraser.
No new tests. Testing the "fallback to old path" behavior is not easily testable.
- platform/graphics/cg/ImageBufferCG.cpp: Rearranged backing store creation to fall back to old path if IOSurface creation path fails.
(WebCore::ImageBuffer::ImageBuffer):
- 3:51 PM Changeset in webkit [94023] by
-
- 2 edits in trunk/LayoutTests
Update results for fast/files/create-blob-url-crash.html to match
exception text.
- fast/files/create-blob-url-crash-expected.txt:
- 3:43 PM Changeset in webkit [94022] by
-
- 2 edits in branches/safari-534.51-branch/Source/WebCore
Merge r93793.
- 3:41 PM Changeset in webkit [94021] by
-
- 2 edits in branches/safari-534.51-branch/Source/WebCore
Merge r93717.
- 3:30 PM Changeset in webkit [94020] by
-
- 4 edits in releases/WebKitGTK/webkit-1.4
2011-08-29 Martin Robinson <mrobinson@igalia.com>
Update NEWS and library versioning for the 1.4.3 release.
Reviewed by Gustavo Noronha.
- configure.ac: Update library version.
2011-08-29 Martin Robinson <mrobinson@igalia.com>
Update NEWS and library versioning for the 1.4.3 release.
Reviewed by Gustavo Noronha.
- NEWS: Update the news.
- 2:57 PM Changeset in webkit [94019] by
-
- 2 edits in trunk/Source/WebCore
Only enable font smoothing as requested (Skia on Mac)
https://bugs.webkit.org/show_bug.cgi?id=67143
This adjusts LayoutTest pixel output to more closely
match other platforms.
Reviewed by Kenneth Russell.
No new tests. This platform is not yet enabled.
- platform/graphics/skia/FontSkia.cpp:
(WebCore::setupPaint):
LCD text was always enabled to test the code path. With this change,
it is only enabled when instructed by the font state.
- 2:47 PM Changeset in webkit [94018] by
-
- 2 edits in trunk/LayoutTests
Fix test_expectation.txt typo.
- platform/chromium/test_expectations.txt:
- 2:36 PM Changeset in webkit [94017] by
-
- 3 edits in trunk/LayoutTests
- 2:32 PM Changeset in webkit [94016] by
-
- 3 edits5 adds in trunk
Assertion failure in RenderLayer::computeRepaintRects when scrolling
https://bugs.webkit.org/show_bug.cgi?id=67140
Reviewed by David Hyatt.
Source/WebCore:
Test: fast/repaint/scroll-fixed-layer-with-no-visible-content.html
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::computeRepaintRects): Fixed style after r93837.
(WebCore::RenderLayer::updateLayerPositionsAfterScroll): Tweaked the code
to bail early if our layer has no visible content. This avoids the ASSERT
and also makes sense as we shouldn't repaint / update empty layers.
LayoutTests:
This test checks that a fixed element with no visible content does not ASSERT and
renders properly.
- fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.txt: Added.
- fast/repaint/scroll-fixed-layer-with-no-visible-content.html: Added.
- platform/chromium-cg-mac/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png: Added.
- platform/chromium-win/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png: Added.
- platform/mac/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png: Added.
- 2:12 PM Changeset in webkit [94015] by
-
- 2 edits in releases/WebKitGTK/webkit-1.4/Source/WebCore
Merging r90368
- 1:59 PM Changeset in webkit [94014] by
-
- 2 edits in releases/WebKitGTK/webkit-1.4/Source/WebKit/gtk
Merging r86118
- 1:58 PM Changeset in webkit [94013] by
-
- 2 edits in releases/WebKitGTK/webkit-1.4/Source/WebKit/gtk
Merging r86116
- 1:56 PM Changeset in webkit [94012] by
-
- 14 edits2 adds in releases/WebKitGTK/webkit-1.4/Source
Merging r86102
- 1:47 PM Changeset in webkit [94011] by
-
- 12 edits1 copy2 adds in trunk/Source/WebCore
Implement WebVTT Cue Text Parsing rules and DOM construction
https://bugs.webkit.org/show_bug.cgi?id=64132
Patch by Anna Cavender <annacc@chromium.org> on 2011-08-29
Reviewed by Adam Barth.
Tests in media/track, particularly track-webvtt-tc[022 - 028]*.
- CMakeLists.txt:
- GNUmakefile.list.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.xcodeproj/project.pbxproj:
- html/TextTrackCue.cpp:
- html/TextTrackCue.h:
- platform/track/CueParser.cpp:
- platform/track/CueParser.h:
- platform/track/WebVTTParser.cpp:
- platform/track/WebVTTParser.h:
- platform/track/WebVTTToken.h: Added.
- platform/track/WebVTTTokenizer.cpp: Added.
- platform/track/WebVTTTokenizer.h: Added.
- 1:32 PM Changeset in webkit [94010] by
-
- 3 edits in trunk/Source/WebCore
Add parsing support for extended attributes on IDL constants
https://bugs.webkit.org/show_bug.cgi?id=65046
Reviewed by Brent Fulgham.
With support for extended attributes on constants we can
replace some preprocessor lines from the IDL files with
the corresponding [Conditional=XXX] later.
Using the preprocessor causes much pain on native windows.
CodeGenerator support will be added in separate patches.
- bindings/scripts/IDLParser.pm:
- bindings/scripts/IDLStructure.pm:
- 1:18 PM Changeset in webkit [94009] by
-
- 9 edits in trunk/Source/WebCore
Cleanup: notifyFormStateChanged, formControlValueMatchesRenderer, and setFormControlValueMatchesRenderer
https://bugs.webkit.org/show_bug.cgi?id=67141
Reviewed by Eric Seidel.
No new tests since this is a refactoring.
- dom/Element.h: Removed formControlValueMatchesRenderer and setFormControlValueMatchesRenderer.
- html/HTMLInputElement.cpp: Removed notifyFormStateChanged.
- html/HTMLInputElement.h:
- html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::updateValue): Calls notifyFormStateChanged; modifies m_wasModifiedByUser.
(WebCore::HTMLTextAreaElement::setValueCommon): Calls notifyFormStateChanged; also renamed value to newValue
to avoid the conflict with value().
- html/HTMLTextAreaElement.h: Made m_wasModifiedByUser mutable.
- html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::notifyFormStateChanged): Extracted from notifyFormStateChanged in
HTMLInputElement.cpp and HTMLTextAreaElement.cpp.
- html/HTMLTextFormControlElement.h:
- rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::setInnerTextValue): Calls setFormControlValueMatchesRenderer.
- 1:16 PM Changeset in webkit [94008] by
-
- 2 edits in trunk/Tools
Small fix in chromium port of new-run-webkit-tests.
https://bugs.webkit.org/show_bug.cgi?id=67078
Patch by Shawn Singh <shawnsingh@chromium.org> on 2011-08-29
Reviewed by Dirk Pranke.
- Scripts/webkitpy/layout_tests/port/chromium.py:
- 1:09 PM Changeset in webkit [94007] by
-
- 28 edits in trunk
Unreviewed, rolling out r93987, r93992, r93995, r93998, and
r93999.
http://trac.webkit.org/changeset/93987
http://trac.webkit.org/changeset/93992
http://trac.webkit.org/changeset/93995
http://trac.webkit.org/changeset/93998
http://trac.webkit.org/changeset/93999
https://bugs.webkit.org/show_bug.cgi?id=67147
Many failing tests (Requested by ap on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-29
Source/WebCore:
- WebCore.exp.in:
- platform/mac/CookieJar.mm:
(WebCore::cookies):
(WebCore::cookieRequestHeaderFieldValue):
(WebCore::setCookies):
(WebCore::cookiesEnabled):
(WebCore::getRawCookies):
(WebCore::deleteCookie):
- platform/network/CookieStorage.h:
- platform/network/ResourceHandle.cpp:
(WebCore::privateStorageSession):
(WebCore::privateBrowsingStorageSessionIdentifierBase):
(WebCore::ResourceHandle::setPrivateBrowsingEnabled):
(WebCore::ResourceHandle::privateBrowsingStorageSession):
(WebCore::ResourceHandle::setPrivateBrowsingStorageSessionIdentifierBase):
- platform/network/ResourceHandle.h:
- platform/network/cf/CookieJarCFNet.cpp:
(WebCore::setCookies):
(WebCore::cookies):
(WebCore::cookieRequestHeaderFieldValue):
(WebCore::cookiesEnabled):
(WebCore::getRawCookies):
(WebCore::deleteCookie):
(WebCore::getHostnamesWithCookies):
(WebCore::deleteCookiesForHostname):
(WebCore::deleteAllCookies):
- platform/network/cf/CookieStorageCFNet.cpp:
(WebCore::privateBrowsingCookieStorage):
(WebCore::defaultSessionCookieStorage):
(WebCore::defaultCookieStorage):
(WebCore::currentCookieStorage):
(WebCore::setCurrentCookieStorage):
(WebCore::setCookieStoragePrivateBrowsingEnabled):
(WebCore::startObservingCookieChanges):
(WebCore::stopObservingCookieChanges):
- platform/network/cf/CookieStorageCFNet.h:
- platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::makeFinalRequest):
(WebCore::ResourceHandle::createPrivateBrowsingStorageSession):
(WebCore::ResourceHandle::privateBrowsingStorageSessionIdentifierDefaultBase):
(WebCore::ResourceHandle::currentStorageSession):
(WebCore::defaultCFURLStorageSession):
(WebCore::ResourceHandle::setDefaultStorageSession):
(WebCore::ResourceHandle::defaultStorageSession):
- platform/network/mac/CookieStorageMac.mm:
(WebCore::setCookieStoragePrivateBrowsingEnabled):
- platform/network/mac/ResourceHandleMac.mm:
(WebCore::shouldRelaxThirdPartyCookiePolicy):
(WebCore::ResourceHandle::createPrivateBrowsingStorageSession):
Source/WebKit/mac:
- WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
- WebView/WebPreferencesPrivate.h:
Source/WebKit/win:
- WebCookieManagerCFNet.cpp:
(WebCookieManager::cookieStorage):
(WebCookieManager::setCookieStorage):
- WebView.cpp:
(updateSharedSettingsFromPreferencesIfNeeded):
Source/WebKit2:
- WebProcess/Cookies/cf/WebCookieManagerCFNet.cpp:
(WebKit::WebCookieManager::platformSetHTTPCookieAcceptPolicy):
(WebKit::WebCookieManager::platformGetHTTPCookieAcceptPolicy):
- WebProcess/InjectedBundle/API/c/WKBundle.cpp:
- WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
- WebProcess/InjectedBundle/InjectedBundle.cpp:
- WebProcess/InjectedBundle/InjectedBundle.h:
- WebProcess/win/WebProcessWin.cpp:
(WebKit::WebProcess::platformInitializeWebProcess):
Tools:
- DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting):
- WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::beginTesting):
- 1:06 PM Changeset in webkit [94006] by
-
- 3 edits2 adds in trunk
As per HTML specification, default font style of dfn tag should be italic.
https://bugs.webkit.org/show_bug.cgi?id=56670
Patch by Nayan Kumar K <nayankk@motorola.com> on 2011-08-29
Reviewed by Adam Barth.
Source/WebCore:
Test: fast/css/dfn-default-font-style.html
- css/html.css:
(i, cite, em, var, address, dfn):
LayoutTests:
- fast/css/dfn-default-font-style-expected.txt: Added.
- fast/css/dfn-default-font-style.html: Added.
- 1:03 PM Changeset in webkit [94005] by
-
- 2 edits in trunk/Source/WebCore
Consider Conditional attribute in CodeGeneratorJS' JSValueToNative and NativeToJSValue function
https://bugs.webkit.org/show_bug.cgi?id=65040
Reviewed by Brent Fulgham.
JSValueToNative and NativeToJSValue add additional include statements
to the implementation and need to handle the Conditional attribute from
the IDL file. The Conditional attribute adds appropriate #if ENABLE()
lines for the preprocessor around the include statements to remove
some unneeded build dependencies.
- bindings/scripts/CodeGeneratorJS.pm:
- 12:35 PM Changeset in webkit [94004] by
-
- 3 edits in trunk/Source/WebKit/chromium
[Chromium] Add ability to do static SerializedScriptValue deserialization
https://bugs.webkit.org/show_bug.cgi?id=66877
Patch by Greg Billock <gbillock@google.com> on 2011-08-29
Reviewed by Darin Fisher.
- public/WebSerializedScriptValue.h:
- src/WebSerializedScriptValue.cpp:
(WebKit::WebSerializedScriptValue::deserialize):
(WebKit::WebSerializedScriptValue::serialize):
- 12:26 PM Changeset in webkit [94003] by
-
- 8 edits in trunk/Source/WebCore
Plumb ResourceLoaderOptions out to CachedResourceLoader::requestResource().
This will be needed in order for DocumentThreadableLoader to become a CachedResourceClient.
https://bugs.webkit.org/show_bug.cgi?id=66018
Reviewed by Antti Koivisto.
No new tests, refactor only.
- loader/cache/CachedImage.cpp:
(WebCore::CachedImage::load):
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::CachedResource):
(WebCore::CachedResource::load):
- loader/cache/CachedResource.h:
(WebCore::CachedResource::load):
(WebCore::CachedResource::setResourceLoaderOptions):
(WebCore::CachedResource::sendResourceLoadCallbacks):
- loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::requestUserCSSStyleSheet):
(WebCore::CachedResourceLoader::requestResource):
(WebCore::CachedResourceLoader::loadResource):
- loader/cache/CachedResourceLoader.h:
- loader/cache/CachedResourceRequest.cpp:
(WebCore::CachedResourceRequest::load):
- loader/cache/CachedResourceRequest.h:
- 12:23 PM Changeset in webkit [94002] by
-
- 4 edits2 adds in trunk
Source/WebCore: Fix failures when FFT size is changed.
https://bugs.webkit.org/show_bug.cgi?id=66916
Patch by Chris Palmer <palmer@google.com> on 2011-08-29
Reviewed by Kenneth Russell.
Test: webaudio/fft-sizing.html
- webaudio/RealtimeAnalyser.cpp:
(WebCore::RealtimeAnalyser::setFftSize): Assert size sanity.
(WebCore::RealtimeAnalyser::doFFTAnalysis): Iterate the correct number of times over magnitudeBuffer.
- webaudio/RealtimeAnalyser.h: Put member fields in the correct order (Min before Max).
LayoutTests: Fix failures when FFT array size is changed.
https://bugs.webkit.org/show_bug.cgi?id=66916
Patch by Chris Palmer <palmer@google.com> on 2011-08-29
Reviewed by Kenneth Russell.
- webaudio/realtimeanalyser-fft-sizing-expected.txt: Added.
- webaudio/realtimeanalyser-fft-sizing.html: Added.
- 12:19 PM Changeset in webkit [94001] by
-
- 3 edits2 adds in trunk
Crash in InlineBox::deleteLine due to accessing removed
renderer.
https://bugs.webkit.org/show_bug.cgi?id=66015
Reviewed by Simon Fraser.
Source/WebCore:
Test: fast/block/line-layout/inline-box-wrapper-crash.html
- rendering/RenderBox.cpp:
(WebCore::RenderBox::positionLineBox): Make sure that the
previous inline box wrapper is destroyed properly, before
setting a new one.
LayoutTests:
- fast/block/line-layout/inline-box-wrapper-crash-expected.txt: Added.
- fast/block/line-layout/inline-box-wrapper-crash.html: Added.
- 12:19 PM Changeset in webkit [94000] by
-
- 3 edits in trunk
Reviewed by Xan Lopez.
[GTK] Build WebKit2 unconditionally
https://bugs.webkit.org/show_bug.cgi?id=62749
Build WebKit2 by default. This will make the bots build it and catch
build errors when they occur.
- GNUmakefile.am: Enable WebKit2 by default, but remove references to the WebKit2
PC file, which should not be shipped until WebKit2 is actually shipped officially.
- 12:07 PM Changeset in webkit [93999] by
-
- 4 edits in trunk/Source
Windows build fix.
WebKit/win:
- WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated for new function name and signature: currentCFHTTPCookieStorage().
WebKit2:
- WebProcess/Cookies/cf/WebCookieManagerCFNet.cpp: (WebKit::WebCookieManager::platformSetHTTPCookieAcceptPolicy): (WebKit::WebCookieManager::platformGetHTTPCookieAcceptPolicy): Updated for new function name and signature: currentCFHTTPCookieStorage().
- 11:59 AM Changeset in webkit [93998] by
-
- 2 edits in trunk/Source/WebCore
Lion build fix.
- WebCore.exp.in: We have different definitions of CFURLStorageSessionRef on different versions of Mac OS X, and need separate exports.
- 11:54 AM Changeset in webkit [93997] by
-
- 1 edit3 adds in trunk/LayoutTests
2011-08-29 Chris Marrin <cmarrin@apple.com>
Fixing LayoutTests broken by http://trac.webkit.org/changeset/93980
Unreviewed.
Add Mac specific tests to take into account new requestAnimationFrame functionality
- platform/mac/fast/dom/Window/window-properties-expected.txt: Added.
- platform/mac/fast/dom/Window/window-property-descriptors-expected.txt: Added.
- platform/mac/fast/dom/prototype-inheritance-expected.txt: Added.
- 11:53 AM Changeset in webkit [93996] by
-
- 3 edits2 adds in trunk
Implement -webkit-flex-pack for horizontal flexboxen
https://bugs.webkit.org/show_bug.cgi?id=66898
Reviewed by Ojan Vafai.
Source/WebCore:
Test: css3/flexbox/004.html
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutHorizontalBlock):
(WebCore::hasPackingSpace):
(WebCore::RenderFlexibleBox::runFreeSpaceAllocationAlgorithmHorizontal):
LayoutTests:
- css3/flexbox/004-expected.txt: Added.
- css3/flexbox/004.html: Added.
- 11:46 AM Changeset in webkit [93995] by
-
- 2 edits in trunk/Source/WebCore
Windows build fix.
- platform/network/cf/CookieJarCFNet.cpp: (WebCore::setCookies): (WebCore::cookies): (WebCore::cookieRequestHeaderFieldValue): (WebCore::cookiesEnabled): (WebCore::getRawCookies): (WebCore::deleteCookie): (WebCore::getHostnamesWithCookies): (WebCore::deleteCookiesForHostname): (WebCore::deleteAllCookies): Updated for new function name and signature: currentCFHTTPCookieStorage().
- 11:46 AM Changeset in webkit [93994] by
-
- 4 edits in trunk/LayoutTests
Update tests after landing Event constructors.
Reviewed by Anders Carlsson.
- fast/dom/constructed-objects-prototypes-expected.txt:
- fast/dom/dom-constructors-expected.txt:
- fast/dom/dom-constructors.html:
- 11:45 AM Changeset in webkit [93993] by
-
- 2 edits in trunk/LayoutTests
Unreviewed gardening.
Mark test fast/canvas/setWidthResetAfterForcedRender.html as failing
after r93988.
- platform/chromium/test_expectations.txt:
- 11:34 AM Changeset in webkit [93992] by
-
- 2 edits in trunk/Source/WebCore
Mac build fix.
- platform/network/cf/CookieStorageCFNet.cpp: Move Windows specific includes into PLATFORM(WIN).
- 11:31 AM Changeset in webkit [93991] by
-
- 2 edits in trunk/Source/JavaScriptCore
Unreviewed build fix after r93990.
- wtf/HashTable.h:
- 11:24 AM Changeset in webkit [93990] by
-
- 6 edits in trunk/Source
Viewing a post on reddit.com wastes a lot of memory on event listeners.
https://bugs.webkit.org/show_bug.cgi?id=67133
Reviewed by Darin Adler.
Source/JavaScriptCore:
Add a minimum table size to the HashTraits, instead of having it hard coded.
The default value remains at 64, but can now be specialized.
- runtime/StructureTransitionTable.h:
- wtf/HashTable.h:
(WTF::HashTable::shouldShrink):
(WTF::::expand):
(WTF::::checkTableConsistencyExceptSize):
- wtf/HashTraits.h:
Source/WebCore:
Specialize the HashMap used to store registered listeners on an EventTarget
to have a minimum size of 32 (rather than the default 64.)
It's very rare for pages to register listeners for so many different events
and this cuts memory consumption in half for the common case.
As an example, for a typical post on the reddit.com front page,
this reduces memory used by ~700kB on 64-bit.
- dom/EventTarget.h:
- 11:22 AM Changeset in webkit [93989] by
-
- 2 edits in trunk/LayoutTests
Temporary suppression for new test added in r93982.
- platform/chromium/test_expectations.txt:
- 11:16 AM Changeset in webkit [93988] by
-
- 14 edits in trunk/Source/WebCore
Skia's accelerated canvas 2D implementation should use GrTexture, not DrawingBuffer
https://bugs.webkit.org/show_bug.cgi?id=67050
Reviewed by Kenneth Russell.
Covered by existing tests.
- platform/graphics/chromium/Canvas2DLayerChromium.cpp:
(WebCore::Canvas2DLayerChromium::create):
(WebCore::Canvas2DLayerChromium::Canvas2DLayerChromium):
(WebCore::Canvas2DLayerChromium::drawsContent):
Construct Canvas2DLayerChromium with a GraphicsContext3D, not a
DrawingBuffer.
(WebCore::Canvas2DLayerChromium::updateCompositorResources):
Flush the GrContext and GraphicsContext3D on compositor update.
- platform/graphics/chromium/Canvas2DLayerChromium.h:
- platform/graphics/chromium/CanvasLayerChromium.cpp:
(WebCore::CanvasLayerChromium::CanvasLayerChromium):
- platform/graphics/chromium/CanvasLayerChromium.h:
Put textureId() back on the base class (CanvasLayerChromium) and
de-virtualize it.
(WebCore::CanvasLayerChromium::textureId):
(WebCore::CanvasLayerChromium::setTextureId):
Move m_textureId from WebGLLayerChromium, since canvas2D now uses
it too. Provide getters and setters.
- platform/graphics/chromium/DrawingBufferChromium.cpp:
(WebCore::DrawingBuffer::DrawingBuffer):
(WebCore::DrawingBuffer::~DrawingBuffer):
Remove all Canvas2D-related calls from DrawingBuffer.
(WebCore::DrawingBuffer::publishToPlatformLayer):
Remove GrContext::flush call, since it's now handled by the platform layer.
(WebCore::DrawingBuffer::platformLayer):
Return NULL for now (WebGL may rescussitate this later).
- platform/graphics/chromium/GraphicsLayerChromium.cpp:
Remove a useless #include.
- platform/graphics/chromium/ImageBufferDataSkia.h:
Add ownership of the Canvas2DLayerChromium.
- platform/graphics/chromium/WebGLLayerChromium.cpp:
(WebCore::WebGLLayerChromium::WebGLLayerChromium):
- platform/graphics/chromium/WebGLLayerChromium.h:
Remove all texture ID stuff (now on base class).
- platform/graphics/gpu/DrawingBuffer.h:
Remove Canvas2DLayerChromium and all Ganesh datatypes from
DrawingBuffer, since it's no longer used by canvas2D.
- platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::ImageBuffer::ImageBuffer):
On accelerated ImageBuffer creation, create a GrTexture instead of a
DrawingBuffer. If all is cool, create and set the SkGpuDevice here,
and create a Canvas2DLayerChromium platform layer.
(WebCore::ImageBuffer::platformLayer):
- platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::setGraphicsContext3D):
- platform/graphics/skia/PlatformContextSkia.h:
Remove all GrContext creation and DrawingBuffer "scraping" from
PlatformContextSkia::setGraphicsContext3D(). This is handled in
the ImageBuffer constructor instead.
- 11:15 AM Changeset in webkit [93987] by
-
- 25 edits in trunk
DumpRenderTree should begin each test with an empty cookie store
https://bugs.webkit.org/show_bug.cgi?id=63545
<rdar://problem/5666907>
Reviewed by Darin Adler.
Use a clean CFURLStorageSession when this functionality is available.
- WebCore.exp.in: Added exports
- platform/mac/CookieJar.mm: (WebCore::cookies): (WebCore::cookieRequestHeaderFieldValue): (WebCore::setCookies): (WebCore::cookiesEnabled): (WebCore::getRawCookies): (WebCore::deleteCookie): Updated for privateBrowsingCookieStorage->currentCFHTTPCookieStorage change.
- platform/network/CookieStorage.h: Moved CFNetwork specific declarations to CookieStorageCFNet.h.
- platform/network/ResourceHandle.cpp: Moved CFNetwork specific code to ResourceHandleCFNet.cpp. This file contains cross platform functionality, and we no longer need to put code in it to share it between Mac and Windows.
- platform/network/ResourceHandle.h: Expose methods to manipulate default session on Mac, too.
- platform/network/cf/CookieStorageCFNet.cpp: (WebCore::cookieStorageOverride): Make it clear that this override is only for a Windows API. (WebCore::overrideCookieStorage): Ditto. (WebCore::currentCFHTTPCookieStorage): We no longer store a cookie storage in a static variable, unless it has been overridden on Windows. We can always get it from a session. (WebCore::setCookieStoragePrivateBrowsingEnabled): There is nothing to do here - we'll just use private session's storage. Note that Mac has a separate code path for OS versions that don't support sessions.
- platform/network/cf/CookieStorageCFNet.h: Changed exposed methods for more clarity.
- platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::makeFinalRequest): Updated for currentCookieStorage->currentCFHTTPCookieStorage change. (WebCore::ResourceHandle::createPrivateBrowsingStorageSession): Moved out of USE(CFNETWORK), as this function is also used with NSURLConnection when sessions are enabled. (WebCore::ResourceHandle::currentStorageSession): Ditto. Removed an #if since default session is now supported on Mac, too. (WebCore::defaultCFURLStorageSession): Moved out of USE(CFNETWORK). (WebCore::ResourceHandle::setDefaultStorageSession): Moved out of USE(CFNETWORK). No longer adopt the session, because nothing in method name says that it will steal a reference from the caller. (WebCore::ResourceHandle::defaultStorageSession): Moved out of USE(CFNETWORK). (WebCore::privateStorageSession): Moved from ResourceHandle.cpp. (WebCore::privateBrowsingStorageSessionIdentifierBase): Moved from ResourceHandle.cpp. (WebCore::ResourceHandle::setPrivateBrowsingEnabled): Moved from ResourceHandle.cpp. (WebCore::ResourceHandle::privateBrowsingStorageSession): Moved from ResourceHandle.cpp. (WebCore::ResourceHandle::setPrivateBrowsingStorageSessionIdentifierBase): Moved from ResourceHandle.cpp. (WebCore::ResourceHandle::privateBrowsingStorageSessionIdentifierDefaultBase): Moved from ResourceHandle.cpp.
- platform/network/mac/CookieStorageMac.mm: (WebCore::setCookieStoragePrivateBrowsingEnabled): We no longer store a reference to cookie storage in a static variable, so nothing to do here. On older OS versiosn, we still need to enable legacy private browsing mode.
- platform/network/mac/ResourceHandleMac.mm: (WebCore::shouldRelaxThirdPartyCookiePolicy): Updated to use the new currentCFHTTPCookieStorage function.
- 10:57 AM Changeset in webkit [93986] by
-
- 12 edits in trunk
postMessage raises INVALID_STATE_ERR instead of DATA_CLONE_ERR in many cases.
https://bugs.webkit.org/show_bug.cgi?id=66713
Reviewed by Dmitry Titov.
Source/WebCore:
See http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#posting-messages for postMessage
- bindings/js/JSMessagePortCustom.cpp:
(WebCore::fillMessagePortArray):
- bindings/v8/custom/V8MessagePortCustom.cpp:
(WebCore::getMessagePortArray):
- dom/MessagePort.cpp:
(WebCore::MessagePort::postMessage):
(WebCore::MessagePort::disentanglePorts):
LayoutTests:
- fast/events/message-port-clone-expected.txt: Output changed from INVALID_STATE_ERR to DATA_CLONE_ERR.
- fast/events/message-port-multi-expected.txt: Ditto.
- fast/workers/worker-context-multi-port-expected.txt: Ditto.
- fast/workers/worker-multi-port-expected.txt: Ditto.
- platform/chromium-win/fast/events/message-port-multi-expected.txt: Ditto.
- platform/chromium-win/fast/workers/worker-context-multi-port-expected.txt: Ditto.
- platform/chromium-win/fast/workers/worker-multi-port-expected.txt: Ditto.
- 10:37 AM Changeset in webkit [93985] by
-
- 1 edit2 copies in branches/chromium/835
Merge 93802
BUG=91973
Review URL: http://codereview.chromium.org/7797001
- 10:31 AM Changeset in webkit [93984] by
-
- 1 edit2 adds in trunk/LayoutTests
Assertion failure in WebCore::RenderFlow::rightmostPosition
https://bugs.webkit.org/show_bug.cgi?id=12085
Reviewed by Alexey Proskuryakov.
The bug got solved. Landed the test to avoid regressing.
- fast/css/assert-marquee-not-last-element-expected.txt: Added.
- fast/css/assert-marquee-not-last-element.html: Added.
- 10:30 AM Changeset in webkit [93983] by
-
- 1 edit2 adds in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, rebaseline inspector/styles/styles-computed-trace.html in chromium.
- platform/chromium-win/inspector/styles/styles-computed-trace-expected.txt: Added.
- 10:14 AM Changeset in webkit [93982] by
-
- 4 edits2 adds in trunk
canvas arc() missing line to start of arc if swing is zero
https://bugs.webkit.org/show_bug.cgi?id=55696
Source/WebCore:
Patch by Tom Zakrajsek <tomz@codeaurora.org> on 2011-08-29
Reviewed by Andreas Kling.
Test: fast/canvas/canvas-arc-zero-lineto.html
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::arc):
LayoutTests:
LayoutTests/canvas/philip/tests/2d.path.stroke.prune.arc.html misinterprets pruning requirement
https://bugs.webkit.org/show_bug.cgi?id=66832
Patch by Tom Zakrajsek <tomz@codeaurora.org> on 2011-08-29
Reviewed by Andreas Kling.
Update to 2d.path.stroke.prune.arc.html was reviewed by Philip Taylor and will be part of the
next update to http://philip.html5.org/tests/canvas/suite/tests/2d.path.stroke.prune.arc.html
- canvas/philip/tests/2d.path.stroke.prune.arc.html:
- fast/canvas/canvas-arc-zero-lineto-expected.txt: Added.
- fast/canvas/canvas-arc-zero-lineto.html: Added.
- 10:12 AM Changeset in webkit [93981] by
-
- 2 edits in trunk/Source/WebKit2
2011-08-29 Chris Marrin <cmarrin@apple.com>
Fixed a build problem caused by http://trac.webkit.org/changeset/93980
Unreviewed.
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
- 9:38 AM Changeset in webkit [93980] by
-
- 44 edits1 add in trunk
[mac] requestAnimationFrame support for mac port
https://bugs.webkit.org/show_bug.cgi?id=59146
Reviewed by Simon Fraser.
Source/WebCore:
Enable REQUEST_ANIMATION_FRAME logic and add ScriptedAnimationController
to build. Added JavaScript support for Mac, too.
- CodeGenerators.pri:
- Configurations/FeatureDefines.xcconfig:
- DerivedSources.make:
- WebCore.exp.in:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSRequestAnimationFrameCallbackCustom.cpp: Added.
(WebCore::JSRequestAnimationFrameCallback::handleEvent):
- bindings/scripts/CodeGeneratorJS.pm:
(AddIncludesForType):
- dom/RequestAnimationFrameCallback.idl:
Source/WebKit/mac:
Implement requestAnimationFrame for WebKit. Add a
CFRunLoopObserver to WebView, which runs just before
the syncCompositingState RLO and calls into the
ScriptedAnimationController if scheduleAnimation() has
been called.
- Configurations/FeatureDefines.xcconfig:
- WebCoreSupport/WebChromeClient.h:
- WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::scheduleAnimation):
- WebView/WebView.mm:
(-[WebView _close]):
(-[WebView _unscheduleAnimation]):
(-[WebView _scheduleCompositingLayerSync]):
(requestAnimationFrameRunLoopObserverCallback):
(-[WebView _scheduleAnimation]):
- WebView/WebViewData.h:
- WebView/WebViewInternal.h:
Source/WebKit2:
Implement requestAnimationFrame for WebKit2. Add a
CFRunLoopObserver to WebPage, which runs just before
the syncCompositingState RLO and calls into the
ScriptedAnimationController if scheduleAnimation() has
been called.
- Configurations/FeatureDefines.xcconfig:
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::scheduleAnimation):
- WebProcess/WebCoreSupport/WebChromeClient.h:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::~WebPage):
- WebProcess/WebPage/WebPage.h:
- WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::requestAnimationFrameRunLoopObserverCallback):
(WebKit::WebPage::scheduleAnimation):
(WebKit::WebPage::unscheduleAnimation):
- WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.cpp:
- WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.h:
Tools:
Add support for request-animation-callback flag
- Scripts/build-webkit:
LayoutTests:
Enable requestAnimationFrame tests for Mac. Tests were also
modified to work on Mac. Before the tests would assume the
requestAnimationFrame callbacks would be called by calling
LayoutTestController.display(). This is not a valid assumption
for Mac, since it skips display() if nothing was dirty.
Tests were changed to use timeouts to wait for callbacks and
ensure they get called. Also added more positive indications
that test failed or succeeded, rather than relying on the lack
of an error message to indicate success.
- fast/animation/request-animation-frame-cancel-expected.txt:
- fast/animation/request-animation-frame-cancel.html:
- fast/animation/request-animation-frame-cancel2-expected.txt:
- fast/animation/request-animation-frame-cancel2.html:
- fast/animation/request-animation-frame-display.html:
- fast/animation/request-animation-frame-during-modal-expected.txt:
- fast/animation/request-animation-frame-during-modal.html:
- fast/animation/request-animation-frame-timestamps.html:
- fast/animation/request-animation-frame-within-callback.html:
- fast/animation/request-animation-frame.html:
- fast/animation/script-tests/request-animation-frame-cancel.js:
(window):
(if):
- fast/animation/script-tests/request-animation-frame-cancel2.js:
(if):
- fast/animation/script-tests/request-animation-frame-display.js:
(if):
- fast/animation/script-tests/request-animation-frame-timestamps.js:
(var):
- fast/animation/script-tests/request-animation-frame-within-callback.js:
- fast/animation/script-tests/request-animation-frame.js:
(if):
- platform/mac/Skipped:
- 9:07 AM Changeset in webkit [93979] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] NPAPI support doesn't honor the ENABLE_NETSCAPE_PLUGIN_API define in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=67123
We could simply use the defines already in place for this.
Patch by Pierre Rossi <pierre.rossi@gmail.com> on 2011-08-29
Reviewed by Andreas Kling.
- WebKit2.pro:
- 8:15 AM Changeset in webkit [93978] by
-
- 6 edits in trunk
Web Inspector: <button hidden>..</button> has a different computed "display" value than "none"
https://bugs.webkit.org/show_bug.cgi?id=67124
Source/WebCore:
Attribute styles have a higher priority than user agent styles and thus should be rendered above them.
Reviewed by Yury Semikhatsky.
- inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylesSidebarPane.prototype._rebuildStyleRules):
(WebInspector.StylesSidebarPane.prototype._rebuildStyleRules.get continue):
LayoutTests:
Reviewed by Yury Semikhatsky.
- inspector/elements/elements-panel-styles-expected.txt:
- inspector/styles/styles-computed-trace-expected.txt:
- inspector/styles/styles-computed-trace.html:
- 8:14 AM Changeset in webkit [93977] by
-
- 7 edits in trunk
Web Inspector: rename sourceFile to (raw|ui)SourceCode in DebuggerPresentationModel.
https://bugs.webkit.org/show_bug.cgi?id=66769
Reviewed by Pavel Feldman.
Source/WebCore:
- inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel):
(WebInspector.DebuggerPresentationModel.prototype.uiSourceCode):
(WebInspector.DebuggerPresentationModel.prototype._scriptLocationToUILocation.didCreateSourceMapping):
(WebInspector.DebuggerPresentationModel.prototype._scriptLocationToUILocation):
(WebInspector.DebuggerPresentationModel.prototype._uiLocationToScriptLocation.didCreateSourceMapping):
(WebInspector.DebuggerPresentationModel.prototype._uiLocationToScriptLocation):
(WebInspector.DebuggerPresentationModel.prototype.linkifyLocation.updateAnchor.didGetLocation):
(WebInspector.DebuggerPresentationModel.prototype.linkifyLocation.updateAnchor):
(WebInspector.DebuggerPresentationModel.prototype.linkifyLocation):
(WebInspector.DebuggerPresentationModel.prototype._addScript.didCreateSourceMapping):
(WebInspector.DebuggerPresentationModel.prototype._addScript):
(WebInspector.DebuggerPresentationModel.prototype._uiSourceCodeReplaced):
(WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
(WebInspector.DebuggerPresentationModel.prototype.setScriptSource.didEditScriptSource):
(WebInspector.DebuggerPresentationModel.prototype.setScriptSource):
(WebInspector.DebuggerPresentationModel.prototype._updateBreakpointsAfterLiveEdit):
(WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles):
(WebInspector.DebuggerPresentationModel.prototype._addConsoleMessage.didGetUILocation):
(WebInspector.DebuggerPresentationModel.prototype._addConsoleMessage):
(WebInspector.DebuggerPresentationModel.prototype._consoleCleared):
(WebInspector.DebuggerPresentationModel.prototype.continueToLine):
(WebInspector.DebuggerPresentationModel.prototype.breakpointsForSourceFileId):
(WebInspector.DebuggerPresentationModel.prototype.setBreakpoint):
(WebInspector.DebuggerPresentationModel.prototype.setBreakpointEnabled):
(WebInspector.DebuggerPresentationModel.prototype.updateBreakpoint):
(WebInspector.DebuggerPresentationModel.prototype.removeBreakpoint):
(WebInspector.DebuggerPresentationModel.prototype.findBreakpoint):
(WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
(WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
(WebInspector.DebuggerPresentationModel.prototype._debuggerPaused):
(WebInspector.DebuggerPresentationModel.prototype._rawSourceCodeForScript):
(WebInspector.DebuggerPresentationModel.prototype._scriptForRawSourceCode):
(WebInspector.DebuggerPresentationModel.prototype._createRawSourceCodeId):
(WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
(WebInspector.PresentationBreakpoint):
(WebInspector.PresenationCallFrame.prototype.sourceLine.didGetUILocation):
(WebInspector.PresenationCallFrame.prototype.sourceLine):
(WebInspector.DebuggerPresentationModelResourceBinding.prototype.canSetContent):
(WebInspector.DebuggerPresentationModelResourceBinding.prototype.setContent):
(WebInspector.DebuggerPresentationModelResourceBinding.prototype._setContentWithInitialContent):
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype.canShowAnchorLocation):
(WebInspector.ScriptsPanel.prototype._createSourceFrame):
(WebInspector.ScriptsPanel.prototype._sourceFrameLoaded):
(WebInspector.ScriptsPanel.prototype._callFrameSelected.didGetSourceLocation):
(WebInspector.ScriptsPanel.prototype._callFrameSelected):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.requestContent):
(WebInspector.SourceFrameDelegateForScriptsPanel.prototype.suggestedFileName):
- inspector/front-end/SourceFile.js:
(WebInspector.RawSourceCode.prototype.rawLocationToUILocation):
(WebInspector.UILocation):
LayoutTests:
- inspector/debugger/scripts-panel.html:
- inspector/debugger/source-file.html:
- 7:55 AM Changeset in webkit [93976] by
-
- 2 edits in trunk/LayoutTests
[Qt] The square-button-appearance test is wrong
https://bugs.webkit.org/show_bug.cgi?id=67128
Unreviewed skip until square-button fix on qt-arm.
- platform/qt-arm/Skipped:
- 7:14 AM Changeset in webkit [93975] by
-
- 2 edits in trunk/LayoutTests
2011-08-29 Zsolt Fehér <feherzs@inf.u-szeged.hu>
Unreviewed Qt gardening.
- platform/qt/Skipped:
- 7:11 AM Changeset in webkit [93974] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: cached permanent redirects don't show redirect code and text in Network panel.
https://bugs.webkit.org/show_bug.cgi?id=67126
Reviewed by Yury Semikhatsky.
- inspector/InspectorResourceAgent.cpp:
(WebCore::buildObjectForResourceResponse):
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkDataGridNode.prototype._refreshStatusCell):
- 5:34 AM Changeset in webkit [93973] by
-
- 2 edits in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, update chromium test expectations.
- platform/chromium/test_expectations.txt:
- 5:19 AM Changeset in webkit [93972] by
-
- 5 edits in trunk
Web Inspector: extract FormattedContentProvider from RawSourceCode.
https://bugs.webkit.org/show_bug.cgi?id=66938
Reviewed by Pavel Feldman.
Source/WebCore:
- inspector/front-end/SourceFile.js:
(WebInspector.RawSourceCode.prototype._setContentProvider):
(WebInspector.RawSourceCode.prototype._loadResourceContent):
(WebInspector.RawSourceCode.prototype._loadScriptContent):
(WebInspector.RawSourceCode.prototype._loadAndConcatenateScriptsContent):
(WebInspector.RawSourceCode.prototype._didRequestContent):
(WebInspector.FormattedContentProvider):
(WebInspector.FormattedContentProvider.prototype.requestContent.didRequestContent.didFormatContent):
(WebInspector.FormattedContentProvider.prototype.requestContent):
LayoutTests:
- inspector/debugger/content-providers-expected.txt:
- inspector/debugger/content-providers.html:
- 5:03 AM Changeset in webkit [93971] by
-
- 2 edits1 delete in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, mark fast/dom/dom-constructors.html as TEXT in chromium.
- platform/chromium/fast/dom/dom-constructors-expected.txt: Removed.
- platform/chromium/test_expectations.txt:
- 4:45 AM Changeset in webkit [93970] by
-
- 2 edits in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, fix event-constructors.html test.
https://bugs.webkit.org/show_bug.cgi?id=63878
- fast/events/constructors/event-constructors.html:
- 4:36 AM Changeset in webkit [93969] by
-
- 4 edits in trunk
Web Inspector: link UISourceCode to RawSourceCode.
https://bugs.webkit.org/show_bug.cgi?id=66944
Reviewed by Pavel Feldman.
Source/WebCore:
- inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode):
(WebInspector.UISourceCode.prototype.get rawSourceCode):
LayoutTests:
- inspector/debugger/ui-source-code.html:
- 4:19 AM Changeset in webkit [93968] by
-
- 2 edits in trunk/LayoutTests
[Qt] Skip failing and flaky results after r93937
https://bugs.webkit.org/show_bug.cgi?id=67118
- platform/qt/Skipped:
- 2:55 AM Changeset in webkit [93967] by
-
- 2 edits in trunk/Source/WebKit/efl
REGRESSION(r93637) Build break because header file is missing.
https://bugs.webkit.org/show_bug.cgi?id=67113
Unreviewed build fix after r93637.
- CMakeListsEfl.txt: Add ewk_js.h in EWebKit_HEADERS.
- 2:35 AM Changeset in webkit [93966] by
-
- 2 edits in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, mark overflow-scroll-overlap.html as flaky on chromium gpu.
- platform/chromium/test_expectations.txt:
- 2:17 AM Changeset in webkit [93965] by
-
- 1 edit1 add in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, add new chromium mac cg baseline for square-button-appearance added in r93953.
- platform/chromium-cg-mac-leopard/fast/css/square-button-appearance-expected.png: Added.
- 2:09 AM Changeset in webkit [93964] by
-
- 2 edits in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, update chromium expectations. Mark frame-removed-during-resize.html and scrollbar-buttons.html
as crashing on win linux debug only.
- platform/chromium/test_expectations.txt:
- 2:06 AM Changeset in webkit [93963] by
-
- 5 edits in trunk
Web Inspector: remove RawSourceCode.setFormatted.
https://bugs.webkit.org/show_bug.cgi?id=66947
Reviewed by Pavel Feldman.
Source/WebCore:
- inspector/front-end/DebuggerPresentationModel.js:
- inspector/front-end/SourceFile.js:
(WebInspector.RawSourceCode):
LayoutTests:
- inspector/debugger/source-file.html:
- 1:53 AM Changeset in webkit [93962] by
-
- 3 edits2 moves in trunk
Web Inspector: Debugger.setBreakpointByUrl should return error when setting breakpoint on the same location twice.
https://bugs.webkit.org/show_bug.cgi?id=67030
Reviewed by Pavel Feldman.
Source/WebCore:
Test: inspector/debugger/set-breakpoint.html
- inspector/InspectorDebuggerAgent.cpp:
(WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
LayoutTests:
- inspector/debugger/set-breakpoint-expected.txt: Renamed from LayoutTests/inspector/debugger/debugger-pause-on-breakpoint-expected.txt.
- inspector/debugger/set-breakpoint.html: Renamed from LayoutTests/inspector/debugger/debugger-pause-on-breakpoint.html.
- 1:37 AM Changeset in webkit [93961] by
-
- 2 edits in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, fix event-constructors.html test.
https://bugs.webkit.org/show_bug.cgi?id=63878
- fast/events/constructors/event-constructors.html:
- 1:22 AM Changeset in webkit [93960] by
-
- 2 edits in trunk/Source/WebKit2
[GTK][WK2] Compilation error in WebKit2 GTK - Revision 93953
https://bugs.webkit.org/show_bug.cgi?id=67111
Patch by Vamshikrishna Yellenki <vamshi@motorola.com> on 2011-08-29
Reviewed by Martin Robinson.
WebKit2 GTK build error.
- WebProcess/WebCoreSupport/gtk/WebErrorsGtk.cpp:
Include <WebCore/ResourceError.h> explicitly to remove WebCore::ResourceError
inclusion error.
- 1:10 AM Changeset in webkit [93959] by
-
- 2 edits in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, mark event-constructors.html as failing in chromium.
https://bugs.webkit.org/show_bug.cgi?id=66756
- platform/chromium/test_expectations.txt:
- 12:40 AM Changeset in webkit [93958] by
-
- 1 edit1 add in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, adding custom expectation for dom-constructors test in chromium
until bug 66756 is resolved.
https://bugs.webkit.org/show_bug.cgi?id=66756
- platform/chromium/fast/dom/dom-constructors-expected.txt: Added.
- 12:34 AM Changeset in webkit [93957] by
-
- 2 edits in trunk/Source/WebCore
fast/canvas/shadow-offset-*.html fail on Leopard/Snow Leopard when removing the work around for <rdar://problem/5539388>.
https://bugs.webkit.org/show_bug.cgi?id=67107
Reviewed by David Levin.
No new tests. Effectively reverting the change from https://bugs.webkit.org/show_bug.cgi?id=67052 for Leopard and SL
because it caused test regressions on Leopard and SL, but not Lion.
- platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::setPlatformShadow):
- 12:16 AM Changeset in webkit [93956] by
-
- 2 edits in trunk/LayoutTests
2011-08-29 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, mark scrollbars/scrollbar-buttons.html as crashing in chromium.
- platform/chromium/test_expectations.txt:
- 12:07 AM Changeset in webkit [93955] by
-
- 3 edits in trunk/Source/WebCore
[Qt] Unreviewed minimal-build buildfix after r93937.
- platform/qt/RenderThemeQt.cpp:
(WebCore::RenderThemeQt::paintInnerSpinButton):
- platform/qt/RenderThemeQt.h:
Patch by Zoltan Herczeg <zherczeg@webkit.org> on 2011-08-29