Timeline
Mar 30, 2013:
- 9:30 PM Changeset in webkit [147285] by
-
- 3 edits in trunk/Source/WebKit/chromium
[Chromium] Remove unused includes of stdio.h
https://bugs.webkit.org/show_bug.cgi?id=113650
Reviewed by Dimitri Glazkov.
We shouldn't include stdio.h. These includes aren't used anyway.
- src/WebInputEvent.cpp:
- src/x11/WebScreenInfoFactory.cpp:
- 9:11 PM Changeset in webkit [147284] by
-
- 2 edits in trunk/Source/WebCore
Remove unused include of RegularExpression.h
https://bugs.webkit.org/show_bug.cgi?id=113649
Reviewed by Dimitri Glazkov.
- Modules/filesystem/DOMFilePath.cpp:
- This include isn't used.
- 5:04 PM Changeset in webkit [147283] by
-
- 9 edits4 adds in branches/dfgFourthTier
fourthTier: FTL JIT should be able to compile the Marsaglia random number generator
https://bugs.webkit.org/show_bug.cgi?id=113635
Source/JavaScriptCore:
Reviewed by Oliver Hunt.
Just adding missing functionality.
Also "fixed" OSR exit to use a call to abort() in addition to using Unreachable
since the latter doesn't actually mean trap - quite the opposite, it tells LLVM
that the code can never be reached.
The Marsaglia function runs ~60% faster with FTL, than DFG. Not a terrible start.
- JavaScriptCore.xcodeproj/project.pbxproj:
- ftl/FTLAbbreviations.h:
(FTL):
(JSC::FTL::voidType):
(JSC::FTL::structType):
(JSC::FTL::functionType):
(JSC::FTL::addFunction):
(JSC::FTL::setLinkage):
(JSC::FTL::setFunctionCallingConv):
(JSC::FTL::addExternFunction):
(JSC::FTL::constIntToPtr):
(JSC::FTL::constBitCast):
(JSC::FTL::buildMul):
(JSC::FTL::buildOr):
(JSC::FTL::buildShl):
(JSC::FTL::buildAShr):
(JSC::FTL::buildCall):
(JSC::FTL::buildExtractValue):
(JSC::FTL::dumpModule):
(JSC::FTL::verifyModule):
- ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
- ftl/FTLCompile.cpp:
(JSC::FTL::compile):
- ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::lower):
(JSC::FTL::LowerDFGToLLVM::compileBlock):
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileAdd):
(LowerDFGToLLVM):
(JSC::FTL::LowerDFGToLLVM::compileArithMul):
(JSC::FTL::LowerDFGToLLVM::compileBitAnd):
(JSC::FTL::LowerDFGToLLVM::compileBitOr):
(JSC::FTL::LowerDFGToLLVM::compileBitRShift):
(JSC::FTL::LowerDFGToLLVM::compileBitLShift):
(JSC::FTL::LowerDFGToLLVM::compileCompareLess):
(JSC::FTL::LowerDFGToLLVM::compileBranch):
(JSC::FTL::LowerDFGToLLVM::speculateBackward):
(JSC::FTL::LowerDFGToLLVM::lowBoolean):
- ftl/FTLOutput.h:
(JSC::FTL::Output::Output):
(JSC::FTL::Output::initialize):
(JSC::FTL::Output::appendTo):
(Output):
(JSC::FTL::Output::mul):
(JSC::FTL::Output::bitOr):
(JSC::FTL::Output::shl):
(JSC::FTL::Output::aShr):
(JSC::FTL::Output::addWithOverflow32):
(JSC::FTL::Output::mulWithOverflow32):
(JSC::FTL::Output::extractValue):
(JSC::FTL::Output::call):
(JSC::FTL::Output::addWithOverflow32Function):
(JSC::FTL::Output::mulWithOverflow32Function):
- ftl/FTLState.cpp: Added.
(FTL):
(JSC::FTL::State::dumpState):
- ftl/FTLState.h:
(State):
LayoutTests:
Reviewed by Oliver Hunt.
- fast/js/regress/marsaglia-expected.txt: Added.
- fast/js/regress/marsaglia.html: Added.
- fast/js/regress/script-tests/marsaglia.js: Added.
(marsaglia):
- 12:01 PM Changeset in webkit [147282] by
-
- 8 edits1 add in trunk/Source/JavaScriptCore
Move Region into its own header
https://bugs.webkit.org/show_bug.cgi?id=113617
Reviewed by Geoffrey Garen.
BlockAllocator.h is getting a little crowded. We should move the Region class into its own
header, since it's pretty independent from the BlockAllocator.
- GNUmakefile.list.am:
- JavaScriptCore.gypi:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
- JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
- JavaScriptCore.xcodeproj/project.pbxproj:
- heap/BlockAllocator.h:
(JSC):
- heap/Region.h: Added.
(JSC):
(DeadBlock):
(JSC::DeadBlock::DeadBlock):
(Region):
(JSC::Region::blockSize):
(JSC::Region::isFull):
(JSC::Region::isEmpty):
(JSC::Region::isCustomSize):
(JSC::Region::create):
(JSC::Region::createCustomSize):
(JSC::Region::Region):
(JSC::Region::~Region):
(JSC::Region::reset):
(JSC::Region::allocate):
(JSC::Region::deallocate):
- 11:31 AM Changeset in webkit [147281] by
-
- 11 edits in trunk
Cross-Origin copy&paste / drag&drop allowing XSS via srcdoc attribute.
https://bugs.webkit.org/show_bug.cgi?id=113443
Reviewed by Adam Barth.
Source/WebCore:
Tested by LayoutTests/editing/pasteboard/paste-noscript.html
- dom/Element.h:
(Element):
(WebCore::Element::isHTMLContentAttribute):
Adds an isHTMLContentAttribute() method to determine whether an attribute can contain
(potentially unsafe) HTML content. Currently, the iframe's srcdoc attribute is the only
such attribute, but clever folks might add more in the future.
Rename stripJavaScriptAttributes() method to stripScriptingAttributes(), to better reflect
the reality that scripting content may appear as above.
Adds missing consts and consolidate isJavaScriptAttribute() method.
- dom/Element.cpp:
(WebCore::Element::isJavaScriptURLAttribute):
(WebCore::Element::stripScriptingAttributes):
Consolidated methods.
- html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::isHTMLContentAttribute):
(WebCore):
- html/HTMLFrameElementBase.h:
(HTMLFrameElementBase):
Indicate that for frames, the srcdoc attribute contains HTML content.
- html/parser/HTMLConstructionSite.cpp:
(WebCore::setAttributes):
- xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::setAttributes):
- xml/parser/XMLDocumentParserQt.cpp:
(WebCore::setAttributes):
Rename stripJavaScriptAttribute calls to match Element.h
LayoutTests:
- editing/pasteboard/paste-noscript-expected.txt:
- editing/pasteboard/paste-noscript.html:
Adds a test that an iframe's srcdoc attribute is not pasted.
- 11:22 AM Changeset in webkit [147280] by
-
- 8 edits in trunk
View-source iframes are dangerous (and not very useful).
https://bugs.webkit.org/show_bug.cgi?id=113345
Reviewed by Adam Barth.
Source/WebCore:
- html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::parseAttribute):
Conditionalize viewsource attribute on ENABLE(VIEWSOURCE_ATTRIBUTE).
Source/WebKit/chromium:
- features.gypi:
Disable VIEWSOURCE_ATTRIBUTE for chromium.
Source/WTF:
- wtf/FeatureDefines.h:
Default definition of ENABLE_VIEWSOURCE_ATTRIBUTE is enabled.
LayoutTests:
- platform/chromium/TestExpectations:
Update expectations now that chromium excludes iframe's viewsource attribute.
- 6:08 AM Changeset in webkit [147279] by
-
- 3 edits in trunk/Source/WebCore
[GTK] Should use GStreamer codec installation infrastructure
https://bugs.webkit.org/show_bug.cgi?id=34085
Reviewed by Martin Robinson.
Initial support for the GStreamer codec installer. The player will
handle missing-plugins messages and use the pbutils codec
installer facilities to install the missing GStreamer
plugins. Once the plugins are installed reset the pipeline state.
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::mediaPlayerPrivatePluginInstallerResultFunction): This
method is used to notify the player that the missing plugins were installed.
(WebCore):
(WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
(WebCore::MediaPlayerPrivateGStreamer::handleMessage): Ignore
errors while installing plugins and handle the missing-plugin message.
(WebCore::MediaPlayerPrivateGStreamer::handlePluginInstallerResult):
This method is invoked after the installer finished its task.
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(MediaPlayerPrivateGStreamer):
- 3:41 AM Changeset in webkit [147278] by
-
- 2 edits in trunk/Source/WebCore
g_slist_reverse() may not be required in webKitWebAudioSrcLoop
https://bugs.webkit.org/show_bug.cgi?id=113568
Patch by Praveen R Jadhav <praveen.j@samsung.com> on 2013-03-30
Reviewed by Philippe Normand.
Decremental 'for' loop logic implemented to avoid using g_slist_reverse().
Original code - 2.025230 micro seconds per loop
Original code + patch - 1.964759 micro seconds per loop
This patch is covered by existing webaudio tests.
- platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
(webKitWebAudioSrcLoop):
- 1:59 AM Changeset in webkit [147277] by
-
- 2 edits in trunk/Source/WebKit2
Unreviewed buildfix after r147260.
- WebProcess/qt/QtBuiltinBundlePage.cpp:
(WebKit::QtBuiltinBundlePage::QtBuiltinBundlePage):
- 1:34 AM Changeset in webkit [147276] by
-
- 2 edits in trunk/LayoutTests
Layout Test inspector/console/console-css-warnings.html is failing on debug.
https://bugs.webkit.org/show_bug.cgi?id=113483
Patch by Sergey Ryazanov <serya@chromium.org> on 2013-03-30
Reviewed by Pavel Feldman.
Desable the test (duplicate a rule from TestExpectations to override "webkit.org/b/90488 [ Debug ] inspector [ Slow ]").
- inspector/console/console-css-warnings-expected.txt:
- platform/chromium/TestExpectations:
- 1:24 AM Changeset in webkit [147275] by
-
- 14 edits in trunk/Source
Web Inspector: Fonts refactoring
https://bugs.webkit.org/show_bug.cgi?id=113047
Patch by Alexei Filippov <alph@chromium.org> on 2013-03-30
Reviewed by Pavel Feldman.
Unify fonts usage across inspector.
Make inspector default font depend on platform.
Source/WebCore:
- inspector/front-end/breakpointsList.css:
- inspector/front-end/dataGrid.css:
(.data-grid):
(.data-grid table):
(.data-grid td):
(.data-grid th.sort-ascending > div::after):
(.data-grid th.sort-descending > div::after):
(.data-grid button):
- inspector/front-end/heapProfiler.css:
(.heap-snapshot-view .class-view-toolbar input.class-name-filter):
(.heap-snapshot-view .retainers-view-header):
- inspector/front-end/inspector.css:
(.toolbar-item):
(.toolbar-label):
(.console-message .bubble):
(.outline-disclosure > ol):
(.source-code):
(.scope-bar li):
(.sidebar-tree, .sidebar-tree .children):
(.sidebar-tree-section):
(li .status .bubble):
(.sidebar-tree-item.selected):
(.sidebar-tree-item .titles):
(.sidebar-tree-item .subtitle):
(.sidebar-tree-item.selected .subtitle):
(.source-frame-breakpoint-message):
(.soft-context-menu):
- inspector/front-end/inspectorCommon.css:
(body):
(.resources-divider-label):
- inspector/front-end/navigatorView.css:
(.navigator li):
(.navigator li.selected .selection):
(.navigator .base-navigator-tree-element-title):
- inspector/front-end/networkLogView.css:
(.network-log-grid.data-grid td):
(.network-log-grid.data-grid.small td):
(.network-log-grid.data-grid th):
(.network-log-grid.data-grid select):
(.network-graph-label):
(.network-timeline-grid .resources-divider-label):
(.network-log-grid.data-grid .network-summary-bar td):
- inspector/front-end/resourcesPanel.css:
(.resources.panel .sidebar li):
(.resources.panel .sidebar li.selected):
(.resources.panel .sidebar li.selected .selection):
- inspector/front-end/sidebarPane.css:
(.sidebar-pane > .body .info):
(.sidebar-pane-title):
(.sidebar-pane-toolbar):
(.sidebar-pane-subtitle):
- inspector/front-end/tabbedPane.css:
(.tabbed-pane-header-tab):
(.tabbed-pane-header-tab-close-button):
(select.tabbed-pane-header-tabs-drop-down-select):
- inspector/front-end/timelinePanel.css:
(.memory-counter-value):
Source/WebKit/chromium:
- src/js/devTools.css:
(body.platform-linux):
(body.platform-mac):
(body.platform-windows):
- 1:14 AM Changeset in webkit [147274] by
-
- 2 edits in trunk/LayoutTests
[EFL] Remove resource-har-conversion.html from TestExpectation
https://bugs.webkit.org/show_bug.cgi?id=113586
Unreviewed, EFL gardening.
Patch by Seokju Kwon <Seokju Kwon> on 2013-03-30
- platform/efl/TestExpectations: Rebaseline after r147219.
Mar 29, 2013:
- 10:20 PM Changeset in webkit [147273] by
-
- 1 edit in branches/chromium/1453/Source/WebCore/inspector/front-end/timelinePanel.css
Merge 146849 "Web Inspector: [Timeline] Records sidebar is clipped."
BUG=222683
Web Inspector: [Timeline] Records sidebar is clipped.
https://bugs.webkit.org/show_bug.cgi?id=113177
Reviewed by Pavel Feldman.
Analysis: depending on CSS injection order sidebar rule that overwrites
"bottom" property may win.
Fix: make timeline-specific rule "important".
- inspector/front-end/timelinePanel.css:
(.timeline .sidebar): Make "bottom" value "important".
TBR=eustas@chromium.org
Review URL: https://codereview.chromium.org/13383002
- 10:12 PM Changeset in webkit [147272] by
-
- 4 edits in branches/chromium/1453
Merge 147028 "REGRESSION (r146588): Cannot correctly display Chi..."
BUG=223503
REGRESSION (r146588): Cannot correctly display Chinese SNS Renren
https://bugs.webkit.org/show_bug.cgi?id=113142
Patch by Sergey Ryazanov <serya@chromium.org> on 2013-03-27
Reviewed by Pavel Feldman.
Source/WebCore:
Changed CSS grammar to be equivalent to pre-r146588.
CSS error reporting disabled to prevent message overflow.
- css/CSSGrammar.y.in:
- css/CSSParser.cpp:
(WebCore::CSSParser::isLoggingErrors):
LayoutTests:
- TestExpectations:
- fast/css/parsing-error-recovery.html:
TBR=commit-queue@webkit.org
Review URL: https://codereview.chromium.org/13382002
- 9:51 PM Changeset in webkit [147271] by
-
- 2 edits in branches/dfgFourthTier/Source/JavaScriptCore
Unreviewed, release mode build fix.
- ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::lowInt32):
(JSC::FTL::LowerDFGToLLVM::lowCell):
(JSC::FTL::LowerDFGToLLVM::lowBoolean):
(JSC::FTL::LowerDFGToLLVM::lowJSValue):
- 9:41 PM Changeset in webkit [147270] by
-
- 2 edits in branches/dfgFourthTier/Source/JavaScriptCore
fourthTier: Change DO_NOT_INCLUDE_LLVM_CPP_HEADERS to LLVM_DO_NOT_INCLUDE_CPP_HEADERS
https://bugs.webkit.org/show_bug.cgi?id=113634
Reviewed by Dan Bernstein.
- ftl/FTLLLVMHeaders.h:
- 9:15 PM Changeset in webkit [147269] by
-
- 3 edits in branches/dfgFourthTier/Source/JavaScriptCore
fourthTier: FTL JIT should be able run some simple function
https://bugs.webkit.org/show_bug.cgi?id=113481
Reviewed by Geoffrey Garen.
I forgot to make a couple of the requested review changes, so I'm making
them now!
- ftl/FTLCompile.cpp:
(JSC::FTL::compile):
- ftl/FTLJITCode.h:
- 7:54 PM Changeset in webkit [147268] by
-
- 2 edits in trunk/Source/WebKit2
[EFL] Unreviewed build fix after r147251
https://bugs.webkit.org/show_bug.cgi?id=113631
Unreviewed build fix.
Add NETWORK_PROCESS guard.
Patch by Seokju Kwon <Seokju Kwon> on 2013-03-29
- UIProcess/WebResourceCacheManagerProxy.cpp:
(WebKit::WebResourceCacheManagerProxy::clearCacheForAllOrigins):
- 7:08 PM Changeset in webkit [147267] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, rolling out r147263.
http://trac.webkit.org/changeset/147263
https://bugs.webkit.org/show_bug.cgi?id=113632
Breaks test fast/loader/display-image-unset-allows-cached-
image-load.html (Requested by mlam on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-29
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::freshnessLifetime):
- 6:49 PM Changeset in webkit [147266] by
-
- 3 edits in trunk/Source/WebCore
Unreviewed. AppleWin VS2010 build fix.
- WebCore.vcxproj/WebCore.vcxproj:
- WebCore.vcxproj/WebCore.vcxproj.filters:
- 5:51 PM Changeset in webkit [147265] by
-
- 5 edits2 adds in trunk/Source/WebCore
When releasing a CGImage, we should also remove it from the subimage cache.
https://bugs.webkit.org/show_bug.cgi?id=102453
Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2013-03-29
Reviewed by Simon Fraser.
When we release an image(CGImageRef) from BitmapImage's cachedFrames, if the image was already
cached in subimage cache, it's ref count won't drop to 0 and the image won't be deleted. Usually,
the subimage cache will clear the whole cache in a timer with 1 sec delay. However, if WebCore has
to paint another subimage (not necessarily from the same CGImageRef) before this timer fires, we
will restart the timer and images inside the cache will stay longer than they should.
This patch does two things:
- move SubimageCacheWithTimer and related helper struct into a separate file.
- remove the image from subimage cache when we releasing the CGImageRef, this prevent subimage
cache holding the image after we released it.
No new tests, manually verified the CGImageRef is also removed from subimage cache
when we releasing the image from FrameData::clear.
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- platform/graphics/cg/BitmapImageCG.cpp:
(WebCore::FrameData::clear): remove the image from subimage cache before we releasing it.
- platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore):
(WebCore::GraphicsContext::drawNativeImage):
- platform/graphics/cg/SubimageCacheWithTimer.cpp: Added.
(WebCore):
(SubimageRequest):
(WebCore::SubimageRequest::SubimageRequest):
(WebCore::SubimageCacheAdder::hash):
(SubimageCacheAdder):
(WebCore::SubimageCacheAdder::equal):
(WebCore::SubimageCacheAdder::translate):
(WebCore::SubimageCacheWithTimer::SubimageCacheWithTimer):
(WebCore::SubimageCacheWithTimer::invalidateCacheTimerFired):
(WebCore::SubimageCacheWithTimer::getSubimage):
(WebCore::SubimageCacheWithTimer::clearImage):
(WebCore::subimageCache):
- platform/graphics/cg/SubimageCacheWithTimer.h: Added.
(WebCore):
(SubimageCacheWithTimer): Added a data member m_images to record which image and its subimages are cached.
(SubimageCacheEntry):
(SubimageCacheEntryTraits):
(WebCore::SubimageCacheWithTimer::SubimageCacheEntryTraits::isEmptyValue):
(WebCore::SubimageCacheWithTimer::SubimageCacheEntryTraits::constructDeletedValue):
(WebCore::SubimageCacheWithTimer::SubimageCacheEntryTraits::isDeletedValue):
(WebCore::SubimageCacheWithTimer::SubimageCacheHash::hash):
(WebCore::SubimageCacheWithTimer::SubimageCacheHash::equal):
(SubimageCacheHash):
- 5:19 PM Changeset in webkit [147264] by
-
- 4 edits2 adds in branches/dfgFourthTier
fourthTier: Check in a known-good build of LLVM into WebKitLibraries, and have a story for updating it
https://bugs.webkit.org/show_bug.cgi?id=113452
Rubber stamped by Mark Hahnenberg.
Tools:
- Scripts/copy-webkitlibraries-to-product-directory:
- Scripts/export-llvm-build:
WebKitLibraries:
- LLVMIncludesMountainLion.tar.bz2: Added.
- LLVMLibrariesMountainLion.tar.bz2: Added.
- 5:04 PM Changeset in webkit [147263] by
-
- 2 edits in trunk/Source/WebCore
Let cached resources from file: schemes expire immediately
https://bugs.webkit.org/show_bug.cgi?id=113626
Reviewed by Brady Eidson
When a CachedResource was loaded from a file: URL, we would give it an
indefinite freshness lifetime. This means that we would continue to
serve a stale resource from the memory cache even if the file was
changed on disk. With the introduction of main resource caching, this
behavior broke at least one third-party WebKit app (see <rdar://problem/13313769>).
We should instead let file resources expire immediately. Modern
filesystems implement their own caching, so we should get good
performance for multiple reads of unmodified files without doing our
own caching.
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::freshnessLifetime): file: URLs should have a
0 freshness lifetime.
- 4:41 PM Changeset in webkit [147262] by
-
- 4 edits in tags/Safari-537.35.4/Source/WebKit2
Merged r147257. <rdar://problem/13531679>
- 4:32 PM Changeset in webkit [147261] by
-
- 20 edits2 deletes in trunk
Source/WebCore: Flexitems no longer default min-width to min-content
https://bugs.webkit.org/show_bug.cgi?id=111790
Reviewed by Tony Chang.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
Disallow auto as a valid min-size value.
- css/html.css:
(input::-webkit-datetime-edit):
(input[type="range"]::-webkit-slider-container, input[type="range"]::-webkit-media-slider-container):
(input[type="range"]::-webkit-slider-runnable-track):
Remove now unnecessary min-width: 0's.
- css/mediaControlsChromium.css:
(audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure):
(video::-webkit-media-controls-enclosure):
Set a flex-shrink: 0 to avoid shrinking these items below the designated height.
- rendering/RenderBox.cpp:
(WebCore::RenderBox::constrainLogicalHeightByMinMax):
(WebCore::RenderBox::constrainContentBoxLogicalHeightByMinMax):
(WebCore::RenderBox::computeLogicalWidthInRegionUsing):
(WebCore::RenderBox::computeLogicalHeight):
(WebCore::RenderBox::computeLogicalHeightUsing):
(WebCore::RenderBox::computeContentLogicalHeight):
(WebCore::RenderBox::computeContentAndScrollbarLogicalHeightUsing):
(WebCore::RenderBox::computeReplacedLogicalWidth):
(WebCore::RenderBox::computeReplacedLogicalWidthRespectingMinMaxWidth):
(WebCore::RenderBox::computeReplacedLogicalWidthUsing):
(WebCore::RenderBox::computeReplacedLogicalHeight):
(WebCore::RenderBox::computeReplacedLogicalHeightRespectingMinMaxHeight):
(WebCore::RenderBox::computeReplacedLogicalHeightUsing):
(WebCore::RenderBox::availableLogicalHeightUsing):
(WebCore::RenderBox::computePositionedLogicalWidth):
(WebCore::RenderBox::computePositionedLogicalWidthUsing):
(WebCore::RenderBox::computePositionedLogicalHeight):
(WebCore::RenderBox::computePositionedLogicalHeightUsing):
Remove all the unneeded SizeType arguments now that we don't need to
specially handle MinSize in all these functions.
- rendering/RenderBox.h:
- rendering/RenderButton.cpp:
(WebCore::RenderButton::styleWillChange):
(WebCore::RenderButton::setupInnerStyle):
No longer need to explicitly set min-width:0.
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::computeMainAxisExtentForChild):
(WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes):
(WebCore::RenderFlexibleBox::adjustChildSizeForMinAndMax):
Remove the code for specially handling auto.
- rendering/RenderGrid.cpp:
(WebCore::RenderGrid::computeUsedBreadthOfSpecifiedLength):
- rendering/RenderRegion.cpp:
(WebCore::RenderRegion::maxPageLogicalHeight):
- rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::computeReplacedLogicalWidth):
(WebCore::RenderReplaced::computeReplacedLogicalHeight):
Remove all the now unneeded SizeType arguments.
- rendering/style/RenderStyle.h:
Change the default min-size back to 0.
Source/WebKit2: Crash when "willSendRequest" causes the ResourceLoader to be cancelled.
<rdar://problem/13531679> and https://bugs.webkit.org/show_bug.cgi?id=113616
Patch by Brady Eidson <beidson@apple.com> on 2013-03-29
Reviewed by Alexey Proskuryakov.
These callbacks to the WebCore ResourceLoader can cause the WebResourceLoader to be destroyed.
A RefPtr<> protector fixes that.
Additionally we can invalidate the WebResourceLoader to avoid unnecessary callbacks to the NetworkProcess.
- WebProcess/Network/WebResourceLoadScheduler.cpp:
(WebKit::WebResourceLoadScheduler::remove): Call detachFromCoreLoader() on a removed WebResourceLoader.
- WebProcess/Network/WebResourceLoader.cpp:
(WebKit::WebResourceLoader::detachFromCoreLoader): Clear out the ResourceLoader pointer.
(WebKit::WebResourceLoader::willSendRequest): Protect this, and don't message back to the NetworkProcess if its not needed.
(WebKit::WebResourceLoader::canAuthenticateAgainstProtectionSpace): Ditto
(WebKit::WebResourceLoader::didReceiveResource): Paranoid hardening - Protect this before delivering the data to the WebCore
ResourceLoader, and null check it before delivering the "didFinishLoader" call.
- WebProcess/Network/WebResourceLoader.h:
LayoutTests: Flexitems no longer default min-width to min-content
https://bugs.webkit.org/show_bug.cgi?id=111790
Reviewed by Tony Chang.
- css3/flexbox/content-height-with-scrollbars.html:
- css3/flexbox/cross-axis-scrollbar.html:
Set flex:none to avoid flex-shrinking.
- css3/flexbox/flex-item-min-size-expected.txt: Removed.
- css3/flexbox/flex-item-min-size.html: Removed.
These tests are now redundant with tests in fast/css-intrinsic-dimensions.
- css3/flexbox/flexbox-baseline.html:
Set flex:none to avoid flex-shrinking.
- css3/flexbox/line-wrapping.html:
Auto-size the flex items so that the column flexboxes have an auto-height.
- css3/flexbox/preferred-widths.html:
Set flex:none to avoid flex-shrinking.
- fast/css/auto-min-size-expected.txt:
- fast/css/auto-min-size.html:
Update to no longer allow parsing auto as a valid value for min-width/min-height.
- 4:30 PM Changeset in webkit [147260] by
-
- 15 edits in trunk
Expose FeatureObserver data to WebKit clients
https://bugs.webkit.org/show_bug.cgi?id=113613
Reviewed by Sam Weinig.
FeatureObserver used to depend on chromium-only HistogramSupport, which is not
really usable on Mac at least.
Instead of adding parallel feature reporting machinery, I'm adding a way to
generically relay the data from FeatureObserver to port code.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::loadWithDocumentLoader): (WebCore::FrameLoader::commitProvisionalLoad): (WebCore::FrameLoader::reportMemoryUsage):
- loader/FrameLoader.h: (WebCore::FrameLoader::previousURL): Exposed m_previousURL, renaming it to follow WebKit style.
- page/FeatureObserver.cpp: (WebCore::FeatureObserver::~FeatureObserver): (WebCore::FeatureObserver::updateMeasurements):
- page/FeatureObserver.h: (WebCore::FeatureObserver::accumulatedFeatureBits): Exposed the data to clients, and made reporting through HistogramSupport chromium only for clarity.
- 4:28 PM Changeset in webkit [147259] by
-
- 16 edits14 adds in branches/dfgFourthTier
fourthTier: FTL JIT should be able run some simple function
https://bugs.webkit.org/show_bug.cgi?id=113481
Source/JavaScriptCore:
Reviewed by Geoffrey Garen.
This is the initial version of the FTL JIT (Fourth Tier LLVM JIT).
It includes a lowering from the DFG IR to LLVM IR (FTL::lowerDFGToLLVM)
and a "backend" step that invokes the LLVM and wraps the resulting
function in a thunk (FTL::compile).
All LLVM IR building functions are wrapped up into a nicer FTL API.
First they're wrapped in an abbreviated API (FTLAbbreviations.h) and
then again into an object-oriented IR builder (FTLOutput.h).
This runs things. I don't know how fast it runs things. And I don't
make any claims of stability. The FTL is runtime-disabled by default;
you will enable it by doing --useExperimentalFTL=true. Probably if you
do this, you will run slower, because of the heavy thunking we do, the
fact that we don't have anything resembling a sensible tiering story,
and because we only compile ridiculously tiny functions.
Finally, this still requires a custom set of LLVM headers to build.
I am working on getting that up-streamed to LLVM, and separately I'll
make sure that we have a build checked into this branch.
- Configurations/JavaScriptCore.xcconfig:
- JavaScriptCore.xcodeproj/project.pbxproj:
- bytecode/Operands.h:
(Operands):
(JSC::Operands::Operands):
- dfg/DFGAbstractState.h:
(JSC::DFG::AbstractState::needsTypeCheck):
(AbstractState):
(JSC::DFG::AbstractState::filterEdgeByUse):
- dfg/DFGDriver.cpp:
(JSC::DFG::compile):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::checkArgumentTypes):
- dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::needsTypeCheck):
(JSC::DFG::SpeculateDoubleOperand::SpeculateDoubleOperand):
(JSC::DFG::SpeculateCellOperand::SpeculateCellOperand):
(DFG):
- dfg/DFGUseKind.h:
(JSC::DFG::shouldNotHaveTypeCheck):
(DFG):
(JSC::DFG::mayHaveTypeCheck):
(JSC::DFG::isDouble):
(JSC::DFG::isCell):
- ftl: Added.
- ftl/FTLAbbreviations.h: Added.
(FTL):
(JSC::FTL::int1Type):
(JSC::FTL::int32Type):
(JSC::FTL::int64Type):
(JSC::FTL::intPtrType):
(JSC::FTL::pointerType):
(JSC::FTL::getParam):
(JSC::FTL::constInt):
(JSC::FTL::appendBasicBlock):
(JSC::FTL::insertBasicBlock):
(JSC::FTL::buildAlloca):
(JSC::FTL::buildAdd):
(JSC::FTL::buildAnd):
(JSC::FTL::buildXor):
(JSC::FTL::buildLoad):
(JSC::FTL::buildStore):
(JSC::FTL::buildZExt):
(JSC::FTL::buildIntCast):
(JSC::FTL::buildIntToPtr):
(JSC::FTL::buildPtrToInt):
(JSC::FTL::buildICmp):
(JSC::FTL::buildSelect):
(JSC::FTL::buildBr):
(JSC::FTL::buildCondBr):
(JSC::FTL::buildRet):
(JSC::FTL::buildUnreachable):
- ftl/FTLCapabilities.cpp: Added.
(FTL):
(JSC::FTL::canCompile):
- ftl/FTLCapabilities.h: Added.
(FTL):
- ftl/FTLCompile.cpp: Added.
(FTL):
(JSC::FTL::compileEntry):
(JSC::FTL::compile):
- ftl/FTLCompile.h: Added.
(FTL):
- ftl/FTLJITCode.cpp: Added.
(FTL):
(JSC::FTL::JITCode::JITCode):
(JSC::FTL::JITCode::~JITCode):
(JSC::FTL::JITCode::addressForCall):
(JSC::FTL::JITCode::executableAddressAtOffset):
(JSC::FTL::JITCode::dataAddressAtOffset):
(JSC::FTL::JITCode::offsetOf):
(JSC::FTL::JITCode::size):
(JSC::FTL::JITCode::contains):
- ftl/FTLJITCode.h: Added.
(FTL):
(JITCode):
- ftl/FTLLLVMHeaders.h: Added.
- ftl/FTLLowerDFGToLLVM.cpp: Added.
(FTL):
(LowerDFGToLLVM):
(JSC::FTL::LowerDFGToLLVM::LowerDFGToLLVM):
(JSC::FTL::LowerDFGToLLVM::lower):
(JSC::FTL::LowerDFGToLLVM::addFlushedLocalOpRoots):
(JSC::FTL::LowerDFGToLLVM::closeOverFlushedLocalOps):
(JSC::FTL::LowerDFGToLLVM::addFlushedLocalOp):
(JSC::FTL::LowerDFGToLLVM::addFlushedLocalEdge):
(JSC::FTL::LowerDFGToLLVM::transferAndCheckArguments):
(JSC::FTL::LowerDFGToLLVM::compileBlock):
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileJSConstant):
(JSC::FTL::LowerDFGToLLVM::compileGetLocal):
(JSC::FTL::LowerDFGToLLVM::compileSetLocal):
(JSC::FTL::LowerDFGToLLVM::compileMovHintAndCheck):
(JSC::FTL::LowerDFGToLLVM::compilePhantom):
(JSC::FTL::LowerDFGToLLVM::compileReturn):
(JSC::FTL::LowerDFGToLLVM::speculateBackward):
(JSC::FTL::LowerDFGToLLVM::speculateForward):
(JSC::FTL::LowerDFGToLLVM::speculate):
(JSC::FTL::LowerDFGToLLVM::terminate):
(JSC::FTL::LowerDFGToLLVM::backwardTypeCheck):
(JSC::FTL::LowerDFGToLLVM::forwardTypeCheck):
(JSC::FTL::LowerDFGToLLVM::typeCheck):
(JSC::FTL::LowerDFGToLLVM::lowInt32):
(JSC::FTL::LowerDFGToLLVM::lowCell):
(JSC::FTL::LowerDFGToLLVM::lowBoolean):
(JSC::FTL::LowerDFGToLLVM::lowJSValue):
(JSC::FTL::LowerDFGToLLVM::checkNotInt32):
(JSC::FTL::LowerDFGToLLVM::unboxInt32):
(JSC::FTL::LowerDFGToLLVM::boxInt32):
(JSC::FTL::LowerDFGToLLVM::checkNotCell):
(JSC::FTL::LowerDFGToLLVM::checkNotBoolean):
(JSC::FTL::LowerDFGToLLVM::unboxBoolean):
(JSC::FTL::LowerDFGToLLVM::boxBoolean):
(JSC::FTL::LowerDFGToLLVM::speculateInt32):
(JSC::FTL::LowerDFGToLLVM::addressFor):
(JSC::FTL::LowerDFGToLLVM::payloadFor):
(JSC::FTL::LowerDFGToLLVM::tagFor):
(JSC::FTL::LowerDFGToLLVM::globalData):
(JSC::FTL::LowerDFGToLLVM::codeBlock):
(JSC::FTL::lowerDFGToLLVM):
- ftl/FTLLowerDFGToLLVM.h: Added.
(FTL):
- ftl/FTLOutput.h: Added.
(FTL):
(Output):
(JSC::FTL::Output::Output):
(JSC::FTL::Output::~Output):
(JSC::FTL::Output::initialize):
(JSC::FTL::Output::appendTo):
(JSC::FTL::Output::newBlock):
(JSC::FTL::Output::param):
(JSC::FTL::Output::constBool):
(JSC::FTL::Output::constInt32):
(JSC::FTL::Output::constIntPtr):
(JSC::FTL::Output::constInt64):
(JSC::FTL::Output::add):
(JSC::FTL::Output::bitAnd):
(JSC::FTL::Output::bitXor):
(JSC::FTL::Output::zeroExt):
(JSC::FTL::Output::intCast):
(JSC::FTL::Output::castToInt32):
(JSC::FTL::Output::get):
(JSC::FTL::Output::set):
(JSC::FTL::Output::load):
(JSC::FTL::Output::store):
(JSC::FTL::Output::load32):
(JSC::FTL::Output::load64):
(JSC::FTL::Output::loadPtr):
(JSC::FTL::Output::store32):
(JSC::FTL::Output::store64):
(JSC::FTL::Output::storePtr):
(JSC::FTL::Output::equal):
(JSC::FTL::Output::notEqual):
(JSC::FTL::Output::above):
(JSC::FTL::Output::aboveOrEqual):
(JSC::FTL::Output::below):
(JSC::FTL::Output::belowOrEqual):
(JSC::FTL::Output::greaterThan):
(JSC::FTL::Output::greaterThanOrEqual):
(JSC::FTL::Output::lessThan):
(JSC::FTL::Output::lessThanOrEqual):
(JSC::FTL::Output::isZero64):
(JSC::FTL::Output::notZero64):
(JSC::FTL::Output::testNonZero64):
(JSC::FTL::Output::select):
(JSC::FTL::Output::jump):
(JSC::FTL::Output::branch):
(JSC::FTL::Output::ret):
(JSC::FTL::Output::unreachable):
- ftl/FTLState.h: Added.
(FTL):
(State):
(JSC::FTL::State::State):
- runtime/InitializeThreading.cpp:
(JSC::initializeThreadingOnce):
- runtime/Options.h:
(JSC):
Source/WTF:
Reviewed by Geoffrey Garen.
- wtf/Platform.h:
Tools:
Reviewed by Geoffrey Garen.
Give the scripts the ability to find an LLVM build and use it.
Also added a script, export-llvm-build, that allows you to take your
own build of LLVM and package it for use by WebKit's build system.
The build system treats a "build" of LLVM as a pair of .tar.bz2's,
one for the library archives and one for the headers. It then unpacks
them into your built products directory in a mannner that is mostly
analogous to how WebKitSystemInterface works.
- Scripts/build-jsc:
- Scripts/copy-webkitlibraries-to-product-directory:
(unpackIfNecessary):
(dittoHeaders):
- Scripts/export-llvm-build: Added.
- 4:24 PM Changeset in webkit [147258] by
-
- 1 edit in branches/chromium/1453/Source/WebCore/platform/leveldb/LevelDBDatabase.cpp
Merge 146950 "IndexedDB: Histogram cause of LevelDB write errors"
IndexedDB: Histogram cause of LevelDB write errors
https://bugs.webkit.org/show_bug.cgi?id=113350
Reviewed by Tony Chang.
Add histogram for source of LevelDB errors on Write in addition to
Open.
No new tests - no good way to test histogram code.
- platform/leveldb/LevelDBDatabase.cpp:
(WebCore::histogramLevelDBError):
(WebCore):
(WebCore::LevelDBDatabase::open):
(WebCore::LevelDBDatabase::write):
TBR=dgrogan@chromium.org
Review URL: https://codereview.chromium.org/13171005
- 4:02 PM Changeset in webkit [147257] by
-
- 4 edits in trunk/Source/WebKit2
Crash when "willSendRequest" causes the ResourceLoader to be cancelled.
<rdar://problem/13531679> and https://bugs.webkit.org/show_bug.cgi?id=113616
Reviewed by Alexey Proskuryakov.
These callbacks to the WebCore ResourceLoader can cause the WebResourceLoader to be destroyed.
A RefPtr<> protector fixes that.
Additionally we can invalidate the WebResourceLoader to avoid unnecessary callbacks to the NetworkProcess.
- WebProcess/Network/WebResourceLoadScheduler.cpp:
(WebKit::WebResourceLoadScheduler::remove): Call detachFromCoreLoader() on a removed WebResourceLoader.
- WebProcess/Network/WebResourceLoader.cpp:
(WebKit::WebResourceLoader::detachFromCoreLoader): Clear out the ResourceLoader pointer.
(WebKit::WebResourceLoader::willSendRequest): Protect this, and don't message back to the NetworkProcess if its not needed.
(WebKit::WebResourceLoader::canAuthenticateAgainstProtectionSpace): Ditto
(WebKit::WebResourceLoader::didReceiveResource): Paranoid hardening - Protect this before delivering the data to the WebCore
ResourceLoader, and null check it before delivering the "didFinishLoader" call.
- WebProcess/Network/WebResourceLoader.h:
- 3:32 PM Changeset in webkit [147256] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled Chromium DEPS to r191432. Requested by
"Philip Rogers" <pdr@google.com> via sheriffbot.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-29
- DEPS:
- 3:18 PM Changeset in webkit [147255] by
-
- 1 edit4 adds in trunk/LayoutTests
Add LayoutTests that verify MediaSource.duration behavior.
https://bugs.webkit.org/show_bug.cgi?id=113438
Reviewed by Eric Carlson.
- http/tests/media/media-source/video-media-source-duration-boundaryconditions-expected.txt: Added.
- http/tests/media/media-source/video-media-source-duration-boundaryconditions.html: Added.
- http/tests/media/media-source/video-media-source-duration-expected.txt: Added.
- http/tests/media/media-source/video-media-source-duration.html: Added.
- 3:10 PM Changeset in webkit [147254] by
-
- 4 edits in trunk/LayoutTests
[Chromium] IndexedDB: Update terminated worker connection test
https://bugs.webkit.org/show_bug.cgi?id=113608
Reviewed by Tony Chang.
Update layout test only run under Chromium's content_shell that ensures that
worker termination does not result in stuck connections. The test was using
the obsolete setVersion() API.
- storage/indexeddb/pending-version-change-stuck-works-with-terminate-expected.txt:
- storage/indexeddb/pending-version-change-stuck-works-with-terminate.html:
- storage/indexeddb/resources/pending-version-change-stuck.js:
(test.request.onblocked):
(test):
- 2:56 PM Changeset in webkit [147253] by
-
- 2 edits in trunk/Source/WebKit2
Should never send events to plugins waiting on asynchronous initialization.
<rdar://problem/13538945> and https://bugs.webkit.org/show_bug.cgi?id=113612
Reviewed by Anders Carlsson.
Sending mouse and keyboard events to a plugin in the middle of asynchronous initialization is silly.
A quick audit of the sendSync() messages in PluginProxy suggests the following 8 can just have an early return:
- WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::handleMouseEvent):
(WebKit::PluginProxy::handleWheelEvent):
(WebKit::PluginProxy::handleMouseEnterEvent):
(WebKit::PluginProxy::handleMouseLeaveEvent):
(WebKit::PluginProxy::handleKeyboardEvent):
(WebKit::PluginProxy::handleEditingCommand):
(WebKit::PluginProxy::isEditingCommandEnabled):
(WebKit::PluginProxy::handlesPageScaleFactor):
- 2:37 PM Changeset in webkit [147252] by
-
- 5 edits in trunk/Source/JavaScriptCore
Objective-C API: Remove -[JSManagedValue managedValueWithValue:owner:]
https://bugs.webkit.org/show_bug.cgi?id=113602
Reviewed by Geoffrey Garen.
Since we put the primary way of keeping track of external object graphs (i.e. "managed" references)
in JSVirtualMachine, there is some overlap in the functionality of that interface and JSManagedValue.
Specifically, we no longer need the methods that include an owner, since ownership is now tracked
by JSVirtualMachine. These JSManagedValues will become weak pointers unless they are used
with [JSVirtualMachine addManagedReference:withOwner:], in which case their lifetime is tied to that
of their owner.
- API/JSManagedValue.h:
- API/JSManagedValue.mm:
(-[JSManagedValue init]):
(-[JSManagedValue initWithValue:]):
(JSManagedValueHandleOwner::isReachableFromOpaqueRoots):
- API/JSVirtualMachine.mm:
(getInternalObjcObject):
- API/tests/testapi.mm:
(-[TextXYZ setOnclick:]):
(-[TextXYZ dealloc]):
- 2:32 PM Changeset in webkit [147251] by
-
- 7 edits in trunk/Source/WebKit2
"Empty cache..." clears the disk cache from each WebProcess.
<rdar://problem/12456652> and https://bugs.webkit.org/show_bug.cgi?id=113603
Reviewed by Sam Weinig.
- NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::NetworkProcess):
(WebKit::NetworkProcess::terminate): Override ChildProcess::terminate to allow us to finish clearing the cache.
- NetworkProcess/NetworkProcess.h:
- NetworkProcess/NetworkProcess.messages.in: Add the ClearCacheForAllOrigins message.
- NetworkProcess/mac/NetworkProcessMac.mm:
(WebKit::NetworkProcess::clearCacheForAllOrigins): Clear the disk cache.
(WebKit::NetworkProcess::platformTerminate): Wait for the clear to complete.
- UIProcess/WebResourceCacheManagerProxy.cpp:
(WebKit::WebResourceCacheManagerProxy::clearCacheForAllOrigins): Message the network process, also.
- WebProcess/mac/WebProcessMac.mm:
(WebKit::WebProcess::platformClearResourceCaches): Don't clear the disk cache if we use the network process.
- 2:13 PM Changeset in webkit [147250] by
-
- 5 edits2 adds in trunk
[CSS Exclusions] shape outside segments not properly calculated for ellipses
https://bugs.webkit.org/show_bug.cgi?id=112587
Patch by Bem Jones-Bey <Bem Jones-Bey> on 2013-03-29
Reviewed by Julien Chaffraix.
Source/WebCore:
When converting the line top coordinates from the parent's coordinate
space to the coordinate space of the float, the offset given by the
shape was not being accounted for. This patch accounts for that
offset.
Test: fast/exclusions/shape-outside-floats/shape-outside-floats-non-zero-y.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::logicalLeftOffsetForLine): Fix the coordinate conversion.
(WebCore::RenderBlock::logicalRightOffsetForLine): Ditto.
- rendering/RenderBlockLineLayout.cpp:
(WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded): Ditto.
LayoutTests:
Check that shapes with a non-zero y value are properly wrapped.
- fast/exclusions/shape-outside-floats/shape-outside-floats-non-zero-y.html: Added.
- fast/exclusions/resources/rounded-rectangle.js:
(generateSimulatedShapeOutsideOnFloat): For simulating, we ignore the
x and y values, since we're not attempting to draw the float's content
in the right place, we just want to simulate the shape's effect.
- 1:34 PM Changeset in webkit [147249] by
-
- 4 edits4 adds in trunk
[CSS Exclusions] Incorrect margin corner radii formula
https://bugs.webkit.org/show_bug.cgi?id=111186
Reviewed by Dirk Schulze.
Source/WebCore:
Corrected an error in the forumla for the margin ellipse's radii.
Tests: fast/exclusions/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html
fast/exclusions/shape-outside-floats/shape-outside-floats-ellipse-margin-right.html
- rendering/ExclusionRectangle.cpp:
(WebCore::FloatRoundedRect::marginBounds):
LayoutTests:
- fast/exclusions/resources/subpixel-utils.js:
(SubPixelLayout): Added an initSubPixelLayout() function so that inline test code doesn't have to wait until the DOMContentLoaded event.
- fast/exclusions/shape-outside-floats/shape-outside-floats-ellipse-margin-left-expected.txt: Added.
- fast/exclusions/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html: Added.
- fast/exclusions/shape-outside-floats/shape-outside-floats-ellipse-margin-right-expected.txt: Added.
- fast/exclusions/shape-outside-floats/shape-outside-floats-ellipse-margin-right.html: Added.
- 1:26 PM Changeset in webkit [147248] by
-
- 4 edits in tags/Safari-537.35.4/Source/WebKit2
Merged r147179. <rdar://problem/13479890>
- 1:24 PM Changeset in webkit [147247] by
-
- 2 edits in tags/Safari-537.35.4/Source/WebKit2
Merged r147010. <rdar://problem/13479890>
- 1:22 PM Changeset in webkit [147246] by
-
- 5 edits2 copies in tags/Safari-537.35.4/Source/WebKit2
Merged r147006. <rdar://problem/13479890>
- 1:12 PM Changeset in webkit [147245] by
-
- 13 edits2 adds in trunk
min-width/max-width of min-content/max-content don't work correctly if width is specified
https://bugs.webkit.org/show_bug.cgi?id=106143
Reviewed by Tony Chang.
Source/WebCore:
Test: fast/css-intrinsic-dimensions/intrinsic-sized-blocks.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeIntrinsicLogicalWidths):
Expose this so that we don't use the preferred widths when calculating intrinsic width
values since the preferred width will be the regular width value if it is set.
Also, simplified the logic around table cells and scrollbar widths. The old code was
wrong and unnecessarily complicated.
(WebCore::RenderBlock::computePreferredLogicalWidths):
Use the new computeIntrinsicLogicalWidths method.
(WebCore::RenderBlock::computeInlinePreferredLogicalWidths):
(WebCore::RenderBlock::computeBlockPreferredLogicalWidths):
Pass in the min/max values as out params so they can be called from computeIntrinsicLogicalWidths.
Also, make computeBlockPreferredLogicalWidths const.
- rendering/RenderBlock.h:
LayoutTests:
- css3/flexbox/box-sizing.html:
The old result was incorrectly using the preferred width as the min-content width of the flex items.
The new result is correctly resolving the min-content width to 0 and allowing the flex items to shrink.
- fast/css-intrinsic-dimensions/intrinsic-sized-blocks-expected.txt: Added.
- fast/css-intrinsic-dimensions/intrinsic-sized-blocks.html: Added.
- platform/chromium-win/fast/table/overflowHidden-expected.txt:
The new result correctly adds the scrollbar width to the table cell intrinsic width.
The pixel result doesn't need ot be updated because the elements that changed are below
the fold, so they don't show up in the png.
- platform/chromium/TestExpectations:
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- platform/mac/TestExpectations:
- platform/qt/TestExpectations:
Add tests that will need rebaselines.
- scrollbars/custom-scrollbar-table-cell-expected.png:
The new result correctly adds the scrollbar width to the table cell intrinsic width.
- 12:56 PM Changeset in webkit [147244] by
-
- 2 edits in trunk/Source/WebCore
IndexedDB: Use WTF::TemporaryChange rather than manually resetting a flag
https://bugs.webkit.org/show_bug.cgi?id=113594
Reviewed by Tony Chang.
Split out from another patch: rather than m_foo = true; ... m_foo = false; use
the handy WTF::TemporaryChange scoped variable change doohickey.
Test: http/tests/inspector/indexeddb/database-structure.html
- Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::close):
- 12:51 PM Changeset in webkit [147243] by
-
- 2 edits in trunk/LayoutTests
Marking animation-delay-changed.html and reinserting-svg-into-document.html as flaky.
https://webkit.org/b/113598
https://webkit.org/b/113599
Unreviewed.
- platform/mac/TestExpectations:
- 12:49 PM Changeset in webkit [147242] by
-
- 21 edits in tags/Safari-537.35.4/Source
Merged r146544. <rdar://problem/13479890>
- 12:36 PM Changeset in webkit [147241] by
-
- 3 edits2 adds in trunk
[V8] IndexedDB: Exceptions thrown inconsistently for non-cloneable values
https://bugs.webkit.org/show_bug.cgi?id=113091
Reviewed by Kentaro Hara.
Source/WebCore:
The exception thrown by SerializedScriptValue into the JS engine is not
observable by ScriptState. (We should fix that, but it appears non-trivial.)
Ask the SerializedScriptValue directly if it failed to clone. If so, don't
set an exception - one was already set so let that be processed normally.
Test: storage/indexeddb/clone-exception.html
- Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::put):
LayoutTests:
- storage/indexeddb/clone-exception-expected.txt: Added.
- storage/indexeddb/clone-exception.html: Added.
- 12:31 PM Changeset in webkit [147240] by
-
- 3 edits in trunk/Source/WebCore
Snapshotted plugins must be able to restart on appropriate mouseup events
https://bugs.webkit.org/show_bug.cgi?id=113577
Reviewed by Tim Horton.
If the page content prevents the default behaviour of a mousedown event, then a snapshotted
plugin would never receive a click event, and thus be unable to restart. We have to also
look for a mouseup that happens with an associated mousedown, and trigger restart. This
won't call any page code - it's just behind the scenes.
- rendering/RenderSnapshottedPlugIn.cpp:
(WebCore::RenderSnapshottedPlugIn::RenderSnapshottedPlugIn): Initialize new member variable.
(WebCore::RenderSnapshottedPlugIn::handleEvent): Track the state of mousedown and up pairs, and restart
if you see an appropriate mouseup.
- rendering/RenderSnapshottedPlugIn.h: New member variable to track mouse state.
- 12:27 PM Changeset in webkit [147239] by
-
- 110 edits853 adds in trunk/Source/ThirdParty
Update the version of gyp in the repository
https://bugs.webkit.org/show_bug.cgi?id=113540
Reviewed by Nico Weber.
- gyp: Update gyp to r1605.
- 12:26 PM Changeset in webkit [147238] by
-
- 2 edits in trunk/Source/WebCore
removeViewportConstrainedLayer() should remove the layer from m_viewportConstrainedLayersNeedingUpdate too
https://bugs.webkit.org/show_bug.cgi?id=113596
Reviewed by Tim Horton.
It's possible, with some combination of position:fixed and opacity transitions
in iframes, to end up with a RenderLayer in m_viewportConstrainedLayersNeedingUpdate
that has been removed from m_viewportConstrainedLayers, which leads to later assertions
and/or crashes.
Fix by removing a layer from m_viewportConstrainedLayersNeedingUpdate when we
remove it from m_viewportConstrainedLayers.
I was not able to come up with a testcase that reliably reproduces this.
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::removeViewportConstrainedLayer):
- 12:22 PM Changeset in webkit [147237] by
-
- 19 edits in tags/Safari-537.35.4
Merged r146704. <rdar://problem/13337564>
- 12:14 PM Changeset in webkit [147236] by
-
- 20 edits in trunk
Allow multiple searchKeys to be passed to AXUIElementCopyParameterizedAttributeValue
https://bugs.webkit.org/show_bug.cgi?id=112276
Patch by Greg Hughes <ghughes@apple.com> on 2013-03-29
Reviewed by Chris Fleizach.
Source/WebCore:
Added support for accessibility search predicates to accept multiple search keys. The search will return the first item that matches any one of the provided search keys.
- accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::isAccessibilityObjectSearchMatchAtIndex):
(WebCore::AccessibilityObject::isAccessibilityObjectSearchMatch):
(WebCore):
- accessibility/AccessibilityObject.h:
(AccessibilitySearchCriteria):
(WebCore::AccessibilitySearchCriteria::AccessibilitySearchCriteria):
(AccessibilityObject):
- accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
Tools:
Added support to test accessibility search predicates with multiple keys.
- DumpRenderTree/AccessibilityUIElement.cpp:
(uiElementForSearchPredicateCallback):
- DumpRenderTree/AccessibilityUIElement.h:
(AccessibilityUIElement):
- DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
(AccessibilityUIElement::uiElementForSearchPredicate):
- DumpRenderTree/blackberry/AccessibilityUIElementBlackBerry.cpp:
(AccessibilityUIElement::uiElementForSearchPredicate):
- DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
(AccessibilityUIElement::uiElementForSearchPredicate):
- DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::uiElementForSearchPredicate):
- DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::uiElementForSearchPredicate):
- WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
(WTR::AccessibilityUIElement::uiElementForSearchPredicate):
- WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
(AccessibilityUIElement):
- WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
- WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
(WTR::AccessibilityUIElement::uiElementForSearchPredicate):
- WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
(WTR::AccessibilityUIElement::uiElementForSearchPredicate):
LayoutTests:
Updated the search predicate test to test passing multiple search keys (link OR heading).
- platform/mac/accessibility/search-predicate-expected.txt:
- platform/mac/accessibility/search-predicate.html:
- 12:13 PM Changeset in webkit [147235] by
-
- 4 edits in tags/Safari-537.35.4/Source
Versioning.
- 12:12 PM Changeset in webkit [147234] by
-
- 5 edits in trunk/Source/JavaScriptCore
Simplified bytecode generation by unforking "condition context" codegen
https://bugs.webkit.org/show_bug.cgi?id=113554
Reviewed by Mark Hahnenberg.
Now, a node that establishes a condition context can always ask its child
nodes to generate into that context.
This has a few advantages:
(*) Removes a bunch of code;
(*) Optimizes a few missed cases like "if (!(x < 2))", "if (!!x)", and
"if (!x !y)"; (*) Paves the way to removing more opcodes.
- bytecode/Opcode.h:
(JSC): Separated out the branching opcodes for clarity.
- bytecompiler/NodesCodegen.cpp:
(JSC::ExpressionNode::emitBytecodeInConditionContext): All expressions
can be emitted in a condition context now -- the default behavior is
to branch based on the expression's value.
(JSC::LogicalNotNode::emitBytecodeInConditionContext):
(JSC::LogicalOpNode::emitBytecodeInConditionContext):
(JSC::ConditionalNode::emitBytecode):
(JSC::IfNode::emitBytecode):
(JSC::IfElseNode::emitBytecode):
(JSC::DoWhileNode::emitBytecode):
(JSC::WhileNode::emitBytecode):
(JSC::ForNode::emitBytecode):
- parser/Nodes.h:
(JSC::ExpressionNode::isSubtract):
(ExpressionNode):
(LogicalNotNode):
(LogicalOpNode): Removed lots of code for handling expressions
that couldn't generate into a condition context because all expressions
can now.
- 12:12 PM Changeset in webkit [147233] by
-
- 7 edits in trunk/Source
IndexedDB: Bind lifetime of in-memory backing stores to IDBFactory backend
https://bugs.webkit.org/show_bug.cgi?id=110820
Reviewed by Tony Chang.
Source/WebCore:
Backing stores are dropped as soon as all connections are closed. That makes sense for
disk-backed stores to free up memory (although there's a performance trade-off...). But
for memory-backed stores, the expected lifetime should match the lifetime of the factory
so that an open/write/close/re-open/read yields the written data.
Test: Chromium's webkit_unit_tests, IDBFactoryBackendTest.MemoryBackingStoreLifetime
- Modules/indexeddb/IDBBackingStore.cpp:
(WebCore::IDBBackingStore::IDBBackingStore): Pass comparator into constructor since it was always
assigned immediately afterwards anyway.
(WebCore::IDBBackingStore::open): Split into three parts - open() which is disk-backed...
(WebCore::IDBBackingStore::openInMemory): ...explit in-memory creation (previously: specified by empty path)
(WebCore::IDBBackingStore::create): ... and the common logic which calls the constructor.
- Modules/indexeddb/IDBBackingStore.h: Headers for the above.
- Modules/indexeddb/IDBFactoryBackendImpl.cpp:
(WebCore::IDBFactoryBackendImpl::openBackingStore): Add in-memory backing stores to dependent set.
- Modules/indexeddb/IDBFactoryBackendImpl.h: Add member to track dependent backing stores.
Source/WebKit/chromium:
- tests/IDBBackingStoreTest.cpp:
(WebCore::IDBBackingStoreTest::SetUp): Use openInMemory rather than empty path.
(WebCore::TEST): Added IDBFactoryBackendTest.MemoryBackingStoreLifetime to verify refs.
- 11:54 AM Changeset in webkit [147232] by
-
- 2 edits in trunk/LayoutTests
Mark fast/workers/worker-close-more.html, worker-document-leak.html and
worker-lifecycle.html as flaky on Windows.
Unreviewed.
- platform/win/TestExpectations:
- 11:52 AM Changeset in webkit [147231] by
-
- 2 edits in trunk/WebKitLibraries
Unreviewed. Rollout r146818.
- win/tools/vsprops/FeatureDefines.props:
- 11:49 AM Changeset in webkit [147230] by
-
- 2 edits in trunk/LayoutTests
Mark inspector/debugger/debugger-scripts-reload.html as flaky.
Unreviewed.
- platform/mac/TestExpectations:
- 11:40 AM Changeset in webkit [147229] by
-
- 1 copy in tags/Safari-537.35.4
New Tag.
- 11:10 AM Changeset in webkit [147228] by
-
- 3 edits2 adds in trunk
ASSERT d->m_defersLoading != defers on detik.com and drive.google.com
https://bugs.webkit.org/show_bug.cgi?id=111902
Reviewed by Alexey Proskuryakov.
Source/WebCore:
Test: http/tests/navigation/same-url-iframes-defer-crash.html
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::setDefersLoading): If multiple DocumentLoaders are
using loading the same main resource, ensure only one of them can call
ResourceLoader::setDefersLoading.
LayoutTests:
- http/tests/navigation/same-url-iframes-defer-crash-expected.txt: Added.
- http/tests/navigation/same-url-iframes-defer-crash.html: Added.
- 10:24 AM Changeset in webkit [147227] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: Content should not be lost when uiSourceCode's file was removed externally on file system.
https://bugs.webkit.org/show_bug.cgi?id=113581
Reviewed by Pavel Feldman.
- inspector/front-end/IsolatedFileSystem.js:
(WebInspector.IsolatedFileSystem.prototype.errorHandler):
(WebInspector.IsolatedFileSystem.prototype.requestFileContent):
(WebInspector.IsolatedFileSystem.prototype.fileSystemLoaded):
- inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype.checkContentUpdated.contentLoaded):
(WebInspector.UISourceCode.prototype.checkContentUpdated):
(WebInspector.UISourceCode.prototype._commitContent):
- 10:06 AM Changeset in webkit [147226] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: Prompt before closing dirty tab.
https://bugs.webkit.org/show_bug.cgi?id=113576
Reviewed by Pavel Feldman.
- inspector/front-end/TabbedEditorContainer.js:
(WebInspector.TabbedEditorContainer):
(WebInspector.TabbedEditorContainer.prototype._maybeCloseTab):
(WebInspector.TabbedEditorContainer.prototype._closeTabs):
(WebInspector.EditorContainerTabDelegate):
(WebInspector.EditorContainerTabDelegate.prototype.closeTabs):
- inspector/front-end/TabbedPane.js:
(WebInspector.TabbedPane.prototype.setTabDelegate):
(WebInspector.TabbedPane.prototype.appendTab):
(WebInspector.TabbedPane.prototype.allTabs):
(WebInspector.TabbedPane.prototype.otherTabs):
(WebInspector.TabbedPaneTab.prototype.setDelegate):
(WebInspector.TabbedPaneTab.prototype._tabClicked):
(WebInspector.TabbedPaneTab.prototype._closeTabs):
(WebInspector.TabbedPaneTab.prototype._tabContextMenu):
(WebInspector.TabbedPaneTab.prototype._tabContextMenu.closeOthers):
(WebInspector.TabbedPaneTab.prototype._tabContextMenu.closeAll):
(WebInspector.TabbedPaneTabDelegate):
(WebInspector.TabbedPaneTabDelegate.prototype.closeTabs):
- inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype.resetWorkingCopy):
- 9:59 AM Changeset in webkit [147225] by
-
- 2 edits in trunk/Tools
Fix a typo in r147147 to fix Mac EWS.
- Scripts/webkitpy/tool/commands/queues.py:
(PatchProcessingQueue._new_port_name_from_old):
- 9:47 AM Changeset in webkit [147224] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: Flame Chart. Remove hopping ancorElement and use anchorBox instead.
https://bugs.webkit.org/show_bug.cgi?id=113579
Reviewed by Pavel Feldman.
Initially I made a fake anchor element and moved it according to the highlighted element position.
It was a hack and after http://trac.webkit.org/changeset/147209 I'm able to remove it.
Drive by fix: the code was moved from onMouseMove to getPopoverAnchor.
- inspector/front-end/FlameChart.js:
(WebInspector.FlameChart):
(WebInspector.FlameChart.prototype._getPopoverAnchor):
-(WebInspector.FlameChart.prototype._onMouseMove)
- inspector/front-end/flameChart.css:
- 9:37 AM Changeset in webkit [147223] by
-
- 41 edits16 copies5 moves128 adds21 deletes in trunk/LayoutTests
[Qt] Unreviewed gardneing. Updated png expected results after r146206.
- platform/qt-5.0-wk2/compositing/color-matching/image-color-matching-expected.png:
- platform/qt-5.0-wk2/compositing/culling/filter-occlusion-blur-expected.png:
- platform/qt-5.0-wk2/compositing/culling/filter-occlusion-blur-large-expected.png:
- platform/qt-5.0-wk2/compositing/culling/scrolled-within-boxshadow-expected.png:
- platform/qt-5.0-wk2/compositing/culling/translated-boxshadow-expected.png:
- platform/qt-5.0-wk2/compositing/culling/unscrolled-within-boxshadow-expected.png:
- platform/qt-5.0-wk2/compositing/direct-image-compositing-expected.png:
- platform/qt-5.0-wk2/compositing/flat-with-transformed-child-expected.png: Removed.
- platform/qt-5.0-wk2/compositing/generated-content-expected.png: Added.
- platform/qt-5.0-wk2/compositing/geometry/abs-position-inside-opacity-expected.png: Added.
- platform/qt-5.0-wk2/compositing/geometry/clipping-foreground-expected.png: Added.
- platform/qt-5.0-wk2/compositing/geometry/foreground-layer-expected.png:
- platform/qt-5.0-wk2/compositing/geometry/root-layer-update-expected.png: Added.
- platform/qt-5.0-wk2/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png: Added.
- platform/qt-5.0-wk2/compositing/geometry/video-fixed-scrolling-expected.png:
- platform/qt-5.0-wk2/compositing/iframes/composited-iframe-alignment-expected.png: Added.
- platform/qt-5.0-wk2/compositing/iframes/nested-iframe-scrolling-expected.png:
- platform/qt-5.0-wk2/compositing/masks/direct-image-mask-expected.png: Added.
- platform/qt-5.0-wk2/compositing/masks/mask-of-clipped-layer-expected.png:
- platform/qt-5.0-wk2/compositing/masks/masked-ancestor-expected.png:
- platform/qt-5.0-wk2/compositing/masks/multiple-masks-expected.png:
- platform/qt-5.0-wk2/compositing/masks/simple-composited-mask-expected.png:
- platform/qt-5.0-wk2/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
- platform/qt-5.0-wk2/compositing/overflow/overflow-scroll-expected.png: Removed.
- platform/qt-5.0-wk2/compositing/overflow/scroll-ancestor-update-expected.png: Removed.
- platform/qt-5.0-wk2/compositing/overflow/zero-size-overflow-expected.png:
- platform/qt-5.0-wk2/compositing/reflections/compositing-change-inside-reflection-expected.png: Added.
- platform/qt-5.0-wk2/compositing/reflections/nested-reflection-transformed-expected.png: Added.
- platform/qt-5.0-wk2/compositing/reflections/nested-reflection-transformed2-expected.png: Added.
- platform/qt-5.0-wk2/compositing/reflections/reflection-opacity-expected.png: Added.
- platform/qt-5.0-wk2/compositing/reflections/reflection-ordering-expected.png: Added.
- platform/qt-5.0-wk2/compositing/reflections/reflection-positioning-expected.png: Added.
- platform/qt-5.0-wk2/compositing/reflections/reflection-positioning2-expected.png: Added.
- platform/qt-5.0-wk2/compositing/reflections/simple-composited-reflections-expected.png: Added.
- platform/qt-5.0-wk2/compositing/repaint/become-overlay-composited-layer-expected.png: Added.
- platform/qt-5.0-wk2/compositing/repaint/layer-repaint-rects-expected.png: Added.
- platform/qt-5.0-wk2/compositing/repaint/newly-composited-repaint-rect-expected.png:
- platform/qt-5.0-wk2/compositing/repaint/requires-backing-repaint-expected.png:
- platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png:
- platform/qt-5.0-wk2/compositing/self-painting-layers-expected.png: Removed.
- platform/qt-5.0-wk2/compositing/sibling-positioning-expected.png: Added.
- platform/qt-5.0-wk2/compositing/text-on-large-layer-expected.png: Added.
- platform/qt-5.0-wk2/compositing/visibility/visibility-image-layers-expected.png: Added.
- platform/qt-5.0-wk2/compositing/visibility/visibility-simple-video-layer-expected.png:
- platform/qt-5.0-wk2/compositing/z-order/negative-z-index-expected.png:
- platform/qt-5.0-wk2/css3/compositing/effect-background-blend-mode-expected.png: Removed.
- platform/qt-5.0-wk2/css3/compositing/effect-background-blend-mode-stacking-expected.png: Added.
- platform/qt-5.0-wk2/css3/filters/composited-reflected-expected.png:
- platform/qt-5.0-wk2/css3/filters/custom/custom-filter-clamp-css-color-matrix-expected.png:
- platform/qt-5.0-wk2/css3/filters/custom/custom-filter-nonseparable-blend-mode-luminosity-expected.png:
- platform/qt-5.0-wk2/css3/filters/effect-drop-shadow-hw-expected.png: Removed.
- platform/qt-5.0-wk2/editing/selection/5076323-1-expected.png:
- platform/qt-5.0-wk2/editing/selection/5099303-expected.png:
- platform/qt-5.0-wk2/editing/selection/5195166-2-expected.png:
- platform/qt-5.0-wk2/fast/backgrounds/size/contain-and-cover-zoomed-expected.png:
- platform/qt-5.0-wk2/fast/backgrounds/size/zero-expected.png: Added.
- platform/qt-5.0-wk2/fast/box-shadow/box-shadow-transformed-expected.png:
- platform/qt-5.0-wk2/fast/canvas/canvas-as-image-incremental-repaint-expected.png: Added.
- platform/qt-5.0-wk2/fast/forms/HTMLOptionElement_label06-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/HTMLOptionElement_label07-expected.png: Removed.
- platform/qt-5.0-wk2/fast/gradients/background-clipped-expected.png: Added.
- platform/qt-5.0-wk2/fast/layers/scroll-rect-to-visible-expected.png: Added.
- platform/qt-5.0-wk2/fast/multicol/float-paginate-empty-lines-expected.png: Added.
- platform/qt-5.0-wk2/fast/multicol/vertical-rl/float-multicol-expected.png: Removed.
- platform/qt-5.0-wk2/fast/overflow/position-fixed-transform-clipping-expected.png: Removed.
- platform/qt-5.0-wk2/fast/reflections/inline-crash-expected.png: Removed.
- platform/qt-5.0-wk2/fast/reflections/reflection-masks-expected.png: Added.
- platform/qt-5.0-wk2/fast/reflections/reflection-masks-opacity-expected.png: Added.
- platform/qt-5.0-wk2/fast/reflections/reflection-masks-outset-expected.png: Added.
- platform/qt-5.0-wk2/fast/repaint/background-misaligned-expected.png: Added.
- platform/qt-5.0-wk2/fast/repaint/block-layout-inline-children-replaced-expected.png: Added.
- platform/qt-5.0-wk2/fast/repaint/line-flow-with-floats-in-regions-expected.png: Removed.
- platform/qt-5.0-wk2/fast/repaint/scale-page-shrink-expected.png: Removed.
- platform/qt-5.0-wk2/fast/repaint/transform-replaced-shadows-expected.png: Added.
- platform/qt-5.0-wk2/fast/replaced/width100percent-image-expected.png:
- platform/qt-5.0-wk2/fast/table/border-collapsing/004-vertical-expected.png:
- platform/qt-5.0-wk2/fast/table/border-collapsing/cached-change-row-border-width-expected.png:
- platform/qt-5.0-wk2/fast/table/border-collapsing/cached-change-tbody-border-width-expected.png:
- platform/qt-5.0-wk2/fast/text/font-initial-expected.png: Removed.
- platform/qt-5.0-wk2/fast/text/whitespace/003-expected.png: Added.
- platform/qt-5.0-wk2/fast/text/whitespace/006-expected.png: Added.
- platform/qt-5.0-wk2/fast/text/whitespace/008-expected.png: Added.
- platform/qt-5.0-wk2/fast/text/whitespace/009-expected.png: Added.
- platform/qt-5.0-wk2/fast/text/whitespace/012-expected.png: Added.
- platform/qt-5.0-wk2/fast/text/whitespace/013-expected.png:
- platform/qt-5.0-wk2/fast/text/whitespace/014-expected.png:
- platform/qt-5.0-wk2/fast/writing-mode/block-level-images-expected.png: Added.
- platform/qt-5.0-wk2/fast/writing-mode/box-shadow-vertical-lr-expected.png: Added.
- platform/qt-5.0-wk2/scrollbars/listbox-scrollbar-combinations-expected.png: Added.
- platform/qt-5.0-wk2/scrollbars/overflow-scrollbar-combinations-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/text-tref-03-b-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1/animate-elem-39-t-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1/metadata-example-01-b-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Added.
- platform/qt-5.0-wk2/svg/W3C-SVG-1.1/struct-image-08-t-expected.png: Added.
- platform/qt-5.0-wk2/svg/animations/animateMotion-additive-2c-expected.png: Added.
- platform/qt-5.0-wk2/svg/animations/animateMotion-additive-2d-expected.png: Added.
- platform/qt-5.0-wk2/svg/as-background-image/svg-as-background-2-expected.png: Added.
- platform/qt-5.0-wk2/svg/as-border-image/svg-as-border-image-expected.png: Added.
- platform/qt-5.0-wk2/svg/as-image/animated-svg-as-image-no-fixed-intrinsic-size-expected.png: Removed.
- platform/qt-5.0-wk2/svg/as-image/animated-svg-as-image-same-image-expected.png: Removed.
- platform/qt-5.0-wk2/svg/as-image/image-respects-pageScaleFactor-expected.png: Added.
- platform/qt-5.0-wk2/svg/batik/filters/feTile-expected.png: Added.
- platform/qt-5.0-wk2/svg/batik/text/textDecoration-expected.png: Added.
- platform/qt-5.0-wk2/svg/batik/text/textFeatures-expected.png: Added.
- platform/qt-5.0-wk2/svg/css/group-with-shadow-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/clip-mask-negative-scale-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/createImageElement-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/createImageElement2-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/image-parent-translation-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/image-rescale-clip-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/image-rescale-scroll-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/inline-svg-in-xhtml-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/js-update-image-and-display2-expected.png:
- platform/qt-5.0-wk2/svg/custom/js-update-image-and-display3-expected.png:
- platform/qt-5.0-wk2/svg/custom/js-update-image-expected.png:
- platform/qt-5.0-wk2/svg/custom/massive-coordinates-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/pattern-in-defs-expected.png:
- platform/qt-5.0-wk2/svg/custom/pattern-rotate-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/pointer-events-image-css-transform-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/pointer-events-image-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/text-image-opacity-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/use-instanceRoot-event-listeners-expected.png: Added.
- platform/qt-5.0-wk2/svg/custom/use-on-g-containing-foreignObject-and-image-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-dom-in-attr-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-dom-in2-attr-expected.png: Removed.
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-dom-k1-attr-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-dom-k2-attr-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-dom-k3-attr-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-dom-k4-attr-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-dom-operator-attr-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-svgdom-in-prop-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-svgdom-in2-prop-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-svgdom-k1-prop-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-svgdom-k2-prop-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-svgdom-k3-prop-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-svgdom-k4-prop-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFECompositeElement-svgdom-operator-prop-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEFloodElement-dom-flood-color-attr-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEFloodElement-dom-flood-opacity-attr-expected.png: Removed.
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-color-prop-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-opacity-prop-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFETileElement-dom-in-attr-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGFETileElement-svgdom-in-prop-expected.png:
- platform/qt-5.0-wk2/svg/dynamic-updates/SVGUseElement-svgdom-href1-prop-expected.png: Removed.
- platform/qt-5.0-wk2/svg/filters/big-sized-filter-expected.png: Added.
- platform/qt-5.0-wk2/svg/repaint/image-with-clip-path-expected.png:
- platform/qt-5.0-wk2/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png: Added.
- platform/qt-5.0-wk2/svg/transforms/text-with-mask-with-svg-transform-expected.png: Removed.
- platform/qt-5.0-wk2/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Removed.
- platform/qt-5.0-wk2/svg/wicd/test-rightsizing-b-expected.png: Added.
- platform/qt-5.0-wk2/svg/wicd/test-scalable-background-image2-expected.png: Added.
- platform/qt-5.0-wk2/svg/zoom/page/zoom-background-images-expected.png: Added.
- platform/qt-5.0-wk2/svg/zoom/page/zoom-mask-with-percentages-expected.png:
- platform/qt-5.0-wk2/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
- platform/qt-5.0-wk2/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug11026-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug1188-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug12910-2-expected.png:
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug1296-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug15544-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug2981-2-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug4093-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug4284-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug4427-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug625-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/bugs/bug97383-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla/core/misc-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/97619-expected.png: Added.
- platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs/bug6933-expected.png: Added.
- platform/qt-5.0-wk2/transitions/cross-fade-border-image-expected.png: Added.
- 9:07 AM Changeset in webkit [147222] by
-
- 9 edits3 copies1 add in trunk/Source
[EFL][EGL] Add support for creating offscreen surface.
https://bugs.webkit.org/show_bug.cgi?id=113359
Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2013-03-29
Reviewed by Noam Rosenthal.
This is in preparation for enabling EGL and GLES2
support for EFL port. This patch adds support for using
EGLPixmapSurface as an offscreensurface.
- PlatformEfl.cmake:
- platform/graphics/opengl/GLPlatformSurface.cpp:
(WebCore::GLPlatformSurface::createOffScreenSurface):
- platform/graphics/surfaces/efl/GLTransportSurface.cpp:
(WebCore::GLTransportSurface::createTransportSurface):
- platform/graphics/surfaces/egl/EGLConfigSelector.cpp:
(WebCore::EGLConfigSelector::EGLConfigSelector):
(WebCore::EGLConfigSelector::pixmapContextConfig):
(WebCore::EGLConfigSelector::surfaceContextConfig):
(WebCore::EGLConfigSelector::nativeVisualId):
(WebCore::EGLConfigSelector::reset):
(WebCore::EGLConfigSelector::createConfig):
- platform/graphics/surfaces/egl/EGLConfigSelector.h:
(EGLConfigSelector):
Added logic to select EGLConfig supporting alpha and
opaque as needed. Moved Code related to display to
EGLHelper class.
- platform/graphics/surfaces/egl/EGLHelper.cpp: Added.
(WebCore):
(EGLDisplayConnection):
(WebCore::EGLDisplayConnection::EGLDisplayConnection):
(WebCore::EGLDisplayConnection::~EGLDisplayConnection):
(WebCore::EGLDisplayConnection::display):
(WebCore::EGLDisplayConnection::terminate):
(WebCore::EGLHelper::eglDisplay):
- platform/graphics/surfaces/egl/EGLHelper.h: Copied from Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h.
(WebCore):
(EGLHelper):
- platform/graphics/surfaces/egl/EGLSurface.cpp:
(WebCore::EGLTransportSurface::createTransportSurface):
(WebCore::EGLTransportSurface::EGLTransportSurface):
(WebCore::EGLTransportSurface::attributes):
(WebCore::EGLTransportSurface::~EGLTransportSurface):
(WebCore::EGLTransportSurface::destroy):
(WebCore::EGLTransportSurface::configuration):
(WebCore::EGLOffScreenSurface::createOffScreenSurface):
(WebCore::EGLOffScreenSurface::EGLOffScreenSurface):
(WebCore::EGLOffScreenSurface::~EGLOffScreenSurface):
(WebCore::EGLOffScreenSurface::attributes):
(WebCore::EGLOffScreenSurface::configuration):
(WebCore::EGLOffScreenSurface::destroy):
- platform/graphics/surfaces/egl/EGLSurface.h:
(WebCore):
(EGLTransportSurface):
(EGLOffScreenSurface):
- platform/graphics/surfaces/egl/EGLXSurface.cpp: Copied from Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.cpp.
(WebCore):
(WebCore::EGLWindowTransportSurface::EGLWindowTransportSurface):
(WebCore::EGLWindowTransportSurface::~EGLWindowTransportSurface):
(WebCore::EGLWindowTransportSurface::swapBuffers):
(WebCore::EGLWindowTransportSurface::destroy):
(WebCore::EGLPixmapSurface::EGLPixmapSurface):
(WebCore::EGLPixmapSurface::~EGLPixmapSurface):
(WebCore::EGLPixmapSurface::destroy):
- platform/graphics/surfaces/egl/EGLXSurface.h: Copied from Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h.
(WebCore):
(EGLWindowTransportSurface):
(EGLPixmapSurface):
EGLPixmapSurface implementation.
- 8:50 AM Changeset in webkit [147221] by
-
- 12 edits in trunk
Unreviewed, rolling out r147218.
http://trac.webkit.org/changeset/147218
https://bugs.webkit.org/show_bug.cgi?id=113585
We should rethink UI of this feature. (Requested by vsevik on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-29
Source/WebCore:
- inspector/InjectedScriptSource.js:
(.):
- inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.populateWithProperties):
- inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject.prototype.set else):
(WebInspector.RemoteObjectProperty):
- inspector/front-end/inspector.css:
LayoutTests:
- inspector/console/command-line-api-expected.txt:
- inspector/debugger/properties-special-expected.txt:
- inspector/debugger/properties-special.html:
- inspector/runtime/runtime-getProperties-expected.txt:
- inspector/runtime/runtime-getProperties.html:
- platform/chromium/inspector/debugger/properties-special-expected.txt:
- 8:20 AM Changeset in webkit [147220] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: extract common base for 3 timeline overview controls (Events/Frames/Memory)
https://bugs.webkit.org/show_bug.cgi?id=113572
Reviewed by Yury Semikhatsky.
Refactoring, covered by existing tests.
- introduce TimelineOverviewBase as a common base for 3 overview controls;
- make every overview control a view.
This does not yet take advantage of common base (subject of the next patch).
- inspector/front-end/OverviewGrid.js:
(WebInspector.OverviewGrid.prototype.gridElement):
(WebInspector.OverviewGrid.prototype.itemsGraphsElement):
- inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewPane):
(WebInspector.TimelineOverviewPane.prototype.setMode):
(WebInspector.TimelineOverviewPane.prototype._update):
(WebInspector.TimelineOverviewBase):
(WebInspector.TimelineOverviewBase.prototype.update):
(WebInspector.TimelineMemoryOverview):
(WebInspector.TimelineEventOverview):
(WebInspector.TimelineEventOverview.prototype._renderBar):
(WebInspector.TimelineFrameOverview):
(WebInspector.TimelineFrameOverview.prototype.update):
(WebInspector.TimelineFrameOverview.prototype._renderBars):
(WebInspector.TimelineFrameOverview.prototype._drawFPSMarks):
(WebInspector.TimelineFrameOverview.prototype._renderBar):
- 8:09 AM Changeset in webkit [147219] by
-
- 5 edits in trunk/LayoutTests
Web Inspector: Update test expectation for resource-har-conversion.html
https://bugs.webkit.org/show_bug.cgi?id=113460
Patch by Seokju Kwon <Seokju Kwon> on 2013-03-29
Reviewed by Vsevolod Vlasov.
The value of pageref and title had been changed after r105596.
(Use page ids, not document URLs in HAR entries to refer to pages.
Use page URL as a title field of a HAR page.)
- http/tests/inspector/resource-har-conversion-expected.txt:
- platform/mac-snowleopard/http/tests/inspector/resource-har-conversion-expected.txt:
- platform/mac/http/tests/inspector/resource-har-conversion-expected.txt:
- platform/win/http/tests/inspector/resource-har-conversion-expected.txt:
- 8:02 AM Changeset in webkit [147218] by
-
- 12 edits in trunk
Web Inspector: gather accessor property getter and setter under a single tree node
https://bugs.webkit.org/show_bug.cgi?id=113357
Patch by Peter Rybin <prybin@chromium.org> on 2013-03-29
Reviewed by Yury Semikhatsky.
Source/WebCore:
A new tree element class AccessorPropertyTreeElemenet is added.
RemoteObjectProperty can now represent accessor property (if value is null).
New tree element is supported in CSS stylesheet.
Testing code is slightly modified for exploring new tree elements.
- inspector/InjectedScriptSource.js:
(.):
- inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.populateWithProperties):
(WebInspector.AccessorPropertyTreeElement):
(WebInspector.AccessorPropertyTreeElement.prototype.onattach):
(WebInspector.AccessorPropertyTreeElement.prototype.update):
(WebInspector.AccessorPropertyTreeElement.prototype.onpopulate):
- inspector/front-end/RemoteObject.js:
- inspector/front-end/inspector.css:
(.accessor-property-name):
LayoutTests:
Expectations are fixed with changed functionality and changed tests.
- inspector/debugger/properties-special-expected.txt:
- inspector/debugger/properties-special.html:
- inspector/runtime/runtime-getProperties-expected.txt:
- inspector/runtime/runtime-getProperties.html:
- platform/chromium/inspector/debugger/properties-special-expected.txt:
- 7:21 AM Changeset in webkit [147217] by
-
- 1 edit1 add in trunk/LayoutTests
Unreviewed Windows gardening.
- platform/win/fast/events/event-attribute-expected.txt: Added.
New baseline after r147205.
- 7:17 AM Changeset in webkit [147216] by
-
- 1 edit1 add in trunk/LayoutTests
Unreviewed Mac gardening.
- platform/mac/fast/events/event-attribute-expected.txt: Added.
New baseline after r147205.
- 7:15 AM Changeset in webkit [147215] by
-
- 1 edit1 delete in trunk/LayoutTests
[Qt] Removal of misplaced stuff after r146692.
- platform/qt-unknown/fast/text/international/text-spliced-font-expected.png: Removed.
- platform/qt-unknown/svg/carto.net/tabgroup-expected.png: Removed.
- 7:14 AM Changeset in webkit [147214] by
-
- 2 edits6 adds in trunk/PerformanceTests
[CSS Regions] Add performance tests
https://bugs.webkit.org/show_bug.cgi?id=113303
Reviewed by Antti Koivisto.
Add simple performance tests for regions, without nested named flows: a region chain and a flow article.
The regions.js script is used to generate the tests and can set the following parameters: the number of regions,
the number of paragraphs, the regions width, height, max-height and the propability of a forced break after a paragraph.
The tests are skipped for now. They should be enabled once the regions performance is stable enough to create a baseline.
- Layout/RegionsAuto.html: Added. A few regions with a short article. The regions have auto-height and some
paragraphs (80%) have forced breaks after. Stress test for the auto-height algorithm.
- Layout/RegionsAutoMaxHeight.html: Added. A lot of regions with auto-height and max-height. Tests the impact of
max-height on the auto-height algorithm.
- Layout/RegionsFixed.html: Added. A lot of regions with a long article. Some paragraphs (50%) have forced breaks after.
Stress test for the regions layout algorithm.
- Layout/RegionsFixedShort.html: Added. A lot of short regions with a long content. Tests the impact of unforced breaks
on the layout speed.
- Layout/resources/regions.css: Added.
(.articleInFlow):
(.articleNone):
(.region):
(.contentParagraph):
(.breakAfter):
(.regionContainer):
- Layout/resources/regions.js: Added.
(.):
- Skipped:
- 6:56 AM Changeset in webkit [147213] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Flame Chart. Developers will have more clue
if two different profiles will have same colors for same functions.
https://bugs.webkit.org/show_bug.cgi?id=113410
Reviewed by Pavel Feldman.
The code related to color generator was extracted into a separate class.
The instance of the class was stored as static private member of the FlameChart class,
so all the profiles will share the same instance and will use same colors.
The colors itself were slightly adjusted.
Drive by fix: coordinatesToNodeIndex was fixed. The error was introduced in the patch about left padding.
- inspector/front-end/FlameChart.js:
(WebInspector.FlameChart):
(WebInspector.FlameChart.ColorGenerator):
(WebInspector.FlameChart.ColorGenerator.prototype._colorPairForID):
(WebInspector.FlameChart.prototype._calculateTimelineData):
(WebInspector.FlameChart.prototype._calculateTimelineDataForSamples):
(WebInspector.FlameChart.prototype._coordinatesToNodeIndex):
- 6:18 AM Changeset in webkit [147212] by
-
- 11 edits in trunk
[BlackBerry] Cleanup the CONTEXT_MENUS in BlackBerry porting
https://bugs.webkit.org/show_bug.cgi?id=113562
Reviewed by George Staikos.
Internally reviewed by Mike Fenton and Gen Mak.
.:
- Source/cmake/OptionsBlackBerry.cmake:
- Source/cmake/WebKitFeatures.cmake:
- Source/cmakeconfig.h.cmake:
Source/WebCore:
No new tests, just disable CONTEXT_MENUS for blackberry porting.
- platform/blackberry/ContextMenuBlackBerry.cpp:
- platform/blackberry/ContextMenuItemBlackBerry.cpp:
Source/WebKit/blackberry:
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):
- WebCoreSupport/ContextMenuClientBlackBerry.cpp:
- WebCoreSupport/ContextMenuClientBlackBerry.h:
- 6:08 AM Changeset in webkit [147211] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Context menu doesn't showup anymore after rebase.
https://bugs.webkit.org/show_bug.cgi?id=113570
Reviewed by George Staikos.
The upstreaming patch for bug: 103058, reverses the return value of
Node::dispatchMouseEvent() to be consistent with Node::dispatchEvent(),
so we should reverse our logic in webkit part that calls it also.
This only applys to master_41 which is a new rebase, don't apply it to master_40.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::webContext):
- 5:55 AM Changeset in webkit [147210] by
-
- 2 edits in trunk/Source/WebCore
Fix build warning after r147022
https://bugs.webkit.org/show_bug.cgi?id=113567
Patch by KwangYong Choi <ky0.choi@samsung.com> on 2013-03-29
Reviewed by Kentaro Hara.
Use UNUSED_PARAM macro to fix -Wunused-parameter build warning.
No new tests, no change on behavior.
- page/EventHandler.cpp:
(WebCore::expandSelectionToRespectUserSelectAll):
- 5:40 AM Changeset in webkit [147209] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: ability to use AnchorBox as an anchor for Popover
https://bugs.webkit.org/show_bug.cgi?id=113563
Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-29
Reviewed by Pavel Feldman.
No new test: no change in behaviour.
- Ability to pass AnchorBox instead of Element for popover anchor.
- inspector/front-end/Popover.js:
(WebInspector.Popover.prototype._positionElement):
(WebInspector.PopoverHelper.prototype._eventInHoverElement):
- 5:31 AM Changeset in webkit [147208] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: assign Scroll events to rendering category (was painting)
https://bugs.webkit.org/show_bug.cgi?id=113564
Reviewed by Pavel Feldman.
- inspector/front-end/TimelinePresentationModel.js: /ScrollLayer.*category/s/painting/rendering/
(WebInspector.TimelinePresentationModel._initRecordStyles):
- 5:27 AM Changeset in webkit [147207] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening. Skip failing test after r147205.
- platform/qt-5.0-wk1/TestExpectations:
- 4:28 AM Changeset in webkit [147206] by
-
- 2 edits in trunk/Source/WebCore
[GStreamer] playback gets bumpy sometimes when on-disk buffering is slow
https://bugs.webkit.org/show_bug.cgi?id=113512
Reviewed by Martin Robinson.
When the HTTP source element is slow downloading data for on-disk
buffering the playback position might reach an unbuffered region
and have bad consequences, pausing the pipeline beforehand
prevents this case to happen.
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::processBufferingStats):
- 2:59 AM Changeset in webkit [147205] by
-
- 14 edits4 adds in trunk
Add the event handler content attributes that are defined in the spec to HTMLElement
https://bugs.webkit.org/show_bug.cgi?id=86363
Reviewed by Ryosuke Niwa.
Source/WebCore:
Test: fast/events/event-attribute.html
We are missing some event handler content attributes from HTMLElement that are defined in the spec.
http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#event-handlers-on-elements,-document-objects,-and-window-objects
- html/HTMLElement.cpp:
(WebCore::HTMLElement::eventNameForAttributeName): Returns event name for a given attribute name by looking it up on a HashMap.
(WebCore::HTMLElement::parseAttribute): Sets up event listeners for content attributes.
- html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::parseAttribute): Removed event listener content attributes that was added to HTMLElement.
- html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::parseAttribute): Ditto.
- html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::parseAttribute): Ditto.
- html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::parseAttribute): Ditto.
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::parseAttribute): Ditto.
- html/HTMLScriptElement.cpp:
(WebCore::HTMLScriptElement::parseAttribute): Ditto.
- html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::parseAttribute): Ditto.
- html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::parseAttribute): Ditto.
- html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::parseAttribute): Ditto.
- html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::parseAttribute): Ditto.
LayoutTests:
- fast/events/event-attribute-expected.txt: Added.
- fast/events/event-attribute.html: Added. Tests that setting attribute creates event listeners.
- fast/events/form-onchange-expected.txt: Added.
- fast/events/form-onchange.html: Added. Test for Bug 24516.
- 2:44 AM Changeset in webkit [147204] by
-
- 16 edits in trunk
Web Inspector: timeline paint rectangles are off for transformed layers
https://bugs.webkit.org/show_bug.cgi?id=112919
Reviewed by Pavel Feldman.
Source/WebCore:
- pass RenderObject instead of Frame to InspectorInstrumentation::didPaint;
- take transforms into account and convert paint clip rect into quad;
- emit quads, not rects as Paint and Layout record data;
- adjust client to using quads, compute width/height from quad coords.
- inspector/InspectorInstrumentation.cpp: Pass RenderObject, not frame to {will,did}Paint.
(WebCore):
(WebCore::InspectorInstrumentation::willPaintImpl):
(WebCore::InspectorInstrumentation::didPaintImpl):
(WebCore::InspectorInstrumentation::instrumentingAgentsForRenderer): Added.
- inspector/InspectorInstrumentation.h:
(WebCore):
(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::willPaint):
(WebCore::InspectorInstrumentation::didPaint):
- inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::didLayout):
(WebCore::InspectorTimelineAgent::didPaint):
(WebCore::InspectorTimelineAgent::localToPageQuad): Convert local clip rect to transformed quad.
(WebCore):
- inspector/InspectorTimelineAgent.h:
(WebCore):
(InspectorTimelineAgent):
- inspector/TimelineRecordFactory.cpp: Emit quads as Paint and Layout records data.
(WebCore::createQuad):
(WebCore):
(WebCore::TimelineRecordFactory::createPaintData):
(WebCore::TimelineRecordFactory::createLayoutData):
- inspector/TimelineRecordFactory.h:
(WebCore):
(TimelineRecordFactory):
- inspector/front-end/TimelinePanel.js: Highlight a quad iff formatted record has highlightQuad field.
(WebInspector.TimelinePanel.prototype._mouseOut):
(WebInspector.TimelinePanel.prototype._mouseMove):
(WebInspector.TimelinePanel.prototype._highlightQuad):
(WebInspector.TimelinePanel.prototype._hideQuadHighlight):
- inspector/front-end/TimelinePresentationModel.js:
(WebInspector.TimelinePresentationModel.Record): Set highlightQuad for Paint and Layout
(WebInspector.TimelinePresentationModel.Record.prototype._generatePopupContentWithImagePreview):
(WebInspector.TimelinePresentationModel.Record.prototype._getRecordDetails):
(WebInspector.TimelinePresentationModel.quadWidth):
(WebInspector.TimelinePresentationModel.quadHeight):
- page/FrameView.cpp:
(WebCore::FrameView::paintContents):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::paintContents):
LayoutTests:
- adjust to changed record format;
- simplify test using InspectorTest.evaluateWithTimeline().
- http/tests/inspector/timeline-test.js:
- inspector/timeline/timeline-layout-expected.txt:
- inspector/timeline/timeline-paint-expected.txt:
- inspector/timeline/timeline-paint.html:
- 2:33 AM Changeset in webkit [147203] by
-
- 6 edits2 adds in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt: Rebaseline after r147164.
- platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt: Rebaseline after r147164.
- platform/qt/TestExpectations:
- platform/qt/compositing/contents-opaque/control-layer-expected.txt: Rebaseline after r147127.
- platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt: Rebaseline after r147164.
- platform/qt/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt: Rebaseline after r147164.
- 2:25 AM Changeset in webkit [147202] by
-
- 7 edits in trunk/Source/WebCore
Web Inspector: generalize InspectorDOMAgent::highlightRect() to highlightQuad()
https://bugs.webkit.org/show_bug.cgi?id=112911
Reviewed by Pavel Feldman.
- added Quad type and DOMAgent.highlightQuad() to protocol;
- retained DOMAgent.highlightRect(), but implement it via highlightQuad.
- inspector/Inspector.json:
- inspector/InspectorDOMAgent.cpp:
(WebCore::parseQuad):
(WebCore):
(WebCore::InspectorDOMAgent::highlightRect):
(WebCore::InspectorDOMAgent::highlightQuad):
(WebCore::InspectorDOMAgent::innerHighlightQuad):
- inspector/InspectorDOMAgent.h:
(InspectorDOMAgent):
- inspector/InspectorOverlay.cpp: Mostly just renames of rect to quad.
(WebCore::InspectorOverlay::paint):
(WebCore::InspectorOverlay::getHighlight):
(WebCore::InspectorOverlay::hideHighlight):
(WebCore::InspectorOverlay::highlightQuad):
(WebCore::InspectorOverlay::update):
(WebCore::InspectorOverlay::drawQuadHighlight):
(WebCore::InspectorOverlay::reportMemoryUsage):
- inspector/InspectorOverlay.h:
(InspectorOverlay):
- inspector/InspectorOverlayPage.html: Ditto.
- 1:51 AM Changeset in webkit [147201] by
-
- 3 edits in trunk/LayoutTests
Unreviewed GTK gardening.
- platform/gtk/TestExpectations: Adding a crashing expectation for the
ttp/tests/security/XFrameOptions/x-frame-options-deny-multiple-clients.html layout test. Skipping the perf/ tests when
using the debug build.
- platform/gtk/fast/text/shaping/shaping-selection-rect-expected.txt: Rebaselining after r147156.
- 12:59 AM Changeset in webkit [147200] by
-
- 3 edits19 adds in trunk/LayoutTests
[EFL] New baselines for accessibility tests.
https://bugs.webkit.org/show_bug.cgi?id=113510
Unreviewed, EFL gardening.
Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-03-29
- platform/efl-wk1/TestExpectations:
- platform/efl-wk2/TestExpectations:
- platform/efl/accessibility/adjacent-continuations-cause-assertion-failure-expected.txt: Added.
- platform/efl/accessibility/aria-checkbox-text-expected.txt: Added.
- platform/efl/accessibility/aria-combobox-expected.txt: Added.
- platform/efl/accessibility/aria-fallback-roles-expected.txt: Added.
- platform/efl/accessibility/aria-labelledby-overrides-aria-label-expected.txt: Added.
- platform/efl/accessibility/aria-menubar-menuitems-expected.txt: Added.
- platform/efl/accessibility/aria-roles-expected.txt: Added.
- platform/efl/accessibility/aria-tables-expected.txt: Added.
- platform/efl/accessibility/aria-toggle-button-with-title-expected.txt: Added.
- platform/efl/accessibility/canvas-description-and-role-expected.txt: Added.
- platform/efl/accessibility/div-within-anchors-causes-crash-expected.txt: Added.
- platform/efl/accessibility/image-link-expected.txt: Added.
- platform/efl/accessibility/image-map1-expected.txt: Added.
- platform/efl/accessibility/image-map2-expected.txt: Added.
- platform/efl/accessibility/img-alt-tag-only-whitespace-expected.txt: Added.
- platform/efl/accessibility/legend-expected.txt: Added.
- platform/efl/accessibility/menu-list-sends-change-notification-expected.txt: Added.
- platform/efl/accessibility/notification-listeners-expected.txt: Added.
- platform/efl/accessibility/svg-image-expected.txt: Added.
- 12:36 AM Changeset in webkit [147199] by
-
- 3 edits2 adds in trunk
REGRESSION(r143102): Ignore table cell's height attribute when checking if containing block has auto height.
https://bugs.webkit.org/show_bug.cgi?id=113526
Source/WebCore:
It matches shipping Safari and Firefox behaviour.
Patch by Zalan Bujtas <Alan Bujtas> on 2013-03-29
Reviewed by Antti Koivisto.
Test: fast/replaced/iframe-with-percentage-height-within-table-with-table-cell-ignore-height.html
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight):
LayoutTests:
Patch by Zalan Bujtas <Alan Bujtas> on 2013-03-29
Reviewed by Antti Koivisto.
- fast/replaced/iframe-with-percentage-height-within-table-with-table-cell-ignore-height-expected.txt: Added.
- fast/replaced/iframe-with-percentage-height-within-table-with-table-cell-ignore-height.html: Added.