- 13 Apr, 2012 40 commits
-
-
rniwa@webkit.org authored
* Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dino@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=83317 Reviewed by Simon Fraser. Source/WebCore: An extremely large element causes problems with filters, either by taking too long to compute the output or using too much memory. The filter engine already has some constants for maximum expected size. Make sure the render tree checks them before deciding to apply effects. Tests: css3/filters/huge-region-composited.html css3/filters/huge-region.html * platform/graphics/filters/FilterEffect.cpp: (WebCore::FilterEffect::apply): * rendering/FilterEffectRenderer.cpp: (WebCore): (WebCore::isFilterSizeValid): (WebCore::FilterEffectRenderer::build): (WebCore::FilterEffectRenderer::updateBackingStore): (WebCore::FilterEffectRendererHelper::beginFilterEffect): * rendering/FilterEffectRenderer.h: (FilterEffectRenderer): * rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateOrRemoveFilterEffect): LayoutTests: * css3/filters/huge-region-composited-expected.txt: Added. * css3/filters/huge-region-composited.html: Added. * css3/filters/huge-region-expected.txt: Added. * css3/filters/huge-region.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
annacc@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=83858 Reviewed by Eric Carlson. Source/WebCore: No new tests. Updates to media/track/track-cues-cuechange.html and media/track/track-mode.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::updateActiveTextTrackCues): Add HTMLTrackElement's cuechange event to the event queue rather than firing it synchronously. * html/track/LoadableTextTrack.cpp: Remove fireCueChangeEvent() as it is no longer used. * html/track/LoadableTextTrack.h: Ditto. * html/track/TextTrack.h: (TextTrack): Ditto. LayoutTests: * media/track/captions-webvtt/captions-fast.vtt: Captions were a wee bit too fast: they need to be at least 250ms apart for accurate testing as timeupdate events are only fired every 250ms. * media/track/track-cues-cuechange-expected.txt: Changes the order that cuechange events are fired. * media/track/track-cues-cuechange.html: Ditto. * media/track/track-mode-expected.txt: cuechange events are now fired at the proper times. Test now checks for all cuechange events (both enter and exit of cues). * media/track/track-mode.html: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114171 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tonikitoo@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=79611 Reviewed by James Robinson. Patch by Antonio Gomes <agomes@rim.com> Source/WebCore: As of today, any FrameView attached to the Widget-tree or any RenderLayer whose corresponding RenderBox's style has a 'overflow' property set to 'auto' is cached in its containing scrollable areas set. We could be more restrictive about what we in fact want to cache as scrollable areas, by checking if the element as an overflow (i.e. more content than its viewport). * page/FrameView.cpp: (WebCore::FrameView::setFrameRect): Whenever the viewport changes, check if we have an scrollable/overflowed content, and update the cache accordingly. (WebCore::FrameView::setContentsSize): Whenever the contents size changes, check if we have a scrollable/overflowed content, and update the cache accordingly. (WebCore::FrameView::calculateScrollbarModesForLayout): Introduces a way to query for the scrollbars by only taking into account the "rules" set by the web author. For that, a new enum was added called SrollbarModesCalculationStrategy, which allows callers to discard for example client-side scrollbar policies in order to verify if a given frameview is scrollable or not. (WebCore::FrameView::updateScrollableAreaSet): Take into account various factors before considering a FrameView as scrollable. If in the end it is, it gets added to its parent FrameView scrollable areas map, otherwise removed. (WebCore): (WebCore::FrameView::addScrollableArea): Became unneeded, thus removed. (WebCore::FrameView::removeScrollableArea): Whenever a FrameView is removed from the Widget-tree, remove it from the cache. * page/FrameView.h: (FrameView): * rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateScrollbarsAfterLayout): Update scrollable area set after layout. (WebCore::RenderLayer::updateScrollbarsAfterStyleChange): Update scrollable area set after style changes. (WebCore::RenderLayer::styleChanged): Removed the scrollable areas logic detection from it. (WebCore::RenderLayer::updateScrollableAreaSet): Updates the containing FrameView scrollable areas cache only when needed (i.e. an overflow exists). (WebCore): * rendering/RenderLayer.h: (RenderLayer): * testing/Internals.cpp: (WebCore::Internals::numberOfScrollableAreas): (WebCore): * testing/Internals.h: (Internals): * testing/Internals.idl: Tests: fast/scrolling/scrollable-area-frame-inherited-visibility-hidden.html fast/scrolling/scrollable-area-frame-overflow-hidden.html fast/scrolling/scrollable-area-frame-overried-inherited-visibility-hidden.html fast/scrolling/scrollable-area-frame-scrolling-no-overried-inherited-visibility-hidden.html fast/scrolling/scrollable-area-frame-scrolling-no-visibility-hidden-child.html fast/scrolling/scrollable-area-frame-scrolling-no.html fast/scrolling/scrollable-area-frame-scrolling-yes-display-none.html fast/scrolling/scrollable-area-frame-scrolling-yes.html fast/scrolling/scrollable-area-frame-visibility-hidden-child.html fast/scrolling/scrollable-area-frame-zero-size-and-border.html fast/scrolling/scrollable-area-frame.html fast/scrolling/scrollable-area-overflow-auto-display-none-in-parent.html fast/scrolling/scrollable-area-overflow-auto-display-none.html fast/scrolling/scrollable-area-overflow-auto-visibility-hidden-in-parent.html fast/scrolling/scrollable-area-overflow-auto-visibility-hidden.html fast/scrolling/scrollable-area-overflow-auto-visibility-override.html fast/scrolling/scrollable-area-overflow-auto-visibility-visible.html fast/scrolling/scrollable-area-overflow-auto.html fast/scrolling/scrollable-area-overflow-not-set.html fast/scrolling/scrollable-area-overflow-visible.html LayoutTests: Reviewed by NOBODY (OOPS!). Added scrollable area set count tests to many situations observed in real world sites. * fast/scrolling/resources/generic-scrollable-content.html: Added. * fast/scrolling/resources/hidden-generic-scrollable-content.html: Added. * fast/scrolling/resources/scrollable-area.js: Added. (runTest): (end): * fast/scrolling/resources/scrollable-style.css: Added. (.inner): (.offscreen): * fast/scrolling/scrollable-area-frame-expected.txt: Added. * fast/scrolling/scrollable-area-frame-inherited-visibility-hidden-expected.txt: Added. * fast/scrolling/scrollable-area-frame-inherited-visibility-hidden.html: Added. * fast/scrolling/scrollable-area-frame-overflow-hidden-expected.txt: Added. * fast/scrolling/scrollable-area-frame-overflow-hidden.html: Added. * fast/scrolling/scrollable-area-frame-overried-inherited-visibility-hidden-expected.txt: Added. * fast/scrolling/scrollable-area-frame-overried-inherited-visibility-hidden.html: Added. * fast/scrolling/scrollable-area-frame-scrolling-no-expected.txt: Added. * fast/scrolling/scrollable-area-frame-scrolling-no-overried-inherited-visibility-hidden-expected.txt: Added. * fast/scrolling/scrollable-area-frame-scrolling-no-overried-inherited-visibility-hidden.html: Added. * fast/scrolling/scrollable-area-frame-scrolling-no-visibility-hidden-child-expected.txt: Added. * fast/scrolling/scrollable-area-frame-scrolling-no-visibility-hidden-child.html: Added. * fast/scrolling/scrollable-area-frame-scrolling-no.html: Added. * fast/scrolling/scrollable-area-frame-scrolling-yes-display-none-expected.txt: Added. * fast/scrolling/scrollable-area-frame-scrolling-yes-display-none.html: Added. * fast/scrolling/scrollable-area-frame-scrolling-yes-expected.txt: Added. * fast/scrolling/scrollable-area-frame-scrolling-yes.html: Added. * fast/scrolling/scrollable-area-frame-visibility-hidden-child-expected.txt: Added. * fast/scrolling/scrollable-area-frame-visibility-hidden-child.html: Added. * fast/scrolling/scrollable-area-frame-zero-size-and-border-expected.txt: Added. * fast/scrolling/scrollable-area-frame-zero-size-and-border.html: Added. * fast/scrolling/scrollable-area-frame.html: Added. * fast/scrolling/scrollable-area-overflow-auto-display-none-expected.txt: Added. * fast/scrolling/scrollable-area-overflow-auto-display-none-in-parent-expected.txt: Added. * fast/scrolling/scrollable-area-overflow-auto-display-none-in-parent.html: Added. * fast/scrolling/scrollable-area-overflow-auto-display-none.html: Added. * fast/scrolling/scrollable-area-overflow-auto-expected.txt: Added. * fast/scrolling/scrollable-area-overflow-auto-visibility-hidden-expected.txt: Added. * fast/scrolling/scrollable-area-overflow-auto-visibility-hidden-in-parent-expected.txt: Added. * fast/scrolling/scrollable-area-overflow-auto-visibility-hidden-in-parent.html: Added. * fast/scrolling/scrollable-area-overflow-auto-visibility-hidden.html: Added. * fast/scrolling/scrollable-area-overflow-auto-visibility-override-expected.txt: Added. * fast/scrolling/scrollable-area-overflow-auto-visibility-override.html: Added. * fast/scrolling/scrollable-area-overflow-auto-visibility-visible-expected.txt: Added. * fast/scrolling/scrollable-area-overflow-auto-visibility-visible.html: Added. * fast/scrolling/scrollable-area-overflow-auto.html: Added. * fast/scrolling/scrollable-area-overflow-not-set-expected.txt: Added. * fast/scrolling/scrollable-area-overflow-not-set.html: Added. * fast/scrolling/scrollable-area-overflow-visible-expected.txt: Added. * fast/scrolling/scrollable-area-overflow-visible.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Rubber-stamped by Dan Bernstein. * WebKit2.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
antti@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=83923 Reviewed by Andreas Kling. Currently CSSParser sets usesRemUnits flag directly to Document. It should be set to the stylesheet instead so parser does not need to know about the document. This also avoids setting the flag unnecessarily when the stylesheet is not used. * css/CSSGrammar.y: * css/CSSStyleSheet.cpp: (WebCore::StyleSheetInternal::StyleSheetInternal): * css/CSSStyleSheet.h: (WebCore::StyleSheetInternal::parserSetUsesRemUnits): (WebCore::StyleSheetInternal::usesRemUnits): (StyleSheetInternal): * dom/Document.cpp: (WebCore): (WebCore::checkUsesRemUnits): (WebCore::Document::updateActiveStylesheets): * dom/Document.h: (WebCore::Document::usesRemUnits): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
scheib@chromium.org authored
Unreviewed. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=83733 Reviewed by Adrienne Walker. Source/Platform: Remove compositeOffscreen setting. This was an experiment that is no longer needed. * chromium/public/WebLayerTreeView.h: (WebKit::WebLayerTreeView::Settings::Settings): (Settings): Source/WebCore: Remove compositeOffscreen setting and implementation. This was an experiment that is no longer needed. * platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::finishDrawingFrame): (WebCore::LayerRendererChromium::useRenderSurface): (WebCore::LayerRendererChromium::setScissorToRect): * platform/graphics/chromium/LayerRendererChromium.h: (LayerRendererChromium): * platform/graphics/chromium/cc/CCLayerTreeHost.h: (WebCore::CCSettings::CCSettings): (CCSettings): Source/WebKit/chromium: Remove compositeOffscreen / compositeToTexture setting. This was an experiment that is no longer needed. * public/WebSettings.h: * src/WebLayerTreeView.cpp: (WebKit::WebLayerTreeView::Settings::operator CCSettings): * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::WebSettingsImpl): * src/WebSettingsImpl.h: (WebSettingsImpl): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): Tools: Remove compositeOffscreen / compositeToTexture setting. This was an experiment that is no longer needed. * DumpRenderTree/chromium/DumpRenderTree.cpp: (main): * DumpRenderTree/chromium/TestShell.cpp: (TestShell::TestShell): (TestShell::resetWebSettings): * DumpRenderTree/chromium/TestShell.h: (TestShell): * DumpRenderTree/chromium/WebPreferences.cpp: (WebPreferences::reset): (WebPreferences::applyTo): * DumpRenderTree/chromium/WebPreferences.h: (WebPreferences): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=83925 <rdar://problem/11231790> Reviewed by Antti Koivisto. Added subtests to http/tests/cache/subresource-expiration-2.html. * platform/network/ResourceResponseBase.cpp: (WebCore::ResourceResponseBase::parseCacheControlDirectives): Honor first max-age instead of the last. New behavior matches both Firefox and IE. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=83851 Reviewed by Adam Barth. Source/Platform: Move WebVideoFrame API into Platform. * Platform.gypi: * chromium/public/WebVideoFrame.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.h. (WebKit): (WebVideoFrame): (WebKit::WebVideoFrame::~WebVideoFrame): (WebKit::WebVideoFrame::format): (WebKit::WebVideoFrame::width): (WebKit::WebVideoFrame::height): (WebKit::WebVideoFrame::planes): (WebKit::WebVideoFrame::stride): (WebKit::WebVideoFrame::data): (WebKit::WebVideoFrame::textureId): (WebKit::WebVideoFrame::textureTarget): * chromium/src/WebVideoFrame.cpp: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.cpp. (WebKit): Source/WebCore: Remove VideoFrameChromium wrapper and converts WebCore code to using the Platform WebVideoFrame API directly. Some utility code that previously existed on VideoFrameChromium and only had one caller, such as doing width/height adjustements for YV12 frames, is moved into the calling code (CCVideoLayerImpl). Covered by existing media/ and compositing/ layout tests. * WebCore.gypi: * platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::drawYUV): (WebCore::LayerRendererChromium::drawRGBA): (WebCore::LayerRendererChromium::copyFrameToTextures): * platform/graphics/chromium/LayerRendererChromium.h: * platform/graphics/chromium/VideoFrameProvider.h: (VideoFrameProvider): * platform/graphics/chromium/cc/CCVideoDrawQuad.cpp: (WebCore::CCVideoDrawQuad::create): (WebCore::CCVideoDrawQuad::CCVideoDrawQuad): * platform/graphics/chromium/cc/CCVideoDrawQuad.h: (WebKit): (CCVideoDrawQuad): (WebCore::CCVideoDrawQuad::frame): * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp: (WebCore): (WebCore::convertVFCFormatToGC3DFormat): (WebCore::CCVideoLayerImpl::willDraw): (WebCore::videoFrameDimension): (WebCore::hasPaddingBytes): (WebCore::CCVideoLayerImpl::computeVisibleSize): (WebCore::CCVideoLayerImpl::reserveTextures): * platform/graphics/chromium/cc/CCVideoLayerImpl.h: (WebKit): Source/WebKit/chromium: Moves the WebVideoFrame interface into Platform and removes the now unnecessary VideoFrameChromiumImpl adapter implementation. * WebKit.gyp: * public/WebVideoFrame.h: * src/AssertMatchingEnums.cpp: * src/VideoFrameChromiumImpl.cpp: Removed. * src/VideoFrameChromiumImpl.h: Removed. * src/WebMediaPlayerClientImpl.cpp: (WebKit::WebMediaPlayerClientImpl::getCurrentFrame): (WebKit::WebMediaPlayerClientImpl::putCurrentFrame): (WebKit::WebMediaPlayerClientImpl::supportsType): * src/WebMediaPlayerClientImpl.h: (WebMediaPlayerClientImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
scheib@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=81859 Patch by Rob Flack <flackr@chromium.org> on 2012-04-13 Reviewed by Adam Barth. Source/WebCore: Test: fast/css/image-set-parsing.html * WebCore.gypi: Source/WebKit/chromium: * features.gypi: LayoutTests: * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tomz@codeaurora.org authored
https://bugs.webkit.org/show_bug.cgi?id=83830 Patch by Dave Tharp < dtharp@codeaurora.org> on 2012-04-13 Reviewed by Adam Barth * ietestcenter/css3/grid/display-grid-001.htm: Added. * ietestcenter/css3/grid/display-grid-002.htm: Added. * ietestcenter/css3/grid/grid-column-001.htm: Added. * ietestcenter/css3/grid/grid-column-002.htm: Added. * ietestcenter/css3/grid/grid-column-003.htm: Added. * ietestcenter/css3/grid/grid-columns-001.htm: Added. * ietestcenter/css3/grid/grid-items-001.htm: Added. * ietestcenter/css3/grid/grid-items-002.htm: Added. * ietestcenter/css3/grid/grid-items-003.htm: Added. * ietestcenter/css3/grid/grid-items-004.htm: Added. * ietestcenter/css3/grid/grid-items-005.htm: Added. * platform/chromium/test_expectations.txt: * platform/efl/test_expectations.txt: * platform/gtk/test_expectations.txt: * platform/mac/test_expectations.txt: * platform/qt/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
michaeln@google.com authored
library in its main browser process, there are a handful of files that should no longer be included in the build, and a few files than should be deleted outright, and the webkit api should be modified to reflect the new (and smaller) contract between the embedder and webkit/webcore. https://bugs.webkit.org/show_bug.cgi?id=83807 Reviewed by Adam Barth. Source/WebCore: No new tests, existing tests apply. * WebCore.gyp/WebCore.gyp: Exclude several files from the WebCore/storage directory. * storage/StorageEventDispatcher.h: Delete a stale comment. Source/WebKit/chromium: * WebKit.gyp: Delete a few files. * public/WebStorageNamespace.h: Remove some unused data members and methods, and annotate close() as deprecated. * public/platform/WebKitPlatformSupport.h: Annotate a method as deprecated. * src/StorageAreaProxy.cpp: Remove the include of a deleted file. * src/StorageEventDispatcherChromium.cpp: Removed. * src/StorageEventDispatcherImpl.cpp: Added a FIXME comment for upcoming work. * src/StorageNamespaceProxy.cpp: Modified to no longer call out to the embedder thru the deprecated close() method. * src/StorageNamespaceProxy.h: Moved some blank lines around. * src/WebStorageAreaImpl.cpp: Removed. * src/WebStorageAreaImpl.h: Removed. * src/WebStorageEventDispatcherImpl.cpp: Cleaned up some cruft. * src/WebStorageNamespaceImpl.cpp: Removed. * src/WebStorageNamespaceImpl.h: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
* platform/gtk/fast/dom/Window/window-properties-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
and also rebaseline the test results since we ignore the first run now. * Scripts/webkitpy/performance_tests/perftest.py: (PageLoadingPerfTest.run): * Scripts/webkitpy/performance_tests/perftest_unittest.py: (TestPageLoadingPerfTest.test_run): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=83924 Reviewed by Oliver Hunt. Store offsets in the structure stub info, as we do for the DFG JIT. * assembler/AbstractMacroAssembler.h: (JSC::AbstractMacroAssembler::differenceBetween): - this method can be static (now used from PropertyStubCompilationInfo::copyToStubInfo, will be removed soon!) * bytecode/StructureStubInfo.h: - added new fields for baseline JIT offsets. * jit/JIT.cpp: (JSC::PropertyStubCompilationInfo::copyToStubInfo): - moved out from JIT::privateCompile. (JSC::JIT::privateCompile): - moved out code to PropertyStubCompilationInfo::copyToStubInfo. * jit/JIT.h: (PropertyStubCompilationInfo): - added helper functions to initializae PropertyStubCompilationInfo, state to store more offset info. - removed many offsets. * jit/JITPropertyAccess.cpp: (JSC::JIT::emit_op_method_check): (JSC::JIT::compileGetByIdHotPath): (JSC::JIT::compileGetByIdSlowCase): (JSC::JIT::emit_op_put_by_id): (JSC::JIT::emitSlow_op_put_by_id): (JSC::JIT::patchGetByIdSelf): (JSC::JIT::patchPutByIdReplace): (JSC::JIT::privateCompilePatchGetArrayLength): (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdSelfList): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain): (JSC::JIT::resetPatchGetById): (JSC::JIT::resetPatchPutById): - changed code generation to use new interface to store info on PropertyStubCompilationInfo. - changed repatch functions to read offsets from the structure stub info. * jit/JITPropertyAccess32_64.cpp: (JSC::JIT::emit_op_method_check): (JSC::JIT::compileGetByIdHotPath): (JSC::JIT::compileGetByIdSlowCase): (JSC::JIT::emit_op_put_by_id): (JSC::JIT::emitSlow_op_put_by_id): (JSC::JIT::patchGetByIdSelf): (JSC::JIT::patchPutByIdReplace): (JSC::JIT::privateCompilePatchGetArrayLength): (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdSelfList): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain): (JSC::JIT::resetPatchGetById): (JSC::JIT::resetPatchPutById): - changed code generation to use new interface to store info on PropertyStubCompilationInfo. - changed repatch functions to read offsets from the structure stub info. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
* platform/mac/fast/dom/Window/window-properties-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=80790 Reviewed by Antonio Gomes. Fix signed/unsigned comparison warning. * parser/Lexer.cpp: (JSC::::record16): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=83927 Reviewed by Alexey Proskuryakov. * WebProcess/mac/WebProcessMac.mm: (WebKit::initializeSandbox): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
scheib@chromium.org authored
http://trac.webkit.org/changeset/114140 https://bugs.webkit.org/show_bug.cgi?id=83921 Fails fast/css/image-set-parsing.html test it attempts to introduce. (Requested by scheib on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-13 Source/WebCore: * WebCore.gypi: Source/WebKit/chromium: * features.gypi: LayoutTests: * platform/chromium/fast/css/image-set-parsing-expected.txt: Removed. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/10912680mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=83836 Reviewed by Darin Adler. Source/WebCore: Test: fast/canvas/2d.imageDataHD.html Added getImageDataHD and putImageDataHD functions to CanvasRenderingContext2D, as proposed in <http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-March/035112.html>. The functions are prefixed with “webkit” for now. * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::getImageData): Added this cover function that calls through to getImageData with LogicalCoordinateSystem. (WebCore::CanvasRenderingContext2D::webkitGetImageDataHD): Added. Calls through to getImageData with BackingStoreCoordinateSystem. (WebCore::CanvasRenderingContext2D::getImageData): Added a CoordinateSystem parameter to this now-private function. It is passed through to ImageBuffer::getUnmultipliedImageData(). (WebCore::CanvasRenderingContext2D::putImageData): Added this cover function that calls through to putImageData with LogicalCoordinateSystem. (WebCore::CanvasRenderingContext2D::webkitPutImageDataHD): Added. Calls through to putImageData with BackingStoreCoordinateSystem. (WebCore::CanvasRenderingContext2D::putImageData): Added a CoordinateSystem parameter to this function. It is passed through to ImageBuffer::putByteArray, and used to compute the rect to invalidate after the drawing operation. * html/canvas/CanvasRenderingContext2D.h: * html/canvas/CanvasRenderingContext2D.idl: Added webkitPutImageDataHD() and webkitGetImageDataHD(). * platform/graphics/ImageBuffer.h: Added a CoordinateSystem enum with the values LogicalCoordinateSystem and BackingStoreCoordinateSystem. Added a CoordinateSystem parameter, which defaults to LogicalCoordinateSystem, to getUnmultipliedImageData, getPremultipliedImageData, and putByteArray. * platform/graphics/cairo/ImageBufferCairo.cpp: (WebCore::ImageBuffer::getUnmultipliedImageData): (WebCore::ImageBuffer::getPremultipliedImageData): (WebCore::ImageBuffer::putByteArray): (WebCore::ImageBuffer::toDataURL): * platform/graphics/cg/ImageBufferCG.cpp: (WebCore::ImageBuffer::getUnmultipliedImageData): Now uses the CoordinateSystem parameter to decide whether to ask ImageBufferDaya::getData() to apply the resolution scale or not. (WebCore::ImageBuffer::getPremultipliedImageData): Ditto. (WebCore::ImageBuffer::putByteArray): Now uses the CoordinateSystem parameter to decide whether to maintain the resolution scale while drawing or not. (WebCore::ImageBuffer::toDataURL): * platform/graphics/gtk/ImageBufferGtk.cpp: (WebCore::ImageBuffer::toDataURL): * platform/graphics/qt/ImageBufferQt.cpp: (WebCore::ImageBuffer::getUnmultipliedImageData): (WebCore::ImageBuffer::getPremultipliedImageData): (WebCore::ImageBuffer::putByteArray): (WebCore::ImageBuffer::toDataURL): * platform/graphics/skia/ImageBufferSkia.cpp: (WebCore::ImageBuffer::getUnmultipliedImageData): (WebCore::ImageBuffer::getPremultipliedImageData): (WebCore::ImageBuffer::putByteArray): (WebCore::ImageBuffer::toDataURL): * platform/graphics/wince/ImageBufferWinCE.cpp: (WebCore::ImageBuffer::getUnmultipliedImageData): (WebCore::ImageBuffer::getPremultipliedImageData): (WebCore::ImageBuffer::putByteArray): (WebCore::ImageBuffer::toDataURL): * platform/graphics/wx/ImageBufferWx.cpp: (WebCore::ImageBuffer::getUnmultipliedImageData): (WebCore::ImageBuffer::getPremultipliedImageData): (WebCore::ImageBuffer::putByteArray): (WebCore::ImageBuffer::toDataURL): LayoutTests: * fast/canvas/2d.imageDataHD-expected.txt: Added. * fast/canvas/2d.imageDataHD.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=83861 Reviewed by Adam Barth. PerformanceTests: Unskip PageLoad directory and skip tests that load too fast (less than 100ms) and are unstable, and the ones that take too long to load (more than 20s). * Skipped: Tools: Add support for page loading tests. These are tests without any test running harnesses, and we use DriverOutput's test_timeout to measure the loading time. Extracted PerfTest.run and PerfTest.run_failed from PerfTestRunner._run_single_test. * Scripts/webkitpy/performance_tests/perftest.py: (PerfTest.run): (PerfTest): (PerfTest.run_failed): (PerfTest.parse_output): (PerfTest.output_statistics): (ChromiumStylePerfTest.parse_output): (PageLoadingPerfTest): Added. (PageLoadingPerfTest.__init__): (PageLoadingPerfTest.run): Run the driver 20 times to get the statistics for the loading time. * Scripts/webkitpy/performance_tests/perftest_unittest.py: Added. (MockPrinter): (MockPrinter.__init__): (MockPrinter.write): (MainTest): (MainTest.test_parse_output): (MainTest.test_parse_output_with_failing_line): (TestPageLoadingPerfTest): (TestPageLoadingPerfTest.assertWritten): (TestPageLoadingPerfTest.MockDriver): (TestPageLoadingPerfTest.MockDriver.__init__): (TestPageLoadingPerfTest.MockDriver.run_test): (TestPageLoadingPerfTest.test_run): (TestPageLoadingPerfTest.test_run_with_bad_output): * Scripts/webkitpy/performance_tests/perftestsrunner.py: (PerfTestsRunner): (PerfTestsRunner._collect_tests._is_test_file): Now recognizes svg tests. (PerfTestsRunner._collect_tests): (PerfTestsRunner._run_tests_set): (PerfTestsRunner._run_single_test): * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py: (test_collect_tests_with_page_load_svg): (test_collect_tests_with_page_load_svg.add_file): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
* platform/mac/fast/dom/Window/window-property-descriptors-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
shawnsingh@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=67499 Reviewed by James Robinson. No new tests because this code is debugging code itself. The last item that was needed to make the CCHeadsUpDisplay work in threaded compositing mode was to remove the font rendering code used on the impl-side thread. To solve this, this patch adds a CCFontAtlas that is initialized on the main thread (where the font rendering takes place). Then, when the HUD draws text on the impl thread, it uses the font atlas directly. * WebCore.gypi: * platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::create): (WebCore::LayerRendererChromium::initialize): * platform/graphics/chromium/LayerRendererChromium.h: (WebCore): (LayerRendererChromium): * platform/graphics/chromium/cc/CCFontAtlas.cpp: Added. (WebCore): (WebCore::CCFontAtlas::CCFontAtlas): (WebCore::wrapPositionIfNeeded): (WebCore::CCFontAtlas::generateAtlasForFont): (WebCore::CCFontAtlas::initialize): (WebCore::CCFontAtlas::drawText): (WebCore::CCFontAtlas::drawOneLineOfTextInternal): (WebCore::CCFontAtlas::drawDebugAtlas): * platform/graphics/chromium/cc/CCFontAtlas.h: Added. (WebCore): (CCFontAtlas): (WebCore::CCFontAtlas::create): * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp: (WebCore::CCHeadsUpDisplay::CCHeadsUpDisplay): (WebCore): (WebCore::CCHeadsUpDisplay::showPlatformLayerTree): (WebCore::CCHeadsUpDisplay::drawHudContents): (WebCore::CCHeadsUpDisplay::drawFPSCounter): (WebCore::CCHeadsUpDisplay::drawFPSCounterText): (WebCore::CCHeadsUpDisplay::drawPlatformLayerTree): * platform/graphics/chromium/cc/CCHeadsUpDisplay.h: (WebCore::CCHeadsUpDisplay::create): (CCHeadsUpDisplay): * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: (WebCore::CCLayerTreeHost::initialize): * platform/graphics/chromium/cc/CCLayerTreeHost.h: (WebCore): (WebCore::CCLayerTreeHost::headsUpDisplayFontAtlas): (CCLayerTreeHost): * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp: (WebCore::CCLayerTreeHostImpl::initializeLayerRenderer): * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h: (WebCore): (CCLayerTreeHostImpl): * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp: (WebCore::CCSingleThreadProxy::initializeLayerRenderer): (WebCore::CCSingleThreadProxy::recreateContext): * platform/graphics/chromium/cc/CCThreadProxy.cpp: (WebCore::CCThreadProxy::initializeLayerRendererOnImplThread): (WebCore::CCThreadProxy::recreateContextOnImplThread): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
from the test_expectations.txt file. * platform/gtk/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
scheib@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=83303 Unreviewed Chromium test_expectations clean up. Previous clean up in r114137 dropped a WIN IMAGE failure suppression. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/11176921https://bugs.webkit.org/show_bug.cgi?id=83600beidson@apple.com authored
<rdar://problem/11176921> and https://bugs.webkit.org/show_bug.cgi?id=83600 Need WebKit2 API to notify whether history loads are in the page cache Source/WebKit2: - Add a new WKBundlePageLoaderClient callback allowing the bundle to be notified of back/forward navigations (and deny them if it chooses) - Add a new API to WKBundleBackForwardListItem to probe if the item is in the page cache. Reviewed by Darin Adler. Add the new WKBundleBackForwardListItem API: * WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp: (WKBundleBackForwardListItemIsInPageCache): * WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.h: * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.h: (WebKit::InjectedBundleBackForwardListItem::isInPageCache): Update the UI page loader client to allow for a user data object to be passed from the bundle: * UIProcess/API/C/WKPage.h: * UIProcess/WebLoaderClient.cpp: (WebKit::WebLoaderClient::shouldGoToBackForwardListItem): Update a comment typo. (WebKit::WebLoaderClient::willGoToBackForwardListItem): Update for the user data field. * UIProcess/WebLoaderClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::willGoToBackForwardListItem): * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: Add the new callback to the bundle loader client: * WebProcess/InjectedBundle/API/c/WKBundlePage.h: * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp: (WebKit::InjectedBundlePageLoaderClient::shouldGoToBackForwardListItem): * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h: (InjectedBundlePageLoaderClient): Call the bundle client before doing anything else, possibly canceling the navigation: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::shouldGoToHistoryItem): * WebProcess/qt/QtBuiltinBundlePage.cpp: (WebKit::QtBuiltinBundlePage::QtBuiltinBundlePage) Adopt new bundle client interface. Tools: Add a test ShouldGoToBackForwardListItem that exercises the new BundlePageLoaderClient callback as well as the new WKBundleBackForwardListItemIsInPageCache() API. Reviewed by Darin Adler. * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem.cpp: Added. (TestWebKitAPI::didFinishLoadForFrame): (TestWebKitAPI::willGoToBackForwardListItem): (TestWebKitAPI::setPageLoaderClient): (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit2/ShouldGoToBackForwardListItem_Bundle.cpp: Added. (ShouldGoToBackForwardListItemTest): (TestWebKitAPI::shouldGoToBackForwardListItemCallback): (TestWebKitAPI::ShouldGoToBackForwardListItemTest::ShouldGoToBackForwardListItemTest): (TestWebKitAPI::ShouldGoToBackForwardListItemTest::didCreatePage): * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: (WTR::InjectedBundlePage::InjectedBundlePage): Update for the new client. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
* platform/chromium/fast/dom/Window/window-property-descriptors-expected.txt: Replaced. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=81859 Patch by Rob Flack <flackr@chromium.org> on 2012-04-13 Reviewed by Adam Barth. Source/WebCore: Test: fast/css/image-set-parsing.html * WebCore.gypi: Source/WebKit/chromium: * features.gypi: LayoutTests: * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
antonm@chromium.org authored
Unreviewed. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
philn@webkit.org authored
* platform/gtk/test_expectations.txt: Flag fast/regions again. Only parts of it were passing, sigh. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
schenney@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=83303 Unreviewed Chromium test_expectations clean up. Consolidating common-cause flaky tests. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=83896 Reviewed by Yury Semikhatsky. Source/WebCore: When we stop in the inline script on reload, we should only show concatenated script content. When we resume, we should replace UI source code with the actual HTML content. We should not attempt to fetch resource content until request finished loading. I regressed it in the Request extraction and now am bringing it back. * inspector/front-end/RawSourceCode.js: (WebInspector.RawSourceCode): (WebInspector.RawSourceCode.prototype._finishedLoading): * inspector/front-end/ResourceScriptMapping.js: (WebInspector.ResourceScriptMapping.prototype.addScript): LayoutTests: * inspector/debugger/raw-source-code.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
philn@webkit.org authored
* platform/gtk/test_expectations.txt: Unskip fast/regions and svg/hixie/perf that seem to pass fine on GTK bots. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=83892 Reviewed by Yury Semikhatsky. Source/WebCore: Requesting content for the scripts exclusively via the page agent now. * inspector/front-end/Resource.js: (WebInspector.Resource.prototype.get content): (WebInspector.Resource.prototype.get contentEncoded): (WebInspector.Resource.prototype.requestContent): (WebInspector.ResourceRevision.prototype.requestContent): LayoutTests: * inspector/debugger/raw-source-code.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=82712 Patch by Dominik Röttsches <dominik.rottsches@linux.intel.com> on 2012-04-13 Reviewed by Adam Roben. Creating a new category definition on the buildbot frontend. * BuildSlaveSupport/build.webkit.org-config/master.cfg: (loadBuilderConfig): Determine category for EFL bots * BuildSlaveSupport/build.webkit.org-config/templates/root.html: Add links to EFL category git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yi.4.shen@nokia.com authored
https://bugs.webkit.org/show_bug.cgi?id=82689 Reviewed by Ryosuke Niwa. Added the missing h6 tag for the isHeaderElement. Source/WebCore: No new tests: updated existing test (editing/execCommand/4128080-1.html) * editing/ReplaceSelectionCommand.cpp: (WebCore::isHeaderElement): LayoutTests: * editing/execCommand/4128080-1-expected.txt: * editing/execCommand/4128080-1.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
Unreviewed. Build fix after r114126. * WebKit.gyp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=82483 Patch by Dinu Jacob <dinu.jacob@nokia.com> on 2012-04-13 Reviewed by Noam Rosenthal. This fixes API tests broken by r113715. * UIProcess/API/qt/tests/qmltests/WebView/tst_applicationScheme.qml: * UIProcess/API/qt/tests/qmltests/WebView/tst_preferences.qml: * UIProcess/API/qt/tests/qmltests/WebView/tst_titleChanged.qml: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
philn@webkit.org authored
* platform/gtk/test_expectations.txt: Marking some css2.1 tests flaky. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-