Timeline



Mar 30, 2013:

9:30 PM Changeset in webkit [147285] by abarth@webkit.org
  • 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 abarth@webkit.org
  • 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 fpizlo@apple.com
  • 9 edits
    4 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.

(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 mhahnenberg@apple.com
  • 8 edits
    1 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.

(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 tsepez@chromium.org
  • 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 tsepez@chromium.org
  • 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 Philippe Normand
  • 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 commit-queue@webkit.org
  • 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 Csaba Osztrogonác
  • 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 commit-queue@webkit.org
  • 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 commit-queue@webkit.org
  • 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 commit-queue@webkit.org
  • 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 pfeldman@chromium.org
  • 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 pfeldman@chromium.org
  • 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:

TBR=commit-queue@webkit.org
Review URL: https://codereview.chromium.org/13382002

9:51 PM Changeset in webkit [147271] by fpizlo@apple.com
  • 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 fpizlo@apple.com
  • 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 fpizlo@apple.com
  • 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 commit-queue@webkit.org
  • 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 commit-queue@webkit.org
  • 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 roger_fong@apple.com
  • 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 commit-queue@webkit.org
  • 5 edits
    2 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 fpizlo@apple.com
  • 4 edits
    2 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 aestes@apple.com
  • 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 Lucas Forschler
  • 4 edits in tags/Safari-537.35.4/Source/WebKit2

Merged r147257. <rdar://problem/13531679>

4:32 PM Changeset in webkit [147261] by ojan@chromium.org
  • 20 edits
    2 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 ap@apple.com
  • 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 fpizlo@apple.com
  • 16 edits
    14 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 dgrogan@chromium.org
  • 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 beidson@apple.com
  • 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 commit-queue@webkit.org
  • 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 acolwell@chromium.org
  • 1 edit
    4 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 jsbell@chromium.org
  • 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 beidson@apple.com
  • 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 mhahnenberg@apple.com
  • 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 beidson@apple.com
  • 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 commit-queue@webkit.org
  • 5 edits
    2 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 hmuller@adobe.com
  • 4 edits
    4 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 Lucas Forschler
  • 4 edits in tags/Safari-537.35.4/Source/WebKit2

Merged r147179. <rdar://problem/13479890>

1:24 PM Changeset in webkit [147247] by Lucas Forschler
  • 2 edits in tags/Safari-537.35.4/Source/WebKit2

Merged r147010. <rdar://problem/13479890>

1:22 PM Changeset in webkit [147246] by Lucas Forschler
  • 5 edits
    2 copies in tags/Safari-537.35.4/Source/WebKit2

Merged r147006. <rdar://problem/13479890>

1:12 PM Changeset in webkit [147245] by ojan@chromium.org
  • 13 edits
    2 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 jsbell@chromium.org
  • 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 timothy@apple.com
  • 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 Lucas Forschler
  • 21 edits in tags/Safari-537.35.4/Source

Merged r146544. <rdar://problem/13479890>

12:36 PM Changeset in webkit [147241] by jsbell@chromium.org
  • 3 edits
    2 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 dino@apple.com
  • 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 Martin Robinson
  • 110 edits
    853 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 Simon Fraser
  • 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 Lucas Forschler
  • 19 edits in tags/Safari-537.35.4

Merged r146704. <rdar://problem/13337564>

12:14 PM Changeset in webkit [147236] by commit-queue@webkit.org
  • 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 Lucas Forschler
  • 4 edits in tags/Safari-537.35.4/Source

Versioning.

12:12 PM Changeset in webkit [147234] by ggaren@apple.com
  • 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 jsbell@chromium.org
  • 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 timothy@apple.com
  • 2 edits in trunk/LayoutTests

Mark fast/workers/worker-close-more.html, worker-document-leak.html and
worker-lifecycle.html as flaky on Windows.

http://webkit.org/b/106415

Unreviewed.

  • platform/win/TestExpectations:
11:52 AM Changeset in webkit [147231] by roger_fong@apple.com
  • 2 edits in trunk/WebKitLibraries

Unreviewed. Rollout r146818.

  • win/tools/vsprops/FeatureDefines.props:
11:49 AM Changeset in webkit [147230] by timothy@apple.com
  • 2 edits in trunk/LayoutTests

Mark inspector/debugger/debugger-scripts-reload.html as flaky.

http://webkit.org/b/113589

Unreviewed.

  • platform/mac/TestExpectations:
11:40 AM Changeset in webkit [147229] by Lucas Forschler
  • 1 copy in tags/Safari-537.35.4

New Tag.

11:10 AM Changeset in webkit [147228] by Nate Chapin
  • 3 edits
    2 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 vsevik@chromium.org
  • 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 vsevik@chromium.org
  • 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 rniwa@webkit.org
  • 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 loislo@chromium.org
  • 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 zarvai@inf.u-szeged.hu
  • 41 edits
    16 copies
    5 moves
    128 adds
    21 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 commit-queue@webkit.org
  • 9 edits
    3 copies
    1 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 commit-queue@webkit.org
  • 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 caseq@chromium.org
  • 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 commit-queue@webkit.org
  • 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 commit-queue@webkit.org
  • 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 timothy@apple.com
  • 1 edit
    1 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 timothy@apple.com
  • 1 edit
    1 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 kadam@inf.u-szeged.hu
  • 1 edit
    1 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 abucur@adobe.com
  • 2 edits
    6 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 loislo@chromium.org
  • 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 charles.wei@torchmobile.com.cn
  • 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 charles.wei@torchmobile.com.cn
  • 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 commit-queue@webkit.org
  • 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 commit-queue@webkit.org
  • 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 caseq@chromium.org
  • 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 zarvai@inf.u-szeged.hu
  • 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 Philippe Normand
  • 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 keishi@webkit.org
  • 14 edits
    4 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 caseq@chromium.org
  • 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 zarvai@inf.u-szeged.hu
  • 6 edits
    2 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 caseq@chromium.org
  • 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 zandobersek@gmail.com
  • 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 commit-queue@webkit.org
  • 3 edits
    19 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 commit-queue@webkit.org
  • 3 edits
    2 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.

Mar 28, 2013:

11:31 PM Changeset in webkit [147198] by eustas@chromium.org
  • 3 edits in trunk/Source/WebCore

Web Inspector: [Cookies] CookiesTable should integrate with DataGrid context menu.
https://bugs.webkit.org/show_bug.cgi?id=113496

Reviewed by Pavel Feldman.

Integrate CookiesTable with DataGrid context menu
instead of overriding it.

  • inspector/front-end/CookiesTable.js:

Pass context menu callback to DataGrid constructor.

  • inspector/front-end/DataGrid.js:

Added context menu callback constructor parameter. Fixed JSDoc.

10:53 PM Changeset in webkit [147197] by ryuan.choi@samsung.com
  • 3 edits in trunk/Tools

[EFL] Build break with latest EFL libraries after r146265
https://bugs.webkit.org/show_bug.cgi?id=113558

Unreviewed build fix.

  • TestWebKitAPI/PlatformWebView.h:
  • WebKitTestRunner/PlatformWebView.h:
10:40 PM Changeset in webkit [147196] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/Tools

Unreviewed. Fix build break when running --update-efl in WebKit EFL.

  • efl/jhbuild.modules: Remove to run autogen.sh in libgcrypt autogen. It causes configuration fail

in libgcrypt build.

9:33 PM Changeset in webkit [147195] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

Unreviewed, rolling out r147123.
http://trac.webkit.org/changeset/147123
https://bugs.webkit.org/show_bug.cgi?id=113557

wrong TextExpectation removal (Requested by shinyak|gardener
on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-28

  • platform/chromium/TestExpectations:
9:12 PM Changeset in webkit [147194] by shinyak@chromium.org
  • 8 edits in trunk/LayoutTests

[Chromium] Unreviewed gardening.

Test expectations update and rebaselining.

  • platform/chromium-mac-lion/fast/lists/003-vertical-expected.png:
  • platform/chromium-mac-lion/fast/text/international/text-spliced-font-expected.txt:
  • platform/chromium-mac-lion/fast/text/international/vertical-text-glyph-test-expected.txt:
  • platform/chromium-mac-snowleopard/fast/text/international/text-spliced-font-expected.txt:
  • platform/chromium-mac-snowleopard/fast/text/international/vertical-text-glyph-test-expected.txt:
  • platform/chromium-mac/fast/lists/003-vertical-expected.png:
  • platform/chromium-mac/fast/text/international/text-spliced-font-expected.txt:
8:47 PM Changeset in webkit [147193] by shinyak@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Unreviewed gardening. Test Expectations update.

  • platform/chromium/TestExpectations:
6:48 PM Changeset in webkit [147192] by commit-queue@webkit.org
  • 3 edits
    3 deletes in trunk/Source/WebKit/chromium

[chromium] Remove unused WebRegularExpression API
https://bugs.webkit.org/show_bug.cgi?id=113520

Patch by James Robinson <jamesr@chromium.org> on 2013-03-28
Reviewed by Kent Tamura.

Last reference to these files removed in r190880.

  • WebKit.gyp:
  • public/WebRegularExpression.h: Removed.
  • public/WebTextCaseSensitivity.h: Removed.
  • src/AssertMatchingEnums.cpp:
  • src/WebRegularExpression.cpp: Removed.
6:16 PM Changeset in webkit [147191] by beidson@apple.com
  • 2 edits in trunk/Source/WebKit2

We leak NetworkConnectionToWebProcess objects.
<rdar://problem/13393118> and https://bugs.webkit.org/show_bug.cgi?id=113551

Reviewed by Anders Carlsson.

  • NetworkProcess/NetworkConnectionToWebProcess.cpp:

(WebKit::NetworkConnectionToWebProcess::didClose): Remove this from the global set

of NetworkConnectionToWebProcess objects.

6:09 PM Changeset in webkit [147190] by ggaren@apple.com
  • 13 edits in trunk/Source/JavaScriptCore

Simplified the bytecode by removing op_loop and op_loop_if_*
https://bugs.webkit.org/show_bug.cgi?id=113548

Reviewed by Filip Pizlo.

Regular jumps will suffice.

These opcodes are identical to branches, except they also do timeout
checking. That style of timeout checking has been broken for a long
time, and when we add back timeout checking, it won't use these opcodes.

(JSC::CodeBlock::dumpBytecode):

  • bytecode/Opcode.h:

(JSC):
(JSC::padOpcodeName):

  • bytecode/PreciseJumpTargets.cpp:

(JSC::computePreciseJumpTargets):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitJump):
(JSC::BytecodeGenerator::emitJumpIfTrue):
(JSC::BytecodeGenerator::emitJumpIfFalse):

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::parseBlock):

  • dfg/DFGCapabilities.h:

(JSC::DFG::canCompileOpcode):

  • jit/JIT.cpp:

(JSC::JIT::privateCompileMainPass):
(JSC::JIT::privateCompileSlowCases):

  • jit/JIT.h:

(JIT):
(JSC):

  • llint/LowLevelInterpreter.asm:
  • llint/LowLevelInterpreter32_64.asm:
  • llint/LowLevelInterpreter64.asm:
6:01 PM Changeset in webkit [147189] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Don't cross editing boundary when touch hold selection expands
https://bugs.webkit.org/show_bug.cgi?id=113537

Patch by Iris Wu <shuwu@blackberry.com> on 2013-03-28
Reviewed by Rob Buis.

Set editing boundary crossing rule to make sure it won't cross
editing boundary when selection expands.

Reviewed Internally By Genevieve Mak and Mike Fenton.

  • WebKitSupport/SelectionHandler.cpp:

(BlackBerry::WebKit::SelectionHandler::selectNextParagraph):
(BlackBerry::WebKit::SelectionHandler::findNextAnimationOverlayRegion):

5:51 PM Changeset in webkit [147188] by mkwst@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed gardening.

http/tests/security/XFrameOptions/x-frame-options-deny-multiple-clients.html
crashes sometimes. Applying the patch from wkbug.com/111902 fixes it
locally for me: skipping it until that patch lands.

  • platform/mac/TestExpectations:

Marking http/tests/security/XFrameOptions/x-frame-options-deny-multiple-clients.html
as crashy in Debug.

5:50 PM Changeset in webkit [147187] by pdr@google.com
  • 2 edits in trunk/Source/WebCore

Fix compiler warning in IDBTransaction::modeToString
https://bugs.webkit.org/show_bug.cgi?id=113547

Reviewed by Darin Adler.

Not all compilers are smart enough to handle this switch. This patch refactors
modeToString to not return from the default case.

No new tests as this is just a compiler fix.

  • Modules/indexeddb/IDBTransaction.cpp:

(WebCore::IDBTransaction::modeToString):

5:18 PM Changeset in webkit [147186] by Simon Fraser
  • 6 edits in trunk/Source/WebCore

GraphicsLayerCA::recomputeVisibleRects() shouldn't actually set the visible rect
https://bugs.webkit.org/show_bug.cgi?id=113544

Reviewed by Tim Horton.

The functions added in r147058 to update the visible rects of GraphicsLayerCAs
should not have actually set the m_visibleRect on the layer, because this
caused a later call to adjustTiledLayerVisibleRect() to think that the visible
rect had not changed, so it did no expansion.

Clarify the logic to ask the GraphicsLayer whether, given a new visible
rect, it would need to make new tiles (which happens later during a flush).

Add a function to RenderLayerCompositor to call this code (but which has
no callers yet).

  • platform/graphics/GraphicsLayer.h:

(WebCore::GraphicsLayer::visibleRectChangeRequiresFlush): Make private.

  • platform/graphics/ca/GraphicsLayerCA.cpp:

(WebCore::GraphicsLayerCA::recursiveVisibleRectChangeRequiresFlush):
(WebCore::GraphicsLayerCA::visibleRectChangeRequiresFlush):

  • platform/graphics/ca/GraphicsLayerCA.h:
  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::noteVisibleRectChanged):

  • rendering/RenderLayerCompositor.h:

(RenderLayerCompositor):

5:13 PM Changeset in webkit [147185] by rafaelw@chromium.org
  • 4 edits in trunk

[HTMLTemplateElement] <template> should be able to be a foster parent
https://bugs.webkit.org/show_bug.cgi?id=113541

Source/WebCore:

Reviewed by Eric Seidel

This adds to the check in findFosterSite to include whether the parent is a DocumentFragment which is a template contents.

Tests added to html5lib suite.

  • html/parser/HTMLConstructionSite.cpp:

(WebCore::HTMLConstructionSite::findFosterSite):

LayoutTests:

Reviewed by Eric Seidel.

  • html5lib/resources/template.dat:
5:09 PM Changeset in webkit [147184] by ggaren@apple.com
  • 17 edits in trunk/Source/JavaScriptCore

Simplified the bytecode by removing op_jmp_scopes
https://bugs.webkit.org/show_bug.cgi?id=113545

Reviewed by Filip Pizlo.

We already have op_pop_scope and op_jmp, so we don't need op_jmp_scopes.
Using op_jmp_scopes was also adding a "jump to self" to codegen for
return statements, which was pretty silly.

(JSC::CodeBlock::dumpBytecode):

  • bytecode/Opcode.h:

(JSC::padOpcodeName):

  • bytecode/PreciseJumpTargets.cpp:

(JSC::computePreciseJumpTargets):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitComplexPopScopes):
(JSC::BytecodeGenerator::emitPopScopes):

  • bytecompiler/BytecodeGenerator.h:

(BytecodeGenerator):

  • bytecompiler/NodesCodegen.cpp:

(JSC::ContinueNode::emitBytecode):
(JSC::BreakNode::emitBytecode):
(JSC::ReturnNode::emitBytecode):

  • jit/JIT.cpp:

(JSC::JIT::privateCompileMainPass):

  • jit/JIT.h:
  • jit/JITOpcodes.cpp:
  • jit/JITOpcodes32_64.cpp:
  • jit/JITStubs.cpp:
  • jit/JITStubs.h:
  • llint/LLIntSlowPaths.cpp:
  • llint/LLIntSlowPaths.h:
  • llint/LowLevelInterpreter.asm:
4:46 PM Changeset in webkit [147183] by tony@chromium.org
  • 9 edits in trunk/LayoutTests

Convert some flexbox layout tests to using flexbox.css
https://bugs.webkit.org/show_bug.cgi?id=113534

Reviewed by Ojan Vafai.

This allows tests to be run without the -webkit prefix for flexbox tests allowing
some of them to run in Firefox.

  • css3/flexbox/flex-align-baseline.html:
  • css3/flexbox/flex-align-column.html:
  • css3/flexbox/flex-align-end.html:
  • css3/flexbox/flex-align-max.html:
  • css3/flexbox/flex-align-percent-height.html:
  • css3/flexbox/flex-align-stretch.html:
  • css3/flexbox/flex-align-vertical-writing-mode.html:
  • css3/flexbox/flex-align.html:
4:43 PM Changeset in webkit [147182] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

[chromium] Unreviewed, fix up some lint errors in TestExpectations.

  • platform/chromium/TestExpectations:
4:40 PM Changeset in webkit [147181] by aelias@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

[chromium] Use widget.parent() for plugin WebMouseEvents
https://bugs.webkit.org/show_bug.cgi?id=113543

Reviewed by James Robinson.

In r142571 I switches widget.parent() to widget.root() in the plugin
WebCore event -> WebMouseEvent creator, to make the converter the
inverse of the one going the other way and avoid null pointer crashes.
But the plugin code expects it to be parent() (see
http://crbug.com/223335).

  • src/WebInputEventConversion.cpp:

(WebKit::updateWebMouseEventFromWebCoreMouseEvent):

4:12 PM Changeset in webkit [147180] by Lucas Forschler
  • 10 edits in tags/Safari-537.35.3

Merged r146955. <rdar://problem/12324224>

4:09 PM Changeset in webkit [147179] by beidson@apple.com
  • 4 edits in trunk/Source/WebKit2

Resources are never revalidated/reloaded if a cached response exists on disk.
<rdar://problem/13479890> and https://bugs.webkit.org/show_bug.cgi?id=113542

Reviewed by Alexey Proskuryakov.

Trying to get a cached resource in didReceiveResponse and then aborting the load
meant we never performed any new loads.

We can check and see if the data is cached data inside didReceiveBuffer, instead.

  • NetworkProcess/NetworkResourceLoader.cpp:

(WebKit::NetworkResourceLoader::didReceiveResponse): Don't try for cached resources here.
(WebKit::NetworkResourceLoader::didReceiveData): This callback should never be used.
(WebKit::NetworkResourceLoader::didReceiveBuffer): Try to see if this data objected represents

a file based mmaped buffer.

  • NetworkProcess/NetworkResourceLoader.h:

Refactor these utility functions to start from either a CFURLCachedResponse or a SharedBuffer:

  • NetworkProcess/mac/NetworkResourceLoaderMac.mm:

(CFCachedURLResponseGetMemMappedData):
(CFURLCacheIsMemMappedData):
(WebKit::tryGetShareableHandleFromCFData):
(WebKit::NetworkResourceLoader::tryGetShareableHandleFromCFURLCachedResponse):
(WebKit::NetworkResourceLoader::tryGetShareableHandleFromSharedBuffer):

4:08 PM Changeset in webkit [147178] by wangxianzhu@chromium.org
  • 4 edits in trunk/Source

[Chromium] Don't create SolidColorLayer for full transparent background
https://bugs.webkit.org/show_bug.cgi?id=113524

Reviewed by James Robinson.

Source/WebCore:

Test: GraphicsLayerChromiumTest.setContentsToSolidColor

  • platform/graphics/chromium/GraphicsLayerChromium.cpp:

(WebCore::GraphicsLayerChromium::setContentsToSolidColor):

Source/WebKit/chromium:

  • tests/GraphicsLayerChromiumTest.cpp:

(GraphicsLayerChromiumTest::setContentsToSolidColor):

4:07 PM Changeset in webkit [147177] by Lucas Forschler
  • 2 edits in tags/Safari-537.35.3/Source/WebCore

Merged r147050. <rdar://problem/13205610>

4:03 PM Changeset in webkit [147176] by Lucas Forschler
  • 5 edits
    2 copies in tags/Safari-537.35.3

Merged r147018. <rdar://problem/13205610>

4:00 PM Changeset in webkit [147175] by Lucas Forschler
  • 2 edits in tags/Safari-537.35.3/Source/WebKit2

Merged r146722. <rdar://problem/13205610>

3:55 PM Changeset in webkit [147174] by Lucas Forschler
  • 10 edits in tags/Safari-537.35.3/Source

Merged r146664. <rdar://problem/13205610>

3:48 PM Changeset in webkit [147173] by Lucas Forschler
  • 12 edits
    4 copies in tags/Safari-537.35.3

Merged r146946. <rdar://problem/13486852>

3:39 PM Changeset in webkit [147172] by commit-queue@webkit.org
  • 4 edits
    2 moves in trunk

use XMLHttpRequestResponseType enumeration in XMLHttpRequest.idl
https://bugs.webkit.org/show_bug.cgi?id=113518

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-03-28
Reviewed by Kentaro Hara.

Source/WebCore:

Use enum XMLHttpRequestResponseType type instead of DOMString for
XMLHttpRequest responseType.

Argument validation now happens in the bindings.
XMLHttpRequest::setResponseType should then never receive invalid
arguments. So, replace console message with ASSERT_NOT_REACHED();

Test: fast/xmlhttprequest/xmlhttprequest-set-responsetype.html

  • xml/XMLHttpRequest.cpp:

(WebCore::XMLHttpRequest::setResponseType):

  • xml/XMLHttpRequest.idl:

LayoutTests:

Update xmlhttprequest-responsetype-set-invalidtype expected result:
Test all valide responseType. Remove expected console message in case
of invalid responseType. Rename to xmlhttprequest-set-responsetype

  • fast/xmlhttprequest/xmlhttprequest-set-responsetype-expected.txt: Renamed from LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-set-invalidtype-expected.txt.
  • fast/xmlhttprequest/xmlhttprequest-set-responsetype.html: Renamed from LayoutTests/fast/xmlhttprequest/xmlhttprequest-responsetype-set-invalidtype.html.
  • fast/xmlhttprequest/xmlhttprequest-responsetype-set-invalidtype-expected.txt:
3:29 PM Changeset in webkit [147171] by Lucas Forschler
  • 326 edits
    17 copies
    2 deletes in tags/Safari-537.35.3

Merged r146531. <rdar://problem/12324224>

3:25 PM Changeset in webkit [147170] by commit-queue@webkit.org
  • 3 edits
    1 add in trunk

[css3-text] Add platform support for "wavy" text decoration style
https://bugs.webkit.org/show_bug.cgi?id=92868

Patch by Lamarque V. Souza <Lamarque.Souza@basyskom.com> on 2013-03-28
Reviewed by Benjamin Poulain.

Source/WebCore:

This patch uses GraphicsContext::strokePath() to implement
wavy decoration for the CSS3 property "text-decoration-style".

No new tests as this is covered with existing tests.

  • rendering/InlineTextBox.cpp:

(WebCore::textDecorationStyleToStrokeStyle): Remove obsolete comment.
(WebCore::adjustStepToDecorationLength): Add function to adjust
variables used to calculate the lenght of Bezier curves.
(WebCore::strokeWavyTextDecoration): Add function to stroke wavy
decoration based on cubic Bezier curve.
(WebCore::InlineTextBox::paintDecoration): Call
strokeWavyTextDecoration when necessary.

LayoutTests:

Rebaseline chromium-linux expectation for
fast/css3-text/css3-text-decoration/text-decoration-style.html.

  • platform/chromium-linux/fast/css3-text/css3-text-decoration/text-decoration-style-expected.png: Added.
3:17 PM Changeset in webkit [147169] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebCore

REGRESSION(r147149): breaks binding test on Mac. (Requested by mlam_ on #webkit).
https://bugs.webkit.org/show_bug.cgi?id=113538

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-03-28
Reviewed by Simon Fraser.

Run run-bindings-tests --reset-results to fix broken tests after
r147149.

  • bindings/scripts/test/V8/V8TestInterface.cpp:

(WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetter):

  • bindings/scripts/test/V8/V8TestObj.cpp:

(WebCore::TestObjV8Internal::shortAttrAttrSetter):
(WebCore::TestObjV8Internal::unsignedShortAttrAttrSetter):
(WebCore::TestObjV8Internal::longAttrAttrSetter):
(WebCore::TestObjV8Internal::longLongAttrAttrSetter):
(WebCore::TestObjV8Internal::unsignedLongLongAttrAttrSetter):
(WebCore::TestObjV8Internal::testObjAttrAttrSetter):
(WebCore::TestObjV8Internal::XMLObjAttrAttrSetter):
(WebCore::TestObjV8Internal::createAttrSetter):
(WebCore::TestObjV8Internal::reflectedIntegralAttrAttrSetter):
(WebCore::TestObjV8Internal::reflectedUnsignedIntegralAttrAttrSetter):
(WebCore::TestObjV8Internal::reflectedBooleanAttrAttrSetter):
(WebCore::TestObjV8Internal::reflectedCustomIntegralAttrAttrSetter):
(WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrSetter):
(WebCore::TestObjV8Internal::typedArrayAttrAttrSetter):
(WebCore::TestObjV8Internal::attrWithGetterExceptionAttrSetter):
(WebCore::TestObjV8Internal::attrWithSetterExceptionAttrSetter):
(WebCore::TestObjV8Internal::withScriptStateAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetter):
(WebCore::TestObjV8Internal::conditionalAttr1AttrSetter):
(WebCore::TestObjV8Internal::conditionalAttr2AttrSetter):
(WebCore::TestObjV8Internal::conditionalAttr3AttrSetter):
(WebCore::TestObjV8Internal::anyAttributeAttrSetter):
(WebCore::TestObjV8Internal::enabledAtRuntimeAttr1AttrSetter):
(WebCore::TestObjV8Internal::enabledAtRuntimeAttr2AttrSetter):
(WebCore::TestObjV8Internal::enabledPerContextAttr1AttrSetter):
(WebCore::TestObjV8Internal::enabledPerContextAttr2AttrSetter):
(WebCore::TestObjV8Internal::floatArrayAttrSetter):
(WebCore::TestObjV8Internal::doubleArrayAttrSetter):
(WebCore::TestObjV8Internal::mutablePointAttrSetter):
(WebCore::TestObjV8Internal::immutablePointAttrSetter):
(WebCore::TestObjV8Internal::strawberryAttrSetter):
(WebCore::TestObjV8Internal::strictFloatAttrSetter):
(WebCore::TestObjV8Internal::idAttrSetter):
(WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrSetter):
(WebCore::TestObjV8Internal::nullableStringValueAttrSetter):
(WebCore::TestObjV8Internal::perWorldAttributeAttrSetter):
(WebCore::TestObjV8Internal::perWorldAttributeAttrSetterForMainWorld):

  • bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:

(WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrSetter):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrSetter):

  • bindings/scripts/test/V8/V8TestTypedefs.cpp:

(WebCore::TestTypedefsV8Internal::unsignedLongLongAttrAttrSetter):
(WebCore::TestTypedefsV8Internal::immutableSerializedScriptValueAttrSetter):
(WebCore::TestTypedefsV8Internal::attrWithGetterExceptionAttrSetter):
(WebCore::TestTypedefsV8Internal::attrWithSetterExceptionAttrSetter):

3:07 PM Changeset in webkit [147168] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

[wk2] REGRESSION (r125500): WebFrameLoaderClient's active m_pluginView can be zeroed by PluginDocuments leaving the page cache
https://bugs.webkit.org/show_bug.cgi?id=113430
<rdar://problem/12729564>

Reviewed by Brady Eidson.

http://trac.webkit.org/changeset/147152 was wrong, and should have been
(as the ChangeLog stated) testing the argument to redirectDataToPlugin,
not the value of m_pluginView.

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::redirectDataToPlugin):

3:07 PM Changeset in webkit [147167] by commit-queue@webkit.org
  • 6 edits
    1 delete in trunk/Source/WebCore

Unreviewed, rolling out r147130.
http://trac.webkit.org/changeset/147130
https://bugs.webkit.org/show_bug.cgi?id=113539

Not needed now that we do not sleep in preprocessor.pm
(Requested by jamesr on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-28

  • WebCore.gyp/WebCore.gyp:
  • bindings/scripts/CodeGenerator.pm:

(ParseInterface):

  • bindings/scripts/IDLParser.pm:

(Parse):

  • bindings/scripts/generate-bindings.pl:
  • bindings/scripts/generate-preprocessed-idls.pl: Removed.
  • bindings/scripts/preprocessor.pm:

(applyPreprocessor):

3:01 PM Changeset in webkit [147166] by Lucas Forschler
  • 2 edits in trunk/Tools

Disable running tests on Mac EWS until we can find a way to keep the queue at a reasonable length.

Unreviewed.

  • Scripts/webkitpy/tool/commands/earlywarningsystem.py:

(MacEWS):

2:58 PM Changeset in webkit [147165] by Nate Chapin
  • 6 edits in trunk

Source/WebCore: Don't grant local content permissions for appcache loads.
https://bugs.webkit.org/show_bug.cgi?id=112542

Reviewed by Antti Koivisto.

No new tests, fixing http/tests/appcache/local-content.html

  • loader/DocumentLoader.cpp:

(WebCore::DocumentLoader::DocumentLoader):
(WebCore::DocumentLoader::commitData): Don't grant local load permissions

to all SubstituteData loads, only give them to loads that were SubstituteData
loads at the time of DocumentLoader construction. This constitutes all
SubstituteData loads except those triggered by appcache.

  • loader/DocumentLoader.h:
  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::didBeginDocument): Move granting local load

permissions for SubstituteData loads to DocumentLoader::commitData().

LayoutTests: Remove expected failure for https://bugs.webkit.org/show_bug.cgi?id=112542

Reviewed by Antti Koivisto.

  • platform/qt-5.0-wk1/TestExpectations:
2:56 PM Changeset in webkit [147164] by mkwst@chromium.org
  • 15 edits in trunk

X-Frame-Options: Blocked resources should fire load events.
https://bugs.webkit.org/show_bug.cgi?id=113192

Reviewed by Nate Chapin.

Source/WebCore:

  • loader/DocumentLoader.cpp:

(WebCore::DocumentLoader::responseReceived):

Fire a load event on the frame's owner element when denying access
due to X-Frame-Options header content. This brings us in-line with
Gecko and IE, which both trigger load events currently.

LayoutTests:

  • http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow.html:
  • http/tests/security/XFrameOptions/x-frame-options-deny-multiple-clients-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-deny-multiple-clients.html:
  • http/tests/security/XFrameOptions/x-frame-options-deny.html:
  • http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html:
  • platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
  • platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow-expected.txt:
  • platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-multiple-clients-expected.txt:
  • platform/chromium/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:

Add some expectations around the 'load' event to ensure it's fired.

2:50 PM Changeset in webkit [147163] by commit-queue@webkit.org
  • 11 edits
    1 add in trunk/Source

Support bottom-right anchored fixed-position elements during a pinch gesture
https://bugs.webkit.org/show_bug.cgi?id=111670

Patch by Tien-Ren Chen <trchen@chromium.org> on 2013-03-28
Reviewed by James Robinson.

Source/Platform:

Added WebLayerPositionConstraint for layers that need position
adjustment during threaded scrolling.
Currently it is only used for fixed-position layers.

  • Platform.gypi:
  • chromium/public/WebLayer.h:

(WebKit):
(WebLayer):
(WebKit::WebLayer::setPositionConstraint):
(WebKit::WebLayer::positionConstraint):
(WebKit::WebLayer::setFixedToContainerLayer):
(WebKit::WebLayer::fixedToContainerLayer):

  • chromium/public/WebLayerPositionConstraint.h: Added.

(WebKit):
(WebLayerPositionConstraint):
(WebKit::WebLayerPositionConstraint::WebLayerPositionConstraint):
(WebKit::WebLayerPositionConstraint::fixedPosition):

Source/WebCore:

This patch adds support to bottom-right fixed-position elements by
introducing WebLayerPositionConstraint to WebLayer.

No new tests. Can't test until chromium patch landed.

  • page/scrolling/ScrollingCoordinator.h:

(WebCore::ScrollingCoordinator::updateLayerPositionConstraint):

  • page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:

(WebCore::clearPositionConstraintExceptForLayer):
(WebCore):
(WebCore::computePositionConstraint):
(WebCore::ScrollingCoordinatorChromium::updateLayerPositionConstraint):

  • page/scrolling/chromium/ScrollingCoordinatorChromium.h:

(ScrollingCoordinatorChromium):

  • rendering/RenderLayerBacking.cpp:

(WebCore::RenderLayerBacking::registerScrollingLayers):

  • rendering/RenderLayerBacking.h:

(WebCore::RenderLayerBacking::contentsContainmentLayer):
(RenderLayerBacking):

  • rendering/RenderLayerCompositor.cpp:
  • rendering/RenderLayerCompositor.h:
2:50 PM Changeset in webkit [147162] by Lucas Forschler
  • 20 edits in tags/Safari-537.35.3/Source

Merged r146823. <rdar://problem/13475462>

2:46 PM Changeset in webkit [147161] by tkent@chromium.org
  • 2 edits in trunk/Source/WebKit/chromium

[Chromium] REGRESSION(r88030): Right-click on invalid form controls unexpectedly dispatches 'invalid' events
https://bugs.webkit.org/show_bug.cgi?id=113377

Reviewed by Dimitri Glazkov.

  • src/ContextMenuClientImpl.cpp:

(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
We don't need to call HTMLFormElement::checkValidity here.

2:46 PM Changeset in webkit [147160] by Lucas Forschler
  • 1 edit in tags/Safari-537.35.3/Source/WTF/ChangeLog

Fix revision number in ChangeLog.

2:45 PM Changeset in webkit [147159] by Lucas Forschler
  • 2 edits in tags/Safari-537.35.3/Source/WTF

Merge portion of r146823 needed for <rdar://problem/13475462>

  • wtf/HashSet.h:

(WTF):
(WTF::copyToVector):

2:44 PM Changeset in webkit [147158] by jshin@chromium.org
  • 1 edit in trunk/LayoutTests/platform/chromium/TestExpectations

[Chromium] Unreviewed. Test Expectations update.

  • platform/chromium/TestExpectations:
2:31 PM Changeset in webkit [147157] by jamesr@google.com
  • 2 edits in trunk/Source/WebCore

Remove unnecessary 1 second sleep on windows from preprocessor.pm
https://bugs.webkit.org/show_bug.cgi?id=113536

Unreviewed, partial rollout of r146661.

This rolls out one line of 146661 that slows down the windows build significantly.

  • bindings/scripts/preprocessor.pm:

(applyPreprocessor):

2:03 PM Changeset in webkit [147156] by leviw@chromium.org
  • 5 edits in trunk

Source/WebCore: Enable font measurement optimization for Chromium-mac when there are no font-feature-settings.

Enable measure-once optimization on Chromium-Mac
https://bugs.webkit.org/show_bug.cgi?id=113243

Reviewed by Eric Seidel.

Bugs in Chromium-mac's -webkit-font-feature-settings support prevented us from enabling the
optimization when it was enabled for all other platforms. This was believed to be related to
kerning, but the bug shows up when there are any font-feature-settings specified. For now,
optimizing the common case and only turning off the optimization when there are font-feature-
settings in play.

Updated test fast/text/shaping/shaping-selection-rect.html to avoid breaking due to
https://bugs.webkit.org/show_bug.cgi?id=113418

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::setLogicalWidthForTextRun):

LayoutTests: Disable font measurement optimization for Chromium-mac when there are font-feature-settings.

Enable measure-once optimization on Chromium-Mac
https://bugs.webkit.org/show_bug.cgi?id=113243

Reviewed by Eric Seidel.

  • fast/text/shaping/shaping-selection-rect.html: Adding a small-caps case to prevent regressing

due to https://bugs.webkit.org/show_bug.cgi?id=113418.

2:01 PM Changeset in webkit [147155] by zoltan@webkit.org
  • 3 edits
    2 moves
    3 adds in trunk

[CSS Exclusions][CSS Regions] Block children do not layout inline content correctly in a region with shape-inside set
https://bugs.webkit.org/show_bug.cgi?id=112177

Reviewed by David Hyatt.

Source/WebCore:

When we had two multiple regions and a shape-inside was applied on the second region, but not on the first region and the content contained
paragraphs, the content was pushed down almost to the bottom in the second region. In a flow thread this behavior caused by the lack of the
proper updating of absoluteLogicalTop in RenderBlock::layoutRunsAndFloatsInRange function.

Tests: fast/regions/shape-inside/shape-inside-on-additional-regions.html

fast/regions/shape-inside/shape-inside-on-regions.html

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::RenderBlock::layoutRunsAndFloatsInRange): Update the value of absoluteLogicalTop in every run when we are in a flow thread.

LayoutTests:

Add a new subdirectory for regions shape-inside tests. Move old and add new test files to the directory.

  • fast/regions/shape-inside: Added.
  • fast/regions/shape-inside/shape-inside-on-additional-regions-expected.html: Added.
  • fast/regions/shape-inside/shape-inside-on-additional-regions.html: Added.
  • fast/regions/shape-inside/shape-inside-on-regions-expected.html: Renamed from LayoutTests/fast/regions/shape-inside-on-regions-expected.html.
  • fast/regions/shape-inside/shape-inside-on-regions.html: Renamed from LayoutTests/fast/regions/shape-inside-on-regions.html.
1:52 PM Changeset in webkit [147154] by alokp@chromium.org
  • 1 edit
    1 copy
    1 move
    2 adds in trunk/LayoutTests

Unreviewed rebaseline.
Adding missing baseline for new test compositing/contents-opaque/control-layer.html

  • platform/chromium-mac/platform/chromium/virtual/softwarecompositing/contents-opaque/control-layer-expected.txt: Copied from LayoutTests/platform/chromium/compositing/contents-opaque/control-layer-expected.txt.
  • platform/chromium-win/compositing/contents-opaque/control-layer-expected.txt: Renamed from LayoutTests/platform/chromium/compositing/contents-opaque/control-layer-expected.txt.
1:38 PM Changeset in webkit [147153] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

Unreviewed. Rolled Chromium DEPS to r191172. Requested by
pdr2 via sheriffbot.

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-28

  • DEPS:
1:24 PM Changeset in webkit [147152] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

[wk2] REGRESSION (r125500): WebFrameLoaderClient's active m_pluginView can be zeroed by PluginDocuments leaving the page cache
https://bugs.webkit.org/show_bug.cgi?id=113430
<rdar://problem/12729564>

Reviewed by Brady Eidson.

Ignore redirectDataToPlugin(0), which is only called from PluginDocument::detach(),
and only after r125500. Otherwise, PluginDocuments that are put into the page cache
but leave later can clear a totally different and legitimate PluginView from the
WebFrameLoaderClient, causing data to be lost and PluginDocument loads to stall.

This restores our behavior to the pre-r125500 state, which should be fine, as we
clear WebFrameLoaderClient's m_pluginView when the load fails or finishes. This
matches the changes made in r125500 for every platform other than Chromium and WebKit2.

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::redirectDataToPlugin):

1:21 PM Changeset in webkit [147151] by timothy_horton@apple.com
  • 3 edits in trunk/Source/WebKit2

PDFPlugin: shouldUsePDFPlugin can't use pdfLayerControllerClass() because it asserts if it's not available
https://bugs.webkit.org/show_bug.cgi?id=113533
<rdar://problem/13528720>

Reviewed by Simon Fraser.

  • WebProcess/WebPage/WebPage.cpp:
  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::shouldUsePDFPlugin):
Move shouldUsePDFPlugin to WebPageMac, where it belongs, and explicitly look up PDFLayerController
instead of using pdfLayerControllerClass(), which ASSERT()s if it isn't available.

1:21 PM Changeset in webkit [147150] by mhahnenberg@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

Safari hangs during test262 run in CodeCache::pruneSlowCase
https://bugs.webkit.org/show_bug.cgi?id=113469

Reviewed by Geoffrey Garen.

We can end up hanging for quite some time if we add a lot of small keys to the CodeCache.
By the time we get around to pruning the cache, we have a potentially tens or hundreds of
thousands of small entries, which can cause a noticeable hang when pruning them.

To fix this issue we added a hard cap to the number of entries in the cache because we
could potentially have to remove every element in the map.

  • runtime/CodeCache.cpp:

(JSC::CodeCacheMap::pruneSlowCase): We need to prune until we're both under the hard cap and the
capacity in bytes.

  • runtime/CodeCache.h:

(CodeCacheMap):
(JSC::CodeCacheMap::numberOfEntries): Convenience accessor function to the number of entries in
the map that does the cast to size_t of m_map.size() for us.
(JSC::CodeCacheMap::canPruneQuickly): Checks that the total number is under the hard cap. We put this
check inside a function to more accurately describe why we're doing the check and to abstract out
the actual calculation in case we want to coalesce calls to pruneSlowCase in the future.
(JSC::CodeCacheMap::prune): Check the number of entries against our hard cap. If it's greater than
the cap then we need to drop down to pruneSlowCase.

1:08 PM Changeset in webkit [147149] by commit-queue@webkit.org
  • 5 edits in trunk

exceptions are not checked after toInt32 calls in bindings.
https://bugs.webkit.org/show_bug.cgi?id=113218

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-03-28
Reviewed by Kentaro Hara.

Source/WebCore:

In attribute setter, wrap JSValue to native value conversion in a try
catch block.

Define a new macro binding: V8TRYCATCH_VOID

No new tests: covered by fast/dom/exception-in-binding.html

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateNormalAttrSetter):

  • bindings/v8/V8BindingMacros.h:

(WebCore):

LayoutTests:

  • platform/chromium/TestExpectations: Enable fast/dom/exception-in-binding.html
1:05 PM Changeset in webkit [147148] by roger_fong@apple.com
  • 2 edits in trunk/LayoutTests

Unreviewed gardening on AppleWin port.
More tests that use mouseScrollBy event which hasn't been implemented yet on Windows.

  • platform/win/TestExpectations:
1:01 PM Changeset in webkit [147147] by rniwa@webkit.org
  • 2 edits in trunk/Tools

Use the right OS name on Mac EWS instead of mac-future.

Rubber-stamped by Dirk Pranke.

  • Scripts/webkitpy/tool/commands/queues.py:

(PatchProcessingQueue._new_port_name_from_old):
(PatchProcessingQueue.begin_work_queue):
(PatchProcessingQueue._upload_results_archive_for_patch):

12:59 PM Changeset in webkit [147146] by Claudio Saavedra
  • 2 edits
    2 moves in trunk/LayoutTests

Prepare extend-selection-enclosing-block test to support different editing behavior
https://bugs.webkit.org/show_bug.cgi?id=113424

Reviewed by Ryosuke Niwa.

We make this test Mac specific and change
extendAndLogSelectionWithinBlock() to take the platform as a
parameter. When bug 110487 is fixed this should be extended to
test the Windows editing behavior.

  • editing/selection/extend-selection-enclosing-block-mac-expected.txt:

Renamed from
LayoutTests/editing/selection/extend-selection-enclosing-block-expected.txt.

  • editing/selection/extend-selection-enclosing-block-mac.html:

Renamed from
LayoutTests/editing/selection/extend-selection-enclosing-block.html.

  • editing/selection/resources/extend-selection.js:

(extendAndLogSelectionWithinBlock): Extend to receive platform as
a parameter. Only "mac" is supported for now.

12:59 PM Changeset in webkit [147145] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebCore

[GTK][AC] Use transform property of ClutterActor
https://bugs.webkit.org/show_bug.cgi?id=113317

Patch by ChangSeok Oh <ChangSeok Oh> on 2013-03-28
Reviewed by Gustavo Noronha Silva.

ClutterActor has a transform property to set transformation matrix directly
since version 1.12. So we don't need to keep and use the matrix property of GraphicsLayerActor.

No new tests because of no functionality change.

  • platform/graphics/clutter/GraphicsLayerActor.cpp:

(_GraphicsLayerActorPrivate):
(graphicsLayerActorDispose):
(graphicsLayerActorApplyTransform):

  • platform/graphics/clutter/GraphicsLayerActor.h:
  • platform/graphics/clutter/GraphicsLayerClutter.cpp:

(WebCore::GraphicsLayerClutter::updateTransform):

  • platform/graphics/clutter/PlatformClutterAnimation.cpp:

(WebCore::PlatformClutterAnimation::addTransformTransition):

12:57 PM Changeset in webkit [147144] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebCore

Unreviewed, rolling out r143834.
http://trac.webkit.org/changeset/143834
https://bugs.webkit.org/show_bug.cgi?id=113530

Multiple use-after-free regressions on ClusterFuzz (Requested
by inferno-sec on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-28

  • dom/Attr.cpp:

(WebCore::Attr::Attr):
(WebCore::Attr::setValue):
(WebCore::Attr::childrenChanged):

  • dom/Attr.h:

(Attr):

  • dom/Element.cpp:

(WebCore::Element::setAttributeInternal):

  • dom/Element.h:

(Element):

12:52 PM Changeset in webkit [147143] by Claudio Saavedra
  • 2 edits in trunk/LayoutTests

Use String.trim() in editing/selection/move-vertically-with-paddings-borders.html test
https://bugs.webkit.org/show_bug.cgi?id=113490

Reviewed by Ryosuke Niwa.

  • editing/selection/move-vertically-with-paddings-borders.html:

(selectWord): Use String.trim() to drop trailing whitespaces that
might be added depending on the editing behavior. See related bug
110487.

12:46 PM Changeset in webkit [147142] by Lucas Forschler
  • 4 edits in tags/Safari-537.35.3/Source

Versioning

12:42 PM Changeset in webkit [147141] by Lucas Forschler
  • 1 copy in tags/Safari-537.35.3

New Tag.

12:24 PM Changeset in webkit [147140] by jchaffraix@webkit.org
  • 5 edits
    6 adds in trunk

[CSS Grid Layout] Before / start paddings and borders are not accounted for when placing the grid items
https://bugs.webkit.org/show_bug.cgi?id=113351

Reviewed by Tony Chang.

Source/WebCore:

Tests: fast/css-grid-layout/grid-element-border-grid-item.html

fast/css-grid-layout/grid-element-border-padding-grid-item.html
fast/css-grid-layout/grid-element-padding-grid-item.html

  • rendering/RenderBoxModelObject.h:

(WebCore::RenderBoxModelObject::borderAndPaddingBefore):
Added this helper function (we do have borderAndPaddingStart but didn't have this
one for some reason).

  • rendering/RenderGrid.cpp:

(WebCore::RenderGrid::findChildLogicalPosition):
Shifted |offset| by the paddings and borders before / start.

LayoutTests:

  • fast/css-grid-layout/resources/grid.css:

(.verticalLR):
(.horizontalBT):
(.directionRTL):
Added more helper classes.

  • fast/css-grid-layout/grid-element-border-grid-item-expected.txt: Added.
  • fast/css-grid-layout/grid-element-border-grid-item.html: Added.
  • fast/css-grid-layout/grid-element-border-padding-grid-item-expected.txt: Added.
  • fast/css-grid-layout/grid-element-border-padding-grid-item.html: Added.
  • fast/css-grid-layout/grid-element-padding-grid-item-expected.txt: Added.
  • fast/css-grid-layout/grid-element-padding-grid-item.html: Added.
12:08 PM Changeset in webkit [147139] by roger_fong@apple.com
  • 2 edits in trunk/LayoutTests

Unreviewed. Unskip some layout test folder on Windows port.

  • platform/win/TestExpectations:
12:00 PM Changeset in webkit [147138] by beidson@apple.com
  • 2 edits in trunk/Source/WebKit2

Reduce PluginProcess lifetime.
<rdar://problem/12465479> and https://bugs.webkit.org/show_bug.cgi?id=113523

Reviewed by Sam Weinig.

Lower the minimum process lifetime from 30 minutes to 2 minutes.
Lower the "shutdown after last plugin goes away" period from 10 minutes to 1 minute.

  • UIProcess/Plugins/PluginProcessProxy.cpp:
11:58 AM Changeset in webkit [147137] by zandobersek@gmail.com
  • 18 edits
    2 adds
    2 deletes in trunk

[GTK] Build GTK-specific, non-layer-violating source code into WebCore-independent libPlatformGtk.la
https://bugs.webkit.org/show_bug.cgi?id=112546

Reviewed by Martin Robinson.

.:

  • GNUmakefile.am: Define the new platform_webcore_cppflags.

Source/Platform:

  • GNUmakefile.am: Only specify the very minimal set of inclusion directories, containing the Source/WebCore/platform

directory and its subdirectories. This will allow only for the WebCore-independent GTK-specific sources to be built into
libPlatformGtk.la. Also include the GTK, libsecret and libsoup dependencies' cflags amongst the libPlatformGtk's
CPPFLAGS.

  • GNUmakefile.list.am: Removed. The build targets are now listed (and will be listed until the migration) in the

GNUmakefile.list.am under Source/WebCore, following the common sense of specifying the build target in the
GNUmakefile.list.am placed in the same framework directory in which the source file is located.

Source/WebCore:

No new tests - no new functionality.

  • GNUmakefile.am: Passing the DATA_DIR value through the cppflags is not required anymore as the affected source is now

built into libPlatformGtk.la.

  • GNUmakefile.list.am: Build the GTK-specific source files that are already independent of WebCore into the

libPlatformGtk.la by assigning the build targets listing to the platformgtk_sources variable.

  • platform/gtk/GtkVersioning.c: Renamed from Source/Platform/gtk/GtkVersioning.c.
  • platform/gtk/GtkVersioning.h: Renamed from Source/Platform/gtk/GtkVersioning.h.

Source/WebKit/gtk:

  • GNUmakefile.am: The GtkVersioning.c file has moved back under Source/WebCore/platform.

Source/WebKit2:

  • GNUmakefile.am: Reference the platform_webcore_cppflags and GTK, libsecret and libsoup dependencies' cflags amongst the

libPlatformGtk2's CPPFLAGS.

  • Scripts/generate-forwarding-headers.pl: Remove the Platform framework from the list of the frameworks to be searched

for forwarding headers, it's at the moment not necessary to be included.

  • Shared/gtk/ArgumentCodersGtk.cpp: Adjust the forwarding header for GtkVersioning.h that's been moved back under the

WebCore framework.

  • Shared/gtk/WebEventFactory.cpp: Ditto.
  • UIProcess/API/gtk/WebKitWebViewBase.cpp: Ditto.
  • WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp: Ditto.

Tools:

  • GNUmakefile.am: Reference the platformgtk_cppflags amongst the libWebCoreInternals' CPPFLAGS. GtkVersioning.c file has

moved back to Source/WebCore/platform. Fix an indentation issue as well.

11:44 AM Changeset in webkit [147136] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Don't use WebKit thread scale information in WebPageCompositor.
https://bugs.webkit.org/show_bug.cgi?id=113447
Internal PR 313452

Patch by Jakob Petsovits <jpetsovits@blackberry.com> on 2013-03-28
Reviewed by Rob Buis.

Potential threading problems are avoided by moving from
WebPage members and mapToTransformed() to the web page
client's userInterfaceViewportAccessor().

As part of this cleaning effort, the WebPageCompositor's
render() method is changed to now take document instead of
pixel coordinates.

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::BackingStorePrivate::compositeContents):

  • Api/WebPageCompositor.cpp:

(BlackBerry::WebKit::WebPageCompositorPrivate::render):
(BlackBerry::WebKit::WebPageCompositor::render):

  • Api/WebPageCompositor.h:
  • Api/WebPageCompositor_p.h:

(WebPageCompositorPrivate):

11:38 AM Changeset in webkit [147135] by falken@chromium.org
  • 55 edits in trunk/Source

Refactoring: Replace Element::disabled and isEnabledFormControl with isDisabledFormControl
https://bugs.webkit.org/show_bug.cgi?id=113273

Reviewed by Kent Tamura.

Element::disabled is about form controls and Element::isEnabledFormControl
is redundant with it, so replace them with a single function
Element::isDisabledFormControl.

Source/WebCore:

No new tests, there should be no behavior change.

  • accessibility/AccessibilityListBox.cpp:

(WebCore::AccessibilityListBox::canSetSelectedChildrenAttribute):

  • accessibility/AccessibilityListBoxOption.cpp:

(WebCore::AccessibilityListBoxOption::canSetSelectedAttribute):

  • accessibility/AccessibilityMenuList.cpp:

(WebCore::AccessibilityMenuList::canSetFocusAttribute):

  • accessibility/AccessibilityMenuListOption.cpp:

(WebCore::AccessibilityMenuListOption::isEnabled):

  • accessibility/AccessibilityNodeObject.cpp:

(WebCore::AccessibilityNodeObject::isEnabled):
(WebCore::AccessibilityNodeObject::actionElement):
(WebCore::AccessibilityNodeObject::canSetFocusAttribute):

  • css/SelectorChecker.cpp:

(WebCore::SelectorChecker::checkOne):

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::canShareStyleWithControl):

  • dom/Element.cpp:

(WebCore::Element::isDisabledFormControl):

  • dom/Element.h:

(Element):
(WebCore::isDisabledFormControl): Add helper function for convenience.
(WebCore):

  • dom/EventDispatcher.cpp:

(WebCore::EventDispatcher::dispatchSimulatedClick):

  • dom/GestureEvent.cpp:

(WebCore::GestureEventDispatchMediator::dispatchEvent):

  • dom/MouseEvent.cpp:

(WebCore::MouseEventDispatchMediator::dispatchEvent):

  • dom/Node.cpp:

(WebCore::Node::handleLocalEvents):
(WebCore::Node::willRespondToMouseMoveEvents):
(WebCore::Node::willRespondToMouseClickEvents):
(WebCore::Node::willRespondToTouchEvents):

  • html/BaseMultipleFieldsDateAndTimeInputType.cpp:

(WebCore::BaseMultipleFieldsDateAndTimeInputType::isEditControlOwnerDisabled):

  • html/DOMFormData.cpp:

(WebCore::DOMFormData::DOMFormData):

  • html/FileInputType.cpp:

(WebCore::FileInputType::handleDOMActivateEvent):
(WebCore::FileInputType::disabledAttributeChanged):

  • html/HTMLButtonElement.cpp:

(WebCore::HTMLButtonElement::defaultEventHandler):
(WebCore::HTMLButtonElement::willRespondToMouseClickEvents):
(WebCore::HTMLButtonElement::isSuccessfulSubmitButton):

  • html/HTMLCollection.cpp:

(WebCore::isMatchingElement):

  • html/HTMLFormControlElement.cpp:

(WebCore::HTMLFormControlElement::updateAncestorDisabledState):
(WebCore::HTMLFormControlElement::isDisabledFormControl):
(WebCore::HTMLFormControlElement::supportsFocus):

  • html/HTMLFormControlElement.h:

(HTMLFormControlElement):
(WebCore::HTMLFormControlElement::isDisabledOrReadOnly):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::isSuccessfulSubmitButton):
(WebCore::HTMLInputElement::willRespondToMouseClickEvents):

  • html/HTMLOptGroupElement.cpp:

(WebCore::HTMLOptGroupElement::isDisabledFormControl):

  • html/HTMLOptGroupElement.h:

(HTMLOptGroupElement):

  • html/HTMLOptionElement.cpp:

(WebCore::HTMLOptionElement::isDisabledFormControl):

  • html/HTMLOptionElement.h:

(HTMLOptionElement):

  • html/HTMLPlugInElement.cpp:

(WebCore::HTMLPlugInElement::willRespondToMouseClickEvents):

  • html/HTMLSelectElement.cpp:

(WebCore::HTMLSelectElement::nextValidIndex):
(WebCore::HTMLSelectElement::updateListBoxSelection):
(WebCore::HTMLSelectElement::recalcListItems):
(WebCore::HTMLSelectElement::appendFormData):
(WebCore::HTMLSelectElement::updateSelectedState):
(WebCore::HTMLSelectElement::listBoxDefaultEventHandler):
(WebCore::HTMLSelectElement::defaultEventHandler):
(WebCore::HTMLSelectElement::optionAtIndex):

  • html/ImageInputType.cpp:

(WebCore::ImageInputType::handleDOMActivateEvent):

  • html/ResetInputType.cpp:

(WebCore::ResetInputType::handleDOMActivateEvent):

  • html/SubmitInputType.cpp:

(WebCore::SubmitInputType::handleDOMActivateEvent):

  • html/shadow/SliderThumbElement.cpp:

(WebCore::SliderThumbElement::isDisabledFormControl):
(WebCore::SliderThumbElement::defaultEventHandler):
(WebCore::SliderThumbElement::willRespondToMouseMoveEvents):
(WebCore::SliderThumbElement::willRespondToMouseClickEvents):

  • html/shadow/SliderThumbElement.h:

(SliderThumbElement):

  • html/shadow/SpinButtonElement.h:
  • html/shadow/TextFieldDecorationElement.cpp:

(WebCore::TextFieldDecorationElement::updateImage):

  • loader/FormSubmission.cpp:

(WebCore::FormSubmission::create):

  • page/DragController.cpp:

(WebCore::DragController::tryDocumentDrag):
(WebCore::DragController::concludeEditDrag):

  • rendering/RenderListBox.cpp:

(WebCore::RenderListBox::addFocusRingRects):
(WebCore::RenderListBox::paintItemForeground):

  • rendering/RenderMenuList.cpp:

(WebCore::RenderMenuList::itemIsEnabled):

  • rendering/RenderTextControl.cpp:

(WebCore::updateUserModifyProperty):

  • rendering/RenderTheme.cpp:

(WebCore::RenderTheme::isEnabled):

  • rendering/RenderThemeMac.mm:

(WebCore::getMediaUIPartStateFlags):

  • rendering/RenderThemeMacShared.mm:

(WebCore::RenderThemeMacShared::adjustMenuListStyle):
(WebCore::RenderThemeMacShared::paintSearchFieldCancelButton):

  • rendering/RenderThemeSafari.cpp:

(WebCore::RenderThemeSafari::adjustMenuListStyle):

Source/WebKit/blackberry:

  • WebCoreSupport/CredentialTransformData.cpp:

(WebCore::CredentialTransformData::findPasswordFormFields):

  • WebKitSupport/DOMSupport.cpp:

(BlackBerry::WebKit::DOMSupport::isTextBasedContentEditableElement):

  • WebKitSupport/InputHandler.cpp:

(BlackBerry::WebKit::InputHandler::openSelectPopup):

Source/WebKit/chromium:

  • src/WebFormControlElement.cpp:

(WebKit::WebFormControlElement::isEnabled):

  • src/WebOptionElement.cpp:

(WebKit::WebOptionElement::isEnabled):

  • src/WebPasswordFormUtils.cpp:

(WebKit::findPasswordFormFields):

  • src/WebSearchableFormData.cpp:

(HTMLNames::findSuitableSearchInputElement):
(HTMLNames::buildSearchString):

Source/WebKit/win:

  • DOMHTMLClasses.cpp:

(DOMHTMLInputElement::disabled):

11:24 AM Changeset in webkit [147134] by beidson@apple.com
  • 2 edits in trunk/Source/WebCore

Remove workaround for <rdar://problem/5321972>.
<rdar://problem/12022862> and https://bugs.webkit.org/show_bug.cgi?id=113516

Reviewed by Sam Weinig.

No new tests (No point in testing the removal of bizarre behavior).

  • platform/network/mac/WebCoreURLResponse.mm:

(WebCore::adjustMIMETypeIfNecessary): This workaround isn't needed on Lion+

11:13 AM Changeset in webkit [147133] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

use CanvasWindingRule enumeration in CanvasRenderingContext2D.idl
https://bugs.webkit.org/show_bug.cgi?id=113456

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-03-28
Reviewed by Kentaro Hara.

Source/WebCore:

Use enum CanvasWindingRule type instead of DOMString for winding
arguments when needed. Changed methods are: fill, stroke and isPointInPath.

Test: fast/canvas/winding-enumeration.html

  • html/canvas/CanvasRenderingContext2D.idl:

LayoutTests:

When calling methods accepting a CanvasWindingRule with an invalid
string, check that a TypeError is thrown.

  • fast/canvas/winding-enumeration-expected.txt: Added.
  • fast/canvas/winding-enumeration.html: Added.
10:47 AM Changeset in webkit [147132] by allan.jensen@digia.com
  • 1 edit
    1 move
    2 adds
    1 delete in trunk/LayoutTests

Rebaseline font-face-woff after r147020

Unreviewed gardening.

Updated using garden-o-matic.

  • fast/css/font-face-woff-expected.txt: Renamed from LayoutTests/platform/chromium/fast/css/font-face-woff-expected.txt.
  • platform/mac/fast/css/font-face-woff-expected.txt: Removed.
  • platform/qt/fast/css/font-face-woff-expected.png: Added.
  • platform/qt/fast/css/font-face-woff-expected.txt: Added.
10:40 AM Changeset in webkit [147131] by mark.lam@apple.com
  • 2 edits in trunk/LayoutTests

Gardening: bypassing inspector/styles/paste-property.html, compositing/iframes/remove-iframe-crash.html.

Not Reviewed.

  • platform/mac-wk2/TestExpectations:
10:27 AM Changeset in webkit [147130] by commit-queue@webkit.org
  • 6 edits
    1 add in trunk/Source/WebCore

Move preprocessing of idl to pre-pass for gyp
https://bugs.webkit.org/show_bug.cgi?id=113448

Patch by Scott Graham <scottmg@chromium.org> on 2013-03-28
Reviewed by Tony Chang.

Moves the preprocessor invocations when parsing IDL files to a
pre-pass to avoid reinvocations when IDLs are referenced from others.
This reduces the number of invocations of the preprocessor from 20071
to 633, which reduces the runtime from 12m30 to 1m (on a Windows box).

No new tests, this is a build time improvement, and shouldn't have any
visible effect.

  • WebCore.gyp/WebCore.gyp:
  • bindings/scripts/CodeGenerator.pm:

(ParseInterface):

  • bindings/scripts/IDLParser.pm:

(Parse):

  • bindings/scripts/generate-bindings.pl:
  • bindings/scripts/generate-preprocessed-idls.pl: Added.
  • bindings/scripts/preprocessor.pm:

(applyPreprocessor):

10:25 AM Changeset in webkit [147129] by kadam@inf.u-szeged.hu
  • 1 edit
    74 adds in trunk/LayoutTests

[Qt] Unreviewed gardneing. Updated png expected results after r146206.

  • platform/qt-5.0-wk2/editing/deleting/5126166-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/5206311-1-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/5369009-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/5433862-2-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-3608445-fix-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-at-paragraph-boundaries-002-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-block-contents-003-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-block-merge-contents-005-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-block-merge-contents-006-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-block-merge-contents-007-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-block-merge-contents-008-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-br-002-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-br-003-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-br-004-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-br-006-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-hr-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-image-002-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/delete-listitem-001-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/merge-different-styles-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/pruning-after-merge-2-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/smart-delete-003-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/smart-delete-004-expected.png: Added.
  • platform/qt-5.0-wk2/editing/deleting/type-delete-after-quote-expected.png: Added.
  • platform/qt-5.0-wk2/editing/execCommand/4580583-1-expected.png: Added.
  • platform/qt-5.0-wk2/editing/execCommand/4924441-expected.png: Added.
  • platform/qt-5.0-wk2/editing/execCommand/indent-empty-root-expected.png: Added.
  • platform/qt-5.0-wk2/editing/execCommand/insertHorizontalRule-expected.png: Added.
  • platform/qt-5.0-wk2/editing/execCommand/insertImage-expected.png: Added.
  • platform/qt-5.0-wk2/editing/execCommand/nsresponder-indent-expected.png: Added.
  • platform/qt-5.0-wk2/editing/execCommand/nsresponder-outdent-expected.png: Added.
  • platform/qt-5.0-wk2/editing/execCommand/remove-list-item-1-expected.png: Added.
  • platform/qt-5.0-wk2/editing/inserting/4875189-1-expected.png: Added.
  • platform/qt-5.0-wk2/editing/inserting/4875189-2-expected.png: Added.
  • platform/qt-5.0-wk2/editing/inserting/4959067-expected.png: Added.
  • platform/qt-5.0-wk2/editing/inserting/5418891-expected.png: Added.
  • platform/qt-5.0-wk2/editing/inserting/insert-3778059-fix-expected.png: Added.
  • platform/qt-5.0-wk2/editing/inserting/insert-3800346-fix-expected.png: Added.
  • platform/qt-5.0-wk2/editing/inserting/insert-div-025-expected.png: Added.
  • platform/qt-5.0-wk2/editing/inserting/insert-paragraph-02-expected.png: Added.
  • platform/qt-5.0-wk2/editing/inserting/paragraph-separator-03-expected.png: Added.
  • platform/qt-5.0-wk2/editing/inserting/redo-expected.png: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/4076267-expected.png: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/4242293-expected.png: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/4641033-expected.png: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/4944770-1-expected.png: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/4944770-2-expected.png: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/5032095-expected.png: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/5134759-expected.png: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/merge-end-borders-expected.png: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/merge-start-list-expected.png: Added.
  • platform/qt-5.0-wk2/editing/pasteboard/styled-element-markup-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/13804-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/4866671-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/5076323-1-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/5099303-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/5195166-2-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/expanding-selections-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/expanding-selections2-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/extend-by-character-003-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/extend-by-character-005-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/extend-by-sentence-001-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/inline-table-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/mixed-editability-4-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/mixed-editability-5-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/mixed-editability-9-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/move-by-character-003-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/move-by-character-005-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/replace-selection-1-expected.png: Added.
  • platform/qt-5.0-wk2/editing/selection/table-caret-3-expected.png: Added.
  • platform/qt-5.0-wk2/editing/style/4916887-expected.png: Added.
  • platform/qt-5.0-wk2/editing/style/5084241-expected.png: Added.
10:14 AM Changeset in webkit [147128] by commit-queue@webkit.org
  • 3 edits in trunk/LayoutTests

Fix layout test for blending in the background
https://bugs.webkit.org/show_bug.cgi?id=113402

Patch by Mirela Budaes <mbudaes@adobe.com> on 2013-03-28
Reviewed by Dirk Schulze.

Fixed the layout test effect-background-blend-mode.html typo
Also rebaselined the test

  • css3/compositing/effect-background-blend-mode.html:
  • platform/mac/css3/compositing/effect-background-blend-mode-expected.png:
10:03 AM Changeset in webkit [147127] by alokp@chromium.org
  • 3 edits
    3 adds in trunk

RenderBox::backgroundIsKnownToBeOpaqueInRect may be wrong for theme-painted elements
https://bugs.webkit.org/show_bug.cgi?id=113419

Reviewed by Simon Fraser.

Source/WebCore:

Do not consider control elements as opaque. They are typically theme painted, and we cannot assume opaqueness on the behalf of theme. It can be improved by asking the theme if it paints opaque.

Test: compositing/contents-opaque/control-layer.html

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::backgroundIsKnownToBeOpaqueInRect):

LayoutTests:

  • compositing/contents-opaque/control-layer-expected.txt: Added.
  • compositing/contents-opaque/control-layer.html: Added.
  • platform/chromium/compositing/contents-opaque/control-layer-expected.txt: Added.
9:46 AM Changeset in webkit [147126] by zandobersek@gmail.com
  • 2 edits in trunk/LayoutTests

Unreviewed GTK gardening. Adding failure expectation for a reftest added in r147111
that's failing due to subpixel layout being disabled on the GTK port.

  • platform/gtk/TestExpectations:
9:38 AM Changeset in webkit [147125] by Martin Robinson
  • 4 edits
    1 add in trunk/Source/WebKit/gtk

[GTK] [gyp] Improve support for rerunning gyp automatically
https://bugs.webkit.org/show_bug.cgi?id=113360

Reviewed by Gustavo Noronha Silva.

Add support for automatically rerunning gyp when input file changes are detected
while running make.

  • gyp/GNUmakefile: Added. A wrapper that invokes the generated makefile.
  • gyp/autogen.sh: Add a symlink to the wrapper script.
  • gyp/configure.ac: "Freeze" the TOPLEVEL_DIRECTORY command-line argument so that

run-gyp reads it properly when configure is run independently of autogen.sh.

  • gyp/run-gyp: Prevent generation of auto-regeneration rules in gyp. They are buggy.
9:32 AM Changeset in webkit [147124] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

[BlackBerry] Committer Email Updates
https://bugs.webkit.org/show_bug.cgi?id=113435

Patch by Ming Xie <mxie@blackberry.com> on 2013-03-28
Reviewed by Rob Buis.

Add the @blackberry.com email address for all our BlackBerry
WebKit committers. This is the first step for our email address
migration.

  • Scripts/webkitpy/common/config/committers.py:
9:31 AM Changeset in webkit [147123] by commit-queue@webkit.org
  • 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-28
Reviewed by Alexander Pavlov.

This test is temporatily disabled in TestExpectations. platform/chromium/TestExpectations override this expectation for chromium/debug.
It removed for now.

  • platform/chromium/TestExpectations:
9:05 AM Changeset in webkit [147122] by Philippe Normand
  • 3 edits in trunk/Tools

[jhbuild] GStreamer system plugins conflict with the ones built in jhbuild
https://bugs.webkit.org/show_bug.cgi?id=113508

Reviewed by Martin Robinson.

Prevent the GStreamer plugin scanner to load system-wide
plugins. Only the ones built in JHBuild should be loaded and used
at runtime.

  • efl/jhbuildrc:
  • gtk/jhbuildrc:
9:00 AM Changeset in webkit [147121] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

[GTK][AC] Animating layer disappears while running with clutter backend
https://bugs.webkit.org/show_bug.cgi?id=110470

Patch by ChangSeok Oh <ChangSeok Oh> on 2013-03-28
Reviewed by Gustavo Noronha Silva.

The reason of this issue is that clutter_actor_remove_child leads to stopping animations
of child actor. ClutterActor's animation could be defined only when it has a parent actor.
So we should avoid the case calling the api as much as we can. At least we don't
need to reset a actor's parent at all if the current parent is same with new one.
If we can't avoid invoking clutter_actor_remove_child for an animating actor, we may apply
a more complicated way to keep the animation. But I haven't faced such a case yet.

Covered by existing animation tests.

  • platform/graphics/clutter/GraphicsLayerActor.cpp:

(graphicsLayerActorSetSublayers):

  • platform/graphics/clutter/GraphicsLayerClutter.cpp:

(WebCore::GraphicsLayerClutter::recursiveCommitChanges):
(WebCore::GraphicsLayerClutter::updateSublayerList):

8:48 AM Changeset in webkit [147120] by wangxianzhu@chromium.org
  • 4 edits
    4 adds in trunk

Non-painting fixed elements should not cause repaints on scroll
https://bugs.webkit.org/show_bug.cgi?id=110430

Reviewed by Simon Fraser.

Source/WebCore:

Test: compositing/repaint/scroll-fixed-layer-no-content.html
Test: compositing/repaint/scroll-fixed-layer-out-of-view.html

  • page/FrameView.cpp:

(WebCore::FrameView::scrollContentsFastPath): Check for no-content and out-of-view flag set by RLC.

  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::requiresCompositingForPosition): Moved the check for no-content above out-of-view because it's faster.

LayoutTests:

  • compositing/repaint/scroll-fixed-layer-no-content.html: Added.
  • compositing/repaint/scroll-fixed-layer-no-content-expected.txt: Added.
  • compositing/repaint/scroll-fixed-layer-out-of-view.html: Added.
  • compositing/repaint/scroll-fixed-layer-out-of-view-expected.txt: Added.
8:46 AM Changeset in webkit [147119] by Christophe Dumez
  • 3 edits in trunk/LayoutTests

Unreviewed gardening.

Fix bad rebaseline in r147115.

  • fast/forms/validationMessage-expected.txt:
  • platform/efl/fast/forms/validationMessage-expected.txt:
8:35 AM Changeset in webkit [147118] by apavlov@chromium.org
  • 2 edits in trunk/Source/WebCore

Unreviewed, revert accidentally added line committed in r147117.

  • inspector/front-end/ElementsTreeOutline.js:
8:15 AM Changeset in webkit [147117] by apavlov@chromium.org
  • 8 edits in trunk

Web Inspector: [Elements] Syntax-highlight the "Edit as HTML" editor
https://bugs.webkit.org/show_bug.cgi?id=113306

Reviewed by Vsevolod Vlasov.

Source/WebCore:

Use CodeMirror as the raw HTML editor for the "Edit as HTML" menu item
(and all multiline editors for WebInspector.startEditing()).
Drive-by fix for handling the editing when the editor has been invoked on the closing tag.

  • inspector/front-end/ElementsTreeOutline.js:

(WebInspector.ElementsTreeElement.prototype.commit):
(WebInspector.ElementsTreeElement.prototype._startEditingAsHTML):

  • inspector/front-end/UIUtils.js:

(WebInspector.EditingConfig.prototype.setMultiline):
(WebInspector.startEditing):
(WebInspector.CodeMirrorCSSLoadView): A bogus view to load-unload CodeMirror-related CSS on demand.

  • inspector/front-end/elementsPanel.css:

(#elements-content .CodeMirror):
(#elements-content .CodeMirror pre):
(#elements-content .CodeMirror-lines):

  • inspector/front-end/elementsPanel.css: CodeMirror styles for the "Edit as HTML" editor.
  • inspector/front-end/externs.js: Declare CodeMirror type with some members, as it is third-party code.
  • inspector/front-end/inspector.html: Fix script order (UIUtils.js requires View.js).

LayoutTests:

  • inspector/elements/edit-dom-actions.html:
7:53 AM Changeset in webkit [147116] by Christophe Dumez
  • 2 edits in trunk/LayoutTests

Unreviewed EFL gardening.

Mark several tests as failing due to missing WKTR / DRT functionality.

  • platform/efl/TestExpectations:
7:44 AM Changeset in webkit [147115] by Christophe Dumez
  • 2 edits in trunk/LayoutTests

Unreviewed EFL gardening.

Rebaseline fast/forms/validationMessage.html after r145024.

  • fast/forms/validationMessage-expected.txt:
7:41 AM Changeset in webkit [147114] by zandobersek@gmail.com
  • 3 edits in trunk/LayoutTests

Unreviewed gardening of test failures after r147086 and r147090.

  • platform/gtk-wk1/TestExpectations:
  • platform/gtk/TestExpectations:
7:34 AM Changeset in webkit [147113] by morrita@google.com
  • 7 edits
    2 adds in trunk

Custom Elements: should support non-HTML namespaces.
https://bugs.webkit.org/show_bug.cgi?id=111693

Reviewed by Dimitri Glazkov.

Source/WebCore:

Some existing code assumes that the element extends HTMLElements.
This change allow it to extend from Element. Note that the
namespace URI of a custom element is determined by given element
prototype: An element will have XHTML namespace if its prototype
chain includes HTMLElements, SVGElement leads SVG namespace and
null otherwise, respectively.

Test: fast/dom/custom/document-register-namespace.html

  • bindings/v8/CustomElementHelpers.cpp:

(WebCore::hasValidPrototypeChainFor): Factored out from isValidPrototypeParameter()
(WebCore::CustomElementHelpers::isValidPrototypeParameter): Extend to support non HTMLElement prototype
(WebCore::CustomElementHelpers::findLocalName): Support non-HTML element names.

  • bindings/v8/CustomElementHelpers.h:

(CustomElementHelpers):

  • dom/CustomElementConstructor.cpp:

(WebCore::CustomElementConstructor::createElementInternal):

  • dom/CustomElementRegistry.cpp:

(WebCore::CustomElementRegistry::registerElement): No longer hard-codes namespace and picks one based on the prototype value.

  • dom/CustomElementRegistry.h:

(CustomElementRegistry):

LayoutTests:

  • fast/dom/custom/document-register-namespace-expected.txt: Added.
  • fast/dom/custom/document-register-namespace.html: Added.
7:28 AM Changeset in webkit [147112] by Christophe Dumez
  • 1 edit
    2 adds in trunk/LayoutTests

Unreviewed EFL gardening.

Add platform specific expectation for http/tests/inspector/console-resource-errors.html.
We get the same result as mac port.

  • platform/efl/http/tests/inspector/console-resource-errors-expected.txt: Added.
7:20 AM Changeset in webkit [147111] by hmuller@adobe.com
  • 4 edits
    6 adds in trunk

[CSS Exclusions] Add support for the simple case of padding a polygonal shape-inside
https://bugs.webkit.org/show_bug.cgi?id=112592

Reviewed by Dirk Schulze.

Source/WebCore:

First pass at computing the padded or inset boundary of a polygon. This version does not handle
self-intersecting polygons, or values of shape-padding large enough to change the shape of the
original polygon. The implementation computes an offset edge for each polgon edge, where the offset
edge is parallel to the original edge and separated by shape-padding. The padded polygon's vertices
are the intersections of each pair of adjacent offset edges. When adjacent offset edges do not intersect,
because they share a reflex vertex in the original polygon, an approximation to a circular arc
connects the offset edges.

Tests: fast/exclusions/shape-inside/shape-inside-polygon-padding-001.html

fast/exclusions/shape-inside/shape-inside-polygon-padding-002.html
fast/exclusions/shape-inside/shape-inside-polygon-padding-003.html

  • rendering/ExclusionPolygon.cpp:

(WebCore::isReflexVertex): Just moved this function earlier in the file.
(WebCore::inwardEdgeNormal): Unit vector that's perpindicular to the edge and that points inwards.
(WebCore::outwardEdgeNormal): Unit vector that's perpindicular to the edge and that points outwards.
(WebCore::appendArc): Append a linear approximation to a circular arc to a vector of vertices.
(WebCore::computeShapePaddingBounds): Return a polygon whose edges are all inset by shape-padding from m_polygon.
(WebCore::computeShapeMarginBounds): Just a stub, see bug 112917.
(WebCore::ExclusionPolygon::shapePaddingBounds): Lazily use computeShapePaddingBounds() to initialize m_paddingBounds.
(WebCore::ExclusionPolygon::shapeMarginBounds): Lazily use computeShapeMarginBounds() to initialize m_marginBounds.
(WebCore::ExclusionPolygon::getIncludedIntervals): Now based on the value of shapePaddingBounds().
(WebCore::ExclusionPolygon::firstIncludedIntervalLogicalTop): Now based on the value of shapePaddingBounds().

  • rendering/ExclusionPolygon.h:

(WebCore::ExclusionPolygon::ExclusionPolygon):

LayoutTests:

Verify that the CSS shape-padding property works correctly for some simple polygonal shapes:
a rectangle, a rectangle rotated 45 degress, and rectangular shape with a single reflex vertex.

  • fast/exclusions/shape-inside/shape-inside-polygon-padding-001-expected.html: Added.
  • fast/exclusions/shape-inside/shape-inside-polygon-padding-001.html: Added.
  • fast/exclusions/shape-inside/shape-inside-polygon-padding-002-expected.html: Added.
  • fast/exclusions/shape-inside/shape-inside-polygon-padding-002.html: Added.
  • fast/exclusions/shape-inside/shape-inside-polygon-padding-003-expected.html: Added.
  • fast/exclusions/shape-inside/shape-inside-polygon-padding-003.html: Added.
7:04 AM Changeset in webkit [147110] by commit-queue@webkit.org
  • 4 edits in trunk/Source/WebCore

[BlackBerry] Handle EXIF orientation for ImageDocuments
https://bugs.webkit.org/show_bug.cgi?id=113423

Internal Bug: PR 293648
Informally Reviewed by Jeff Rogers
Patch by Chris Hutten-Czapski <chutten@blackberry.com> on 2013-03-28
Reviewed by Rob Buis.

Support image orientation in our image draw calls, and advertise
the capability to the calling code. This allows us to respect EXIF
orientation data.

  • platform/graphics/BitmapImage.h:
  • platform/graphics/blackberry/ImageBlackBerry.cpp:

(WebCore::BitmapImage::draw):
(WebCore):

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::shouldRespectImageOrientation):

6:46 AM Changeset in webkit [147109] by caseq@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: name timeline overview controls consistently
https://bugs.webkit.org/show_bug.cgi?id=113503

Reviewed by Yury Semikhatsky.

Refactoring, covered by existing tests.

  • rename HeapGraph to TimelineMemoryOverview;
  • rename TimelineCategoryStrips to TimelineEventOvrview.
  • inspector/front-end/TimelineOverviewPane.js:

(WebInspector.TimelineOverviewPane):
(WebInspector.TimelineOverviewPane.prototype.setMode):
(WebInspector.TimelineOverviewPane.prototype._setFrameMode):
(WebInspector.TimelineOverviewPane.prototype._onCategoryVisibilityChanged):
(WebInspector.TimelineOverviewPane.prototype._update):
(WebInspector.TimelineOverviewPane.prototype.setMinimumRecordDuration):
(WebInspector.TimelineMemoryOverview):
(WebInspector.TimelineEventOverview):
(WebInspector.TimelineEventOverview.prototype._renderBar):

6:43 AM Changeset in webkit [147108] by Philippe Normand
  • 2 edits in trunk/Tools

[GTK] run-launcher --gtk -2 fails on a WK2-only build
https://bugs.webkit.org/show_bug.cgi?id=113386

Reviewed by Carlos Garcia Campos.

  • Scripts/webkitdirs.pm:

(builtDylibPathForName): The WebKit2GTK .so name change from 1.0
version to 3.0. Reflect this change so the builtDylibPathForName
function doesn't fail to report the library as found.

6:39 AM Changeset in webkit [147107] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[BlackBerry] Correct glyph contour winding direction when fake-bolding
https://bugs.webkit.org/show_bug.cgi?id=113411

Patch by Eli Fidler <efidler@blackberry.com> on 2013-03-28
Reviewed by Rob Buis.

  • platform/graphics/blackberry/FontPlatformDataBlackBerry.cpp:

(WebCore::FontPlatformData::applyState):

6:35 AM Changeset in webkit [147106] by vsevik@chromium.org
  • 6 edits in trunk

Web Inspector: Make JavaScriptSourceFrame work correctly with breakpoints when uiSourceCode does not have a scriptFile.
https://bugs.webkit.org/show_bug.cgi?id=113500

Reviewed by Pavel Feldman.

JavaScriptSourceFrame now listens for uiSourceCode working copy related events and supports muting breakpoints without script file.

  • inspector/front-end/JavaScriptSourceFrame.js:

(WebInspector.JavaScriptSourceFrame):
(WebInspector.JavaScriptSourceFrame.prototype._workingCopyChanged):
(WebInspector.JavaScriptSourceFrame.prototype._workingCopyCommitted):
(WebInspector.JavaScriptSourceFrame.prototype._updateScriptFile):
(WebInspector.JavaScriptSourceFrame.prototype.dispose):

6:25 AM Changeset in webkit [147105] by caseq@chromium.org
  • 11 edits
    1 add in trunk/Source/WebCore

Web Inspector: factor out node search controller from inspector.js
https://bugs.webkit.org/show_bug.cgi?id=112689

Reviewed by Pavel Feldman.

This just extracts the existing logic of toggling node search
from inspector.js into a class of its own, InspectElementModeController.
Drive-by: add CtrlOrMeta+Shift+C to help screen.

  • English.lproj/localizedStrings.js:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.vcxproj/WebCore.vcxproj.filters:
  • inspector/compile-front-end.py:
  • inspector/front-end/InspectElementModeController.js: Added.

(WebInspector.InspectElementModeController):
(WebInspector.InspectElementModeController.createShortcut):
(WebInspector.InspectElementModeController.prototype.enabled):
(WebInspector.InspectElementModeController.prototype.disable):
(WebInspector.InspectElementModeController.prototype.toggleSearch.callback):
(WebInspector.InspectElementModeController.prototype.toggleSearch):
(WebInspector.InspectElementModeController.prototype.handleShortcut):

  • inspector/front-end/InspectorFrontendAPI.js:

(InspectorFrontendAPI.enterInspectElementMode):

  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.html:
  • inspector/front-end/inspector.js:

(WebInspector._createGlobalStatusBarItems):
(WebInspector._registerShortcuts):
(WebInspector.documentKeyDown):
(WebInspector._updateFocusedNode):

6:09 AM Changeset in webkit [147104] by eustas@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: [Settings] "previouslyViewedFiles" exceeds local storage quota.
https://bugs.webkit.org/show_bug.cgi?id=113375

Reviewed by Pavel Feldman.

Serialized "previouslyViewedFiles" may make local storage overflow.
Two fixed applied:

  • limit number of history log items
  • limit length of URIs that get serialized; this would affect only data-url URIs.
  • inspector/front-end/TabbedEditorContainer.js:

(WebInspector.TabbedEditorContainer.HistoryItem.prototype.serializeToObject):
Added length check.
(WebInspector.TabbedEditorContainer.History.prototype.set _serializeToObject):
Added output array length limit.

6:07 AM Changeset in webkit [147103] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Web Inspector: Heap snapshots retained size falls out of the grid if column is too narrow
https://bugs.webkit.org/show_bug.cgi?id=113497

Patch by Alexei Filippov <alph@chromium.org> on 2013-03-28
Reviewed by Pavel Feldman.

  • inspector/front-end/HeapSnapshotGridNodes.js:

(WebInspector.HeapSnapshotGridNode.prototype._createValueCell):

  • inspector/front-end/heapProfiler.css:

(.heap-snapshot-view .data-grid div.heap-snapshot-multiple-values):

6:06 AM Changeset in webkit [147102] by vsevik@chromium.org
  • 9 edits in trunk

Web Inspector: ResourceScriptFile should check if resource content really matches VM script when determining hasDiverged state.
https://bugs.webkit.org/show_bug.cgi?id=113488

Reviewed by Pavel Feldman.

Source/WebCore:

Enabled support for checking that file content matches VM script in ResourceScriptFile (For script resources only).
This check is never done before content is loaded in corresponding editor to avoid regressing performance.
File - script content matching is done bearing in mind sourceURLs.
Live edit keeps sourceURL in script content now even if it is not present in file's content.

  • inspector/front-end/JavaScriptSourceFrame.js:

(WebInspector.JavaScriptSourceFrame.prototype._updateScriptFile):
(WebInspector.JavaScriptSourceFrame.prototype.onTextEditorContentLoaded):

  • inspector/front-end/LiveEditSupport.js:

(WebInspector.LiveEditScriptFile.prototype.checkMapping):

  • inspector/front-end/ResourceScriptMapping.js:

(WebInspector.ResourceScriptMapping.prototype._bindUISourceCodeToScripts):
(WebInspector.ScriptFile.prototype.checkMapping):
(WebInspector.ResourceScriptFile):
(WebInspector.ResourceScriptFile.prototype._workingCopyCommitted):
(WebInspector.ResourceScriptFile.prototype._isDiverged):
(WebInspector.ResourceScriptFile.prototype._sourceMatchesScriptSource):
(WebInspector.ResourceScriptFile.prototype._sourceEndsWithSourceURL):
(WebInspector.ResourceScriptFile.prototype.checkMapping.callback):
(WebInspector.ResourceScriptFile.prototype.checkMapping):

  • inspector/front-end/ScriptSnippetModel.js:

(WebInspector.SnippetScriptFile.prototype.checkMapping):

LayoutTests:

  • http/tests/inspector/debugger-test.js:
  • inspector/debugger/file-system-project-mapping-expected.txt:
  • inspector/debugger/file-system-project-mapping.html:
6:04 AM Changeset in webkit [147101] by kadam@inf.u-szeged.hu
  • 196 edits in trunk/LayoutTests

[Qt] Unreviewed gardening. Updated png expected results after r146206.

  • platform/qt/editing/deleting/5126166-expected.png:
  • platform/qt/editing/deleting/5206311-1-expected.png:
  • platform/qt/editing/deleting/5272440-expected.png:
  • platform/qt/editing/deleting/5369009-expected.png:
  • platform/qt/editing/deleting/5433862-2-expected.png:
  • platform/qt/editing/deleting/delete-3608445-fix-expected.png:
  • platform/qt/editing/deleting/delete-at-paragraph-boundaries-002-expected.png:
  • platform/qt/editing/deleting/delete-block-contents-003-expected.png:
  • platform/qt/editing/deleting/delete-block-merge-contents-005-expected.png:
  • platform/qt/editing/deleting/delete-block-merge-contents-006-expected.png:
  • platform/qt/editing/deleting/delete-block-merge-contents-007-expected.png:
  • platform/qt/editing/deleting/delete-block-merge-contents-008-expected.png:
  • platform/qt/editing/deleting/delete-block-merge-contents-018-expected.png:
  • platform/qt/editing/deleting/delete-block-merge-contents-020-expected.png:
  • platform/qt/editing/deleting/delete-block-merge-contents-021-expected.png:
  • platform/qt/editing/deleting/delete-block-merge-contents-022-expected.png:
  • platform/qt/editing/deleting/delete-block-merge-contents-023-expected.png:
  • platform/qt/editing/deleting/delete-block-merge-contents-024-expected.png:
  • platform/qt/editing/deleting/delete-br-002-expected.png:
  • platform/qt/editing/deleting/delete-br-003-expected.png:
  • platform/qt/editing/deleting/delete-br-004-expected.png:
  • platform/qt/editing/deleting/delete-br-005-expected.png:
  • platform/qt/editing/deleting/delete-br-006-expected.png:
  • platform/qt/editing/deleting/delete-hr-expected.png:
  • platform/qt/editing/deleting/delete-image-002-expected.png:
  • platform/qt/editing/deleting/delete-line-003-expected.png:
  • platform/qt/editing/deleting/delete-line-004-expected.png:
  • platform/qt/editing/deleting/delete-line-end-ws-001-expected.png:
  • platform/qt/editing/deleting/delete-line-end-ws-002-expected.png:
  • platform/qt/editing/deleting/delete-listitem-001-expected.png:
  • platform/qt/editing/deleting/forward-delete-expected.png:
  • platform/qt/editing/deleting/merge-different-styles-expected.png:
  • platform/qt/editing/deleting/pruning-after-merge-2-expected.png:
  • platform/qt/editing/deleting/smart-delete-003-expected.png:
  • platform/qt/editing/deleting/smart-delete-004-expected.png:
  • platform/qt/editing/deleting/type-delete-after-quote-expected.png:
  • platform/qt/editing/execCommand/4580583-1-expected.png:
  • platform/qt/editing/execCommand/4924441-expected.png:
  • platform/qt/editing/execCommand/5482023-expected.png:
  • platform/qt/editing/execCommand/findString-2-expected.png:
  • platform/qt/editing/execCommand/indent-empty-root-expected.png:
  • platform/qt/editing/execCommand/insertHorizontalRule-expected.png:
  • platform/qt/editing/execCommand/insertImage-expected.png:
  • platform/qt/editing/execCommand/nsresponder-indent-expected.png:
  • platform/qt/editing/execCommand/nsresponder-outdent-expected.png:
  • platform/qt/editing/execCommand/paste-1-expected.png:
  • platform/qt/editing/execCommand/paste-2-expected.png:
  • platform/qt/editing/execCommand/remove-list-item-1-expected.png:
  • platform/qt/editing/input/reveal-caret-of-multiline-input-expected.png:
  • platform/qt/editing/inserting/4875189-1-expected.png:
  • platform/qt/editing/inserting/4875189-2-expected.png:
  • platform/qt/editing/inserting/4959067-expected.png:
  • platform/qt/editing/inserting/5418891-expected.png:
  • platform/qt/editing/inserting/before-after-input-element-expected.png:
  • platform/qt/editing/inserting/editable-html-element-expected.png:
  • platform/qt/editing/inserting/edited-whitespace-1-expected.png:
  • platform/qt/editing/inserting/insert-3654864-fix-expected.png:
  • platform/qt/editing/inserting/insert-3778059-fix-expected.png:
  • platform/qt/editing/inserting/insert-3800346-fix-expected.png:
  • platform/qt/editing/inserting/insert-3851164-fix-expected.png:
  • platform/qt/editing/inserting/insert-div-011-expected.png:
  • platform/qt/editing/inserting/insert-div-012-expected.png:
  • platform/qt/editing/inserting/insert-div-013-expected.png:
  • platform/qt/editing/inserting/insert-div-014-expected.png:
  • platform/qt/editing/inserting/insert-div-015-expected.png:
  • platform/qt/editing/inserting/insert-div-016-expected.png:
  • platform/qt/editing/inserting/insert-div-017-expected.png:
  • platform/qt/editing/inserting/insert-div-018-expected.png:
  • platform/qt/editing/inserting/insert-div-019-expected.png:
  • platform/qt/editing/inserting/insert-div-020-expected.png:
  • platform/qt/editing/inserting/insert-div-025-expected.png:
  • platform/qt/editing/inserting/insert-div-027-expected.png:
  • platform/qt/editing/inserting/insert-paragraph-02-expected.png:
  • platform/qt/editing/inserting/paragraph-separator-03-expected.png:
  • platform/qt/editing/inserting/redo-expected.png:
  • platform/qt/editing/pasteboard/4076267-expected.png:
  • platform/qt/editing/pasteboard/4242293-expected.png:
  • platform/qt/editing/pasteboard/4641033-expected.png:
  • platform/qt/editing/pasteboard/4944770-1-expected.png:
  • platform/qt/editing/pasteboard/4944770-2-expected.png:
  • platform/qt/editing/pasteboard/4989774-expected.png:
  • platform/qt/editing/pasteboard/5028447-expected.png:
  • platform/qt/editing/pasteboard/5032095-expected.png:
  • platform/qt/editing/pasteboard/5134759-expected.png:
  • platform/qt/editing/pasteboard/innerText-inline-table-expected.png:
  • platform/qt/editing/pasteboard/input-field-1-expected.png:
  • platform/qt/editing/pasteboard/merge-after-delete-expected.png:
  • platform/qt/editing/pasteboard/merge-end-borders-expected.png:
  • platform/qt/editing/pasteboard/merge-start-list-expected.png:
  • platform/qt/editing/pasteboard/paste-text-004-expected.png:
  • platform/qt/editing/pasteboard/paste-text-008-expected.png:
  • platform/qt/editing/pasteboard/paste-text-009-expected.png:
  • platform/qt/editing/pasteboard/paste-text-013-expected.png:
  • platform/qt/editing/pasteboard/paste-text-014-expected.png:
  • platform/qt/editing/pasteboard/paste-text-016-expected.png:
  • platform/qt/editing/pasteboard/styled-element-markup-expected.png:
  • platform/qt/editing/selection/13804-expected.png:
  • platform/qt/editing/selection/4402375-expected.png:
  • platform/qt/editing/selection/4776665-expected.png:
  • platform/qt/editing/selection/4866671-expected.png:
  • platform/qt/editing/selection/4889598-expected.png:
  • platform/qt/editing/selection/4895428-2-expected.png:
  • platform/qt/editing/selection/4895428-3-expected.png:
  • platform/qt/editing/selection/4947387-expected.png:
  • platform/qt/editing/selection/4960116-expected.png:
  • platform/qt/editing/selection/4960137-expected.png:
  • platform/qt/editing/selection/4975120-expected.png:
  • platform/qt/editing/selection/4983858-expected.png:
  • platform/qt/editing/selection/5076323-1-expected.png:
  • platform/qt/editing/selection/5081257-1-expected.png:
  • platform/qt/editing/selection/5081257-2-expected.png:
  • platform/qt/editing/selection/5099303-expected.png:
  • platform/qt/editing/selection/5195166-2-expected.png:
  • platform/qt/editing/selection/5240265-expected.png:
  • platform/qt/editing/selection/7152-1-expected.png:
  • platform/qt/editing/selection/7152-2-expected.png:
  • platform/qt/editing/selection/addRange-expected.png:
  • platform/qt/editing/selection/caret-ltr-2-expected.png:
  • platform/qt/editing/selection/caret-ltr-2-left-expected.png:
  • platform/qt/editing/selection/caret-ltr-expected.png:
  • platform/qt/editing/selection/caret-ltr-right-expected.png:
  • platform/qt/editing/selection/caret-rtl-2-left-expected.png:
  • platform/qt/editing/selection/caret-rtl-right-expected.png:
  • platform/qt/editing/selection/clear-selection-expected.png:
  • platform/qt/editing/selection/contenteditable-click-inside-expected.png:
  • platform/qt/editing/selection/drag-select-1-expected.png:
  • platform/qt/editing/selection/editable-html-element-expected.png:
  • platform/qt/editing/selection/expanding-selections-expected.png:
  • platform/qt/editing/selection/expanding-selections2-expected.png:
  • platform/qt/editing/selection/extend-by-character-003-expected.png:
  • platform/qt/editing/selection/extend-by-character-005-expected.png:
  • platform/qt/editing/selection/extend-inside-transforms-backward-expected.png:
  • platform/qt/editing/selection/extend-inside-transforms-forward-expected.png:
  • platform/qt/editing/selection/focus_editable_html-expected.png:
  • platform/qt/editing/selection/inline-table-expected.png:
  • platform/qt/editing/selection/mixed-editability-1-expected.png:
  • platform/qt/editing/selection/mixed-editability-3-expected.png:
  • platform/qt/editing/selection/mixed-editability-4-expected.png:
  • platform/qt/editing/selection/mixed-editability-5-expected.png:
  • platform/qt/editing/selection/mixed-editability-8-expected.png:
  • platform/qt/editing/selection/mixed-editability-9-expected.png:
  • platform/qt/editing/selection/move-3875618-fix-expected.png:
  • platform/qt/editing/selection/move-3875641-fix-expected.png:
  • platform/qt/editing/selection/move-between-blocks-yes-001-expected.png:
  • platform/qt/editing/selection/move-by-character-003-expected.png:
  • platform/qt/editing/selection/move-by-character-005-expected.png:
  • platform/qt/editing/selection/node-removal-1-expected.png:
  • platform/qt/editing/selection/node-removal-2-expected.png:
  • platform/qt/editing/selection/paragraph-granularity-expected.png:
  • platform/qt/editing/selection/range-between-block-and-inline-expected.png:
  • platform/qt/editing/selection/replace-selection-1-expected.png:
  • platform/qt/editing/selection/select-across-readonly-input-1-expected.png:
  • platform/qt/editing/selection/select-across-readonly-input-2-expected.png:
  • platform/qt/editing/selection/select-across-readonly-input-3-expected.png:
  • platform/qt/editing/selection/select-across-readonly-input-4-expected.png:
  • platform/qt/editing/selection/select-across-readonly-input-5-expected.png:
  • platform/qt/editing/selection/select-all-003-expected.png:
  • platform/qt/editing/selection/select-all-005-expected.png:
  • platform/qt/editing/selection/select-all-006-expected.png:
  • platform/qt/editing/selection/select-all-iframe-expected.png:
  • platform/qt/editing/selection/select-text-overflow-ellipsis-expected.png:
  • platform/qt/editing/selection/selectNode-expected.png:
  • platform/qt/editing/selection/selectNodeContents-expected.png:
  • platform/qt/editing/selection/selection-actions-expected.png:
  • platform/qt/editing/selection/selection-button-text-expected.png:
  • platform/qt/editing/selection/table-caret-3-expected.png:
  • platform/qt/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.png:
  • platform/qt/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.png:
  • platform/qt/editing/selection/word-granularity-expected.png:
  • platform/qt/editing/selection/wrapped-line-caret-1-expected.png:
  • platform/qt/editing/selection/wrapped-line-caret-2-expected.png:
  • platform/qt/editing/style/4916887-expected.png:
  • platform/qt/editing/style/5084241-expected.png:
  • platform/qt/editing/style/apple-style-editable-mix-expected.png:
  • platform/qt/editing/style/block-style-001-expected.png:
  • platform/qt/editing/style/block-style-002-expected.png:
  • platform/qt/editing/style/block-style-003-expected.png:
  • platform/qt/editing/style/create-block-for-style-001-expected.png:
  • platform/qt/editing/style/create-block-for-style-002-expected.png:
  • platform/qt/editing/style/create-block-for-style-003-expected.png:
  • platform/qt/editing/style/create-block-for-style-004-expected.png:
  • platform/qt/editing/style/create-block-for-style-005-expected.png:
  • platform/qt/editing/style/create-block-for-style-006-expected.png:
  • platform/qt/editing/style/create-block-for-style-007-expected.png:
  • platform/qt/editing/style/create-block-for-style-008-expected.png:
  • platform/qt/editing/style/create-block-for-style-009-expected.png:
  • platform/qt/editing/style/create-block-for-style-010-expected.png:
  • platform/qt/editing/style/create-block-for-style-011-expected.png:
  • platform/qt/editing/style/create-block-for-style-012-expected.png:
  • platform/qt/editing/style/create-block-for-style-013-expected.png:
  • platform/qt/editing/style/designmode-expected.png:
  • platform/qt/editing/style/relative-font-size-change-001-expected.png:
  • platform/qt/editing/style/relative-font-size-change-002-expected.png:
  • platform/qt/editing/style/relative-font-size-change-003-expected.png:
  • platform/qt/editing/style/relative-font-size-change-004-expected.png:
5:45 AM Changeset in webkit [147100] by zarvai@inf.u-szeged.hu
  • 1 edit
    2 adds in trunk/LayoutTests

[Qt][WK2] Unreviewed gardening. Rebaselining after r147086.

  • platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt: Added.
  • platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt: Added.
5:34 AM Changeset in webkit [147099] by vsevik@chromium.org
  • 5 edits in trunk/Source/WebCore

Web Inspector: Simplify ResourceScriptFile so that it stores hasDiverged state in it.
https://bugs.webkit.org/show_bug.cgi?id=113489

Reviewed by Pavel Feldman.

ResourceScriptFile._hasDiverged is the one flag that shows whether we have diverged from VM.
It's values is based both on dirty flag on uiSourceCode and information about live edit failures stored in _lastLiveEditFailed field.
Removed willMerge/Diverge events from ScriptFile.
JavaScriptSourceFrame now uses isMergingToVM/DivergingFromVM methods on ScriptFile.
to determine whether breakpointAdded/Removed events should be ignored.
Introduced muted state on JavaScriptSourceFrame to determine whether it should ignore user attempts to set/remove breakpoints.

  • inspector/front-end/JavaScriptSourceFrame.js:

(WebInspector.JavaScriptSourceFrame):
(WebInspector.JavaScriptSourceFrame.prototype._didMergeToVM):
(WebInspector.JavaScriptSourceFrame.prototype._didDivergeFromVM):
(WebInspector.JavaScriptSourceFrame.prototype._muteBreakpointsWhileEditing):
(WebInspector.JavaScriptSourceFrame.prototype._restoreBreakpointsAfterEditing):
(WebInspector.JavaScriptSourceFrame.prototype._addBreakpointDecoration):
(WebInspector.JavaScriptSourceFrame.prototype._removeBreakpointDecoration):
(WebInspector.JavaScriptSourceFrame.prototype._shouldIgnoreExternalBreakpointEvents):
(WebInspector.JavaScriptSourceFrame.prototype._breakpointAdded):
(WebInspector.JavaScriptSourceFrame.prototype._breakpointRemoved):
(WebInspector.JavaScriptSourceFrame.prototype._updateScriptFile):
(WebInspector.JavaScriptSourceFrame.prototype.onTextEditorContentLoaded):

  • inspector/front-end/LiveEditSupport.js:

(WebInspector.LiveEditScriptFile.prototype.isMergingToVM):

  • inspector/front-end/ResourceScriptMapping.js:

(WebInspector.ResourceScriptMapping.prototype.rawLocationToUILocation):
(WebInspector.ScriptFile.prototype.isMergingToVM):
(WebInspector.ResourceScriptFile):
(WebInspector.ResourceScriptFile.prototype._workingCopyCommitted):
(WebInspector.ResourceScriptFile.prototype._isDiverged):
(WebInspector.ResourceScriptFile.prototype._workingCopyChanged):
(WebInspector.ResourceScriptFile.prototype._update):
(WebInspector.ResourceScriptFile.prototype._divergeFromVM):
(WebInspector.ResourceScriptFile.prototype._mergeToVM):
(WebInspector.ResourceScriptFile.prototype.hasDivergedFromVM):
(WebInspector.ResourceScriptFile.prototype.isMergingToVM):

  • inspector/front-end/ScriptSnippetModel.js:

(WebInspector.SnippetScriptFile.prototype.isMergingToVM):

5:31 AM Changeset in webkit [147098] by kadam@inf.u-szeged.hu
  • 4 edits
    19 adds in trunk/LayoutTests

[Qt] Unreviewed gardening. Updated png expected results after r146206..

  • platform/qt-5.0-wk2/fast/backgrounds/mask-box-image-expected.png: Added.
  • platform/qt-5.0-wk2/fast/backgrounds/size/backgroundSize08-expected.png: Added.
  • platform/qt-5.0-wk2/fast/borders/block-mask-overlay-image-expected.png: Added.
  • platform/qt-5.0-wk2/fast/borders/block-mask-overlay-image-outset-expected.png: Added.
  • platform/qt-5.0-wk2/fast/borders/border-image-scaled-gradient-expected.png: Added.
  • platform/qt-5.0-wk2/fast/borders/border-image-slice-constrained-expected.png: Added.
  • platform/qt-5.0-wk2/fast/borders/border-image-slices-expected.png: Added.
  • platform/qt-5.0-wk2/fast/borders/inline-mask-overlay-image-expected.png: Added.
  • platform/qt-5.0-wk2/fast/borders/inline-mask-overlay-image-outset-expected.png: Added.
  • platform/qt-5.0-wk2/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.png: Added.
  • platform/qt-5.0-wk2/fast/box-shadow/box-shadow-radius-expected.png: Added.
  • platform/qt-5.0-wk2/fast/box-shadow/box-shadow-transformed-expected.png: Added.
  • platform/qt-5.0-wk2/fast/box-shadow/inset-box-shadow-radius-expected.png: Added.
  • platform/qt-5.0-wk2/fast/box-shadow/inset-box-shadows-expected.png: Added.
  • platform/qt-5.0-wk2/fast/box-shadow/inset-expected.png: Added.
  • platform/qt-5.0-wk2/fast/box-shadow/scaled-box-shadow-expected.png: Added.
  • platform/qt-5.0-wk2/fast/canvas/canvas-as-image-expected.png: Added.
  • platform/qt-5.0-wk2/fast/canvas/canvas-bg-zoom-expected.png: Added.
  • platform/qt-5.0-wk2/fast/clip/overflow-border-radius-composited-expected.png:
  • platform/qt-5.0-wk2/fast/css/value-list-out-of-bounds-crash-expected.png: Added.
  • platform/qt-5.0-wk2/fast/forms/listbox-clip-expected.png:
  • platform/qt-5.0-wk2/fast/forms/select-background-none-expected.png:
5:16 AM Changeset in webkit [147097] by caseq@chromium.org
  • 7 edits in trunk

Web Inspector: DOMContentLoaded event divider is not shown on Timeline's main view
https://bugs.webkit.org/show_bug.cgi?id=113196

Reviewed by Pavel Feldman.

Source/WebCore:

  • keep event divider records in TimelinePresentationModel, not in TimelinePanel;
  • process event divider records on every level, not just on top.
  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelinePanel.prototype._updateEventDividers):
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline.checkVisible):
(WebInspector.TimelinePanel.prototype._resetPanel):

  • inspector/front-end/TimelinePresentationModel.js:

(WebInspector.TimelinePresentationModel.prototype.reset):
(WebInspector.TimelinePresentationModel.prototype._innerAddRecord):
(WebInspector.TimelinePresentationModel.prototype.eventDividerRecords):

LayoutTests:

  • use TimelinePresentationModel to fetch list of event divider records;
  • http/tests/inspector/timeline-test.js:

(initialize_Timeline.InspectorTest.printTimestampRecords):

  • inspector/timeline/timeline-load-event-expected.txt:
  • inspector/timeline/timeline-load-event.html:
5:14 AM Changeset in webkit [147096] by vsevik@chromium.org
  • 2 edits in trunk/Source/WebCore

Unreviewed inspector front-end closure compilation fix.

  • inspector/front-end/CookiesTable.js:
5:11 AM Changeset in webkit [147095] by commit-queue@webkit.org
  • 11 edits in trunk

Web Inspector: [DTE] Paint overlay highlight over line background color
https://bugs.webkit.org/show_bug.cgi?id=113346

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-28
Reviewed by Pavel Feldman.

Source/WebCore:

No new tests: no change in behaviour.

  • Append spans instead of text nodes to lineRows.
  • Set positioning of all spans inside of webkit-line-content as

relative

  • Set z-index property so that overlay highlight is above line

background but under text.

  • inspector/front-end/DefaultTextEditor.js:

(WebInspector.TextEditorMainPanel.prototype._measureHighlightDescriptor):
(WebInspector.TextEditorMainPanel.prototype._measureSpans):
(WebInspector.TextEditorMainPanel.prototype._renderRanges):
(WebInspector.TextEditorMainPanel.prototype._insertSpanBefore):

  • inspector/front-end/textEditor.css:

(.webkit-line-content > .text-editor-overlay-highlight):
(.webkit-line-content > *):

LayoutTests:

Updated test expectations to correspond to new DefaultTextEditor's DOM
layout.

  • inspector/editor/text-editor-brace-highlighter-expected.txt:
  • inspector/editor/text-editor-highlight-api-expected.txt:
  • inspector/editor/text-editor-highlight-token-expected.txt:
  • inspector/editor/text-editor-long-line-expected.txt:
  • inspector/editor/text-editor-remove-chunks-from-dom-expected.txt:
  • inspector/editor/text-editor-show-whitespace-expected.txt:
  • inspector/editor/text-editor-type-over-decoration-expected.txt:
5:02 AM Changeset in webkit [147094] by apavlov@chromium.org
  • 3 edits
    2 adds in trunk

Web Inspector: [REGRESSION] [Styles] Pasting a property in the "name" field is broken
https://bugs.webkit.org/show_bug.cgi?id=113491

Reviewed by Pavel Feldman.

Source/WebCore:

Update the CSSProperty name and value upon pasting properties into the Styles pane.
Drive-by: start editing the next/new property name after pasting.

Test: inspector/styles/paste-property.html

  • inspector/front-end/StylesSidebarPane.js:

(.selectElement):
(.moveDirection.alreadyNew):

LayoutTests:

  • inspector/styles/paste-property-expected.txt: Added.
  • inspector/styles/paste-property.html: Added.
3:54 AM Changeset in webkit [147093] by zandobersek@gmail.com
  • 2 edits in trunk/LayoutTests

Unreviewed GTK gardening.

  • platform/gtk/TestExpectations: Adjusting the expectation for media/track/track-in-band-legacy-api.html.
3:40 AM Changeset in webkit [147092] by kadam@inf.u-szeged.hu
  • 410 edits
    3 copies
    3 adds in trunk/LayoutTests

[Qt] Unreviewed gardening. Updated expected png results after r146206.

  • platform/qt/fast/backgrounds/001-expected.png:
  • platform/qt/fast/backgrounds/background-clip-text-expected.png:
  • platform/qt/fast/backgrounds/background-origin-root-element-expected.png:
  • platform/qt/fast/backgrounds/gradient-background-leakage-expected.png:
  • platform/qt/fast/backgrounds/opacity-on-document-element-expected.png:
  • platform/qt/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.png:
  • platform/qt/fast/block/basic/001-expected.png:
  • platform/qt/fast/block/basic/004-expected.png:
  • platform/qt/fast/block/basic/005-expected.png:
  • platform/qt/fast/block/basic/007-expected.png:
  • platform/qt/fast/block/basic/008-expected.png:
  • platform/qt/fast/block/basic/010-expected.png:
  • platform/qt/fast/block/basic/011-expected.png:
  • platform/qt/fast/block/basic/015-expected.png:
  • platform/qt/fast/block/basic/016-expected.png:
  • platform/qt/fast/block/basic/018-expected.png:
  • platform/qt/fast/block/basic/019-expected.png:
  • platform/qt/fast/block/basic/min-pref-width-nowrap-floats-expected.png:
  • platform/qt/fast/block/basic/minheight-expected.png:
  • platform/qt/fast/block/basic/quirk-height-expected.png:
  • platform/qt/fast/block/basic/quirk-percent-height-grandchild-expected.png:
  • platform/qt/fast/block/basic/white-space-pre-wraps-expected.png:
  • platform/qt/fast/block/float/001-expected.png:
  • platform/qt/fast/block/float/003-expected.png:
  • platform/qt/fast/block/float/004-expected.png:
  • platform/qt/fast/block/float/005-expected.png:
  • platform/qt/fast/block/float/006-expected.png:
  • platform/qt/fast/block/float/010-expected.png:
  • platform/qt/fast/block/float/015-expected.png:
  • platform/qt/fast/block/float/016-expected.png:
  • platform/qt/fast/block/float/017-expected.png:
  • platform/qt/fast/block/float/021-expected.png:
  • platform/qt/fast/block/float/023-expected.png:
  • platform/qt/fast/block/float/024-expected.png:
  • platform/qt/fast/block/float/025-expected.png:
  • platform/qt/fast/block/float/027-expected.png:
  • platform/qt/fast/block/float/029-expected.png:
  • platform/qt/fast/block/float/030-expected.png:
  • platform/qt/fast/block/float/031-expected.png:
  • platform/qt/fast/block/float/avoidance-percent-width-strict-expected.png:
  • platform/qt/fast/block/float/avoiding-float-centered-expected.png:
  • platform/qt/fast/block/float/editable-text-overlapping-float-expected.png:
  • platform/qt/fast/block/float/fit_line_below_floats-expected.png:
  • platform/qt/fast/block/float/float-avoidance-expected.png:
  • platform/qt/fast/block/float/float-on-zero-height-line-expected.png:
  • platform/qt/fast/block/float/intruding-float-add-in-sibling-block-on-static-position-expected.png:
  • platform/qt/fast/block/float/intruding-float-add-in-sibling-block-on-static-position2-expected.png:
  • platform/qt/fast/block/float/marquee-shrink-to-avoid-floats-expected.png:
  • platform/qt/fast/block/float/multiple-float-positioning-expected.png:
  • platform/qt/fast/block/float/nestedAnonymousBlocks-expected.png:
  • platform/qt/fast/block/float/nestedAnonymousBlocks2-expected.png:
  • platform/qt/fast/block/float/overhanging-after-height-decrease-offsets-expected.png:
  • platform/qt/fast/block/float/overhanging-float-add-in-static-position-block-expected.png:
  • platform/qt/fast/block/float/overhanging-float-add-in-static-position-block2-expected.png:
  • platform/qt/fast/block/float/overhanging-float-remove-from-absolute-position-block-expected.png:
  • platform/qt/fast/block/float/overhanging-float-remove-from-absolute-position-block2-expected.png:
  • platform/qt/fast/block/float/shrink-to-avoid-float-complexity-expected.png:
  • platform/qt/fast/block/float/shrink-to-fit-width-expected.png:
  • platform/qt/fast/block/float/width-update-after-clear-expected.png:
  • platform/qt/fast/block/lineboxcontain/inline-box-expected.png:
  • platform/qt/fast/block/lineboxcontain/inline-box-vertical-expected.png:
  • platform/qt/fast/block/lineboxcontain/inline-replaced-expected.png:
  • platform/qt/fast/block/lineboxcontain/replaced-expected.png:
  • platform/qt/fast/block/margin-collapse/001-expected.png:
  • platform/qt/fast/block/margin-collapse/005-expected.png:
  • platform/qt/fast/block/margin-collapse/006-expected.png:
  • platform/qt/fast/block/margin-collapse/010-expected.png:
  • platform/qt/fast/block/margin-collapse/011-expected.png:
  • platform/qt/fast/block/margin-collapse/012-expected.png:
  • platform/qt/fast/block/margin-collapse/015-expected.png:
  • platform/qt/fast/block/margin-collapse/016-expected.png:
  • platform/qt/fast/block/margin-collapse/017-expected.png:
  • platform/qt/fast/block/margin-collapse/018-expected.png:
  • platform/qt/fast/block/margin-collapse/019-expected.png:
  • platform/qt/fast/block/margin-collapse/020-expected.png:
  • platform/qt/fast/block/margin-collapse/025-expected.png:
  • platform/qt/fast/block/margin-collapse/030-expected.png:
  • platform/qt/fast/block/margin-collapse/031-expected.png:
  • platform/qt/fast/block/margin-collapse/037-expected.png:
  • platform/qt/fast/block/margin-collapse/038-expected.png:
  • platform/qt/fast/block/margin-collapse/043-expected.png:
  • platform/qt/fast/block/margin-collapse/056-expected.png:
  • platform/qt/fast/block/margin-collapse/059-expected.png:
  • platform/qt/fast/block/margin-collapse/100-expected.png:
  • platform/qt/fast/block/margin-collapse/103-expected.png:
  • platform/qt/fast/block/margin-collapse/104-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/001-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/006-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/010-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/011-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/012-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/015-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/016-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/017-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/018-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/019-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/020-expected.png:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/025-expected.png:
  • platform/qt/fast/block/margin-collapse/empty-clear-blocks-expected.png:
  • platform/qt/fast/block/positioning/047-expected.png:
  • platform/qt/fast/block/positioning/049-expected.png:
  • platform/qt/fast/block/positioning/051-expected.png:
  • platform/qt/fast/block/positioning/052-expected.png:
  • platform/qt/fast/block/positioning/054-expected.png:
  • platform/qt/fast/block/positioning/055-expected.png:
  • platform/qt/fast/block/positioning/auto/vertical-lr/005-expected.png:
  • platform/qt/fast/block/positioning/auto/vertical-rl/005-expected.png:
  • platform/qt/fast/block/positioning/height-change-expected.png:
  • platform/qt/fast/block/positioning/pref-width-change-expected.png:
  • platform/qt/fast/block/positioning/relative-overflow-block-expected.png:
  • platform/qt/fast/block/positioning/relative-overflow-replaced-expected.png:
  • platform/qt/fast/block/positioning/relative-overflow-replaced-float-expected.png:
  • platform/qt/fast/block/positioning/relayout-on-position-change-expected.png:
  • platform/qt/fast/block/positioning/window-height-change-expected.png:
  • platform/qt/fast/body-propagation/background-image/009-expected.png:
  • platform/qt/fast/body-propagation/background-image/009-xhtml-expected.png:
  • platform/qt/fast/body-propagation/overflow/001-expected.png:
  • platform/qt/fast/body-propagation/overflow/001-xhtml-expected.png:
  • platform/qt/fast/body-propagation/overflow/005-declarative-expected.png:
  • platform/qt/fast/body-propagation/overflow/005-expected.png:
  • platform/qt/fast/body-propagation/overflow/005-xhtml-expected.png:
  • platform/qt/fast/borders/bidi-002-expected.png:
  • platform/qt/fast/borders/bidi-009a-expected.png:
  • platform/qt/fast/borders/bidi-012-expected.png:
  • platform/qt/fast/borders/border-color-inherit-expected.png:
  • platform/qt/fast/borders/border-radius-huge-assert-expected.png:
  • platform/qt/fast/borders/border-radius-inline-flow-expected.png:
  • platform/qt/fast/borders/border-radius-split-inline-expected.png:
  • platform/qt/fast/borders/borderRadiusArcs01-expected.png:
  • platform/qt/fast/borders/borderRadiusDotted05-expected.png:
  • platform/qt/fast/borders/borderRadiusDouble01-expected.png:
  • platform/qt/fast/borders/borderRadiusDouble02-expected.png:
  • platform/qt/fast/borders/borderRadiusDouble03-expected.png:
  • platform/qt/fast/borders/borderRadiusGroove01-expected.png:
  • platform/qt/fast/borders/borderRadiusGroove02-expected.png:
  • platform/qt/fast/borders/borderRadiusInset01-expected.png:
  • platform/qt/fast/borders/borderRadiusInvalidColor-expected.png:
  • platform/qt/fast/borders/borderRadiusOutset01-expected.png:
  • platform/qt/fast/borders/borderRadiusRidge01-expected.png:
  • platform/qt/fast/borders/borderRadiusSolid01-expected.png:
  • platform/qt/fast/borders/borderRadiusSolid02-expected.png:
  • platform/qt/fast/borders/borderRadiusSolid03-expected.png:
  • platform/qt/fast/borders/borderRadiusSolid04-expected.png:
  • platform/qt/fast/borders/different-color-borders-expected.png:
  • platform/qt/fast/borders/fieldsetBorderRadius-expected.png:
  • platform/qt/fast/borders/inline-mask-overlay-image-outset-expected.png:
  • platform/qt/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.png:
  • platform/qt/fast/borders/rtl-border-05-expected.png:
  • platform/qt/fast/borders/table-borders-expected.png:
  • platform/qt/fast/borders/webkit-border-radius-expected.png:
  • platform/qt/fast/box-shadow/basic-shadows-expected.png:
  • platform/qt/fast/box-shadow/box-shadow-radius-expected.png:
  • platform/qt/fast/box-shadow/inset-box-shadow-radius-expected.png:
  • platform/qt/fast/box-shadow/inset-box-shadows-expected.png:
  • platform/qt/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png:
  • platform/qt/fast/box-shadow/spread-multiple-inset-expected.png: Added.
  • platform/qt/fast/box-shadow/spread-multiple-normal-expected.png: Added.
  • platform/qt/fast/box-sizing/box-sizing-expected.png:
  • platform/qt/fast/box-sizing/panels-one-expected.png:
  • platform/qt/fast/box-sizing/panels-two-expected.png:
  • platform/qt/fast/canvas/canvas-zoom-expected.png:
  • platform/qt/fast/clip/001-expected.png:
  • platform/qt/fast/clip/002-expected.png:
  • platform/qt/fast/clip/003-expected.png:
  • platform/qt/fast/clip/004-expected.png:
  • platform/qt/fast/clip/005-expected.png:
  • platform/qt/fast/clip/006-expected.png:
  • platform/qt/fast/clip/007-expected.png:
  • platform/qt/fast/clip/008-expected.png:
  • platform/qt/fast/clip/009-expected.png:
  • platform/qt/fast/clip/010-expected.png:
  • platform/qt/fast/clip/011-expected.png:
  • platform/qt/fast/clip/012-expected.png:
  • platform/qt/fast/clip/013-expected.png:
  • platform/qt/fast/clip/014-expected.png:
  • platform/qt/fast/clip/015-expected.png:
  • platform/qt/fast/clip/nestedTransparencyClip-expected.png:
  • platform/qt/fast/clip/outline-overflowClip-expected.png:
  • platform/qt/fast/clip/overflow-border-radius-clip-expected.png:
  • platform/qt/fast/clip/overflow-border-radius-combinations-expected.png:
  • platform/qt/fast/clip/overflow-border-radius-composited-expected.png:
  • platform/qt/fast/clip/overflow-border-radius-fixed-position-expected.png:
  • platform/qt/fast/clip/overflow-border-radius-transformed-expected.png:
  • platform/qt/fast/css-generated-content/001-expected.png:
  • platform/qt/fast/css-generated-content/002-expected.png:
  • platform/qt/fast/css-generated-content/008-expected.png:
  • platform/qt/fast/css-generated-content/009-expected.png:
  • platform/qt/fast/css-generated-content/013-expected.png:
  • platform/qt/fast/css-generated-content/016-expected.png:
  • platform/qt/fast/css-generated-content/after-duplicated-after-split-expected.png:
  • platform/qt/fast/css-generated-content/after-order-expected.png:
  • platform/qt/fast/css-generated-content/beforeAfter-interdocument-expected.png:
  • platform/qt/fast/css-generated-content/inline-display-types-expected.png:
  • platform/qt/fast/css-generated-content/table-before-after-child-add-expected.png:
  • platform/qt/fast/css-generated-content/table-cell-before-after-child-add-expected.png:
  • platform/qt/fast/css-generated-content/table-row-before-after-child-add-expected.png:
  • platform/qt/fast/css-generated-content/table-row-before-after-expected.png:
  • platform/qt/fast/css-generated-content/table-row-group-to-inline-expected.png:
  • platform/qt/fast/css-generated-content/table-table-before-after-child-add-expected.png:
  • platform/qt/fast/css/002-expected.png:
  • platform/qt/fast/css/003-expected.png:
  • platform/qt/fast/css/004-expected.png:
  • platform/qt/fast/css/005-expected.png:
  • platform/qt/fast/css/008-expected.png:
  • platform/qt/fast/css/ZeroOpacityLayers-expected.png:
  • platform/qt/fast/css/ZeroOpacityLayers2-expected.png:
  • platform/qt/fast/css/absolute-poition-in-rtl-parent-expected.png:
  • platform/qt/fast/css/attribute-selector-dynamic-expected.png:
  • platform/qt/fast/css/attribute-selector-empty-value-expected.png:
  • platform/qt/fast/css/background-shorthand-invalid-url-expected.png:
  • platform/qt/fast/css/beforeSelectorOnCodeElement-expected.png:
  • platform/qt/fast/css/begin-end-contain-selector-empty-value-expected.png:
  • platform/qt/fast/css/border-height-expected.png:
  • platform/qt/fast/css/border-radius-outline-offset-expected.png:
  • platform/qt/fast/css/border-solid-single-edge-antialias-expected.png: Added.
  • platform/qt/fast/css/child-style-can-override-visited-style-expected.png:
  • platform/qt/fast/css/clip-text-in-scaled-div-expected.png:
  • platform/qt/fast/css/color-correction-backgrounds-and-text-expected.png:
  • platform/qt/fast/css/continuationCrash-expected.png:
  • platform/qt/fast/css/create_element_align-expected.png:
  • platform/qt/fast/css/css-imports-expected.png:
  • platform/qt/fast/css/css3-modsel-22-expected.png:
  • platform/qt/fast/css/css3-nth-child-expected.png:
  • platform/qt/fast/css/error-in-last-decl-expected.png:
  • platform/qt/fast/css/first-letter-first-line-hover-expected.png:
  • platform/qt/fast/css/first-letter-float-after-float-expected.png:
  • platform/qt/fast/css/first-letter-float-expected.png:
  • platform/qt/fast/css/first-letter-punctuation-expected.png:
  • platform/qt/fast/css/first-letter-recalculation-expected.png:
  • platform/qt/fast/css/first-letter-visibility-expected.png:
  • platform/qt/fast/css/focus-ring-detached-expected.png:
  • platform/qt/fast/css/focus-ring-multiline-writingmode-vertical-expected.png:
  • platform/qt/fast/css/focus-ring-outline-color-expected.png:
  • platform/qt/fast/css/focus-ring-outline-offset-expected.png:
  • platform/qt/fast/css/focus-ring-outline-width-expected.png:
  • platform/qt/fast/css/font-face-implicit-local-font-expected.png:
  • platform/qt/fast/css/font-face-multiple-faces-expected.png:
  • platform/qt/fast/css/font-face-multiple-remote-sources-expected.png:
  • platform/qt/fast/css/font-smoothing-expected.png:
  • platform/qt/fast/css/font_property_normal-expected.png:
  • platform/qt/fast/css/hsla-color-expected.png:
  • platform/qt/fast/css/import-rule-regression-11590-expected.png:
  • platform/qt/fast/css/inline-properties-important-expected.png:
  • platform/qt/fast/css/invalid-percentage-property-expected.png:
  • platform/qt/fast/css/invalidation-errors-2-expected.png:
  • platform/qt/fast/css/invalidation-errors-3-expected.png:
  • platform/qt/fast/css/invalidation-errors-expected.png:
  • platform/qt/fast/css/last-child-style-sharing-expected.png:
  • platform/qt/fast/css/layerZOrderCrash-expected.png:
  • platform/qt/fast/css/line-height-overflow-expected.png:
  • platform/qt/fast/css/link-outside-head-expected.png:
  • platform/qt/fast/css/list-outline-expected.png:
  • platform/qt/fast/css/margin-bottom-form-element-quirk-expected.png:
  • platform/qt/fast/css/margin-bottom-form-element-strict-expected.png:
  • platform/qt/fast/css/namespaces/004-expected.png:
  • platform/qt/fast/css/namespaces/005-expected.png:
  • platform/qt/fast/css/namespaces/006-expected.png:
  • platform/qt/fast/css/namespaces/namespaces-comments-expected.png:
  • platform/qt/fast/css/namespaces/namespaces-empty-expected.png:
  • platform/qt/fast/css/namespaces/namespaces-invalid-at-expected.png:
  • platform/qt/fast/css/negative-leading-expected.png:
  • platform/qt/fast/css/non-empty-span-expected.png:
  • platform/qt/fast/css/pendingStylesheetFontSize-expected.png:
  • platform/qt/fast/css/percent-top-relative-container-height-unspecified-expected.png:
  • platform/qt/fast/css/position-negative-top-margin-expected.png:
  • platform/qt/fast/css/preserve-user-specified-zoom-level-on-reload-expected.png:
  • platform/qt/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png:
  • platform/qt/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png:
  • platform/qt/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png:
  • platform/qt/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png:
  • platform/qt/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png:
  • platform/qt/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png:
  • platform/qt/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png:
  • platform/qt/fast/css/relative-positioned-block-with-inline-ancestor-expected.png:
  • platform/qt/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png:
  • platform/qt/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png:
  • platform/qt/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png:
  • platform/qt/fast/css/rem-dynamic-scaling-expected.png:
  • platform/qt/fast/css/rem-units-on-root-expected.png:
  • platform/qt/fast/css/rgb-float-expected.png:
  • platform/qt/fast/css/selector-set-attribute-expected.png:
  • platform/qt/fast/css/shadow-multiple-expected.png:
  • platform/qt/fast/css/style-outside-head-expected.png:
  • platform/qt/fast/css/style-parsed-outside-head-expected.png:
  • platform/qt/fast/css/table-rules-attribute-groups-with-frame-expected.png:
  • platform/qt/fast/css/table-text-align-quirk-expected.png:
  • platform/qt/fast/css/table-text-align-strict-expected.png:
  • platform/qt/fast/css/target-fragment-match-expected.png:
  • platform/qt/fast/css/text-align-expected.png:
  • platform/qt/fast/css/text-input-with-webkit-border-radius-expected.png:
  • platform/qt/fast/css/text-overflow-ellipsis-text-align-center-expected.png:
  • platform/qt/fast/css/text-overflow-ellipsis-text-align-justify-expected.png:
  • platform/qt/fast/css/text-overflow-ellipsis-text-align-left-expected.png:
  • platform/qt/fast/css/text-overflow-ellipsis-text-align-right-expected.png:
  • platform/qt/fast/css/text-transform-select-expected.png:
  • platform/qt/fast/css/textCapitalizeEdgeCases-expected.png:
  • platform/qt/fast/css/transform-default-parameter-expected.png:
  • platform/qt/fast/css/transformed-mask-expected.png:
  • platform/qt/fast/css/transition-color-unspecified-expected.png:
  • platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.png:
  • platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.png:
  • platform/qt/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.png:
  • platform/qt/fast/css/visibility-hit-test-expected.png:
  • platform/qt/fast/css/zoom-font-size-expected.png:
  • platform/qt/fast/doctypes/001-expected.png:
  • platform/qt/fast/doctypes/002-expected.png:
  • platform/qt/fast/doctypes/003-expected.png:
  • platform/qt/fast/doctypes/004-expected.png:
  • platform/qt/fast/dom/34176-expected.png:
  • platform/qt/fast/dom/Element/null-offset-parent-expected.png:
  • platform/qt/fast/dom/HTMLElement/bdo-expected.png:
  • platform/qt/fast/dom/HTMLHeadElement/head-link-style-href-check-expected.png:
  • platform/qt/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
  • platform/qt/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png:
  • platform/qt/fast/dom/HTMLMeterElement/meter-optimums-expected.png:
  • platform/qt/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png:
  • platform/qt/fast/dom/HTMLMeterElement/meter-styles-expected.png:
  • platform/qt/fast/dom/HTMLObjectElement/vspace-hspace-as-number-expected.png:
  • platform/qt/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.png:
  • platform/qt/fast/dom/HTMLStyleElement/insert-parser-generated-expected.png:
  • platform/qt/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.png:
  • platform/qt/fast/dom/HTMLTableElement/colSpan-expected.png:
  • platform/qt/fast/dom/HTMLTableElement/createCaption-expected.png:
  • platform/qt/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
  • platform/qt/fast/dom/Range/create-contextual-fragment-expected.png:
  • platform/qt/fast/dom/Range/surroundContents-1-expected.png:
  • platform/qt/fast/dom/Window/open-existing-pop-up-blocking-expected.png:
  • platform/qt/fast/dom/anchor-text-expected.png:
  • platform/qt/fast/dom/blur-contenteditable-expected.png:
  • platform/qt/fast/dom/createDocumentType-expected.png:
  • platform/qt/fast/dom/css-rule-functions-expected.png:
  • platform/qt/fast/dom/delete-contents-expected.png:
  • platform/qt/fast/dom/gc-10-expected.png:
  • platform/qt/fast/dom/importNodeHTML-expected.png:
  • platform/qt/fast/dom/importNodeXML-expected.png:
  • platform/qt/fast/dynamic/002-expected.png:
  • platform/qt/fast/dynamic/011-expected.png:
  • platform/qt/fast/dynamic/014-expected.png:
  • platform/qt/fast/dynamic/015-expected.png:
  • platform/qt/fast/dynamic/anonymous-block-orphaned-lines-expected.png:
  • platform/qt/fast/dynamic/dirty-float-in-clean-line-expected.png:
  • platform/qt/fast/dynamic/first-letter-display-change-expected.png:
  • platform/qt/fast/dynamic/float-at-line-break-expected.png:
  • platform/qt/fast/dynamic/float-no-longer-overhanging-expected.png:
  • platform/qt/fast/dynamic/float-withdrawal-2-expected.png:
  • platform/qt/fast/dynamic/float-withdrawal-expected.png:
  • platform/qt/fast/dynamic/noninlinebadness-expected.png:
  • platform/qt/fast/dynamic/outerHTML-doc-expected.png:
  • platform/qt/fast/dynamic/outerHTML-img-expected.png:
  • platform/qt/fast/dynamic/subtree-parent-static-y-expected.png:
  • platform/qt/fast/dynamic/unicode-bidi-expected.png:
  • platform/qt/fast/dynamic/view-overflow-expected.png:
  • platform/qt/fast/encoding/utf-16-big-endian-expected.png:
  • platform/qt/fast/encoding/utf-16-little-endian-expected.png:
  • platform/qt/fast/events/event-listener-on-link-expected.png:
  • platform/qt/fast/events/resize-events-expected.png:
  • platform/qt/fast/fast-mobile-scrolling/fixed-position-element-expected.png:
  • platform/qt/fast/fast-mobile-scrolling/no-fixed-position-elements-expected.png:
  • platform/qt/fast/flexbox/001-expected.png:
  • platform/qt/fast/flexbox/002-expected.png:
  • platform/qt/fast/flexbox/003-expected.png:
  • platform/qt/fast/flexbox/004-expected.png:
  • platform/qt/fast/flexbox/005-expected.png:
  • platform/qt/fast/flexbox/006-expected.png:
  • platform/qt/fast/flexbox/007-expected.png:
  • platform/qt/fast/flexbox/008-expected.png:
  • platform/qt/fast/flexbox/009-expected.png:
  • platform/qt/fast/flexbox/010-expected.png:
  • platform/qt/fast/flexbox/011-expected.png:
  • platform/qt/fast/flexbox/012-expected.png:
  • platform/qt/fast/flexbox/013-expected.png:
  • platform/qt/fast/flexbox/014-expected.png:
  • platform/qt/fast/flexbox/015-expected.png:
  • platform/qt/fast/flexbox/016-expected.png:
  • platform/qt/fast/flexbox/017-expected.png:
  • platform/qt/fast/flexbox/018-expected.png:
  • platform/qt/fast/flexbox/019-expected.png:
  • platform/qt/fast/flexbox/020-expected.png:
  • platform/qt/fast/flexbox/021-expected.png:
  • platform/qt/fast/flexbox/022-expected.png:
  • platform/qt/fast/flexbox/023-expected.png:
  • platform/qt/fast/flexbox/024-expected.png:
  • platform/qt/fast/flexbox/overhanging-floats-removed-expected.png:
  • platform/qt/fast/forms/HTMLOptionElement_label05-expected.png:
  • platform/qt/fast/forms/basic-buttons-expected.png:
  • platform/qt/fast/forms/basic-textareas-quirks-expected.png:
  • platform/qt/fast/forms/button-default-title-expected.png:
  • platform/qt/fast/forms/button-inner-block-reuse-expected.png:
  • platform/qt/fast/forms/button-table-styles-expected.png:
  • platform/qt/fast/forms/button-text-transform-expected.png:
  • platform/qt/fast/forms/control-clip-overflow-expected.png:
  • platform/qt/fast/forms/disabled-select-change-index-expected.png:
  • platform/qt/fast/forms/fieldset-align-expected.png:
  • platform/qt/fast/forms/file/file-input-direction-expected.png:
  • platform/qt/fast/forms/floating-textfield-relayout-expected.png:
  • platform/qt/fast/forms/form-hides-table-expected.png:
  • platform/qt/fast/forms/input-appearance-selection-expected.png:
  • platform/qt/fast/forms/input-placeholder-paint-order-expected.png:
  • platform/qt/fast/forms/listbox-clip-expected.png:
  • platform/qt/fast/forms/menulist-clip-expected.png:
  • platform/qt/fast/forms/menulist-option-wrap-expected.png:
  • platform/qt/fast/forms/negativeLineHeight-expected.png:
  • platform/qt/fast/forms/number/number-appearance-spinbutton-layer-expected.png:
  • platform/qt/fast/forms/option-strip-whitespace-expected.png:
  • platform/qt/fast/forms/placeholder-position-expected.png:
  • platform/qt/fast/forms/search-rtl-expected.png:
  • platform/qt/fast/forms/select-change-popup-to-listbox-expected.png:
  • platform/qt/fast/forms/select-initial-position-expected.png:
  • platform/qt/fast/forms/select-item-background-clip-expected.png:
  • platform/qt/fast/forms/select-list-box-with-height-expected.png:
  • platform/qt/fast/forms/select/optgroup-rendering-expected.png:
  • platform/qt/fast/forms/textarea-align-expected.png:
  • platform/qt/fast/forms/textarea-placeholder-pseudo-style-expected.png:
  • platform/qt/fast/forms/textarea/textarea-placeholder-paint-order-expected.png:
3:07 AM Changeset in webkit [147091] by zarvai@inf.u-szeged.hu
  • 1 edit
    2 adds in trunk/LayoutTests

[Qt] Unreviewed gardening. Rebaselining after r147086.

  • platform/qt/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt: Added.
  • platform/qt/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt: Added.
2:50 AM Changeset in webkit [147090] by commit-queue@webkit.org
  • 7 edits in trunk

Web Inspector: Auto expand retaining path until there are more than one retainer.
https://bugs.webkit.org/show_bug.cgi?id=112596

Patch by Alexei Filippov <alph@chromium.org> on 2013-03-28
Reviewed by Yury Semikhatsky.

Source/WebCore:

When retainers view gets opened automatically expand retaining path
for objects having just a single retainer.

Test: inspector/profiler/heap-snapshot-summary-retainers.html

  • inspector/front-end/HeapSnapshotDataGrids.js:

(WebInspector.HeapSnapshotRetainmentDataGrid.prototype.populateComplete):
(WebInspector.HeapSnapshotRetainmentDataGrid.prototype.setDataSource):

  • inspector/front-end/HeapSnapshotGridNodes.js:

(WebInspector.HeapSnapshotGridNode.prototype.childrenRetrieved):
(WebInspector.HeapSnapshotGridNode.prototype._populateChildren):

LayoutTests:

When retainers view gets opened automatically expand retaining path
for objects having just a single retainer.

  • Added a test for the new behavior.
  • Replaced hardcoded "populate complete" string with the event object.
  • inspector/profiler/heap-snapshot-summary-retainers-expected.txt:
  • inspector/profiler/heap-snapshot-summary-retainers.html:
  • inspector/profiler/heap-snapshot-test.js:

(initialize_HeapSnapshotTest.):
(initialize_HeapSnapshotTest):

2:47 AM Changeset in webkit [147089] by zarvai@inf.u-szeged.hu
  • 412 edits in trunk/LayoutTests

[Qt] Unreviewed gardening. Updating PNG expected results after r146206.

  • platform/qt/tables/mozilla/bugs/bug46480-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug46480-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug46623-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug46623-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug46924-expected.png:
  • platform/qt/tables/mozilla/bugs/bug47432-expected.png:
  • platform/qt/tables/mozilla/bugs/bug4849-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug48827-expected.png:
  • platform/qt/tables/mozilla/bugs/bug51037-expected.png:
  • platform/qt/tables/mozilla/bugs/bug5188-expected.png:
  • platform/qt/tables/mozilla/bugs/bug52505-expected.png:
  • platform/qt/tables/mozilla/bugs/bug52506-expected.png:
  • platform/qt/tables/mozilla/bugs/bug53690-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug53690-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug5538-expected.png:
  • platform/qt/tables/mozilla/bugs/bug55527-expected.png:
  • platform/qt/tables/mozilla/bugs/bug55694-expected.png:
  • platform/qt/tables/mozilla/bugs/bug55789-expected.png:
  • platform/qt/tables/mozilla/bugs/bug57300-expected.png:
  • platform/qt/tables/mozilla/bugs/bug57828-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug57828-expected.png:
  • platform/qt/tables/mozilla/bugs/bug5799-expected.png:
  • platform/qt/tables/mozilla/bugs/bug5835-expected.png:
  • platform/qt/tables/mozilla/bugs/bug5838-expected.png:
  • platform/qt/tables/mozilla/bugs/bug59354-expected.png:
  • platform/qt/tables/mozilla/bugs/bug60804-expected.png:
  • platform/qt/tables/mozilla/bugs/bug60807-expected.png:
  • platform/qt/tables/mozilla/bugs/bug6184-expected.png:
  • platform/qt/tables/mozilla/bugs/bug6304-expected.png:
  • platform/qt/tables/mozilla/bugs/bug641-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug641-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug647-expected.png:
  • platform/qt/tables/mozilla/bugs/bug650-expected.png:
  • platform/qt/tables/mozilla/bugs/bug67915-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug68912-expected.png:
  • platform/qt/tables/mozilla/bugs/bug68998-expected.png:
  • platform/qt/tables/mozilla/bugs/bug69187-expected.png:
  • platform/qt/tables/mozilla/bugs/bug69382-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug69382-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug709-expected.png:
  • platform/qt/tables/mozilla/bugs/bug7112-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug7112-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug7121-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug7342-expected.png:
  • platform/qt/tables/mozilla/bugs/bug7471-expected.png:
  • platform/qt/tables/mozilla/bugs/bug7714-expected.png:
  • platform/qt/tables/mozilla/bugs/bug78162-expected.png:
  • platform/qt/tables/mozilla/bugs/bug80762-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug82946-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug82946-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug8381-expected.png:
  • platform/qt/tables/mozilla/bugs/bug8411-expected.png:
  • platform/qt/tables/mozilla/bugs/bug88035-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug88035-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug88524-expected.png:
  • platform/qt/tables/mozilla/bugs/bug8858-expected.png:
  • platform/qt/tables/mozilla/bugs/bug9072-expected.png:
  • platform/qt/tables/mozilla/bugs/bug9123-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug9123-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug92143-expected.png:
  • platform/qt/tables/mozilla/bugs/bug9271-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug9271-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug92868-expected.png:
  • platform/qt/tables/mozilla/bugs/bug93363-expected.png:
  • platform/qt/tables/mozilla/bugs/bug963-expected.png:
  • platform/qt/tables/mozilla/bugs/bug96334-expected.png:
  • platform/qt/tables/mozilla/bugs/bug96343-expected.png:
  • platform/qt/tables/mozilla/bugs/bug965-expected.png:
  • platform/qt/tables/mozilla/bugs/bug97138-expected.png:
  • platform/qt/tables/mozilla/bugs/bug97383-expected.png:
  • platform/qt/tables/mozilla/bugs/bug98196-expected.png:
  • platform/qt/tables/mozilla/bugs/bug9879-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug99948-expected.png:
  • platform/qt/tables/mozilla/collapsing_borders/bug41262-4-expected.png:
  • platform/qt/tables/mozilla/core/borders-expected.png:
  • platform/qt/tables/mozilla/core/captions-expected.png:
  • platform/qt/tables/mozilla/core/col_span-expected.png:
  • platform/qt/tables/mozilla/core/col_widths_auto_autoFixPer-expected.png:
  • platform/qt/tables/mozilla/core/col_widths_auto_autoPer-expected.png:
  • platform/qt/tables/mozilla/core/col_widths_auto_fix-expected.png:
  • platform/qt/tables/mozilla/core/col_widths_auto_fixPer-expected.png:
  • platform/qt/tables/mozilla/core/col_widths_auto_per-expected.png:
  • platform/qt/tables/mozilla/core/col_widths_fix_autoFix-expected.png:
  • platform/qt/tables/mozilla/core/col_widths_fix_autoPer-expected.png:
  • platform/qt/tables/mozilla/core/col_widths_fix_fix-expected.png:
  • platform/qt/tables/mozilla/core/col_widths_fix_fixPer-expected.png:
  • platform/qt/tables/mozilla/core/col_widths_fix_per-expected.png:
  • platform/qt/tables/mozilla/core/margins-expected.png:
  • platform/qt/tables/mozilla/core/nested1-expected.png:
  • platform/qt/tables/mozilla/core/row_span-expected.png:
  • platform/qt/tables/mozilla/core/table_frame-expected.png:
  • platform/qt/tables/mozilla/core/table_rules-expected.png:
  • platform/qt/tables/mozilla/core/table_widths-expected.png:
  • platform/qt/tables/mozilla/dom/deleteCol1-expected.png:
  • platform/qt/tables/mozilla/dom/deleteCol2-expected.png:
  • platform/qt/tables/mozilla/dom/deleteCol3-expected.png:
  • platform/qt/tables/mozilla/dom/deleteColGroup1-expected.png:
  • platform/qt/tables/mozilla/dom/deleteColGroup2-expected.png:
  • platform/qt/tables/mozilla/dom/deleteRowsRebuild1-expected.png:
  • platform/qt/tables/mozilla/dom/deleteRowsShrink1-expected.png:
  • platform/qt/tables/mozilla/dom/deleteTbodyExpand1-expected.png:
  • platform/qt/tables/mozilla/dom/deleteTbodyRebuild1-expected.png:
  • platform/qt/tables/mozilla/dom/insertCellsExpand2-expected.png:
  • platform/qt/tables/mozilla/dom/insertCellsRebuild1-expected.png:
  • platform/qt/tables/mozilla/dom/insertCellsRebuild2-expected.png:
  • platform/qt/tables/mozilla/dom/insertColGroups1-expected.png:
  • platform/qt/tables/mozilla/dom/insertColGroups2-expected.png:
  • platform/qt/tables/mozilla/dom/insertCols1-expected.png:
  • platform/qt/tables/mozilla/dom/insertCols2-expected.png:
  • platform/qt/tables/mozilla/dom/insertCols3-expected.png:
  • platform/qt/tables/mozilla/dom/insertCols4-expected.png:
  • platform/qt/tables/mozilla/dom/insertCols5-expected.png:
  • platform/qt/tables/mozilla/dom/tableDom-expected.png:
  • platform/qt/tables/mozilla/marvin/backgr_layers-opacity-expected.png:
  • platform/qt/tables/mozilla/marvin/backgr_simple-table-column-expected.png:
  • platform/qt/tables/mozilla/marvin/backgr_simple-table-column-group-expected.png:
  • platform/qt/tables/mozilla/marvin/backgr_simple-table-row-expected.png:
  • platform/qt/tables/mozilla/marvin/body_tbody-expected.png:
  • platform/qt/tables/mozilla/marvin/body_tfoot-expected.png:
  • platform/qt/tables/mozilla/marvin/body_thead-expected.png:
  • platform/qt/tables/mozilla/marvin/col_span-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_span-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_valign_baseline-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_valign_bottom-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_valign_middle-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_valign_top-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_width_pct-expected.png:
  • platform/qt/tables/mozilla/marvin/colgroup_width_px-expected.png:
  • platform/qt/tables/mozilla/marvin/table_frame_border-expected.png:
  • platform/qt/tables/mozilla/marvin/table_frame_box-expected.png:
  • platform/qt/tables/mozilla/marvin/table_row_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/table_row_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/table_row_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/table_rules_all-expected.png:
  • platform/qt/tables/mozilla/marvin/table_rules_groups-expected.png:
  • platform/qt/tables/mozilla/marvin/table_rules_none-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_border_0-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_border_1-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_border_2-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_border_3-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_caption_align_bot-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_caption_align_top-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_cellpadding-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_cellpadding_pct-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_cellspacing-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_class-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_default-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_id-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_row_th_nowrap-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_style-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_td_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_td_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_td_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_td_colspan-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_td_height-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_td_nowrap-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_td_rowspan-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_td_width-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_th_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_th_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_th_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_th_colspan-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_th_height-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_th_rowspan-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_th_width-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_width_percent-expected.png:
  • platform/qt/tables/mozilla/marvin/tables_width_px-expected.png:
  • platform/qt/tables/mozilla/marvin/tbody_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/tbody_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/tbody_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/tbody_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/tbody_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/tbody_char-expected.png:
  • platform/qt/tables/mozilla/marvin/tfoot_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/tfoot_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/tfoot_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/tfoot_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/tfoot_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/tfoot_char-expected.png:
  • platform/qt/tables/mozilla/marvin/thead_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/thead_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/thead_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/thead_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/thead_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/thead_char-expected.png:
  • platform/qt/tables/mozilla/marvin/x_caption_align_bottom-expected.png:
  • platform/qt/tables/mozilla/marvin/x_caption_align_top-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_span-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_valign_baseline-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_valign_bottom-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_valign_middle-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_valign_top-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_width_pct-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_width_px-expected.png:
  • platform/qt/tables/mozilla/marvin/x_col_width_rel-expected.png:
  • platform/qt/tables/mozilla/marvin/x_colgroup_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/x_colgroup_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/x_colgroup_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/x_colgroup_span-expected.png:
  • platform/qt/tables/mozilla/marvin/x_colgroup_valign_baseline-expected.png:
  • platform/qt/tables/mozilla/marvin/x_colgroup_valign_bottom-expected.png:
  • platform/qt/tables/mozilla/marvin/x_colgroup_valign_middle-expected.png:
  • platform/qt/tables/mozilla/marvin/x_colgroup_valign_top-expected.png:
  • platform/qt/tables/mozilla/marvin/x_colgroup_width_pct-expected.png:
  • platform/qt/tables/mozilla/marvin/x_colgroup_width_rel-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_bgcolor_name-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_bgcolor_rgb-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_border-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_border_none-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_border_px-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_cellpadding-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_cellpadding_pct-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_cellspacing_pct-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_class-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_frame_void-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_id-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_rules_groups-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_rules_none-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_style-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_width_pct-expected.png:
  • platform/qt/tables/mozilla/marvin/x_table_width_px-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_class-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_id-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_style-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_valign_baseline-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_valign_bottom-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_valign_middle-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tbody_valign_top-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_bgcolor_name-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_bgcolor_rgb-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_height-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_nowrap-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_valign_baseline-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_valign_bottom-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_valign_middle-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_valign_top-expected.png:
  • platform/qt/tables/mozilla/marvin/x_td_width-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_class-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_id-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_style-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_valign_baseline-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_valign_bottom-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_valign_middle-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tfoot_valign_top-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_bgcolor_name-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_bgcolor_rgb-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_class-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_height-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_id-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_nowrap-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_style-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_valign_baseline-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_valign_bottom-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_valign_top-expected.png:
  • platform/qt/tables/mozilla/marvin/x_th_width-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_align_left-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_align_right-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_class-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_id-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_style-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_valign_baseline-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_valign_bottom-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_valign_middle-expected.png:
  • platform/qt/tables/mozilla/marvin/x_thead_valign_top-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tr_align_center-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tr_align_char-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tr_align_justify-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tr_bgcolor_name-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tr_bgcolor_rgb-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tr_valign_baseline-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tr_valign_bottom-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tr_valign_middle-expected.png:
  • platform/qt/tables/mozilla/marvin/x_tr_valign_top-expected.png:
  • platform/qt/tables/mozilla/other/cellspacing-expected.png:
  • platform/qt/tables/mozilla/other/nested2-expected.png:
  • platform/qt/tables/mozilla/other/nestedTables-expected.png:
  • platform/qt/tables/mozilla/other/padding-expected.png:
  • platform/qt/tables/mozilla/other/test3-expected.png:
  • platform/qt/tables/mozilla/other/test6-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/97619-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug10140-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug10216-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug104898-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug106966-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug1128-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug11331-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug11945-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug131020-3-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug14007-1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug14489-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug1725-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug17826-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug18770-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug19526-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug21518-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug22122-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug24880-1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug25707-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug29058-2-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug3166-18-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug3166-5-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug32205-1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug32205-4-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug42043-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug4294-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug47163-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug51000-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug56024-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug59252-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug61042-1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug61042-2-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug72393-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug7243-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug73629-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug89315-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug91057-expected.png:
  • platform/qt/tables/mozilla_expected_failures/bugs/bug9879-1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/collapsing_borders/bug41262-1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.png:
  • platform/qt/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.png:
  • platform/qt/tables/mozilla_expected_failures/core/backgrounds-expected.png:
  • platform/qt/tables/mozilla_expected_failures/core/captions1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/core/captions2-expected.png:
  • platform/qt/tables/mozilla_expected_failures/core/captions3-expected.png:
  • platform/qt/tables/mozilla_expected_failures/core/col_span2-expected.png:
  • platform/qt/tables/mozilla_expected_failures/core/cols1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/core/columns-expected.png:
  • platform/qt/tables/mozilla_expected_failures/core/conflicts-expected.png:
  • platform/qt/tables/mozilla_expected_failures/core/standards1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/dom/appendCells1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/dom/appendCellsRebuild1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/dom/appendColGroup1-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/backgr_layers-show-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_frame_above-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_frame_below-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_frame_hsides-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_frame_lhs-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_frame_rhs-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_frame_void-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_frame_vsides-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table_caption-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody_sibling-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_overflow_td_align_right-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_rules_cols-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/table_rules_rows-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/tables_caption_align_left-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/tables_caption_align_right-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/tables_cellspacing_pct-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_caption_align_left-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_caption_align_right-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_colgroup_width_px-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_frame_above-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_frame_below-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_frame_border-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_frame_box-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_frame_hsides-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_frame_lhs-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_frame_rhs-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_frame_vsides-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_rules_all-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_rules_cols-expected.png:
  • platform/qt/tables/mozilla_expected_failures/marvin/x_table_rules_rows-expected.png:
  • platform/qt/tables/mozilla_expected_failures/other/empty_cells-expected.png:
  • platform/qt/tables/mozilla_expected_failures/other/test4-expected.png:
  • platform/qt/transforms/2d/compound-transforms-vs-containers-expected.png:
  • platform/qt/transforms/2d/transform-borderbox-expected.png:
  • platform/qt/transforms/2d/transform-fixed-container-expected.png:
  • platform/qt/transforms/2d/transform-origin-borderbox-expected.png:
  • platform/qt/transforms/2d/zoom-menulist-expected.png:
  • platform/qt/transitions/cross-fade-background-image-expected.png:
  • platform/qt/transitions/cross-fade-border-image-expected.png:
  • platform/qt/transitions/svg-text-shadow-transition-expected.png:
2:33 AM Changeset in webkit [147088] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: Fixed property text indentation in Styles sidebar.
https://bugs.webkit.org/show_bug.cgi?id=113409

Patch by Vladislav Kaznacheev <kaznacheev@chromium.org> on 2013-03-28
Reviewed by Alexander Pavlov.

When the sidebar is too narrow and the property text wraps around it breaks the indentation.
This was introduced in r143207 which spuriously modified DOM elements order.

  • inspector/front-end/StylesSidebarPane.js:
2:13 AM Changeset in webkit [147087] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

Regression: Crash when selecting Hebrew and numbers in a list
https://bugs.webkit.org/show_bug.cgi?id=111894

Patch by Arpita Bahuguna <a.bah@samsung.com> on 2013-03-28
Reviewed by Ryosuke Niwa.

Source/WebCore:

There is a crash when trying to click/select an anonymous
renderer.

This is a regression due to r143313 which tries to add border/padding
to the computed caret rect in RenderBox::localCaretRect().
The patch calls on the node() method for the corresponding
renderer. For an anonymous renderer though, node() returns
null. Since no check had been added for this, a crash occurs when
caret rect for an anonymous renderer is being computed.

Test: editing/selection/click-on-anonymous-content-crash.html

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::localCaretRect):
Added a check for validating the return from the node() call.

LayoutTests:

  • editing/selection/click-on-anonymous-content-crash-expected.txt: Added.
  • editing/selection/click-on-anonymous-content-crash.html: Added.

Added a testcase for verifying that no crash occurs when trying to
select/click an anonymous renderer, in this case the list marker's
renderer.

1:59 AM Changeset in webkit [147086] by mkwst@chromium.org
  • 5 edits
    11 adds in trunk

X-Frame-Options: Multiple headers are ignored completely.
https://bugs.webkit.org/show_bug.cgi?id=113387

Reviewed by Nate Chapin.

Source/WebCore:

If a server sends multiple 'X-Frame-Options' headers, we end up with a
value like 'SAMEORIGIN, SAMEORIGIN'. Currently, we're treating that as
invalid, and ignoring the header. It would be safer to follow Gecko's
lead[1] by:

  • Folding duplicated entries into their common value (that is: 'sameorigin, sameorigin' -> 'sameorigin').
  • Failing closed in the case of conflicts (that is: 'sameorigin, allowall' -> 'deny').

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=761655

Tests: http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict.html

http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow.html
http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny.html

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):

Call out to parseXFrameOptionsHeader to get the header's disposition
and deal with each case in a switch statement for clarity. Add a new
console warning for the conflict case described above.

  • platform/network/HTTPParsers.cpp:

(WebCore::parseXFrameOptionsHeader):

  • platform/network/HTTPParsers.h:

Move X-Frame-Options parsing out into HTTPParsers, as it's getting
more and more complicated. To do this, the patch defines a new enum
to pass around the header's disposition.

LayoutTests:

  • http/tests/security/XFrameOptions/resources/x-frame-options-multiple-headers-conflict.cgi: Added.
  • http/tests/security/XFrameOptions/resources/x-frame-options-multiple-headers-sameorigin.cgi: Added.
  • http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt: Added.
  • http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict.html: Added.
  • http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt: Added.
  • http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow.html: Added.
  • http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt: Added.
  • http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny.html: Added.
  • platform/chromium/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt: Added.
  • platform/chromium/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt: Added.
  • platform/chromium/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt: Added.
1:48 AM Changeset in webkit [147085] by zandobersek@gmail.com
  • 2 edits in trunk

Unreviewed GTK build fix after r147039.

  • Source/autotools/symbols.filter: Export the missing symbols.
1:37 AM Changeset in webkit [147084] by commit-queue@webkit.org
  • 3 edits
    2 adds
    30 deletes in trunk/LayoutTests

[CSS Regions] Convert layout tests region-style-block-background-color[2] to ref-tests
https://bugs.webkit.org/show_bug.cgi?id=86339

Patch by Mihai Tica <mitica@adobe.com> on 2013-03-28
Reviewed by Tony Chang.

This patch converts the pixel test baseline into ref-tests for the following tests:
fast/regions/region-style-block-background-color.html
fast/regions/region-style-block-background-color2.html

  • fast/regions/region-style-block-background-color-expected.html: Added.
  • fast/regions/region-style-block-background-color.html:
  • fast/regions/region-style-block-background-color2-expected.html: Added.
  • fast/regions/region-style-block-background-color2.html:
  • platform/chromium-linux/fast/regions/region-style-block-background-color-expected.png: Removed.
  • platform/chromium-linux/fast/regions/region-style-block-background-color2-expected.png: Removed.
  • platform/chromium-mac-lion/fast/regions/region-style-block-background-color-expected.png: Removed.
  • platform/chromium-mac-lion/fast/regions/region-style-block-background-color2-expected.png: Removed.
  • platform/chromium-mac-snowleopard/fast/regions/region-style-block-background-color-expected.png: Removed.
  • platform/chromium-mac-snowleopard/fast/regions/region-style-block-background-color2-expected.png: Removed.
  • platform/chromium-mac/fast/regions/region-style-block-background-color-expected.png: Removed.
  • platform/chromium-mac/fast/regions/region-style-block-background-color2-expected.png: Removed.
  • platform/chromium-win/fast/regions/region-style-block-background-color-expected.png: Removed.
  • platform/chromium-win/fast/regions/region-style-block-background-color-expected.txt: Removed.
  • platform/chromium-win/fast/regions/region-style-block-background-color2-expected.png: Removed.
  • platform/chromium-win/fast/regions/region-style-block-background-color2-expected.txt: Removed.
  • platform/chromium/fast/regions/region-style-block-background-color-expected.txt: Removed.
  • platform/chromium/fast/regions/region-style-block-background-color2-expected.txt: Removed.
  • platform/efl/fast/regions/region-style-block-background-color-expected.png: Removed.
  • platform/efl/fast/regions/region-style-block-background-color-expected.txt: Removed.
  • platform/efl/fast/regions/region-style-block-background-color2-expected.png: Removed.
  • platform/efl/fast/regions/region-style-block-background-color2-expected.txt: Removed.
  • platform/gtk/fast/regions/region-style-block-background-color-expected.png: Removed.
  • platform/gtk/fast/regions/region-style-block-background-color-expected.txt: Removed.
  • platform/gtk/fast/regions/region-style-block-background-color2-expected.png: Removed.
  • platform/gtk/fast/regions/region-style-block-background-color2-expected.txt: Removed.
  • platform/mac/fast/regions/region-style-block-background-color-expected.png: Removed.
  • platform/mac/fast/regions/region-style-block-background-color-expected.txt: Removed.
  • platform/mac/fast/regions/region-style-block-background-color2-expected.png: Removed.
  • platform/mac/fast/regions/region-style-block-background-color2-expected.txt: Removed.
  • platform/qt/fast/regions/region-style-block-background-color-expected.png: Removed.
  • platform/qt/fast/regions/region-style-block-background-color-expected.txt: Removed.
  • platform/qt/fast/regions/region-style-block-background-color2-expected.png: Removed.
  • platform/qt/fast/regions/region-style-block-background-color2-expected.txt: Removed.
1:30 AM Changeset in webkit [147083] by kadam@inf.u-szeged.hu
  • 4 edits
    2 copies
    6 deletes in trunk/LayoutTests

Gardening. Organize expected results, because the generic expected file should be the one that uses JSC.
https://bugs.webkit.org/show_bug.cgi?id=113291.

Reviewed by Csaba Osztrogonác.

  • inspector/console/console-eval-syntax-error-expected.txt:
  • inspector/debugger/debugger-pause-in-eval-script-expected.txt:
  • inspector/extensions/extensions-eval-expected.txt:
  • platform/chromium/inspector/debugger/debugger-pause-in-eval-script-expected.txt: Copied from LayoutTests/inspector/debugger/debugger-pause-in-eval-script-expected.txt.
  • platform/chromium/inspector/extensions/extensions-eval-expected.txt: Copied from LayoutTests/inspector/extensions/extensions-eval-expected.txt.
  • platform/mac/inspector/console/console-eval-syntax-error-expected.txt: Removed.
  • platform/mac/inspector/debugger/debugger-pause-in-eval-script-expected.txt: Removed.
  • platform/mac/inspector/extensions/extensions-eval-expected.txt: Removed.
  • platform/qt/inspector/console/console-eval-syntax-error-expected.txt: Removed.
  • platform/qt/inspector/debugger/debugger-pause-in-eval-script-expected.txt: Removed.
  • platform/qt/inspector/extensions/extensions-eval-expected.txt: Removed.
1:26 AM Changeset in webkit [147082] by mihnea@adobe.com
  • 4 edits in trunk/Source/WebCore

[CSSRegions] Consolidate use of RenderRegion::isValid
https://bugs.webkit.org/show_bug.cgi?id=113154

Reviewed by David Hyatt.

After https://bugs.webkit.org/show_bug.cgi?id=98752, the list of invalid regions is kept separately than the list of valid regions.
A valid region has always a valid flow thread attached. We can use isValid() throughout the RenderRegion code
instead of testing for both isValid() and m_flowThread.

No new tests since there is no change is functionality, just code refactoring.

  • rendering/RenderNamedFlowThread.cpp:

(WebCore::RenderNamedFlowThread::addRegionToNamedFlowThread): Added a new function to keep the code
used in addRegionToThread and checkInvalidRegions.
(WebCore::RenderNamedFlowThread::addRegionToThread):
(WebCore::RenderNamedFlowThread::checkInvalidRegions):

  • rendering/RenderNamedFlowThread.h:
  • rendering/RenderRegion.cpp:

(WebCore::RenderRegion::overflowRectForFlowThreadPortion):
(WebCore::RenderRegion::isFirstRegion):
(WebCore::RenderRegion::isLastRegion):
(WebCore::RenderRegion::paintObject):
(WebCore::RenderRegion::nodeAtPoint):
(WebCore::RenderRegion::incrementAutoLogicalHeightCount):
(WebCore::RenderRegion::decrementAutoLogicalHeightCount):
(WebCore::RenderRegion::layoutBlock):
(WebCore::RenderRegion::repaintFlowThreadContentRectangle):
(WebCore::RenderRegion::attachRegion):
(WebCore::RenderRegion::renderBoxRegionInfo):
(WebCore::RenderRegion::setRenderBoxRegionInfo):
(WebCore::RenderRegion::logicalTopOfFlowThreadContentRect):
(WebCore::RenderRegion::logicalBottomOfFlowThreadContentRect):
(WebCore::RenderRegion::computePreferredLogicalWidths):

1:25 AM Changeset in webkit [147081] by commit-queue@webkit.org
  • 3 edits in trunk/Tools

[CMAKE] Build fix after r147052. Add WebKit2/Shared/Plugins to include path
https://bugs.webkit.org/show_bug.cgi?id=113484

Unreviewed build fix.

Add "WebKit2/Shared/Plugins" to include path for TestWebKitAPI, WebKitTestRunner.

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2013-03-28

  • TestWebKitAPI/CMakeLists.txt:
  • WebKitTestRunner/CMakeLists.txt:
1:09 AM Changeset in webkit [147080] by shinyak@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Unreviewed gardening. Test Expectations update.

  • platform/chromium/TestExpectations:
12:51 AM Changeset in webkit [147079] by zandobersek@gmail.com
  • 2 edits in trunk/Source/JavaScriptCore

Unreviewed build fix for the EFL and GTK ports.

  • runtime/CodeCache.cpp:

(JSC::CodeCacheMap::pruneSlowCase): Pass a 0 casted to the int64_t type instead of 0LL
to the std::max call so the arguments' types match.

12:44 AM Changeset in webkit [147078] by Lucas Forschler
  • 2 edits in tags/Safari-537.35.2/Source/WebKit2

Merged r147049. <rdar://problem/13522909>

12:42 AM Changeset in webkit [147077] by Lucas Forschler
  • 27 edits
    7 copies in tags/Safari-537.35.2

Merged r147039. <rdar://problem/13383835>

12:40 AM Changeset in webkit [147076] by loislo@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: Timeline. Refresh is slow when user drags the overview window.
https://bugs.webkit.org/show_bug.cgi?id=113371

Reviewed by Pavel Feldman.

The root of problem is the 300ms delay in scheduleRefresh method.
It was introduced for the case when we add a huge number of records per second.
The scheduleRefresh was written such a way that refresh happened immediately
only for the scrolling operations. Actually we would like to see fast
refresh every time when it is forced by an user action.

In this patch additional flag newRecordWasAdded was added to the
_invalidateAndScheduleRefresh. I made it mandatory because the function
is also used as a callback for an event and it is easy to make a mistake and
interpret the event as the flag.

  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelinePanel.prototype._onCategoryCheckboxClicked):
(WebInspector.TimelinePanel.prototype._durationFilterChanged):
(WebInspector.TimelinePanel.prototype._repopulateRecords):
(WebInspector.TimelinePanel.prototype._onTimelineEventRecorded):
(WebInspector.TimelinePanel.prototype._onRecordsCleared):
(WebInspector.TimelinePanel.prototype._invalidateAndScheduleRefresh):
(WebInspector.TimelinePanel.prototype._scheduleRefresh):
(WebInspector.TimelinePanel.prototype._revealRecord):
(WebInspector.TimelinePanel.prototype._refreshRecords):
(WebInspector.TimelinePanel.prototype.performFilter):

12:29 AM Changeset in webkit [147075] by Lucas Forschler
  • 14 edits in tags/Safari-537.35.2

Merged r146956. <rdar://problem/13032692>

12:08 AM Changeset in webkit [147074] by Lucas Forschler
  • 24 edits
    3 copies in tags/Safari-537.35.2/Source

Merged r146929. <rdar://problem/13194263>

12:05 AM Changeset in webkit [147073] by shinyak@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Unreviewed gardening. Test Expectations update.

  • platform/chromium/TestExpectations:

Mar 27, 2013:

11:48 PM Changeset in webkit [147072] by Lucas Forschler
  • 2 edits in tags/Safari-537.35.2/Source/WebKit2

Merged r146928. <rdar://problem/13492038>

11:44 PM Changeset in webkit [147071] by shinyak@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Unreviewed gardening. Test Expectations update.

  • platform/chromium/TestExpectations:

compositing/rtl tests are failing also on Linux Debug.

11:39 PM Changeset in webkit [147070] by keishi@webkit.org
  • 3 edits
    2 adds in trunk

Dragging to edge should always snap to min/max.
https://bugs.webkit.org/show_bug.cgi?id=113477

Reviewed by Kent Tamura.

Source/WebCore:

Dragging to the edge of a slider should always snap to the min/max.

Test: fast/forms/range/range-slow-drag-to-edge.html

  • html/shadow/SliderThumbElement.cpp:

(WebCore::SliderThumbElement::setPositionFromPoint):

LayoutTests:

  • fast/forms/range/range-slow-drag-to-edge-expected.txt: Added.
  • fast/forms/range/range-slow-drag-to-edge.html: Added.
11:33 PM Changeset in webkit [147069] by Lucas Forschler
  • 3 edits in tags/Safari-537.35.2/Source/WebKit2

Merged r146913. <rdar://problem/13492038>

11:32 PM Changeset in webkit [147068] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

Unreviewed Qt build fix after http://trac.webkit.org/changeset/147067.

  • WebProcess/WebPage/WebPage.cpp:
11:24 PM Changeset in webkit [147067] by timothy_horton@apple.com
  • 5 edits in trunk/Source/WebKit2

PDFPlugin: Enable PDFPlugin only if its dependencies exist on the system
https://bugs.webkit.org/show_bug.cgi?id=113372
<rdar://problem/12685301>

Reviewed by Alexey Proskuryakov.

  • Shared/mac/PDFKitImports.h: Wrap in #if PLATFORM(MAC).
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::createPlugin): Use shouldUsePDFPlugin.
(WebKit::WebPage::shouldUsePDFPlugin): If the PDFPlugin setting is enabled but PDFLayerController is not available, don't use PDFPlugin.

  • WebProcess/WebPage/WebPage.h:

(WebPage): Add shouldUsePDFPlugin

  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::platformPreferencesDidChange): Use shouldUsePDFPlugin.

11:13 PM Changeset in webkit [147066] by Lucas Forschler
  • 7 edits
    5 copies in tags/Safari-537.35.2/Source/WebCore

Merged r146667. <rdar://problem/13194263>

11:10 PM Changeset in webkit [147065] by Lucas Forschler
  • 5 edits
    3 copies in tags/Safari-537.35.2

Merged r146626. <rdar://problem/13462658>

11:06 PM Changeset in webkit [147064] by Lucas Forschler
  • 8 edits in tags/Safari-537.35.2/Source

Merged r146536. <rdar://problem/13194263>

10:57 PM Changeset in webkit [147063] by Lucas Forschler
  • 2 edits in tags/Safari-537.35.2/Source/WebKit2

Merged r146513. <rdar://problem/13194263>

10:54 PM Changeset in webkit [147062] by Lucas Forschler
  • 11 edits
    1 copy in tags/Safari-537.35.2/Source/WebCore

Merged r146508. <rdar://problem/13194263>

10:51 PM Changeset in webkit [147061] by Lucas Forschler
  • 2 edits in tags/Safari-537.35.2/Source/WebCore

Merged r146488. <rdar://problem/13194263>

10:24 PM Changeset in webkit [147060] by Lucas Forschler
  • 4 edits in tags/Safari-537.35.2/Source

Versioning.

10:21 PM Changeset in webkit [147059] by Lucas Forschler
  • 1 copy in tags/Safari-537.35.2

New Tag.

10:18 PM Changeset in webkit [147058] by Simon Fraser
  • 7 edits in trunk/Source/WebCore

Add a way to update GraphicsLayerCA visibleRects without having to do a flush
https://bugs.webkit.org/show_bug.cgi?id=113459

Reviewed by Tim Horton.

Some platforms need to update TiledBacking visible rects from
outside of WebKit, for example if they use delegated scrolling.
They want to avoid forcing layout to be up-to-date when doing this.

Currently, updating the visibleRect happens when the GraphicsLayerCA
layer are being flushed, but that makes some assumptions about
layout being up-to-date.

To fix this, add a light-weight pass over the layer tree that
uses TransformState to compute the visibleRect for each
layer, and only if the visibleRect would cause a change in the
tiles in a TiledBacking trigger a layer flush.

  • platform/graphics/GraphicsLayer.h:

(WebCore::GraphicsLayer::recomputeVisibleRects):

  • platform/graphics/TiledBacking.h:
  • platform/graphics/ca/GraphicsLayerCA.cpp:

(WebCore::GraphicsLayerCA::recursiveComputeVisibleRect):
(WebCore::GraphicsLayerCA::recomputeVisibleRects):
(WebCore::GraphicsLayerCA::computeVisibleRect):

  • platform/graphics/ca/GraphicsLayerCA.h:
  • platform/graphics/ca/mac/TileController.h:
  • platform/graphics/ca/mac/TileController.mm:

(WebCore::TileController::tilesWouldChangeForVisibleRect):
(WebCore::TileController::computeTileCoverageRect):
(WebCore::TileController::revalidateTiles):

10:04 PM Changeset in webkit [147057] by pdr@google.com
  • 10 edits in trunk/Source/WebCore

Rename toScriptElement -> toScriptElementIfPossible
https://bugs.webkit.org/show_bug.cgi?id=113473

Reviewed by Ryosuke Niwa.

Rename ScriptElement::toScriptElement to ScriptElement::toScriptElementIfPossible to
differentiate this function from other to*Element functions, and to better describe the
function's behavior. Other to*Element functions do not return null if the cast fails,
whereas toScriptElementIfPossible does.

No new tests as this is just a refactoring.

  • dom/ScriptElement.cpp:

(WebCore::toScriptElementIfPossible):

  • dom/ScriptElement.h:

(WebCore):

  • dom/ScriptRunner.cpp:

(WebCore::ScriptRunner::timerFired):

This is the only unchecked return value but there isn't a security issue here.

  • html/HTMLOptionElement.cpp:

(WebCore::HTMLOptionElement::collectOptionInnerText):

  • html/parser/HTMLConstructionSite.cpp:

(WebCore::HTMLConstructionSite::attachLater):
(WebCore::HTMLConstructionSite::insertForeignElement):

  • html/parser/HTMLScriptRunner.cpp:

(WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent):
(WebCore::HTMLScriptRunner::requestPendingScript):
(WebCore::HTMLScriptRunner::runScript):

  • xml/parser/XMLDocumentParser.cpp:

(WebCore::XMLDocumentParser::notifyFinished):

  • xml/parser/XMLDocumentParserLibxml2.cpp:

(WebCore::XMLDocumentParser::startElementNs):
(WebCore::XMLDocumentParser::endElementNs):

  • xml/parser/XMLDocumentParserQt.cpp:

(WebCore::XMLDocumentParser::parseStartElement):
(WebCore::XMLDocumentParser::parseEndElement):

9:06 PM Changeset in webkit [147056] by shinyak@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Unreviewed gardening. Test Expectations update.

http/tests/cache/subresource-failover-to-network.html is failing.

  • platform/chromium/TestExpectations:
8:58 PM Changeset in webkit [147055] by ggaren@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

2013-03-27 Geoffrey Garen <ggaren@apple.com>

Unreviewed build fix: Removed a dead field.

Pointed out by Mark Lam.

  • dfg/DFGByteCodeParser.cpp: (JSC::DFG::ByteCodeParser::ByteCodeParser): (ByteCodeParser):
8:54 PM Changeset in webkit [147054] by ggaren@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

2013-03-27 Geoffrey Garen <ggaren@apple.com>

Unreviewed build fix: Removed a dead field.

  • dfg/DFGByteCodeParser.cpp: (JSC::DFG::ByteCodeParser::ByteCodeParser): (ByteCodeParser):
8:41 PM Changeset in webkit [147053] by ggaren@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

Removed some dead code in the DFG bytecode parser
https://bugs.webkit.org/show_bug.cgi?id=113472

Reviewed by Sam Weinig.

Now that Phi creation and liveness analysis are separate passes, we can
remove the vestiges of code that used to do that in the bytecode
parser.

  • dfg/DFGByteCodeParser.cpp:

(ByteCodeParser):
(JSC::DFG::ByteCodeParser::addToGraph):
(JSC::DFG::ByteCodeParser::parse):

8:38 PM Changeset in webkit [147052] by weinig@apple.com
  • 8 edits in trunk/Source/WebKit2

[WebKit2] Need SPI to determine whether a plug-in is blocked
https://bugs.webkit.org/show_bug.cgi?id=113463

Reviewed by Anders Carlsson.

Add new SPI, WKContextCopyPlugInInfoForBundleIdetifier, to get data about a plug-in,
including whether it is blocked by x-protect.

  • UIProcess/WebLoaderClient.cpp:
  • UIProcess/API/C/WKAPICast.h:

(WebKit::toWKPluginLoadPolicy):
(WebKit::toPluginModuleLoadPolicy):
Move to a shared location.

  • UIProcess/API/C/mac/WKContextPrivateMac.h:
  • UIProcess/API/C/mac/WKContextPrivateMac.mm:

(WKContextIsPlugInUpdateAvailable):
(WKPlugInInfoPathKey):
(WKPlugInInfoBundleIdentifierKey):
(WKPlugInInfoVersionKey):
(WKPlugInInfoLoadPolicyKey):
(WKPlugInInfoUpdatePastLastBlockedVersionIsKnownAvailableKey):
(WKContextCopyPlugInInfoForBundleIdetifier):
Add new SPI and dictionary keys.

  • UIProcess/Plugins/PluginInfoStore.cpp:

(WebKit::PluginInfoStore::findPluginWithBundleIdentifer):

  • UIProcess/Plugins/PluginInfoStore.h:
  • UIProcess/Plugins/mac/PluginInfoStoreMac.mm:

(WebKit::PluginInfoStore::findPluginWithBundleIdentifer):
Add function to lookup plug-ins by bundle identifier.

8:32 PM Changeset in webkit [147051] by shinyak@chromium.org
  • 2 edits in trunk/LayoutTests

[Chromium] Unreviewed gardening. Test Expectations update.

  • platform/chromium/TestExpectations:
8:24 PM Changeset in webkit [147050] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

Debug test fix after r147018.

toElement() asserts. What we want here is isElementNode().

  • html/parser/HTMLConstructionSite.cpp:

(WebCore::HTMLConstructionSite::attachLater):

8:24 PM Changeset in webkit [147049] by Beth Dakin
  • 2 edits in trunk/Source/WebKit2

WKBundlePagePrivateMac.h is not being exported
https://bugs.webkit.org/show_bug.cgi?id=113470
-and corresponding-
<rdar://problem/13522909>

Reviewed by Sam Weinig.

Mark it as private instead of project.

  • WebKit2.xcodeproj/project.pbxproj:
8:04 PM Changeset in webkit [147048] by noel.gordon@gmail.com
  • 10 edits
    15 adds in trunk

Add webp image color profile support
https://bugs.webkit.org/show_bug.cgi?id=113184

Reviewed by Eric Seidel.

Source/WebCore:

Requires libwebp version 0.3.0 (decoder ABI version 0x201). For images
with an ICC color profile chunk, poll the incremental decoder for the
current decoded height with the WebPIDecGetRGB() API and color correct
any newly decoded rows in-situ in the frame buffer.

Note: the ICC chunk appears before the encoded image frame in the webp
encoding (RIFF container) format. When the incremental decoder outputs
decoded pixels, enough encoded data has arrived to read the entire ICC
color profile data chunk.

Tests: fast/images/webp-color-profile-lossless.html

fast/images/webp-color-profile-lossy-alpha.html
fast/images/webp-color-profile-lossy.html

  • platform/image-decoders/webp/WEBPImageDecoder.cpp:

(WebCore::WEBPImageDecoder::WEBPImageDecoder):
(WebCore::WEBPImageDecoder::~WEBPImageDecoder): Call clear().
(WebCore):
(WebCore::WEBPImageDecoder::clear):
Added. Helper to clean up the webp decoder and color transform members.
(WebCore::WEBPImageDecoder::createColorTransform):
Create m_transform using the supplied profile memory data. Note that
the |deviceProfile| is not owned, but the |inputProfile| temporary is
so release it here with qcms_release_profile().
(WebCore::WEBPImageDecoder::readColorProfile):
Called once only when the decoder begins to output decoded rows of an
image containing an ICC chunk, to read the ICC color profile data from
the encoded data stream, verify it, and use it to create m_transform.
(WebCore::WEBPImageDecoder::applyColorProfile):
Since there is no row callback in libwebp, poll for the decoded height
of the image so far. If new rows are decoded, color correct the pixels
of those new rows and re-write them back into the frame buffer using
buffer.setRGBA() to 1) alpha pre-multiply the pixels if needed, and 2)
shuffle the pixel bytes into the platform's RGBA pixel endian-ness.
(WebCore::WEBPImageDecoder::decode):
If the container format indicates the image has an ICC color profile,
decode the image to RGBA format for subsequent input to the QCMS color
correction library in applyColorProfile().

  • platform/image-decoders/webp/WEBPImageDecoder.h:

(WEBPImageDecoder):
(WebCore::WEBPImageDecoder::colorTransform): m_transform getter.

LayoutTests:

  • fast/images/resources/webp-color-profile-lossless.webp: Added.
  • fast/images/resources/webp-color-profile-lossy-alpha.webp: Added.
  • fast/images/resources/webp-color-profile-lossy.webp: Added.
  • fast/images/webp-color-profile-lossless-expected.txt: Added.
  • fast/images/webp-color-profile-lossless.html: Added.
  • fast/images/webp-color-profile-lossy-alpha-expected.txt: Added.
  • fast/images/webp-color-profile-lossy-alpha.html: Added.
  • fast/images/webp-color-profile-lossy-expected.txt: Added.
  • fast/images/webp-color-profile-lossy.html: Added.
  • platform/chromium-mac/fast/images/webp-color-profile-lossless-expected.png: Added.
  • platform/chromium-mac/fast/images/webp-color-profile-lossy-alpha-expected.png: Added.
  • platform/chromium-mac/fast/images/webp-color-profile-lossy-expected.png: Added.
  • platform/chromium-win/fast/images/webp-color-profile-lossless-expected.png: Added.
  • platform/chromium-win/fast/images/webp-color-profile-lossy-alpha-expected.png: Added.
  • platform/chromium-win/fast/images/webp-color-profile-lossy-expected.png: Added.
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/qt/TestExpectations:
  • platform/win/TestExpectations:
  • platform/wincairo/TestExpectations:
7:47 PM Changeset in webkit [147047] by fpizlo@apple.com
  • 5 edits
    6 adds in trunk

JIT and DFG should NaN-check loads from Float32 arrays
https://bugs.webkit.org/show_bug.cgi?id=113462
<rdar://problem/13490804>

Reviewed by Mark Hahnenberg.

Source/JavaScriptCore:

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compileGetByValOnFloatTypedArray):

  • jit/JITPropertyAccess.cpp:

(JSC::JIT::emitFloatTypedArrayGetByVal):

LayoutTests:

  • fast/js/dfg-float32-array-nan-expected.txt: Added.
  • fast/js/dfg-float32-array-nan.html: Added.
  • fast/js/jit-float32-array-nan-expected.txt: Added.
  • fast/js/jit-float32-array-nan.html: Added.
  • fast/js/jsc-test-list:
  • fast/js/script-tests/dfg-float32-array-nan.js: Added.

(foo):

  • fast/js/script-tests/jit-float32-array-nan.js: Added.
7:19 PM Changeset in webkit [147046] by mark.lam@apple.com
  • 4 edits in trunk/Source/WebKit

Rolling out r147044.
https://bugs.webkit.org/show_bug.cgi?id=113352.

Not Reviewed.

Source/WebKit:

  • WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/win:

  • WebKit.vcproj/WebKitExports.def.in:
7:17 PM Changeset in webkit [147045] by keishi@webkit.org
  • 4 edits in trunk/Source/WebKit/chromium

[Chromium] Enable touch events in PagePopup
https://bugs.webkit.org/show_bug.cgi?id=113380

We want to use touch events inside the calendar picker. This patch adds
PagePopupChromeClient::needTouchEvents() and moved hasTouchEventHandlers()
from WebViewClient to WebWidgetClient.

Reviewed by Kent Tamura.

  • public/WebViewClient.h:
  • public/WebWidgetClient.h:

(WebWidgetClient):
(WebKit::WebWidgetClient::hasTouchEventHandlers): Moved from WebViewClient.

  • src/WebPagePopupImpl.cpp:

(WebKit):

6:55 PM Changeset in webkit [147044] by mark.lam@apple.com
  • 4 edits in trunk/Source/WebKit

Greening the Apple Win bot (debug build).
https://bugs.webkit.org/show_bug.cgi?id=113352.

Not Reviewed.

Source/WebKit:

  • WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/win:

  • WebKit.vcproj/WebKitExports.def.in:
6:40 PM Changeset in webkit [147043] by mark.lam@apple.com
  • 4 edits in trunk/Source/WebKit

Greening the Apple Win bot.
https://bugs.webkit.org/show_bug.cgi?id=113352.

Not Reviewed.

Source/WebKit:

  • WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/win:

  • WebKit.vcproj/WebKitExports.def.in:
6:35 PM Changeset in webkit [147042] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Refactor validation checks for texture uploads
https://bugs.webkit.org/show_bug.cgi?id=111012

Patch by Jun Jiang <jun.a.jiang@intel.com> on 2013-03-27
Reviewed by Kenneth Russell.

Move the validation checks to the entry level of tex{Sub}Image2D, return early for invalid parameters and avoid duplicated checks.
Moreover, turn all the validation checks at the bottom level - tex{Sub}Image2DBase into assertions.

Already covered by current tests.

  • html/canvas/WebGLRenderingContext.cpp:

(WebCore::WebGLRenderingContext::copyTexSubImage2D):
(WebCore::WebGLRenderingContext::texImage2DBase):
(WebCore::WebGLRenderingContext::texImage2DImpl):
(WebCore::WebGLRenderingContext::validateTexFunc): A helper function for tex{Sub}Image2D to check input parameters.
(WebCore::WebGLRenderingContext::texImage2D):
(WebCore::WebGLRenderingContext::texSubImage2DBase):
(WebCore::WebGLRenderingContext::texSubImage2DImpl):
(WebCore::WebGLRenderingContext::texSubImage2D):
(WebCore::WebGLRenderingContext::validateHTMLImageElement):
(WebCore::WebGLRenderingContext::validateHTMLCanvasElement):
(WebCore::WebGLRenderingContext::validateHTMLVideoElement):

  • html/canvas/WebGLRenderingContext.h:
6:11 PM Changeset in webkit [147041] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

remove parentsOnly variable in codeGenerator.pm
https://bugs.webkit.org/show_bug.cgi?id=113457

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-03-27
Reviewed by Kentaro Hara.

Remove unused variable parentsOnly.

No new tests: no change in behaviour.

  • bindings/scripts/CodeGenerator.pm:

(ForAllParents):
(AddMethodsConstantsAndAttributesFromParentInterfaces):
(ParseInterface):
(InheritsInterface):
(InheritsExtendedAttribute):

  • bindings/scripts/CodeGeneratorV8.pm:

(BaseInterfaceName):

5:47 PM Changeset in webkit [147040] by Patrick Gansterer
  • 4 edits in trunk

Set WTF_ARM_ARCH_VERSION to correct value when used with MSVC
https://bugs.webkit.org/show_bug.cgi?id=113436

Reviewed by Benjamin Poulain.

.:

  • Source/cmake/OptionsWinCE.cmake: CPU(ARM_TRADITIONAL) is now set correctly by Platform.h.

Source/WTF:

The Microsoft compiler defines _M_ARM with used ARM version.

  • wtf/Platform.h:
5:42 PM Changeset in webkit [147039] by Beth Dakin
  • 27 edits
    7 adds in trunk

Need WK2 API to give a WebView a header and footer
https://bugs.webkit.org/show_bug.cgi?id=113352
-and corresponding-
<rdar://problem/13383835>

Reviewed by Simon Fraser.

Source/WebCore:

This API will require RenderLayerCompositor to keep layers for the header and
footer when the exist. It also requires the scrolling machinery to know that the
size of the scrollable area will differ from the contentsSize when there is a
header or footer.

setWantsLayerForHeader() and setWantsLayerForFooter() return GraphicsLayers to
WK2. setHeaderHeight() and setFooterHeight() set the header and footer heights
respectively.

  • WebCore.exp.in:
  • page/FrameView.h:

(FrameView):

  • page/FrameView.cpp:

(WebCore::FrameView::FrameView):
(WebCore::FrameView::setWantsLayerForHeader):
(WebCore::FrameView::setWantsLayerForFooter):
(WebCore::FrameView::setHeaderHeight):
(WebCore::FrameView::setFooterHeight):

Should use totalContentsSize() instead of contentsSize().
(WebCore::FrameView::windowClipRect):
(WebCore::FrameView::isScrollable):

  • page/SpatialNavigation.cpp:

(WebCore::canScrollInDirection):

This should also use totalContentsSize() instead of contentsSize(), and while
we're at it, re-name the variable and function names in the scrolling tree code
from contentsSize to totalContentsSize.

  • page/scrolling/ScrollingStateScrollingNode.cpp:

(WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode):
(WebCore::ScrollingStateScrollingNode::setTotalContentsSize):
(WebCore::ScrollingStateScrollingNode::dumpProperties):

  • page/scrolling/ScrollingStateScrollingNode.h:

(WebCore::ScrollingStateScrollingNode::totalContentsSize):
(ScrollingStateScrollingNode):

  • page/scrolling/ScrollingTreeScrollingNode.cpp:

(WebCore::ScrollingTreeScrollingNode::updateBeforeChildren):

  • page/scrolling/ScrollingTreeScrollingNode.h:

(WebCore::ScrollingTreeScrollingNode::totalContentsSize):
(ScrollingTreeScrollingNode):

  • page/scrolling/mac/ScrollingCoordinatorMac.h:

(ScrollParameters):

  • page/scrolling/mac/ScrollingCoordinatorMac.mm:

(WebCore::ScrollingCoordinatorMac::frameViewLayoutUpdated):
(WebCore::ScrollingCoordinatorMac::setScrollParametersForNode):

  • page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:

(WebCore::ScrollingTreeScrollingNodeMac::updateAfterChildren):
(WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):
(WebCore::ScrollingTreeScrollingNodeMac::maximumScrollPosition):

Use totalContentsSize() instead of contentsSize().

  • platform/ScrollView.cpp:

(WebCore::ScrollView::maximumScrollPosition):
(WebCore::ScrollView::setScrollOffset):
(WebCore::ScrollView::overhangAmount):
(WebCore::ScrollView::updateScrollbars):
(WebCore::ScrollView::calculateOverhangAreasForPainting):

scrollOffset() represents the offset within the totalContentsSize, but that is
not what we need here. So subtract out the headerHeight() for the appropriate
value.
(WebCore::ScrollView::windowToContents):
(WebCore::ScrollView::contentsToWindow):

Use totalContentsSize() instead of contentsSize().

  • platform/ScrollableArea.cpp:

(WebCore::ScrollableArea::maximumScrollPosition):
(WebCore):
(WebCore::ScrollableArea::totalContentsSize):

  • platform/ScrollableArea.h:

(WebCore::ScrollableArea::headerHeight):
(WebCore::ScrollableArea::footerHeight):
(ScrollableArea):

  • platform/mac/ScrollAnimatorMac.mm:

(WebCore::ScrollAnimatorMac::adjustScrollPositionIfNecessary):
(WebCore::ScrollAnimatorMac::pinnedInDirection):

  • platform/mac/ThemeMac.mm:

(WebCore::ThemeMac::ensuredView):

The rootContentLayer needs to be offset by the headerHeight().

  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::updateRootLayerPosition):

New member variables m_layerForHeader and m_layerForFooter. This code properly
creates and manages them.
(WebCore::RenderLayerCompositor::updateLayerForBottomOverhangArea):
(WebCore::RenderLayerCompositor::updateLayerForHeader):
(WebCore):
(WebCore::RenderLayerCompositor::updateLayerForFooter):
(WebCore::RenderLayerCompositor::computeFixedViewportConstraints):
(WebCore::RenderLayerCompositor::reportMemoryUsage):

  • rendering/RenderLayerCompositor.h:

(RenderLayerCompositor):

Test infrastructure.

  • testing/Internals.cpp:

(WebCore::Internals::resetToConsistentState):
(WebCore::Internals::setHeaderHeight):
(WebCore):
(WebCore::Internals::setFooterHeight):

  • testing/Internals.h:
  • testing/Internals.idl:

Source/WebKit2:

New API allows setting and getting layers for a header and footer.

  • WebKit2.xcodeproj/project.pbxproj:
  • WebProcess/InjectedBundle/API/c/mac: Added.
  • WebProcess/InjectedBundle/API/c/mac/WKBundlePagePrivateMac.h: Added.
  • WebProcess/InjectedBundle/API/c/mac/WKBundlePagePrivateMac.mm: Added.

(WKBundlePageGetHeaderLayer):
(WKBundlePageSetHeaderLayer):
(WKBundlePageGetFooterLayer):
(WKBundlePageSetFooterLayer):

  • WebProcess/WebPage/WebPage.h:

(WebPage):

  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::setTopOverhangImage):
(WebKit::WebPage::setBottomOverhangImage):
(WebKit):
(WebKit::WebPage::getHeaderLayer):
(WebKit::WebPage::setHeaderLayerWithHeight):
(WebKit::WebPage::getFooterLayer):
(WebKit::WebPage::setFooterLayerWithHeight):

LayoutTests:

  • platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-expected.txt: Added.
  • platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-with-page-scale-expected.txt: Added.
  • platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-with-page-scale.html: Added.
  • platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing.html: Added.
5:41 PM Changeset in webkit [147038] by commit-queue@webkit.org
  • 8 edits
    2 adds in trunk

javascriptcore bindings do not check exception after calling valueToStringWithNullCheck
https://bugs.webkit.org/show_bug.cgi?id=113219

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-03-27
Reviewed by Kentaro Hara.

Source/WebCore:

When converting JSValue to native value in attribute setter, store the
native value in a temporary variable. After this variable assignment,
always check if an exception has been raised.

Update binding tests.

Test: fast/dom/exception-in-binding.html

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateImplementation):
(GetNativeType):
(JSValueToNative):

  • bindings/scripts/test/JS/JSTestInterface.cpp:

(WebCore::setJSTestInterfaceConstructorSupplementalStaticAttr):
(WebCore::setJSTestInterfaceSupplementalStr2):
(WebCore::setJSTestInterfaceSupplementalNode):

  • bindings/scripts/test/JS/JSTestObj.cpp:

(WebCore::setJSTestObjConstructorStaticStringAttr):
(WebCore::setJSTestObjEnumAttr):
(WebCore::setJSTestObjShortAttr):
(WebCore::setJSTestObjUnsignedShortAttr):
(WebCore::setJSTestObjLongAttr):
(WebCore::setJSTestObjLongLongAttr):
(WebCore::setJSTestObjUnsignedLongLongAttr):
(WebCore::setJSTestObjStringAttr):
(WebCore::setJSTestObjTestObjAttr):
(WebCore::setJSTestObjXMLObjAttr):
(WebCore::setJSTestObjCreate):
(WebCore::setJSTestObjReflectedStringAttr):
(WebCore::setJSTestObjReflectedIntegralAttr):
(WebCore::setJSTestObjReflectedUnsignedIntegralAttr):
(WebCore::setJSTestObjReflectedBooleanAttr):
(WebCore::setJSTestObjReflectedURLAttr):
(WebCore::setJSTestObjReflectedCustomIntegralAttr):
(WebCore::setJSTestObjReflectedCustomBooleanAttr):
(WebCore::setJSTestObjReflectedCustomURLAttr):
(WebCore::setJSTestObjTypedArrayAttr):
(WebCore::setJSTestObjAttrWithGetterException):
(WebCore::setJSTestObjAttrWithSetterException):
(WebCore::setJSTestObjStringAttrWithGetterException):
(WebCore::setJSTestObjStringAttrWithSetterException):
(WebCore::setJSTestObjWithScriptStateAttribute):
(WebCore::setJSTestObjWithScriptExecutionContextAttribute):
(WebCore::setJSTestObjWithScriptStateAttributeRaises):
(WebCore::setJSTestObjWithScriptExecutionContextAttributeRaises):
(WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateAttribute):
(WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises):
(WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute):
(WebCore::setJSTestObjWithScriptArgumentsAndCallStackAttribute):
(WebCore::setJSTestObjConditionalAttr1):
(WebCore::setJSTestObjConditionalAttr2):
(WebCore::setJSTestObjConditionalAttr3):
(WebCore::setJSTestObjAnyAttribute):
(WebCore::setJSTestObjMutablePoint):
(WebCore::setJSTestObjImmutablePoint):
(WebCore::setJSTestObjStrawberry):
(WebCore::setJSTestObjStrictFloat):
(WebCore::setJSTestObjId):
(WebCore::setJSTestObjNullableLongSettableAttribute):
(WebCore::setJSTestObjNullableStringValue):

  • bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:

(WebCore::setJSTestSerializedScriptValueInterfaceValue):
(WebCore::setJSTestSerializedScriptValueInterfaceCachedValue):

  • bindings/scripts/test/JS/JSTestTypedefs.cpp:

(WebCore::setJSTestTypedefsUnsignedLongLongAttr):
(WebCore::setJSTestTypedefsImmutableSerializedScriptValue):
(WebCore::setJSTestTypedefsAttrWithGetterException):
(WebCore::setJSTestTypedefsAttrWithSetterException):
(WebCore::setJSTestTypedefsStringAttrWithGetterException):
(WebCore::setJSTestTypedefsStringAttrWithSetterException):

LayoutTests:

  • fast/dom/exception-in-binding-expected.txt: Added.
  • fast/dom/exception-in-binding.html: Added.
  • platform/chromium/TestExpectations: new test fails for now
5:39 PM Changeset in webkit [147037] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

cache parsed interfaces in CodeGenerator.pm
https://bugs.webkit.org/show_bug.cgi?id=113446

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-03-27
Reviewed by Kentaro Hara.

When generating binding for an interface, informations about parent
interfaces are sometimes needed several times. This patch caches
those the parsed interface. When generating all WebCore bindings, this
results in a speedup of about 40% for JavaScriptCore and about 80% for
V8.

No new tests: no change in behaviour.

  • bindings/scripts/CodeGenerator.pm:

(ParseInterface):

5:33 PM Changeset in webkit [147036] by Claudio Saavedra
  • 54 edits in trunk/LayoutTests

Explicitly set editingBehavior in some tests.
https://bugs.webkit.org/show_bug.cgi?id=113383

Reviewed by Ryosuke Niwa.

These tests make assumptions on how word selection works.
Actually, word selection will work differently depending on the
editingBehavior in place, see bug 110487, so the only way to
ensure the following tests will do word selection as expected is
to use Mac editing behavior.

  • editing/deleting/delete-by-word-001.html: Call setEditingBehavior("mac").
  • editing/deleting/list-item-1.html: ditto.
  • editing/deleting/non-smart-delete.html: ditto.
  • editing/deleting/smart-delete-002.html: ditto.
  • editing/deleting/smart-delete-across-editable-boundaries.html: ditto.
  • editing/execCommand/hilitecolor.html: ditto.
  • editing/execCommand/remove-formatting-2.html: ditto.
  • editing/inserting/4960120-2.html: ditto.
  • editing/inserting/insert-paragraph-02.html: ditto. ditto.
  • editing/inserting/insert-paragraph-03.html: ditto.
  • editing/inserting/insert-paragraph-04.html: ditto.
  • editing/inserting/paragraph-outside-nested-divs.html: ditto.
  • editing/inserting/paragraph-separator-01.html: ditto.
  • editing/inserting/paragraph-separator-02.html: ditto.
  • editing/inserting/paragraph-separator-03.html: ditto.
  • editing/pasteboard/4242293-1.html: ditto.
  • editing/pasteboard/4806874.html: ditto.
  • editing/pasteboard/5006779.html: ditto.
  • editing/pasteboard/8145-2.html: ditto.
  • editing/pasteboard/bad-placeholder.html: ditto.
  • editing/pasteboard/copy-text-with-backgroundcolor.html: ditto.
  • editing/pasteboard/drag-drop-modifies-page.html: ditto.
  • editing/pasteboard/get-data-text-plain-drop.html: ditto.
  • editing/pasteboard/insert-div-text-into-text.html: ditto.
  • editing/pasteboard/merge-end-3.html: ditto.
  • editing/pasteboard/merge-end-5.html: ditto.
  • editing/pasteboard/merge-end-borders.html: ditto.
  • editing/pasteboard/paste-blockquote-3.html: ditto.
  • editing/pasteboard/paste-list-004.html: ditto.
  • editing/pasteboard/pasting-object.html: ditto.
  • editing/selection/4932260-2.html: ditto.
  • editing/selection/extend-by-word-002.html: ditto.
  • editing/selection/extend-forward-by-word-over-non-editable.html: ditto.
  • editing/selection/transformed-selection-rects.html: ditto.
  • editing/style/5046875-1.html: ditto.
  • editing/style/5046875-2.html: ditto.
  • editing/style/fore-color-by-name.html: ditto.
  • editing/style/relative-font-size-change-002.html: ditto.
  • editing/style/relative-font-size-change-003.html: ditto.
  • editing/style/relative-font-size-change-004.html: ditto.
  • editing/style/style-boundary-005.html: ditto.
  • editing/text-iterator/first-letter-word-boundary.html: ditto.
  • editing/undo/undo-combined-delete-boundary.html: ditto.
  • editing/undo/undo-combined-delete.html: ditto.
  • editing/undo/undo-delete-boundary.html: ditto.
  • editing/undo/undo-delete.html: ditto.
  • editing/undo/undo-forward-delete-boundary.html: ditto.
  • editing/undo/undo-forward-delete.html: ditto.
  • fast/dom/34176.html: ditto.
  • platform/chromium-win/editing/deleting/non-smart-delete-expected.txt: Updated.
  • platform/efl/editing/deleting/non-smart-delete-expected.txt: Updated.
  • platform/gtk/editing/deleting/non-smart-delete-expected.txt: Updated.
  • platform/qt/editing/deleting/non-smart-delete-expected.txt: Updated.
5:29 PM Changeset in webkit [147035] by Claudio Saavedra
  • 1 edit
    20 moves in trunk/LayoutTests

Rename Editing tests whose expectations are Mac specific
https://bugs.webkit.org/show_bug.cgi?id=113414

Reviewed by Ryosuke Niwa.

These tests have expectations that assume that word selection
works always as in Mac and therefore will break when ran with
editingBehavior set, for instance, to Windows (see bug
110487). Rename them to have the suffix -mac and explicitly set
editingBehavior to Mac.

When the fix for 110487 lands, counterparts to these tests with
suffix -win, editingBehavior set to win, and updated expectations
will be added.

  • editing/deleting/smart-editing-disabled-mac-expected.txt:

Renamed from
LayoutTests/editing/deleting/smart-editing-disabled-expected.txt.

  • editing/deleting/smart-editing-disabled-mac.html: Renamed from

LayoutTests/editing/deleting/smart-editing-disabled.html.

  • editing/execCommand/remove-format-multiple-elements-mac-expected.txt:

Renamed from
LayoutTests/editing/execCommand/remove-format-multiple-elements-expected.txt.

  • editing/execCommand/remove-format-multiple-elements-mac.html:

Renamed from
LayoutTests/editing/execCommand/remove-format-multiple-elements.html.

  • editing/execCommand/script-tests/remove-format-multiple-elements-mac.js:

Renamed from
LayoutTests/editing/execCommand/script-tests/remove-format-multiple-elements.js.

  • editing/execCommand/script-tests/toggle-link-mac.js: Renamed

from LayoutTests/editing/execCommand/script-tests/toggle-link.js.

  • editing/execCommand/toggle-link-mac-expected.txt: Renamed from

LayoutTests/editing/execCommand/toggle-link-expected.txt.

  • editing/execCommand/toggle-link-mac.html: Renamed from

LayoutTests/editing/execCommand/toggle-link.html.

  • editing/style/make-text-writing-direction-inline-mac-expected.txt:

Renamed from
LayoutTests/editing/style/make-text-writing-direction-inline-expected.txt.

  • editing/style/make-text-writing-direction-inline-mac.html:

Renamed from
LayoutTests/editing/style/make-text-writing-direction-inline.html.

  • editing/style/push-down-font-styles-mac-expected.txt: Renamed

from LayoutTests/editing/style/push-down-font-styles-expected.txt.

  • editing/style/push-down-font-styles-mac.html: Renamed from

LayoutTests/editing/style/push-down-implicit-styles.html.

  • editing/style/push-down-implicit-styles-around-list-mac-expected.txt:

Renamed from
LayoutTests/editing/style/push-down-implicit-styles-around-list-expected.txt.

  • editing/style/push-down-implicit-styles-around-list-mac.html:

Renamed from
LayoutTests/editing/style/push-down-implicit-styles-around-list.html.

  • editing/style/push-down-implicit-styles-mac-expected.txt:

Renamed from
LayoutTests/editing/style/push-down-implicit-styles-expected.txt.

  • editing/style/push-down-implicit-styles-mac.html: Renamed from

LayoutTests/editing/style/push-down-font-styles.html.

  • editing/style/script-tests/make-text-writing-direction-inline-mac.js:

Renamed from
LayoutTests/editing/style/script-tests/make-text-writing-direction-inline.js.

  • editing/style/script-tests/push-down-font-styles-mac.js: Renamed

from
LayoutTests/editing/style/script-tests/push-down-font-styles.js.

  • editing/style/script-tests/push-down-implicit-styles-around-list-mac.js:

Renamed from
LayoutTests/editing/style/script-tests/push-down-implicit-styles-around-list.js.

  • editing/style/script-tests/push-down-implicit-styles-mac.js:

Renamed from
LayoutTests/editing/style/script-tests/push-down-implicit-styles.js.

5:25 PM Changeset in webkit [147034] by commit-queue@webkit.org
  • 9 edits
    2 adds in trunk

Add a settings to disallow initializing background-size if background shorthand doesn't include it.
https://bugs.webkit.org/show_bug.cgi?id=113363

Source/WebCore:

Patch by KyungTae Kim <ktf.kim@samsung.com> and Yongjun Zhang <yongjun_zhang@apple.com> on 2013-03-27
Reviewed by David Kilzer.

This is based on KyungTae Kim's patch in https://bugs.webkit.org/show_bug.cgi?id=97761. Many legacy sites set
background-size first and then set background for setting background-image. For backward-compatibility
in some WebKit based clients, if 'background' shorthand have no 'background-size' attribute, we could add
a settings to let the css parser not initialize 'background-size'.

Test: fast/backgrounds/background-shorthand-after-set-backgroundSize.html

  • css/CSSParser.cpp:

(WebCore::CSSParserContext::CSSParserContext): initialize useLegacyBackgroundSizeShorthandBehavior.
(WebCore::operator==):
(WebCore::CSSParser::useLegacyBackgroundSizeShorthandBehavior): add a method to return if we want background-size

to be initialized by background shorthand.

(WebCore):
(WebCore::CSSParser::parseFillShorthand): don't initialize background-size in background shorthand if we have

useLegacyBackgroundSizeShorthandBehavior set to true.

  • css/CSSParser.h:

(CSSParser):

  • css/CSSParserMode.h: add member useLegacyBackgroundSizeShorthandBehavior to CSSParserContext.

(CSSParserContext):

  • page/Settings.in: initialize useLegacyBackgroundSizeShorthandBehavior to false.
  • testing/InternalSettings.cpp:

(WebCore::InternalSettings::Backup::Backup): add the new settings useLegacyBackgroundSizeShorthandBehavior to Backup.
(WebCore::InternalSettings::Backup::restoreTo): restore useLegacyBackgroundSizeShorthandBehavior from Backup.
(WebCore::InternalSettings::setUseLegacyBackgroundSizeShorthandBehavior):
(WebCore):

  • testing/InternalSettings.h:

(Backup):
(InternalSettings):

  • testing/InternalSettings.idl: add a JS testing API setUseLegacyBackgroundSizeShorthandBehavior to turn on/off

the new settings.

LayoutTests:

Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2013-03-27
Reviewed by David Kilzer.

Add test for the new settings useLegacyBackgroundSizeShorthandBehavior.

  • fast/backgrounds/background-shorthand-after-set-backgroundSize-expected.txt: Added.
  • fast/backgrounds/background-shorthand-after-set-backgroundSize.html: Added.
5:18 PM Changeset in webkit [147033] by fmalita@chromium.org
  • 2 edits in trunk/Source/WebCore

Remove unused RenderLayer::renderBox{X,Y} methods
https://bugs.webkit.org/show_bug.cgi?id=113408

Reviewed by Simon Fraser.

Minor cleanup - renderBoxX() and renderBox() are no longer used.

No new tests: no functional changes.

  • rendering/RenderLayer.h:
5:18 PM Changeset in webkit [147032] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Show compositing on the Inspector timeline properly
https://bugs.webkit.org/show_bug.cgi?id=113416

Patch by Eli Fidler <efidler@blackberry.com> on 2013-03-27
Reviewed by Rob Buis.

The call to willComposite was too early and encompased the paint calls
as well. Moving it lower will no longer encompass the paints.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::commitRootLayerIfNeeded):

5:16 PM Changeset in webkit [147031] by commit-queue@webkit.org
  • 6 edits in trunk/Source/WebCore

Web Inspector: Plumb and expose cookie clearing options throughout the Resources Cookies tree and views
https://bugs.webkit.org/show_bug.cgi?id=87140

Patch by PhistucK <phistuck@chromium.org> on 2013-03-27
Reviewed by Vsevolod Vlasov.

Added cookie clearing buttons and context menu options
throughout the tree and views.
Drive by -

  • Made sure the delete button is only visible

when a cookie is selected.

  • Fixed a wrong JSDoc comment.
  • inspector/front-end/CookieItemsView.js:

(WebInspector.CookieItemsView):
(WebInspector.CookieItemsView.prototype.statusBarItems):
(WebInspector.CookieItemsView.prototype._updateWithCookies):
(WebInspector.CookieItemsView.prototype.clear):
Added. Clears the entire cookie view.
(WebInspector.CookieItemsView.prototype._clearButtonClicked):
Added. Ditto (when clicking on the button).
(WebInspector.CookieItemsView.prototype._showDeleteButton):
Added. Shows the delete button when selecting a cookie row.

  • inspector/CookiesTable.js:

(WebInspector.CookiesTable):
(WebInspector.CookiesTable.prototype._clearAndRefresh):
Added. Clears the cookies of the current table and updates it.
(WebInspector.CookiesTable.prototype._handleContextMenuEvent):
Added. Manages the context menu within the table.
(WebInspector.CookiesTable.prototype.clear):
Added. Clears the cookies of the current table.
(WebInspector.CookiesTable.prototype.setCookies):

Fixed a wrong JSDoc comment structure.

  • inspector/front-end/ResourcesPanel.js:

(WebInspector.ResourcesPanel.prototype.clearCookies):
Added. Clears the cookies of the given domain view.
(WebInspector.CookieTreeElement.prototype.onattach):
Added. Adds a contextmenu handler.
(WebInspector.CookieTreeElement.prototype._handleContextMenuEvent):
Added. Manages the context menu within cookie tree.
(WebInspector.CookieTreeElement.prototype._clearCookies):
Added. Clears the cookies of the view of the tree item.

  • inspector/front-end/treeoutline.js:

(TreeOutline): Fixed a wrong JSDoc comment.

  • English.lproj/localizedStrings.js:

Added strings for the context menu options.

5:14 PM Changeset in webkit [147030] by commit-queue@webkit.org
  • 5 edits
    2 adds in trunk

Web Inspector: [DTE] implement "tokenAtTextPosition" method
https://bugs.webkit.org/show_bug.cgi?id=113390

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-27
Reviewed by Pavel Feldman.

Source/WebCore:

Test: inspector/editor/text-editor-token-at-position.html

  • Add TextEditor.tokenAtTextPosition method
  • Implement tokenAtTextPosition method in DefaultTextEditor
  • inspector/front-end/DefaultTextEditor.js:

(WebInspector.DefaultTextEditor.prototype.tokenAtTextPosition):
(WebInspector.TextEditorMainPanel.prototype.compare):
(WebInspector.TextEditorMainPanel.prototype.tokenAtTextPosition):
(WebInspector.TextEditorMainPanel.prototype._tokenAtUnhighlightedLine):
(WebInspector.TextEditorMainPanel.prototype.set mimeType):
(WebInspector.TextEditorMainPanel.prototype.get mimeType):

  • inspector/front-end/TextEditor.js:

(WebInspector.TextEditor.prototype.tokenAtTextPosition):

  • inspector/front-end/TextEditorHighlighter.js:

(WebInspector.TextEditorHighlighter):
(WebInspector.TextEditorHighlighter.prototype.get mimeType):
(WebInspector.TextEditorHighlighter.prototype.set mimeType):

LayoutTests:

Add a test to verify TextEditor.tokenAtTextPosition method.

  • inspector/editor/text-editor-token-at-position-expected.txt: Added.
  • inspector/editor/text-editor-token-at-position.html: Added.
5:13 PM Changeset in webkit [147029] by charles.wei@torchmobile.com.cn
  • 13 edits in trunk/Source/WebCore

Remove build warning for unused function parameters in indexeddb.
https://bugs.webkit.org/show_bug.cgi?id=113043

Reviewed by Tony Chang.

No new tests, just remove build warning.

  • Modules/indexeddb/IDBCallbacks.h:

(WebCore::IDBCallbacks::onBlocked):
(WebCore::IDBCallbacks::onUpgradeNeeded):

  • Modules/indexeddb/IDBCursor.cpp:

(WebCore::IDBCursor::stringToDirection):

  • Modules/indexeddb/IDBCursor.h:

(IDBCursor):

  • Modules/indexeddb/IDBCursorBackendImpl.cpp:

(WebCore::IDBCursorBackendImpl::prefetchReset):

  • Modules/indexeddb/IDBDatabase.cpp:

(WebCore::IDBDatabase::transaction):

  • Modules/indexeddb/IDBDatabaseBackendImpl.cpp:

(WebCore::IDBDatabaseBackendImpl::setIndexesReady):

  • Modules/indexeddb/IDBIndex.cpp:

(WebCore::IDBIndex::openCursor):
(WebCore::IDBIndex::openKeyCursor):

  • Modules/indexeddb/IDBLevelDBCoding.cpp:

(IDBLevelDBCoding):

  • Modules/indexeddb/IDBObjectStore.cpp:

(WebCore):
(WebCore::IDBObjectStore::openCursor):

  • Modules/indexeddb/IDBTransaction.cpp:

(WebCore::IDBTransaction::stringToMode):

  • Modules/indexeddb/IDBTransaction.h:

(IDBTransaction):

  • inspector/InspectorIndexedDBAgent.cpp:

(WebCore):

5:11 PM Changeset in webkit [147028] by commit-queue@webkit.org
  • 6 edits in trunk

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:

5:10 PM Changeset in webkit [147027] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: enhance Popover.js to rely on hover element coordinates
https://bugs.webkit.org/show_bug.cgi?id=113340

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-27
Reviewed by Pavel Feldman.

No new tests: no change in behaviour.

Introduce a coordinates-based method that checks if mouse is inside hover
element and use it in PopoverHelper instead of DOM hierarchy.

  • inspector/front-end/Popover.js:

(WebInspector.PopoverHelper.prototype._eventInHoverElement): Added.
(WebInspector.PopoverHelper.prototype._mouseDown):
(WebInspector.PopoverHelper.prototype._mouseMove):
(WebInspector.PopoverHelper.prototype._mouseOut):

5:08 PM Changeset in webkit [147026] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: [CodeMirror] fix webinspector-css theme for CodeMirror
https://bugs.webkit.org/show_bug.cgi?id=113399

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-27
Reviewed by Alexander Pavlov.

Add style rule to highlight css properties for CodeMirror
webinspector-css theme.

No new tests: no change in behaviour.

  • inspector/front-end/cm/cmdevtools.css:

(.cm-s-web-inspector-css span.cm-property):

5:05 PM Changeset in webkit [147025] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: [DTE] paint overlay highlight for unhighlighted lines
https://bugs.webkit.org/show_bug.cgi?id=113344

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-27
Reviewed by Pavel Feldman.

No new tests.

Remove fast-return condition from paintLine method that checked for
highlight existence.

  • inspector/front-end/DefaultTextEditor.js:

(WebInspector.TextEditorMainPanel.prototype._paintLine):

5:02 PM Changeset in webkit [147024] by anilsson@rim.com
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Populate the mime type of the WebContext for images
https://bugs.webkit.org/show_bug.cgi?id=113272

Reviewed by George Staikos.

PR 278967

Populate the mime type using the file extension reported by the image
decoder. This way we benefit from file type sniffing, instead of
relying on the mime type reported by the resource response.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::webContext):

5:01 PM Changeset in webkit [147023] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

Revision for the internal jhbuild is too old
https://bugs.webkit.org/show_bug.cgi?id=113324

Patch by Mario Sanchez Prada <mario.prada@samsung.com> on 2013-03-27
Reviewed by Martin Robinson.

Update the minimum required version to a point where jhbuild won't
fail installing packages when trying to remove a symlink to a directory.

  • jhbuild/jhbuild-wrapper: Updated revision.
5:01 PM Changeset in webkit [147022] by rniwa@webkit.org
  • 9 edits
    2 adds in trunk

Shift clicking on an element with -webkit-user-select: all doesn't extend selection
https://bugs.webkit.org/show_bug.cgi?id=113270

Reviewed by Enrica Casucci.

Source/WebCore:

The bug was caused by updateSelectionForMouseDownDispatchingSelectStart always replacing selection whenever
the target node was inside an element with -webkit-suer-select even when we were attemping to extend selection
in handleMousePressEventSingleClick.

Fixed the bug by extracting this logic as a separate function (expandSelectionToRespectUserSelectAll) and deploying
it in handleMousePressEventSingleClick to extend selection as needed.

Test: editing/selection/user-select-all-with-shift.html

  • page/EventHandler.cpp:

(WebCore::expandSelectionToRespectUserSelectAll): Extracted from updateSelectionForMouseDownDispatchingSelectStart.
(WebCore::EventHandler::updateSelectionForMouseDownDispatchingSelectStart):
(WebCore::EventHandler::selectClosestWordFromHitTestResult):
(WebCore::EventHandler::selectClosestWordOrLinkFromMouseEvent):
(WebCore::EventHandler::handleMousePressEventTripleClick):
(WebCore::EventHandler::handleMousePressEventSingleClick): Adjust "pos" as needed when extending selection.
Also use shouldConsiderSelectionAsDirectional() instead of manually peeking editingBehaviorType while we're at it.

LayoutTests:

Added a regression test for shift clicking on an element with -webkit-user-select: all.
Skip it on non-Mac platforms as -webkit-user-select: all hasn't been enabled on them.

  • editing/selection/user-select-all-with-shift-expected.txt: Added.
  • editing/selection/user-select-all-with-shift.html: Added.
  • platform/chromium/TestExpectations:
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/qt/TestExpectations:
  • platform/win/TestExpectations:
  • platform/wincairo/TestExpectations:
4:59 PM Changeset in webkit [147021] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

REGRESSION(r143102): iframe with percentage height within table with anonymous cell fails.
https://bugs.webkit.org/show_bug.cgi?id=113077

Source/WebCore:

Patch by Zalan Bujtas <Alan Bujtas> on 2013-03-27
Reviewed by Antti Koivisto.

http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level
"Anonymous block boxes are ignored when resolving percentage values that would refer to it:
the closest non-anonymous ancestor box is used instead."
When figuring out whether auto height needs to be applied on the current box, ignore anonymous
ancestors until the first non-anonymous containing block is found. This matches both
Firefox and Opera behaviour.

Test: fast/replaced/iframe-with-percentage-height-within-table-with-anonymous-table-cell.html

  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight): Switch from
isAnonymousBlock() to isAnonymous() to make sure all anonymous boxes are ignored.
Remove isTableCell() check which is a noop as table cell isn't an anonymous block.

LayoutTests:

Patch by Zalan Bujtas <Alan Bujtas> on 2013-03-27
Reviewed by Antti Koivisto.

  • fast/replaced/iframe-with-percentage-height-within-table-with-anonymous-table-cell-expected.txt: Added.
  • fast/replaced/iframe-with-percentage-height-within-table-with-anonymous-table-cell.html: Added.
4:57 PM Changeset in webkit [147020] by pierre.rossi@gmail.com
  • 6 edits in trunk

[Qt] Add WOFF support when using zlib
https://bugs.webkit.org/show_bug.cgi?id=112805

Reviewed by Allan Sandfeld Jensen.

Source/WebCore:

Covered by existing test:
fast/css/font-face-woff.html

  • Target.pri: Conditional inclusion of WOFFFileFormat
  • platform/graphics/qt/FontCustomPlatformDataQt.cpp:

(WebCore::createFontCustomPlatformData): Try to unpack WOFF data, otherwise spit out a warning and bail.
(WebCore::FontCustomPlatformData::supportsFormat): accept WOFF webfonts if USE(ZLIB).

LayoutTests:

  • platform/qt-5.0-wk2/TestExpectations: keep skipped for WK2 due to a WTR bug.
  • platform/qt/TestExpectations: unskip font-face-woff.html
4:49 PM Changeset in webkit [147019] by robert@webkit.org
  • 7 edits
    2 adds in trunk

Growing a position:absolute element in a position:relative one in a table does not update scrollHeight
https://bugs.webkit.org/show_bug.cgi?id=111977

Reviewed by David Hyatt.

Source/WebCore:

During simplified layout tables still need to know about overflow from positioned objects in any of
their cells.

Test: fast/table/cell-overflow-simplified-layout.html

  • rendering/RenderBlock.h:

(RenderBlock):

  • rendering/RenderTable.cpp:

(WebCore::RenderTable::simplifiedNormalFlowLayout):
(WebCore):

  • rendering/RenderTable.h:
  • rendering/RenderTableSection.cpp:

(WebCore::RenderTableSection::layoutRows):
(WebCore):
(WebCore::RenderTableSection::computeOverflowFromCells):

  • rendering/RenderTableSection.h:

(RenderTableSection):

LayoutTests:

  • fast/table/cell-overflow-simplified-layout-expected.html: Added.
  • fast/table/cell-overflow-simplified-layout.html: Added.
4:45 PM Changeset in webkit [147018] by ggaren@apple.com
  • 5 edits
    2 adds in trunk

Honor the setting for whether JavaScript markup is enabled
https://bugs.webkit.org/show_bug.cgi?id=113122

Reviewed by Ryosuke Niwa.

Source/WebCore:

  • dom/ScriptableDocumentParser.cpp:

(WebCore::ScriptableDocumentParser::ScriptableDocumentParser): Applied the
setting here, so all document parsing would be covered. This is similar
to what we do for plug-in stripping.

  • html/parser/HTMLConstructionSite.cpp:

(WebCore::HTMLConstructionSite::insertForeignElement): Fixed a bug where
we would insert an SVG script element into the document even in script
markup disabled mode.

(This bug has existed for copy/paste for a long time, but other bugs and
quirks in SVG copy/paste papered over it. It's a serious issue now
that non-paste clients will rely on this mode.)

  • html/parser/HTMLTreeBuilder.cpp:

(WebCore::HTMLTreeBuilder::processTokenInForeignContent): Fixed the same
bug -- this time in the part of the parser that executes scripts as they
parse.

I adopted the toScriptElement() convention for testing for a script
element to match the XML parser.

LayoutTests:

  • editing/unsupported-content/script-markup-enabled-setting-expected.txt: Added.
  • editing/unsupported-content/script-markup-enabled-setting.html: Added.
4:37 PM Changeset in webkit [147017] by mhahnenberg@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

CodeCache::m_capacity can becoming negative, producing undefined results in pruneSlowCase
https://bugs.webkit.org/show_bug.cgi?id=113453

Reviewed by Geoffrey Garen.

  • runtime/CodeCache.cpp:

(JSC::CodeCacheMap::pruneSlowCase): We make sure that m_minCapacity doesn't drop below zero now.
This prevents m_capacity from doing the same.

4:12 PM Changeset in webkit [147016] by kov@webkit.org
  • 2 edits in trunk/Tools

[GTK][jhbuild] gst-plugins-good mixes system libsoup-gnome with custom libsoup
https://bugs.webkit.org/show_bug.cgi?id=113203

Reviewed by Philippe Normand.

We build our libsoup without GNOME support. gst-plugins-good does separate
pkg-config checks for libsoup-gnome and libsoup, causing the build to use
libsoup-gnome from the system and soup from the jhbuild prefix. This may lead to
build failures as the headers of those diverge. We do not use souphttpsrc, so
disable it when building gst-plugins-good.

  • gtk/jhbuild.modules: disable soup support in gst-plugins-good.
4:12 PM WebKitGTK/2.0.x edited by kov@webkit.org
(diff)
4:09 PM Changeset in webkit [147015] by kov@webkit.org
  • 1 edit
    1 add in trunk/Source/WebCore/platform/gtk/po

Tamil translation for Gnome 3.6
https://bugs.webkit.org/show_bug.cgi?id=96995

Patch by Shantha kumar <shkumar@redhat.com> on 2013-03-27
Reviewed by Gustavo Noronha Silva (kov).

  • ta.po: Added.
3:58 PM Changeset in webkit [147014] by fpizlo@apple.com
  • 27 edits in branches/dfgFourthTier/Source/JavaScriptCore

fourthTier: JITCode should abstract exactly how the JIT code is structured and where it was allocated
https://bugs.webkit.org/show_bug.cgi?id=113437

Reviewed by Mark Hahnenberg.

JITCode is now a virtual base class, which will allow different JITs to have radically
different memory allocation and management conventions in the future. It will also
make it easier to store JIT-specific meta-data in CodeBlock just by putting it into
an appropriate JITCode subclass.

For now there is one subclass, DirectJITCode, which just behaves like JITCode used to
behave.

  • assembler/RepatchBuffer.h:

(JSC::RepatchBuffer::RepatchBuffer):

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::resetStubInternal):
(JSC::CodeBlock::bytecodeOffset):
(JSC::CodeBlock::codeOriginForReturn):

  • bytecode/CodeBlock.h:

(JSC::CodeBlock::setJITCode):
(JSC::CodeBlock::getJITCode):
(JSC::CodeBlock::getJITType):
(CodeBlock):

  • dfg/DFGDriver.cpp:

(JSC::DFG::compile):
(JSC::DFG::tryCompile):
(JSC::DFG::tryCompileFunction):

  • dfg/DFGDriver.h:

(DFG):
(JSC::DFG::tryCompile):
(JSC::DFG::tryCompileFunction):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::compile):
(JSC::DFG::JITCompiler::compileFunction):

  • dfg/DFGJITCompiler.h:

(JITCompiler):

  • dfg/DFGOSREntry.cpp:

(JSC::DFG::prepareOSREntry):

  • dfg/DFGOSRExit.cpp:

(JSC::DFG::OSRExit::codeLocationForRepatch):

  • dfg/DFGOSRExitCompiler32_64.cpp:

(JSC::DFG::OSRExitCompiler::compileExit):

  • dfg/DFGOSRExitCompiler64.cpp:

(JSC::DFG::OSRExitCompiler::compileExit):

  • dfg/DFGOperations.cpp:
  • interpreter/Interpreter.cpp:

(JSC::Interpreter::execute):
(JSC::Interpreter::executeCall):
(JSC::Interpreter::executeConstruct):

  • jit/JIT.cpp:

(JSC::JIT::privateCompile):

  • jit/JIT.h:

(JSC::JIT::compile):
(JIT):

  • jit/JITCode.cpp:

(JSC):
(JSC::JITCode::JITCode):
(JSC::JITCode::~JITCode):
(JSC::JITCode::execute):
(JSC::JITCode::hostFunction):
(JSC::DirectJITCode::DirectJITCode):
(JSC::DirectJITCode::~DirectJITCode):
(JSC::DirectJITCode::addressForCall):
(JSC::DirectJITCode::executableAddressAtOffset):
(JSC::DirectJITCode::dataAddressAtOffset):
(JSC::DirectJITCode::offsetOf):
(JSC::DirectJITCode::size):
(JSC::DirectJITCode::contains):

  • jit/JITCode.h:

(JSC):
(JITCode):
(JSC::JITCode::bottomTierJIT):
(JSC::JITCode::topTierJIT):
(JSC::JITCode::nextTierJIT):
(JSC::JITCode::isOptimizingJIT):
(JSC::JITCode::isBaselineCode):
(JSC::JITCode::jitType):
(JSC::JITCode::jitTypeFor):
(JSC::JITCode::executableAddress):
(JSC::JITCode::start):
(JSC::JITCode::end):
(DirectJITCode):

  • jit/JITDriver.h:

(JSC::jitCompileIfAppropriate):
(JSC::jitCompileFunctionIfAppropriate):

  • jit/JITStubs.cpp:

(JSC::lazyLinkFor):
(JSC::DEFINE_STUB_FUNCTION):

  • jit/ThunkGenerators.cpp:

(JSC::virtualForGenerator):

  • llint/LLIntEntrypoints.cpp:

(JSC::LLInt::getFunctionEntrypoint):
(JSC::LLInt::getEvalEntrypoint):
(JSC::LLInt::getProgramEntrypoint):

  • llint/LLIntEntrypoints.h:

(JSC):
(LLInt):
(JSC::LLInt::getEntrypoint):

  • llint/LLIntSlowPaths.cpp:

(JSC::LLInt::jitCompileAndSetHeuristics):
(JSC::LLInt::entryOSR):
(JSC::LLInt::LLINT_SLOW_PATH_DECL):

  • runtime/Executable.cpp:

(JSC::EvalExecutable::compileInternal):
(JSC::ProgramExecutable::compileInternal):
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):

  • runtime/Executable.h:

(JSC::ExecutableBase::generatedJITCodeForCall):
(JSC::ExecutableBase::generatedJITCodeForConstruct):
(JSC::ExecutableBase::generatedJITCodeFor):
(ExecutableBase):
(JSC::ExecutableBase::hostCodeEntryFor):
(JSC::ExecutableBase::jsCodeEntryFor):
(JSC::ExecutableBase::jsCodeWithArityCheckEntryFor):
(JSC::NativeExecutable::create):
(JSC::NativeExecutable::finishCreation):
(JSC::EvalExecutable::generatedJITCode):
(JSC::ProgramExecutable::generatedJITCode):

  • runtime/ExecutionHarness.h:

(JSC::prepareForExecution):
(JSC::prepareFunctionForExecution):

3:43 PM Changeset in webkit [147013] by jer.noble@apple.com
  • 3 edits in trunk/Source/WebKit2

Going full screen and cancelling gets system into a weird state
https://bugs.webkit.org/show_bug.cgi?id=113445

Reviewed by Eric Carlson.

Replace an array of BOOL member variables to track full screen state with a single enum, and
add state tracking for the "waiting to enter" and "waiting to exit" states. Use this new,
more specific enum to be more stringent about the state when responding to WebProcess
messages. Also only set the placeholder view's target once in full screen mode.

  • UIProcess/mac/WKFullScreenWindowController.h:
  • UIProcess/mac/WKFullScreenWindowController.mm:

(-[WKFullScreenWindowController isFullScreen]): Yes when in full screen, entering full screen,

or waiting to enter full screen.

(-[WKFullScreenWindowController cancelOperation:]): Only requestExitFullScreen() if a watchdog

has not already been made active.

(-[WKFullScreenWindowController enterFullScreen:]): Use the new state variable.
(-[WKFullScreenWindowController beganEnterFullScreenWithInitialFrame:WebCore::finalFrame:WebCore::]): Ditto.
(-[WKFullScreenWindowController finishedEnterFullScreenAnimation:]): Ditto. Set the placeholder target.
(-[WKFullScreenWindowController exitFullScreen]): Ditto. Clear the placeholder target.
(-[WKFullScreenWindowController beganExitFullScreenWithInitialFrame:WebCore::finalFrame:WebCore::]): Ditto.
(-[WKFullScreenWindowController completeFinishExitFullScreenAnimationAfterRepaint]): Ditto.
(-[WKFullScreenWindowController performClose:]): Ditto.
(-[WKFullScreenWindowController close]): Ditto.
(-[WKFullScreenWindowController _startEnterFullScreenAnimationWithDuration:]): Ditto.

3:07 PM Changeset in webkit [147012] by dino@apple.com
  • 2 edits in trunk/Source/WebCore

Chromium Mac fails to build after r146995 because the new NSFont category
may conflict with the system. Add the WebCoreTheme category to the whitelist.

Unreviewed.

  • WebCore.gyp/WebCore.gyp:
2:56 PM Changeset in webkit [147011] by rniwa@webkit.org
  • 2 edits in trunk/Tools

Build fix after r146852. Please another reference to the Lion leaks builder.

  • BuildSlaveSupport/build.webkit.org-config/config.json:
2:31 PM Changeset in webkit [147010] by beidson@apple.com
  • 2 edits in trunk/Source/WebKit2

Blind attempt at fixing the release build.

  • NetworkProcess/mac/NetworkResourceLoaderMac.mm:

(WebKit::NetworkResourceLoader::willCacheResponseAsync):

2:04 PM Changeset in webkit [147009] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebKit/win

Another Windows build fix attempt after r147004.

  • WebKit.vcproj/WebKitExports.def.in:
1:51 PM Changeset in webkit [147008] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

Selection code spends a lot of time in InlineTextBox::localSelectionRect
https://bugs.webkit.org/show_bug.cgi?id=113364

Reviewed by Enrica Casucci.

Avoid computing the font width when we're selecting the entire line box.

This appears to be 25-26% improvement on Interactive/SelectAll:Time.

  • rendering/InlineTextBox.cpp:

(WebCore::InlineTextBox::localSelectionRect):

1:47 PM Changeset in webkit [147007] by timothy@apple.com
  • 1 edit in trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in

Windows build fix attempt.

1:38 PM Changeset in webkit [147006] by beidson@apple.com
  • 5 edits
    2 adds in trunk/Source/WebKit2

Mem mapped resource data improvements.
<rdar://problem/13196481> and https://bugs.webkit.org/show_bug.cgi?id=113422

Reviewed by Alexey Proskuryakov (and looked over by Geoff Garen).

Remove timer-based approach support code:

  • NetworkProcess/NetworkResourceLoader.cpp:

(WebKit::NetworkResourceLoader::NetworkResourceLoader):
(WebKit::NetworkResourceLoader::abortInProgressLoad):
(WebKit::NetworkResourceLoader::didFinishLoading):

  • NetworkProcess/NetworkResourceLoader.h:

Add an object to encapsulate monitoring a resource going in to the disk cache.
It listens for a callback on the cached response indicating it is disk backed
and also sets a timeout so we don't keep the monitor alive and waiting forever.

  • NetworkProcess/mac/DiskCacheMonitor.h: Added.

(WebKit::DiskCacheMonitor::destinationID):
(WebKit::DiskCacheMonitor::connectionToWebProcess):
(WebKit::DiskCacheMonitor::resourceRequest):

  • NetworkProcess/mac/DiskCacheMonitor.mm: Added.

(CFCachedURLResponseSetBecameFileBackedCallBackBlock):
(WebKit::monitorFileBackingStoreCreation):
(WebKit::DiskCacheMonitor::DiskCachingMonitor):
(WebKit::DiskCacheMonitor::connection):

Refactoring and monitor certain cached responses:

  • NetworkProcess/mac/NetworkResourceLoaderMac.mm:

(CFCachedURLResponseGetMemMappedData):
(WebKit::NetworkResourceLoader::tryGetShareableHandleFromCFURLCachedResponse): Use CFCachedURLResponseGetMemMappedData

to explicitly get an mem-mapped data object.

(WebKit::NetworkResourceLoader::tryGetShareableHandleForResource):
(WebKit::NetworkResourceLoader::willCacheResponseAsync): If the resource is over the minimum

size then set up a disk caching monitor.

  • WebKit2.xcodeproj/project.pbxproj:
1:35 PM Changeset in webkit [147005] by timothy@apple.com
  • 2 adds in trunk/Source/WebKit2/Resources

Add missing images from my previous commit.

1:34 PM Changeset in webkit [147004] by timothy@apple.com
  • 48 edits
    1 delete in trunk

Add support for dock-to-right of the Web Inspector in the Mac port.

Unfortunately this requires Safari changes, so it is disabled in the nightly builds.

https://webkit.org/b/113341
rdar://problem/10368152

Reviewed by Joseph Pecoraro.

.:

  • Source/autotools/symbols.filter:

Source/WebCore:

  • WebCore.exp.in:
  • inspector/InspectorFrontendClient.h:

(InspectorFrontendClient):

  • inspector/InspectorFrontendClientLocal.cpp:

(WebCore):
(WebCore::InspectorFrontendClientLocal::frontendLoaded):
(WebCore::InspectorFrontendClientLocal::requestSetDockSide):
(WebCore::InspectorFrontendClientLocal::canAttachWindow):
(WebCore::InspectorFrontendClientLocal::changeAttachedWindowWidth):
(WebCore::InspectorFrontendClientLocal::setAttachedWindow):
(WebCore::InspectorFrontendClientLocal::constrainedAttachedWindowWidth):

  • inspector/InspectorFrontendClientLocal.h:

(InspectorFrontendClientLocal):

  • inspector/InspectorFrontendHost.cpp:

(WebCore::InspectorFrontendHost::setAttachedWindowWidth):
(WebCore):

  • inspector/InspectorFrontendHost.h:

(InspectorFrontendHost):

  • inspector/InspectorFrontendHost.idl:
  • inspector/front-end/InspectorFrontendHostStub.js:

(.WebInspector.InspectorFrontendHostStub.prototype.setAttachedWindowWidth):

  • inspector/front-end/externs.js:

(InspectorFrontendHostAPI.prototype.setAttachedWindowWidth):

  • testing/Internals.cpp:

Source/WebKit/chromium:

  • src/InspectorFrontendClientImpl.cpp:

(WebKit::InspectorFrontendClientImpl::changeAttachedWindowWidth):

  • src/InspectorFrontendClientImpl.h:

(InspectorFrontendClientImpl):

Source/WebKit/efl:

  • WebCoreSupport/InspectorClientEfl.cpp:

(WebCore::InspectorFrontendClientEfl::attachWindow):
(WebCore::InspectorFrontendClientEfl::setAttachedWindowWidth):

  • WebCoreSupport/InspectorClientEfl.h:

(InspectorFrontendClientEfl):

Source/WebKit/gtk:

  • WebCoreSupport/InspectorClientGtk.cpp:

(WebKit::InspectorFrontendClient::attachWindow):
(WebKit::InspectorFrontendClient::setAttachedWindowWidth):

  • WebCoreSupport/InspectorClientGtk.h:

(InspectorFrontendClient):

Source/WebKit/mac:

  • Resources/Dock.pdf: Updated.
  • WebCoreSupport/WebInspectorClient.h:

(WebInspectorFrontendClient):

  • WebCoreSupport/WebInspectorClient.mm:

(WebInspectorFrontendClient::frontendLoaded):
(WebInspectorFrontendClient::attachWindow):
(WebInspectorFrontendClient::setAttachedWindowWidth):
(-[WebInspectorWindowController attachWindow:]):
(-[WebInspectorWindowController attach]):
(-[WebInspectorWindowController detach]):

  • WebInspector/WebInspectorFrontend.mm:

(-[WebInspectorFrontend attach]):

Source/WebKit/qt:

  • WebCoreSupport/InspectorClientQt.cpp:

(WebCore::InspectorFrontendClientQt::frontendLoaded):
(WebCore::InspectorFrontendClientQt::attachWindow):
(WebCore::InspectorFrontendClientQt::setAttachedWindowWidth):

  • WebCoreSupport/InspectorClientQt.h:

(InspectorFrontendClientQt):

Source/WebKit/win:

  • WebCoreSupport/WebInspectorClient.cpp:

(WebInspectorFrontendClient::frontendLoaded):
(WebInspectorFrontendClient::attachWindow):
(WebInspectorFrontendClient::setAttachedWindowWidth):

  • WebCoreSupport/WebInspectorClient.h:

(WebInspectorFrontendClient):

Source/WebKit2:

  • Resources/Dock.pdf: Removed.
  • Resources/DockBottom.pdf: Added.
  • Resources/DockRight.pdf: Added.
  • Shared/WebPreferencesStore.h:
  • UIProcess/WebInspectorProxy.cpp:

(WebKit::WebInspectorProxy::WebInspectorProxy):
(WebKit::WebInspectorProxy::attachBottom):
(WebKit::WebInspectorProxy::attachRight):
(WebKit::WebInspectorProxy::attach):
(WebKit::WebInspectorProxy::detach):
(WebKit::WebInspectorProxy::setAttachedWindowWidth):
(WebKit::WebInspectorProxy::createInspectorPage):
(WebKit::WebInspectorProxy::canAttach):

  • UIProcess/WebInspectorProxy.h:

(WebInspectorProxy):

  • UIProcess/WebInspectorProxy.messages.in:
  • UIProcess/mac/WebInspectorProxyMac.mm:

(-[WKWebInspectorProxyObjCAdapter attachRight:]):
(-[WKWebInspectorProxyObjCAdapter attachBottom:]):
(-[WKWebInspectorWindow _cursorForResizeDirection:]):
(-[WKWebInspectorWindow _customTitleFrame]):
(WebKit::createDockButton):
(WebKit::WebInspectorProxy::createInspectorWindow):
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
(WebKit::WebInspectorProxy::platformAttachAvailabilityChanged):
(WebKit::WebInspectorProxy::inspectedViewFrameDidChange):
(WebKit::WebInspectorProxy::platformInspectedWindowWidth):
(WebKit::WebInspectorProxy::platformAttach):
(WebKit::WebInspectorProxy::platformDetach):
(WebKit::WebInspectorProxy::platformSetAttachedWindowHeight):
(WebKit::WebInspectorProxy::platformSetAttachedWindowWidth):

  • WebKit2.xcodeproj/project.pbxproj:
  • WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:

(WebKit::WebInspectorFrontendClient::attachWindow):
(WebKit::WebInspectorFrontendClient::setAttachedWindowWidth):

  • WebProcess/WebCoreSupport/WebInspectorFrontendClient.h:

(WebInspectorFrontendClient):

  • WebProcess/WebPage/WebInspector.cpp:

(WebKit::WebInspector::attachBottom):
(WebKit::WebInspector::attachRight):
(WebKit::WebInspector::setAttachedWindowWidth):
(WebKit::WebInspector::attachedBottom):
(WebKit::WebInspector::attachedRight):
(WebKit::WebInspector::detached):

  • WebProcess/WebPage/WebInspector.h:

(WebInspector):

  • WebProcess/WebPage/WebInspector.messages.in:
12:55 PM Changeset in webkit [147003] by kov@webkit.org
  • 2 edits in trunk/Source/WebCore/platform/gtk/po

Updated Slovenian translation
https://bugs.webkit.org/show_bug.cgi?id=113151

Patch by Matej Urbančič <mateju@svn.gnome.org> on 2013-03-27
Reviewed by Gustavo Noronha Silva (kov).

  • sl.po: translation update.
11:54 AM Changeset in webkit [147002] by zandobersek@gmail.com
  • 16 edits in trunk/LayoutTests

Unreviewed GTK gardening. Rebaselining after r146992.

  • platform/gtk/fast/hidpi/video-controls-in-hidpi-expected.txt:
  • platform/gtk/fast/layers/video-layer-expected.txt:
  • platform/gtk/media/audio-controls-rendering-expected.txt:
  • platform/gtk/media/audio-repaint-expected.txt:
  • platform/gtk/media/controls-after-reload-expected.txt:
  • platform/gtk/media/controls-strict-expected.txt:
  • platform/gtk/media/controls-styling-strict-expected.txt:
  • platform/gtk/media/controls-without-preload-expected.txt:
  • platform/gtk/media/video-controls-rendering-expected.txt:
  • platform/gtk/media/video-display-toggle-expected.txt:
  • platform/gtk/media/video-empty-source-expected.txt:
  • platform/gtk/media/video-no-audio-expected.txt:
  • platform/gtk/media/video-playing-and-pause-expected.txt:
  • platform/gtk/media/video-volume-slider-expected.txt:
  • platform/gtk/media/video-zoom-controls-expected.txt:
11:45 AM Changeset in webkit [147001] by eric.carlson@apple.com
  • 14 edits
    2 adds in trunk

[Mac] webkitClosedCaptionsVisible doesn't work
https://bugs.webkit.org/show_bug.cgi?id=113417

Reviewed by Jer Noble.

Source/WebCore:

Test: media/track/track-in-band-legacy-api.html

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::HTMLMediaElement): Delete m_disableCaptions, it is no longer used.
(WebCore::HTMLMediaElement::configureTextTrackGroup): Pass this to textTrackSelectionScore.
(WebCore::HTMLMediaElement::setClosedCaptionsVisible): Delete m_disableCaptions, it is no longer used.

  • html/HTMLMediaElement.h: Ditto.
  • page/CaptionUserPreferences.cpp:

(WebCore::CaptionUserPreferences::textTrackSelectionScore): Add an HTMLMediaElement parameter.

  • page/CaptionUserPreferences.h:
  • page/CaptionUserPreferencesMac.h:
  • page/CaptionUserPreferencesMac.mm:

(WebCore::CaptionUserPreferencesMac::textTrackSelectionScore): Return a score if the media element

is showing captions, even if the preference says captions are disabled.

LayoutTests:

  • media/track/track-in-band-legacy-api-expected.txt: Added.
  • media/track/track-in-band-legacy-api.html: Added.
  • platform/chromium/TestExpectations: Skip new test.
  • platform/efl/TestExpectations: Ditto.
  • platform/gtk/TestExpectations: Ditto.
  • platform/mac/TestExpectations: Ditto.
  • platform/qt/TestExpectations: Ditto.
  • platform/win/TestExpectations: Ditto.
11:33 AM Changeset in webkit [147000] by eric.carlson@apple.com
  • 5 edits in trunk

[Mac] Text track menu items sometimes labeled incorrectly
https://bugs.webkit.org/show_bug.cgi?id=113406

Reviewed by Jer Noble.

Source/WebCore:

media/video-controls-captions-trackmenu-localized.html was updated to test this.

  • page/CaptionUserPreferencesMac.mm:

(WebCore::trackDisplayName): Use the 'label' attribute for the menu text when necessary.

LayoutTests:

  • media/video-controls-captions-trackmenu-localized.html:
  • platform/mac/media/video-controls-captions-trackmenu-localized-expected.txt:
11:26 AM Changeset in webkit [146999] by sergio@webkit.org
  • 6 edits in trunk

Inserting a blank (" ") at the end of a line does not insert anything in Overtype mode
https://bugs.webkit.org/show_bug.cgi?id=113413

Reviewed by Ryosuke Niwa.

Source/WebCore:

Perform a "normal" insert instead of a replace when there is
nothing to replace (like at the end of a line) as this case is not
supported by the replacing code path. This will allow us to
properly rebalance whitespaces in those cases.

Updated the editing/execCommand/overtype.html test to check also
this use case.

  • editing/InsertTextCommand.cpp:

(WebCore::InsertTextCommand::setEndingSelectionWithoutValidation):
(WebCore::InsertTextCommand::performTrivialReplace):
(WebCore::InsertTextCommand::performOverwrite):
(WebCore::InsertTextCommand::doApply): use the recently added
setEndingSelectionWithoutValidation() to avoid code duplication.

  • editing/InsertTextCommand.h:

(InsertTextCommand):

LayoutTests:

Updated the test to include the case of inserting a whitespace
both in the middle or at the end of a line.

  • editing/execCommand/overtype-expected.txt:
  • editing/execCommand/overtype.html:
11:17 AM Changeset in webkit [146998] by zandobersek@gmail.com
  • 2 edits in trunk/Tools

[GTK][webkitpy] A huge list of warnings about missing bugs in expectations when running NRWT with WKTR
https://bugs.webkit.org/show_bug.cgi?id=113421

Reviewed by Dirk Pranke.

When running the layout tests with WKTR through NRWT, the GTK port also uses the generic WK2 TestExpectations file.
This file contains a large amount of expectations that are not listing a specific bug modifier, so this produces an
equally large amount of warnings due to the GTK port preferring for every expectation to have the bug modifier present
in the GTK-specific TestExpectations files.

To avoid this only enable the warnings only when not using WKTR.

  • Scripts/webkitpy/layout_tests/port/gtk.py:

(GtkPort.warn_if_bug_missing_in_test_expectations):

10:54 AM Changeset in webkit [146997] by rniwa@webkit.org
  • 2 edits
    1 add in trunk/PerformanceTests

Add a performance tests for selecting all content in a document
https://bugs.webkit.org/show_bug.cgi?id=113358

Reviewed by Levi Weintraub.

Add a performance test for selecting all. We wait for paint to happen by setTimeout(~, 0).

Example outputs:

RESULT Interactive: SelectAll: Time= 652.6 ms
median= 644.5 ms, stdev= 54.6177144967 ms, min= 599.0 ms, max= 773.0 ms

RESULT Interactive: SelectAll: Time= 654.4 ms
median= 633.5 ms, stdev= 55.9223145368 ms, min= 600.0 ms, max= 769.0 ms

RESULT Interactive: SelectAll: Time= 657.9 ms
median= 640.0 ms, stdev= 54.1420159833 ms, min= 604.0 ms, max= 774.0 ms

  • Interactive/SelectAll.html: Added.
  • Skipped:
10:54 AM Changeset in webkit [146996] by fpizlo@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

DFG should use CheckStructure for typed array checks whenever possible
https://bugs.webkit.org/show_bug.cgi?id=113374

Reviewed by Geoffrey Garen.

We used to do the right thing, but it appears that this regressed at some point. Since the
FixupPhase now has the ability to outright remove spurious CheckStructures on array
operations, it is profitable for the ByteCodeParser to insert CheckStructures whenver there
is a chance that it might be profitable, and when the profiling tells us what structure to
check.

Also added some code for doing ArrayProfile debugging.

This is a slightly speed-up. Maybe 3% on Mandreel.

  • bytecode/ArrayProfile.cpp:

(JSC::ArrayProfile::computeUpdatedPrediction):

  • dfg/DFGArrayMode.h:

(JSC::DFG::ArrayMode::benefitsFromStructureCheck):

10:53 AM Changeset in webkit [146995] by dino@apple.com
  • 4 edits in trunk/Source/WebCore

[Mac] Use fontName rather than familyName for internal fonts
https://bugs.webkit.org/show_bug.cgi?id=113392
<rdar://problem/13474743>

Reviewed by Enrica Casucci.

Some internal fonts on OS X have a family name that
isn't listed in availableFontFamilies. In this case
we should use the font name rather than the family
name when looking for a match.

  • platform/mac/ThemeMac.h: NSFont category to provide a web-friendly family name.
  • platform/mac/ThemeMac.mm:

(-[NSFont webCoreFamilyName]): Returns the font name for internal fonts, otherwise the family name.
(WebCore::ThemeMac::controlFont):

  • rendering/RenderThemeMacShared.mm: Use the webCoreFamilyName.

(WebCore::RenderThemeMacShared::systemFont): Ditto.
(WebCore::RenderThemeMacShared::setFontFromControlSize): Ditto.

10:45 AM Changeset in webkit [146994] by zandobersek@gmail.com
  • 7 edits
    2 moves
    8 adds
    1 delete in trunk/LayoutTests

Unreviewed GTK gardening.

Addressing layout test failures that are specific to GTK-WK1 by moving the related expectations into the specific
TestExpectations file or adjusting and moving the baselines into the GTK-WK1 baseline search path.

  • platform/gtk-wk1/TestExpectations:
  • platform/gtk-wk1/fast: Added.
  • platform/gtk-wk1/fast/media: Added.
  • platform/gtk-wk1/fast/media/mq-transform-02-expected.html: Copied from LayoutTests/platform/gtk/fast/media/mq-transform-02-expected.html.
  • platform/gtk-wk1/fast/media/mq-transform-03-expected.html: Copied from LayoutTests/platform/gtk/fast/media/mq-transform-03-expected.html.
  • platform/gtk-wk2/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/gtk/fast/dom/HTMLLinkElement/prefetch-expected.txt: Added.
  • platform/gtk/fast/dom/HTMLLinkElement/subresource-expected.txt: Added.
  • platform/gtk/fast/hidpi/clip-text-in-hidpi-expected.txt:
  • platform/gtk/fast/hidpi/image-set-background-dynamic-expected.txt:
  • platform/gtk/fast/hidpi/image-set-border-image-dynamic-expected.txt:
  • platform/gtk/fast/media/mq-transform-02-expected.html: Removed.
  • platform/gtk/fast/media/mq-transform-03-expected.html: Removed.
  • platform/gtk/fast/preloader: Added.
  • platform/gtk/fast/preloader/document-write-2-expected.txt: Added.
  • platform/gtk/fast/preloader/document-write-expected.txt: Added.
  • platform/gtk/fast/preloader/script-expected.txt: Added.
  • platform/gtk/http/tests/security/XFrameOptions: Removed.
  • platform/gtk/http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt: Removed.
  • platform/gtk/http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt: Removed.
10:32 AM Changeset in webkit [146993] by allan.jensen@digia.com
  • 3 edits in trunk/Source/WTF

Support C++11 static_assert
https://bugs.webkit.org/show_bug.cgi?id=113308

Reviewed by Alexey Proskuryakov.

Use the C++11 static_assert for COMPILE_ASSERT when it is available. Note that
even when compiling with C++11 support, static_assert will not always be available
since Assertions.h may also be used outside of C++.

C11 _Static_assert is enabled for GCC when it has C11 support (gcc>=4.7 -std=c11).

  • wtf/Assertions.h:
  • wtf/Compiler.h:
9:43 AM Changeset in webkit [146992] by jer.noble@apple.com
  • 27 edits
    1 add in trunk

Source/WebCore: Source/WebCore: Mac: Media Controls always hide time display elements
https://bugs.webkit.org/show_bug.cgi?id=113355

Reviewed by Eric Carlson.

No new tests; rebaselined existing tests against correct behavior.

A prior commit set the "min-width:0" property on the time display elements, which, combined
with the "-webkit-flex-box:0 0" setting, caused the flex-box container to collapse the width
of the elements to zero. To achieve the desired effect of hiding the time display elements,
first set the elements' min-width to the desired width, as the new flex-box spec treats the
default value of "min-width:auto" as the intrinsic width, and will collapse the text display
elements to the intrinsic width of its contained text node.

The above allows the timeline container to collapse beyond the sum of its childrens'
intrinsic width. Create a custom renderer that detects when this happens, and hide the time
display controls.

  • css/mediaControls.css:
  • css/mediaControlsQuickTime.css:

(audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display):

Set the "min-width:" property to equal the "width:" property.

(audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display):

Ditto.

  • css/mediaControlsChromium.css:

(audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display):

Chromium assumes the time display controls are flex-boxes, so make that explicit.

  • html/shadow/MediaControlElementTypes.cpp: Removed MediaControlTimeDisplayElement::createRenderer().
  • html/shadow/MediaControlElementTypes.h:

(MediaControlTimeDisplayElement): Ditto.

  • html/shadow/MediaControlElements.cpp:

(WebCore::MediaControlTimelineContainerElement::setTimeDisplaysHidden): Added, walks through the

container's children and shows or hides time display elements.

(WebCore::MediaControlTimelineContainerElement::createRenderer): Added, creates a RenderMediaControlTimelineContainer.
(WebCore::getMediaControlTimeRemainingDisplayElementShadowPseudoId): Added, allow setTimeDisplaysHidden to

query against children's shadowPseudoId().

(WebCore::MediaControlTimeRemainingDisplayElement::shadowPseudoId): Moved contents to getMediaControlTimeRemainingDisplayElementShadowPseudoId.
(WebCore::getMediaControlCurrentTimeDisplayElementShadowPseudoId): Added, allow setTimeDisplaysHidden to

query against children's shadowPseudoId().

(WebCore::MediaControlCurrentTimeDisplayElement::shadowPseudoId): Moved contents to getMediaControlCurrentTimeDisplayElementShadowPseudoId.

  • html/shadow/MediaControlElements.h:

(MediaControlTimelineContainerElement):

  • rendering/RenderMediaControlElements.cpp:

(WebCore::RenderMediaControlTimelineContainer::RenderMediaControlTimelineContainer): Added, simple constructor.
(WebCore::RenderMediaControlTimelineContainer::layout): Detect when the controller's width is greater than

a certain value, and show or hide the time display elements in response.

  • rendering/RenderMediaControlElements.h:

(RenderMediaControlTimelineContainer):

LayoutTests: Mac: Media Controls always hide time display elements
https://bugs.webkit.org/show_bug.cgi?id=113355

Reviewed by Eric Carlson.

Rebaseline mac results.

  • platform/mac/media/audio-controls-rendering-expected.png:
  • platform/mac/media/audio-controls-rendering-expected.txt:
  • platform/mac/media/controls-after-reload-expected.png:
  • platform/mac/media/controls-after-reload-expected.txt:
  • platform/mac/media/controls-strict-expected.png:
  • platform/mac/media/controls-strict-expected.txt:
  • platform/mac/media/controls-styling-strict-expected.png: Added.
  • platform/mac/media/controls-styling-strict-expected.txt:
  • platform/mac/media/controls-without-preload-expected.png:
  • platform/mac/media/controls-without-preload-expected.txt:
  • platform/mac/media/video-controls-rendering-expected.png:
  • platform/mac/media/video-controls-rendering-expected.txt:
  • platform/mac/media/video-display-toggle-expected.png:
  • platform/mac/media/video-display-toggle-expected.txt:
  • platform/mac/media/video-no-audio-expected.png:
  • platform/mac/media/video-no-audio-expected.txt:
  • platform/mac/media/video-playing-and-pause-expected.png:
  • platform/mac/media/video-playing-and-pause-expected.txt:
9:09 AM Changeset in webkit [146991] by Antti Koivisto
  • 2 edits in trunk/Tools

Fix Zalan's email.

  • Scripts/webkitpy/common/config/committers.py:
8:50 AM Changeset in webkit [146990] by Csaba Osztrogonác
  • 3 edits in trunk/Tools

master.cfg cleanup
https://bugs.webkit.org/show_bug.cgi?id=113195

Reviewed by Ryosuke Niwa.

  • BuildSlaveSupport/build.webkit.org-config/config.json:
  • BuildSlaveSupport/build.webkit.org-config/master.cfg:
8:44 AM Changeset in webkit [146989] by Csaba Osztrogonác
  • 3 edits in trunk/Tools

master.cfg fine-tuning for Qt Mountain Lion Release bot
https://bugs.webkit.org/show_bug.cgi?id=113191

Reviewed by Ryosuke Niwa.

  • BuildSlaveSupport/build.webkit.org-config/config.json:
    • Rename the slave due to its location change.
    • Update the platform of the slave.
  • BuildSlaveSupport/build.webkit.org-config/master.cfg:

(RunQtAPITests): Enable running WK2 API tests on Qt.
(RunQtAPITests.start):
(RunWebKit2Tests.start): Force pixel tests on the Qt Mountain Lion Release builder.
(BuildAndTestWebKit2Factory): Added. (Build WK1 and WK2 too, but run only WK2 tests.)

8:36 AM Changeset in webkit [146988] by rakuco@webkit.org
  • 2 edits in trunk/Tools

[EFL][jhbuild] Evas fails to build when Wayland is present on the system
https://bugs.webkit.org/show_bug.cgi?id=113403

Reviewed by Kenneth Rohde Christiansen.

As of Evas 1.7.5, when Wayland is detected on the system, support for
both Wayland SHM and Wayland EGL is automatically enabled in autoconf.
The code, however, seems to depend on a few other flags which must be
explicitly enabled.

If those additional GL-related options are passed, we end up
having issues on the WebKit side, so disable Wayland support for
now.

  • efl/jhbuild.modules:
8:35 AM Changeset in webkit [146987] by loislo@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: CPU profiler. Swap FlameChart with Data Grid.
https://bugs.webkit.org/show_bug.cgi?id=113395

Reviewed by Pavel Feldman.

Looks like FlameChart is more powerful and flexible instrument
than plain old ProfileTree in DataGrid. The same action like
'look for the most expensive function in a frame' could be easily
done with FlameChart and need number of clicks in DataGrid.
So in an offline discussion we decided to place FlameChart on top of DataGrid.

  • inspector/front-end/CPUProfileView.js:
7:53 AM Changeset in webkit [146986] by Chris Fleizach
  • 4 edits in trunk

Regression in tests due to https://bugs.webkit.org/show_bug.cgi?id=113339
https://bugs.webkit.org/show_bug.cgi?id=113361

Source/WebCore:

Fix the red bots. No review.

Ensure only pop-up buttons get the AXRequired attribute instead of all buttons.

  • accessibility/mac/WebAccessibilityObjectWrapperMac.mm:

(-[WebAccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
(-[WebAccessibilityObjectWrapper accessibilityAttributeNames]):

LayoutTests:

Remove skipped tests.

  • platform/mac/TestExpectations:
7:48 AM Changeset in webkit [146985] by zarvai@inf.u-szeged.hu
  • 1 edit
    14 deletes in trunk/LayoutTests

[Qt] Unreviewed gardening. Cleanup after r146756 and r146786.

  • platform/qt/fast/frames/frame-set-scaling-rotate-expected.txt: Removed.
  • platform/qt/fast/frames/frame-set-scaling-skew-expected.txt: Removed.
  • platform/qt/fast/gradients/border-image-gradient-sides-and-corners-expected.txt: Removed.
  • platform/qt/fast/line-grid/line-align-left-edges-expected.txt: Removed.
  • platform/qt/fast/reflections/reflection-masks-expected.txt: Removed.
  • platform/qt/fast/reflections/reflection-masks-opacity-expected.txt: Removed.
  • platform/qt/fast/reflections/reflection-masks-outset-expected.txt: Removed.
  • platform/qt/fast/repaint/background-misaligned-expected.txt: Removed.
  • platform/qt/fast/repaint/overhanging-float-detach-repaint-expected.txt: Removed.
  • platform/qt/fast/repaint/transform-absolute-child-expected.txt: Removed.
  • platform/qt/fast/replaced/border-radius-clip-content-edge-expected.txt: Removed.
  • platform/qt/fast/table/border-collapsing/equal-precedence-resolution-expected.txt: Removed.
  • platform/qt/fast/text/bidi-embedding-pop-and-push-same-2-expected.txt: Removed.
  • platform/qt/fast/writing-mode/block-level-images-expected.txt: Removed.
7:46 AM Changeset in webkit [146984] by Carlos Garcia Campos
  • 1 copy in releases/WebKitGTK/webkit-2.0.0

Tagging the WebKitGTK+ 2.0.0 release

7:37 AM Changeset in webkit [146983] by vsevik@chromium.org
  • 13 edits in trunk

Web Inspector: Breakpoint manager should restore breakpoints when uiSourceCode is added.
https://bugs.webkit.org/show_bug.cgi?id=113381

Reviewed by Pavel Feldman.

Source/WebCore:

Breakpoint manager now restores breakpoints on UISourceCodeAdded event.
Breakpoint manager now only resets breakpoints in debugger when source mapping is changed to/from non identity one.

  • inspector/front-end/BreakpointManager.js:

(WebInspector.BreakpointManager.prototype._uiSourceCodeAdded):
(WebInspector.BreakpointManager.prototype._resetBreakpoints):
(WebInspector.BreakpointManager.prototype._uiSourceCodeMappingChanged):

  • inspector/front-end/CompilerScriptMapping.js:

(WebInspector.CompilerScriptMapping.prototype.get isIdentity):

  • inspector/front-end/DefaultScriptMapping.js:

(WebInspector.DefaultScriptMapping.prototype.isIdentity):

  • inspector/front-end/ResourceScriptMapping.js:

(WebInspector.ResourceScriptMapping.prototype.isIdentity):

  • inspector/front-end/SASSSourceMapping.js:

(WebInspector.SASSSourceMapping.prototype.isIdentity):

  • inspector/front-end/ScriptSnippetModel.js:

(WebInspector.SnippetScriptMapping.prototype.isIdentity):

  • inspector/front-end/SourceMapping.js:

(WebInspector.SourceMapping.prototype.isIdentity):

  • inspector/front-end/StylesSourceMapping.js:

(WebInspector.StylesSourceMapping.prototype.isIdentity):

  • inspector/front-end/UISourceCode.js:

(WebInspector.UISourceCode.prototype.setSourceMapping):

LayoutTests:

  • inspector/debugger/breakpoint-manager-expected.txt:
  • inspector/debugger/breakpoint-manager.html:
7:27 AM Changeset in webkit [146982] by yurys@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: update Timeline.TimelineEvent definition to include DOM counters and native memory stats
https://bugs.webkit.org/show_bug.cgi?id=113376

Reviewed by Vsevolod Vlasov.

Fixed assertion failure in debug mode after r146975.

  • inspector/InspectorTimelineAgent.cpp:

(WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):

7:22 AM Changeset in webkit [146981] by loislo@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: FlameChart. Provide 15px padding left for the chart so developers will see the first divider with '0' title.
https://bugs.webkit.org/show_bug.cgi?id=113404

Reviewed by Pavel Feldman.

15px paddingLeft was added to the code for the chart.

  • inspector/front-end/FlameChart.js:

(WebInspector.FlameChart):
(WebInspector.FlameChart.Calculator.prototype._updateBoundaries):
(WebInspector.FlameChart.Calculator.prototype.computePosition):
(WebInspector.FlameChart.prototype.draw):

7:18 AM Changeset in webkit [146980] by dominik.rottsches@intel.com
  • 6 edits in trunk

Unreviewed, rolling out r146864.
http://trac.webkit.org/changeset/146864
https://bugs.webkit.org/show_bug.cgi?id=113391

causes crashes on Wk2 EFL release bot (Requested by drott on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-27

.:

  • Source/cmake/OptionsEfl.cmake:

Tools:

  • Scripts/webkitperl/FeatureList.pm:

LayoutTests:

  • platform/efl/TestExpectations:
7:14 AM Changeset in webkit [146979] by rakuco@webkit.org
  • 3 edits in trunk/Tools

[jhbuild] Correctly specify an alternate number of make jobs.
https://bugs.webkit.org/show_bug.cgi?id=113396

Reviewed by Philippe Normand.

So far, we were using the `MAKEFLAGS' environment variable to pass the
number of compilation jobs we wanted to jhbuild. jhbuild itself, on the
other hand, prefers to use the `jobs' variable from jhbuildrc for that.

We now behave more closely to the rest of the WebKit tools by first
checking the `NUMBER_OF_PROCESSORS' environment variable and, if it is
not set, just letting jhbuild itself figure out how many jobs to use.

  • efl/jhbuildrc:
  • gtk/jhbuildrc:
4:10 AM Changeset in webkit [146978] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

[EFL] Remove a duplicated test from TestExpectations
https://bugs.webkit.org/show_bug.cgi?id=113385

Unreviewed, EFL gardening.

Patch by Seokju Kwon <Seokju Kwon> on 2013-03-27

  • platform/efl/TestExpectations:
4:06 AM Changeset in webkit [146977] by tkent@chromium.org
  • 16 edits in trunk/Source

Rename HTMLFormControlElement::readOnly to isReadOnly
https://bugs.webkit.org/show_bug.cgi?id=113297

Reviewed by Alexey Proskuryakov.

Source/WebCore:

HTMLFormControlElement::readOnly is not an implementation of
'readOnly' IDL attribute. It's confusing and we don't need to
violate our naming convention.

No new tests. Just a refactoring.

  • accessibility/AccessibilityNodeObject.cpp:

(WebCore::AccessibilityNodeObject::isReadOnly):

  • html/BaseMultipleFieldsDateAndTimeInputType.cpp:

(WebCore::BaseMultipleFieldsDateAndTimeInputType::isEditControlOwnerReadOnly):

  • html/HTMLFormControlElement.cpp:

(WebCore::HTMLFormControlElement::HTMLFormControlElement):
(WebCore::HTMLFormControlElement::parseAttribute):

  • html/HTMLFormControlElement.h:

(WebCore::HTMLFormControlElement::isReadOnly):
(WebCore::HTMLFormControlElement::isDisabledOrReadOnly):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::matchesReadOnlyPseudoClass):
(WebCore::HTMLInputElement::matchesReadWritePseudoClass):

  • html/HTMLTextAreaElement.cpp:

(WebCore::HTMLTextAreaElement::matchesReadOnlyPseudoClass):
(WebCore::HTMLTextAreaElement::matchesReadWritePseudoClass):

  • html/shadow/SliderThumbElement.cpp:

(WebCore::SliderThumbElement::defaultEventHandler):
(WebCore::SliderThumbElement::willRespondToMouseMoveEvents):
(WebCore::SliderThumbElement::willRespondToMouseClickEvents):

  • html/shadow/TextControlInnerElements.cpp:

(WebCore::InputFieldSpeechButtonElement::willRespondToMouseClickEvents):
(WebCore::InputFieldSpeechButtonElement::setRecognitionResult):

  • html/shadow/TextFieldDecorationElement.cpp:

(WebCore::TextFieldDecorationElement::updateImage):

  • rendering/RenderTextControl.cpp:

(WebCore::updateUserModifyProperty):

  • rendering/RenderThemeMacShared.mm:

(WebCore::RenderThemeMacShared::paintSearchFieldCancelButton):

Source/WebKit/chromium:

  • src/WebFormControlElement.cpp:

(WebKit::WebFormControlElement::isReadOnly):

Source/WebKit/win:

  • DOMHTMLClasses.cpp:

(DOMHTMLInputElement::readOnly):

4:04 AM Changeset in webkit [146976] by zeno.albisser@digia.com
  • 8 edits in trunk

[Qt] Remove Qt specific WorkQueueItem definitions.
https://bugs.webkit.org/show_bug.cgi?id=112891

This patch is preparation work for removing
WorkQueue related code from TestRunnerQt and
replacing it with generic TestRunner code.

Reviewed by Benjamin Poulain.

Source/JavaScriptCore:

  • API/JSStringRefQt.cpp:

(JSStringCreateWithQString):

Adding a convenience function to create a
JSStringRef from a QString.

  • API/JSStringRefQt.h:

Tools:

  • DumpRenderTree/qt/TestRunnerQt.cpp:

(TestRunnerQt::queueBackNavigation):
(TestRunnerQt::queueForwardNavigation):
(TestRunnerQt::queueLoadHTMLString):
(TestRunnerQt::queueReload):
(TestRunnerQt::queueLoadingScript):
(TestRunnerQt::queueNonLoadingScript):
(TestRunner::queueLoad):

  • DumpRenderTree/qt/TestRunnerQt.h:

(TestRunnerQt):

  • DumpRenderTree/qt/WorkQueueItemQt.cpp:

(LoadItem::invoke):
(LoadHTMLStringItem::invoke):
(LoadAlternateHTMLStringItem::invoke):
(ReloadItem::invoke):
(ScriptItem::invoke):
(BackForwardItem::invoke):

  • DumpRenderTree/qt/WorkQueueItemQt.h:

(LoadAlternateHTMLStringItem::LoadAlternateHTMLStringItem):
(LoadAlternateHTMLStringItem):

3:27 AM WebKitGTK/2.0.x edited by Carlos Garcia Campos
(diff)
2:29 AM Changeset in webkit [146975] by yurys@chromium.org
  • 4 edits in trunk/Source/WebCore

Web Inspector: update Timeline.TimelineEvent definition to include DOM counters and native memory stats
https://bugs.webkit.org/show_bug.cgi?id=113376

Reviewed by Vsevolod Vlasov.

Added missing fields to Timeline.TimelineEvent type definition in Inspector.json

  • inspector/Inspector.json:
  • inspector/InspectorTimelineAgent.cpp:

(WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):
(WebCore::InspectorTimelineAgent::setDOMCounters):
Switched InspectorTimelineAgent to the new typed event builders.
(WebCore::InspectorTimelineAgent::setNativeHeapStatistics):

  • inspector/InspectorTimelineAgent.h:

(InspectorTimelineAgent):

2:03 AM Changeset in webkit [146974] by Carlos Garcia Campos
  • 4 edits in releases/WebKitGTK/webkit-2.0

Unreviewed. Update NEWS and Versions.m4 for 2.0.0 release.

.:

  • Source/autotools/Versions.m4: Bump version numbers.

Source/WebKit/gtk:

  • NEWS: Added release notes for 2.0.0.
1:33 AM Changeset in webkit [146973] by vsevik@chromium.org
  • 4 edits in trunk

Web Inspector: Follow-up to r146898: test that uiSourceCodes are not leaking in breakpoint manager.
https://bugs.webkit.org/show_bug.cgi?id=113368

Reviewed by Pavel Feldman.

Source/WebCore:

Added a missed line and a test.

  • inspector/front-end/BreakpointManager.js:

(WebInspector.BreakpointManager.prototype._projectWillReset):

LayoutTests:

  • inspector/debugger/breakpoint-manager.html:
1:12 AM Changeset in webkit [146972] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: [CodeMirror] CodeMirrorTextEditor.highlightRange has bugs
https://bugs.webkit.org/show_bug.cgi?id=113348

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-27
Reviewed by Vsevolod Vlasov.

No new tests.

  • Append additional "<class>-start" class to the first highlighted span

and "<class>-end" class to the last highlighted span to provide a way
to set up a css classes with borders.

  • Increment end column of the markup range to simulate inclusive range.
  • inspector/front-end/CodeMirrorTextEditor.js:

(WebInspector.CodeMirrorTextEditor.prototype.highlightRange):

1:04 AM Changeset in webkit [146971] by commit-queue@webkit.org
  • 5 edits in trunk/Source/WebCore

Web Inspector: Add isClean/markClean method pair to textEditor.js
https://bugs.webkit.org/show_bug.cgi?id=112815

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-27
Reviewed by Vsevolod Vlasov.

No new tests: no change in behaviour.

  • Add TextEditor.isClean and TextEditor.markClean methods
  • Implement these methods in DefaultTextEditor
  • Implement these methods in CodeMirrorTextEditor
  • inspector/front-end/CodeMirrorTextEditor.js:

(WebInspector.CodeMirrorTextEditor.prototype.isClean):
(WebInspector.CodeMirrorTextEditor.prototype.markClean):

  • inspector/front-end/DefaultTextEditor.js:

(WebInspector.DefaultTextEditor.prototype.isClean):
(WebInspector.DefaultTextEditor.prototype.markClean):

  • inspector/front-end/TextEditor.js:

(WebInspector.TextEditor.prototype.isClean):
(WebInspector.TextEditor.prototype.markClean):

  • inspector/front-end/TextEditorModel.js:

(WebInspector.TextEditorModel.endsWithBracketRegex.):

1:01 AM Changeset in webkit [146970] by loislo@chromium.org
  • 6 edits in trunk/Source/WebCore

Unreviewed. Web Inspector. rename method Timeline.Calculator.grandMinimumBoundary to Timeline.Calculator.zeroTime

No changes in behaviour.

  • inspector/front-end/FlameChart.js:

(WebInspector.FlameChart.Calculator.prototype.zeroTime):
(WebInspector.FlameChart.OverviewCalculator.prototype.zeroTime):

  • inspector/front-end/NetworkPanel.js:

(WebInspector.NetworkBaseCalculator.prototype.zeroTime):

  • inspector/front-end/TimelineGrid.js:

(WebInspector.TimelineGrid.prototype.updateDividers):
(WebInspector.TimelineGrid.Calculator.prototype.zeroTime):

  • inspector/front-end/TimelineOverviewPane.js:

(WebInspector.TimelineOverviewCalculator.prototype.zeroTime):

  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelineCalculator.prototype.zeroTime):

12:31 AM Changeset in webkit [146969] by loislo@chromium.org
  • 4 edits in trunk/Source/WebCore

Web Inspector: Timeline. Scroll dividers with the underlying events.
https://bugs.webkit.org/show_bug.cgi?id=113315

Reviewed by Pavel Feldman.

Now when TimelineGrid is able to draw dividers with any offset
we could cut away paddingLeft member of Timeline.Calculator
and clear the code of TimelineGrid.

  • inspector/front-end/TimelineGrid.js:

(WebInspector.TimelineGrid.prototype.updateDividers):

  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelinePanel.prototype._refresh):
(WebInspector.TimelineCalculator.prototype.computePosition):
(WebInspector.TimelineCalculator.prototype.setDisplayWindow):
(WebInspector.TimelineCalculator.prototype.grandMinimumBoundary):

  • inspector/front-end/inspectorCommon.css:

(.resources-dividers-label-bar):

12:08 AM Changeset in webkit [146968] by commit-queue@webkit.org
  • 10 edits in trunk/Source

[CoordGfx] Support to share GraphicsSurface flags with client.
https://bugs.webkit.org/show_bug.cgi?id=112982

Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2013-03-27
Reviewed by Noam Rosenthal.

Covered by existing WebGL tests.

Source/WebCore:

This patch adds support to pass GraphicsSurface flags during it's client creation.
This would be helpful to determine cases when blending can be disabled on client
side i.e When AlphaSupport is disabled during Graphics Surface creation.
With GLX, we rely on Window to provide us with necessary information on client side.
This might not be the case on other platforms or when not using Window on X.
This patch doesn't change original behaviour of creating GraphicsSurface client
with default flags GraphicsSurface::SupportsTextureTarget and GraphicsSurface::SupportsSharing.

  • platform/graphics/texmap/TextureMapperPlatformLayer.h:

(WebCore::TextureMapperPlatformLayer::graphicsSurfaceFlags):

  • platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:

(WebCore::CoordinatedGraphicsLayer::createCanvasIfNeeded):

  • platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:

(WebCore::CoordinatedGraphicsScene::createCanvasIfNeeded):

  • platform/graphics/texmap/coordinated/CoordinatedGraphicsState.h:

(CoordinatedGraphicsLayerState):

  • platform/graphics/efl/GraphicsContext3DPrivate.cpp:

(WebCore):
(WebCore::GraphicsContext3DPrivate::graphicsSurfaceFlags):

  • platform/graphics/efl/GraphicsContext3DPrivate.h:

(GraphicsContext3DPrivate):

  • platform/graphics/surfaces/efl/GraphicsSurfaceCommon.cpp:

(WebCore::GraphicsSurfacePrivate::GraphicsSurfacePrivate):
(WebCore::GraphicsSurfacePrivate::initializeClient):

Source/WebKit2:

This patch adds support to pass GraphicsSurface flags
during it's client creation.

  • Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:

(CoreIPC::::encode):
(CoreIPC::::decode):

Mar 26, 2013:

11:39 PM Changeset in webkit [146967] by tasak@google.com
  • 3 edits
    2 adds in trunk

[shadow] styleForText should consider the case where parent node has no style
https://bugs.webkit.org/show_bug.cgi?id=113275

Source/WebCore:

If a text node is distributed, its parent node for rendering and
styling might have no style. In the case, styleForText should return
default style.

Reviewed by Hajime Morrita.

Test: fast/dom/shadow/text-node-distributed-crash.html

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::styleForText):
Check whether a parent node has any style or not. If not, return
default style. This is the same behavior as styleForElement.

LayoutTests:

Reviewed by Hajime Morrita.

  • fast/dom/shadow/text-node-distributed-crash-expected.txt: Added.
  • fast/dom/shadow/text-node-distributed-crash.html: Added.
11:02 PM Changeset in webkit [146966] by yurys@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed. Rebaseline fast/replaced/border-radius-clip-content-edge.html

  • platform/chromium-win/fast/replaced/border-radius-clip-content-edge-expected.png:
10:03 PM Changeset in webkit [146965] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Make SocketStreamHandle (Chromium port) fully use IPC window in send()
https://bugs.webkit.org/show_bug.cgi?id=113304

Patch by Takeshi Yoshino <tyoshino@chromium.org> on 2013-03-26
Reviewed by Kent Tamura.

socket_stream of Chromium buffers send data up to 32KiB (exact) bytes.

However, SocketStreamHandleInternal::send() method now keeps in-flight
send data not greater than m_maxPendingSendAllowed - 1 that is
32KiB - 1. This means that SocketStreamHandleInternal consumes the
buffered data in SocketStreamHandleBase by 32KiB - 1. It makes memory
copy operations unaligned unnecessarily. It should just use the
allowed size fully.

  • platform/network/chromium/SocketStreamHandle.cpp:

(WebCore::SocketStreamHandleInternal::send):
(WebCore):

8:49 PM Changeset in webkit [146964] by oliver@apple.com
  • 2 edits in trunk/Source/WTF

RefCountedArray needs a size based constructor
https://bugs.webkit.org/show_bug.cgi?id=113277

Reviewed by Benjamin Poulain.

Simple patch to add a size based constructor for RefCountedArray
so that we can create an sharable array without a copy.

  • wtf/RefCountedArray.h:

(RefCountedArray):
(WTF::RefCountedArray::RefCountedArray):

8:02 PM Changeset in webkit [146963] by pdr@google.com
  • 3 edits in trunk/LayoutTests

Rebaseline expectations for fast/replaced/border-radius-clip-content-edge.html

Unreviewed rebaseline of test expectations after r146955

  • platform/chromium-linux/fast/replaced/border-radius-clip-content-edge-expected.png:
  • platform/chromium-mac/fast/replaced/border-radius-clip-content-edge-expected.png:
7:49 PM Changeset in webkit [146962] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit/mac

Unreviewed attempted cr-mac build fix.

  • WebCoreSupport/WebSystemInterface.mm:

(InitWebCoreSystemInterface):

7:40 PM Changeset in webkit [146961] by hayato@chromium.org
  • 41 edits in trunk/Source

Allow ShadowContents in HitTests by default.
https://bugs.webkit.org/show_bug.cgi?id=113171

Reviewed by Dimitri Glazkov.

Source/WebCore:

HitTestRequest is widely used in WebCore, but AllowShadowContents
flag is not turned on by default. In most places, we can set the
flag on.

This change makes HitTests allow shadow contents by default.

To track all existing HitTests which do not allow shadow contents,
and discourage such a HitTest in the future, I've introduced
disallowShadowContenet flag so that callers must turn on this flag
explicitly if they want to disallow shadow contents in their HitTests.

This change should be refactoring and should not include any
behavior changes. After this change, we'll investigate each place
where disallowShadowContents is used step by step and get rid of
the flag if it is okay to remove.

No new tests, no behavior change.

  • dom/Document.h:

(Document):

  • dom/TreeScope.cpp:

(WebCore::nodeFromPoint):

  • editing/FrameSelection.cpp:

(WebCore::FrameSelection::contains):

  • page/DragController.cpp:

(WebCore::elementUnderMouse):
(WebCore::DragController::canProcessDrag):
(WebCore::DragController::startDrag):

  • page/EventHandler.cpp:

(WebCore::EventHandler::handleMouseDraggedEvent):
(WebCore::EventHandler::eventMayStartDrag):
(WebCore::EventHandler::updateSelectionForMouseDrag):
(WebCore::EventHandler::hitTestResultAtPoint):
(WebCore::EventHandler::handleMousePressEvent):
(WebCore::EventHandler::handleMouseDoubleClickEvent):
(WebCore::EventHandler::handleMouseMoveEvent):
(WebCore::EventHandler::handleMouseReleaseEvent):
(WebCore::EventHandler::updateDragAndDrop):
(WebCore::EventHandler::isInsideScrollbar):
(WebCore::EventHandler::handleWheelEvent):
(WebCore::EventHandler::handleGestureEvent):
(WebCore::EventHandler::handleGestureLongPress):
(WebCore::EventHandler::handleGestureScrollBegin):
(WebCore::EventHandler::bestClickableNodeForTouchPoint):
(WebCore::EventHandler::bestContextMenuNodeForTouchPoint):
(WebCore::EventHandler::bestZoomableAreaForTouchPoint):
(WebCore::EventHandler::sendContextMenuEvent):
(WebCore::EventHandler::sendContextMenuEventForKey):
(WebCore::EventHandler::hoverTimerFired):
(WebCore::EventHandler::dragSourceEndedAt):
(WebCore::EventHandler::handleDrag):
(WebCore::EventHandler::handleTouchEvent):
(WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled):

  • page/EventHandler.h:

(EventHandler):

  • page/FocusController.cpp:

(WebCore::updateFocusCandidateIfNeeded):

  • page/Frame.cpp:

(WebCore::Frame::visiblePositionForPoint):

  • page/TouchDisambiguation.cpp:

(WebCore::findGoodTouchTargets):

  • rendering/HitTestRequest.h:

(WebCore::HitTestRequest::disallowsShadowContent):

  • rendering/HitTestResult.cpp:

(WebCore::HitTestResult::addNodeToRectBasedTestResult):

  • rendering/RenderFlowThread.cpp:

(WebCore::RenderFlowThread::hitTestFlowThreadPortionInRegion):

  • rendering/svg/RenderSVGResourceClipper.cpp:

(WebCore::RenderSVGResourceClipper::hitTestClipContent):

  • testing/Internals.cpp:

(WebCore::Internals::nodesFromRect):

Source/WebKit/blackberry:

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::hitTestResult):

  • WebKitSupport/FatFingers.cpp:

(BlackBerry::WebKit::FatFingers::getNodesFromRect):

  • WebKitSupport/ProximityDetector.cpp:

(BlackBerry::WebKit::ProximityDetector::findBestPoint):

  • WebKitSupport/SelectionHandler.cpp:

(BlackBerry::WebKit::visiblePositionForPointIgnoringClipping):

Source/WebKit/chromium:

  • src/ContextMenuClientImpl.cpp:

(WebKit::selectMisspelledWord):

  • src/WebFrameImpl.cpp:

(WebKit::WebFrameImpl::visiblePositionForWindowPoint):

  • src/WebPluginContainerImpl.cpp:

(WebKit::WebPluginContainerImpl::isRectTopmost):

  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::computeBlockBounds):
(WebKit::WebViewImpl::bestTapNode):

Source/WebKit/efl:

  • ewk/ewk_frame.cpp:

(ewk_frame_hit_test_new):

Source/WebKit/gtk:

  • webkit/webkitwebinspector.cpp:

(webkit_web_inspector_inspect_coordinates):

  • webkit/webkitwebview.cpp:

(prepareMouseEventForFrame):
(webkit_web_view_get_hit_test_result):

Source/WebKit/mac:

  • WebView/WebFrame.mm:

(-[WebFrame elementAtPoint:]):

  • WebView/WebHTMLView.mm:

(-[WebHTMLView elementAtPoint:allowShadowContent:]):

Source/WebKit/qt:

  • WebCoreSupport/QWebFrameAdapter.cpp:

(QWebFrameAdapter::hitTestContent):

Source/WebKit/win:

  • WebView.cpp:

(WebView::gestureNotify):

Source/WebKit2:

  • WebProcess/WebPage/WebFrame.cpp:

(WebKit::WebFrame::hitTest):

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::highlightPotentialActivation):
(WebKit::WebPage::findZoomableAreaForPoint):
(WebKit::WebPage::determinePrimarySnapshottedPlugIn):

  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::shouldDelayWindowOrderingEvent):
(WebKit::WebPage::acceptsFirstMouse):

7:20 PM Changeset in webkit [146960] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Memory leak in WebPagePrivate.cpp - NavigatorContentUtilsClientBlackBerry
https://bugs.webkit.org/show_bug.cgi?id=112996

Patch by Xiaobo Wang <xbwang@torchmobile.com.cn> on 2013-03-26
Reviewed by Rob Buis.

PR 312552
Internally Reviewed by Anthony Scian.

NavigatorContentUtilsClientBlackBerry is new'ed in WebPagePrivate::init(),
but not deleted anywhere. Fixed by creating an OwnPtr for it.
Also fixed some webkit-style errors.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::init):

  • Api/WebPage_p.h:

(WebCore):
(WebPagePrivate):

7:20 PM Changeset in webkit [146959] by wangxianzhu@chromium.org
  • 5 edits
    2 copies
    2 deletes in branches/chromium/1410

Merge 146940 "Non-paintsContent fixed position layer should not ..."

Non-paintsContent fixed position layer should not cause slow scrolling
https://bugs.webkit.org/show_bug.cgi?id=113238

Reviewed by James Robinson.

Source/WebCore:

Added NotCompositedForNoVisibleContent in ViewportConstrainedNotCompositedReason and set it in RLC.

Test: compositing/layer-creation/fixed-position-no-content-scroll-reason.html

  • rendering/RenderLayer.h: Add NotCompositedForNoVisibleContent.
  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::requiresCompositingForPosition): Set NotCompositedForNoVisibleContent reason when the fixed position layer has no visible content.

LayoutTests:

  • compositing/layer-creation/fixed-position-no-content-scroll-reason-expected.txt: Added.
  • compositing/layer-creation/fixed-position-no-content-scroll-reason.html: Copied from LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html. Test case for the bug.
  • compositing/layer-creation/fixed-position-in-view-dynamic.html: Set background of fixed layer to distinguish out-of-view case from no-content case.
  • compositing/layer-creation/fixed-position-out-of-view-dynamic.html: Ditto.
  • compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html: Ditto.
  • platform/chromium/compositing/layer-creation/fixed-position-in-view-dynamic-expected.txt: Removed. This was a wrong rebaseline related to this bug.
  • platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-in-view-dynamic-expected.txt: Removed. This was a wrong rebaseline related to this bug.

TBR=wangxianzhu@chromium.org
Review URL: https://codereview.chromium.org/12499009

6:22 PM Changeset in webkit [146958] by mark.lam@apple.com
  • 2 edits in trunk/LayoutTests

Greening the mac bots.
https://bugs.webkit.org/show_bug.cgi?id=113361.

Not Reviewed.

  • platform/mac/TestExpectations:
6:21 PM Changeset in webkit [146957] by danakj@chromium.org
  • 6 edits
    5 deletes in trunk/Source

[chromium] Remove the WebVideoFrame, WebVideoFrameProvider, WebStreamTextureClient, and WebVideoLayer classes.
https://bugs.webkit.org/show_bug.cgi?id=112483

Reviewed by James Robinson.

Source/Platform:

These classes are no longer used, so remove them. And remove APIs
to provide them.

  • Platform.gypi:
  • chromium/public/WebCompositorSupport.h:

(WebKit):

  • chromium/public/WebVideoFrame.h: Removed.
  • chromium/public/WebVideoFrameProvider.h: Removed.
  • chromium/public/WebVideoLayer.h: Removed.

Source/WebKit/chromium:

These classes are no longer used, so remove them.

  • WebKit.gyp:
  • public/WebMediaPlayer.h:

(WebKit):
(WebMediaPlayer):

  • public/WebStreamTextureClient.h: Removed.
  • public/WebVideoFrame.h: Removed.
6:20 PM Changeset in webkit [146956] by timothy_horton@apple.com
  • 14 edits in trunk

[ca] Tell CA to clean up unused resources if a given WebProcess won't be drawing
https://bugs.webkit.org/show_bug.cgi?id=107539
<rdar://problem/13032692>

Reviewed by Simon Fraser.

  • WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:

(InitWebCoreSystemInterface): Update WebCoreSystemInterface.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::WebPage): Initially move the Page out of the window if necessary;
Page defaults to in-window, which is wrong in many cases - we depend on
Page::isInWindow being accurate to decide whether WebPage::setIsInWindow is actually
a state change or not.
(WebKit::WebPage::setIsInWindow):

  • WebProcess/WebProcess.cpp: Inform WebProcess when we go on/off screen.

(WebKit::WebProcess::WebProcess):
(WebKit::WebProcess::pageDidMoveOnscreen): Keep track of the number of on-screen pages in this process.
(WebKit::WebProcess::pageWillMoveOffscreen): If the number of on-screen pages drops to zero, clean up unused rendering resources.

  • WebProcess/WebProcess.h:

Update WebSystemInterface.

  • WebCoreSupport/WebSystemInterface.mm:

(InitWebCoreSystemInterface):

  • platform/mac/WebCoreSystemInterface.h:
  • platform/mac/WebCoreSystemInterface.mm:
6:00 PM Changeset in webkit [146955] by Antti Koivisto
  • 10 edits in trunk

Test if non-immediate descendants obscure background
https://bugs.webkit.org/show_bug.cgi?id=113137

Reviewed by Simon Fraser.

Source/WebCore:

The current obscuration test only covers immediate children. We can find more cases by looking deeper into descendants.

The patch makes the test sufficiently smart to stop a heavy fully obscured gif animation on micrsoft.com.

  • loader/cache/CachedImage.cpp:

(WebCore::CachedImage::animationAdvanced):

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::styleDidChange):

Invalidate parents to max test depth.

(WebCore::RenderBox::backgroundPaintedExtent):

Background painting is pixel snapped.

(WebCore::isCandidateForOpaquenessTest):
(WebCore::RenderBox::foregroundIsKnownToBeOpaqueInRect):

Separate foreground testing and make it recursive.
Add fast bailout for common static positioned case.
Remove maximum child count, the fast bailouts should prevent long tests.
Add maximum depth so we know how deep we need to invalidate in styleDidChange.

(WebCore::RenderBox::computeBackgroundIsKnownToBeObscured):
(WebCore):

  • rendering/RenderBox.h:

(RenderBox):

  • rendering/RenderImage.cpp:

(WebCore::RenderImage::foregroundIsKnownToBeOpaqueInRect):
(WebCore):
(WebCore::RenderImage::computeBackgroundIsKnownToBeObscured):

  • rendering/RenderImage.h:

(RenderImage):

LayoutTests:

  • fast/backgrounds/obscured-background-child-style-change-expected.html:
  • fast/backgrounds/obscured-background-child-style-change.html:
  • fast/repaint/obscured-background-no-repaint-expected.txt:
  • fast/repaint/obscured-background-no-repaint.html:
5:59 PM Changeset in webkit [146954] by benjamin@webkit.org
  • 2 edits in trunk/Source/WebCore

Regression (r145601): out-of-bounds read in line breaking / new width cache
https://bugs.webkit.org/show_bug.cgi?id=113347

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-03-26
Reviewed by Geoffrey Garen.

The values zero and 0xffff have special values with the default HashTraits. Those values
are also valid values for UChar.

To avoid any table inconsitency, switch from UChar to uint32_t as the key type for
the WidthCache's single char map. The traits is also changed to allow zero as a normal
value.

This makes no space or time change over the previous code because:
-The struct KeyValuePair was already 64bits due to the ABI alignment restrictions on floats.
-The two hashes take the same number of instructions.

  • platform/graphics/WidthCache.h:

(WidthCache):

5:43 PM Changeset in webkit [146953] by tkent@chromium.org
  • 3 edits in trunk/Source/WebCore

Make HTMLProgressElement::isDeterminate private
https://bugs.webkit.org/show_bug.cgi?id=113299

Reviewed by Kentaro Hara.

The only callsite of isDeterminate outside of HTMLProgressElement
is in StyleResolver::sharingCandidateHasIdenticalStyleAffectingAttributes,
and we can replace it with Element::shouldAppearIndeterminate.

No new tests. Just a refactoring.

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::sharingCandidateHasIdenticalStyleAffectingAttributes):
Use Element::shouldAppearIndeterminate.

  • html/HTMLProgressElement.h:

(HTMLProgressElement): Make isDeterminate private.

5:17 PM Changeset in webkit [146952] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

Unreviewed. Rolled Chromium DEPS to r190706. Requested by
danakj_ via sheriffbot.

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-26

  • DEPS:
5:15 PM Changeset in webkit [146951] by jamesr@google.com
  • 2 edits in trunk/Source/WTF

Compile fix - OS(WINDOWS), not OS(WIN).

  • wtf/ProcessID.h:

(WTF::getCurrentProcessID):

5:12 PM Changeset in webkit [146950] by dgrogan@chromium.org
  • 2 edits in trunk/Source/WebCore

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):

5:11 PM Changeset in webkit [146949] by Chris Fleizach
  • 3 edits
    2 adds in trunk

WebKit does not expose @required or @aria-required as AXRequired on select elements
https://bugs.webkit.org/show_bug.cgi?id=113339

Reviewed by Tim Horton.

Source/WebCore:

Make sure button types can return the AXRequired attribute.

Tests: platform/mac/accessibility/aria-required-popup-button.html

  • accessibility/mac/WebAccessibilityObjectWrapperMac.mm:

(-[WebAccessibilityObjectWrapper accessibilityAttributeNames]):

LayoutTests:

  • platform/mac/accessibility/aria-required-popup-button-expected.txt: Added.
  • platform/mac/accessibility/aria-required-popup-button.html: Added.
5:09 PM Changeset in webkit [146948] by jamesr@google.com
  • 2 edits in trunk/Source/WTF

Fix compile for OS(WIN) != PLATFORM(WIN)
https://bugs.webkit.org/show_bug.cgi?id=113356

Reviewed by Tim Horton.

  • wtf/ProcessID.h:

(WTF::getCurrentProcessID):

5:03 PM Changeset in webkit [146947] by fpizlo@apple.com
  • 5 edits
    6 adds in trunk

REGRESSION: Sometimes, operations on proven strings ignore changes to the string prototype
https://bugs.webkit.org/show_bug.cgi?id=113353
<rdar://problem/13510778>

Source/JavaScriptCore:

Reviewed by Mark Hahnenberg and Geoffrey Garen.

ToString should call speculateStringObject() even if you know that it's a string object, since
it calls it to also get the watchpoint. Note that even with this change, if you do
Phantom(Check:StringObject:@a), it might get eliminated just because we proved that @a is a
string object (thereby eliminating the prototype watchpoint); that's fine since ToString is
MustGenerate and never decays to Phantom.

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::compileToStringOnCell):
(JSC::DFG::SpeculativeJIT::speculateStringObject):
(JSC::DFG::SpeculativeJIT::speculateStringOrStringObject):

  • dfg/DFGSpeculativeJIT.h:

(SpeculativeJIT):
(JSC::DFG::SpeculativeJIT::speculateStringObjectForStructure):

LayoutTests:

Reviewed by Mark Hahnenberg and Geoffrey Garen.

  • fast/js/jsc-test-list:
  • fast/js/dfg-phantom-base-expected.txt: Added.
  • fast/js/dfg-phantom-base.html: Added.
  • fast/js/dfg-to-string-toString-becomes-bad-with-check-structure-expected.txt: Added.
  • fast/js/dfg-to-string-toString-becomes-bad-with-check-structure.html: Added.
4:52 PM Changeset in webkit [146946] by dino@apple.com
  • 12 edits
    4 adds in trunk

When a primary plugin is restarted, also start similar plugins
https://bugs.webkit.org/show_bug.cgi?id=113265

Reviewed by Tim Horton.

Source/WebCore:

If we detect a primary plugin that is snapshotted, we immediately restart it.
When this happens, we should also restart any other plugins that
match the same origin and type. This allows sites with a lot of
(geometrically) nearby plugins to behave as if they are a single big plugin.

Tests: plugins/snapshotting/autoplay-similar-to-dominant-after-delay.html

plugins/snapshotting/autoplay-similar-to-dominant.html

  • WebCore.exp.in: Export mimeTypeFromURL.
  • html/HTMLPlugInImageElement.cpp:

(WebCore::addPlugInsFromNodeListMatchingPlugInOrigin): Use loadedMimeType helper.
(WebCore::HTMLPlugInImageElement::restartSimilarPlugIns): New method, which copied the

existing code from userDidClickSnapshot.

(WebCore::HTMLPlugInImageElement::userDidClickSnapshot): Move the similar plugin detection

out into another function and call it.

(WebCore::HTMLPlugInImageElement::setIsPrimarySnapshottedPlugIn): Call restartSimilarPlugIns.
(WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn): Use loadedMimeType helper.

  • html/HTMLPlugInImageElement.h: Declaration of restartSimilarPlugIns.

(WebCore::HTMLPlugInImageElement::loadedMimeType): New helper method since this

code was being often duplicated.

Source/WebKit2:

Remember the origin of the primary plugin, so that we can
autostart anything that is similar.

  • WebProcess/WebCoreSupport/WebPlugInClient.cpp:

(WebKit::WebPlugInClient::WebPlugInClient): Keep a pointer to the WebPage.
(WebKit::WebPlugInClient::shouldAutoStartFromOrigin): Pass the page onto the process.

  • WebProcess/WebCoreSupport/WebPlugInClient.h:

(WebPlugInClient): New member variable for the WebPage we were created with.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::determinePrimarySnapshottedPlugIn): Remember the origin information

for the primary plugin.

(WebKit::WebPage::matchesPrimaryPlugIn): Returns true if we're seeing something that

looks like the primary plugin.

  • WebProcess/WebPage/WebPage.h: New method matchesPrimaryPlugIn.
  • WebProcess/WebProcess.cpp:

(WebKit::WebProcess::shouldPlugInAutoStartFromOrigin): Check if the page thinks this is

the primary plugin.

  • WebProcess/WebProcess.h: Accept a reference to the page in shouldPlugInAutoStartFromOrigin.

LayoutTests:

Two new tests. The first has one big plugin (that should be detected as the primary)
and then a few smaller versions (which should autostart along with the primary).
The second has one big plugin, and then adds a similar one after a short delay.

  • platform/mac-wk2/plugins/snapshotting/autoplay-similar-to-dominant-after-delay-expected.txt: Added.
  • platform/mac-wk2/plugins/snapshotting/autoplay-similar-to-dominant-expected.txt: Added.
  • plugins/snapshotting/autoplay-similar-to-dominant-after-delay.html: Added.
  • plugins/snapshotting/autoplay-similar-to-dominant.html: Added.
4:45 PM Changeset in webkit [146945] by mhahnenberg@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

REGRESSION(r144131): It made fast/js/regress/string-repeat-arith.html assert on 32 bit
https://bugs.webkit.org/show_bug.cgi?id=112106

Rubber stamped by Filip Pizlo.

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::checkGeneratedTypeForToInt32): Get rid of the case for constants because
we would have done constant folding anyways on a ValueToInt32.

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean): Fixed a random compile error with this flag enabled.

4:01 PM Changeset in webkit [146944] by Lucas Forschler
  • 2 edits in tags/Safari-537.35.1/Source/WebCore

Rollout r146806. <rdar://problem/13202277>

3:50 PM Changeset in webkit [146943] by zoltan@webkit.org
  • 2 edits in trunk/LayoutTests

Unreviewed. Fix test after r146938. Since CSS Exclusions is still an experimental feature, shape-inside-on-nested-container-with-unresolved-height.html
test should enable CSS Exclusions for the testrunners first.

  • fast/exclusions/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html: Set CSSExclisions enabled for DRT/WTR.
3:21 PM Changeset in webkit [146942] by alokp@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed gardening.
Marked compositing/rtl/rtl-iframe-* tests as ImageOnlyFailure instead of Failure.

  • platform/chromium/TestExpectations:
3:20 PM Changeset in webkit [146941] by bfulgham@webkit.org
  • 2 edits in trunk/Source/WebCore

[Windows, WinCairo] Scroll offset being applied to plugins during print operations.
https://bugs.webkit.org/show_bug.cgi?id=39889

Reviewed by Anders Carlsson.

This must be tested manually. See the issue for details.

  • plugins/win/PluginViewWin.cpp:

(WebCore::PluginView::paintWindowedPluginIntoContext):
Revise the Windows implementation of the PluginView class
paintWindowedPluginIntoContext to use the containing window
position when computing the plugin's position for printing.

3:12 PM Changeset in webkit [146940] by wangxianzhu@chromium.org
  • 7 edits
    1 copy
    1 add
    2 deletes in trunk

Non-paintsContent fixed position layer should not cause slow scrolling
https://bugs.webkit.org/show_bug.cgi?id=113238

Reviewed by James Robinson.

Source/WebCore:

Added NotCompositedForNoVisibleContent in ViewportConstrainedNotCompositedReason and set it in RLC.

Test: compositing/layer-creation/fixed-position-no-content-scroll-reason.html

  • rendering/RenderLayer.h: Add NotCompositedForNoVisibleContent.
  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::requiresCompositingForPosition): Set NotCompositedForNoVisibleContent reason when the fixed position layer has no visible content.

LayoutTests:

  • compositing/layer-creation/fixed-position-no-content-scroll-reason-expected.txt: Added.
  • compositing/layer-creation/fixed-position-no-content-scroll-reason.html: Copied from LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html. Test case for the bug.
  • compositing/layer-creation/fixed-position-in-view-dynamic.html: Set background of fixed layer to distinguish out-of-view case from no-content case.
  • compositing/layer-creation/fixed-position-out-of-view-dynamic.html: Ditto.
  • compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html: Ditto.
  • platform/chromium/compositing/layer-creation/fixed-position-in-view-dynamic-expected.txt: Removed. This was a wrong rebaseline related to this bug.
  • platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-in-view-dynamic-expected.txt: Removed. This was a wrong rebaseline related to this bug.
3:09 PM Changeset in webkit [146939] by alokp@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed gardening.
Marked compositing/iframes/scrolling-iframe.html flaky on all platforms.

  • platform/chromium/TestExpectations:
3:08 PM Changeset in webkit [146938] by zoltan@webkit.org
  • 3 edits
    2 adds in trunk

[CSS Exclusions] The radius of a circle should be computed based on the shorter available dimension
https://bugs.webkit.org/show_bug.cgi?id=113255

Reviewed by Julien Chaffraix.

When we decide what should be the radius of a circle, we should choose the smallest available space. For instance when the
width or height is not resolvable for the circle we should not have a radius for it. This change modifies the behavior to
use the smaller available space, so we won't render unnecessary circle shapes.

Source/WebCore:

Test: fast/exclusions/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html

  • rendering/ExclusionShape.cpp:

(WebCore::ExclusionShape::createExclusionShape):

LayoutTests:

  • fast/exclusions/shape-inside/shape-inside-on-nested-container-with-unresolved-height-expected.html: Added.
  • fast/exclusions/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html: Added.
3:04 PM Changeset in webkit [146937] by timothy@apple.com
  • 2 edits in trunk/Source/WebCore

Make the Web Inspector console work in strict mode with JavaScriptCore.

https://webkit.org/b/65829
rdar://problem/11271238

Reviewed by Joseph Pecoraro.

  • inspector/InjectedScriptSource.js:

(InjectedScript.prototype._evaluateOn): Don't use 'eval' parameter (it isn't
allowed in strict mode). Swap window.eval with our known eval instead.

3:03 PM Changeset in webkit [146936] by jamesr@google.com
  • 23 edits in trunk/LayoutTests

Clean up last failing expectations from solid color layer patch.

  • platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/reflections/animation-inside-reflection-expected.png:
  • platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
  • platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
  • platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
  • platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/transitions/scale-transition-no-start-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/reflections/animation-inside-reflection-expected.png:
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/transitions/scale-transition-no-start-expected.png:
  • platform/chromium-mac/platform/chromium/virtual/softwarecompositing/reflections/animation-inside-reflection-expected.png:
  • platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
  • platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
  • platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
  • platform/chromium-mac/platform/chromium/virtual/softwarecompositing/transitions/scale-transition-no-start-expected.png:
  • platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
  • platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
  • platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
  • platform/chromium-win/platform/chromium/virtual/softwarecompositing/reflections/animation-inside-reflection-expected.png:
  • platform/chromium-win/platform/chromium/virtual/softwarecompositing/transitions/scale-transition-no-start-expected.png:
  • platform/chromium/TestExpectations:
  • platform/chromium/platform/chromium/virtual/softwarecompositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
3:03 PM Changeset in webkit [146935] by rniwa@webkit.org
  • 8 edits in trunk/Source

Heap-use-after-free regression
https://bugs.webkit.org/show_bug.cgi?id=113337

Reviewed by Abhishek Arya and Alexey Proskuryakov.

Source/WebCore:

Use RefPtr instead of raw pointer in m_associatedFormControls.

  • dom/Document.cpp:

(WebCore::Document::didAssociateFormControlsTimerFired):

  • dom/Document.h:

(Document):

  • loader/EmptyClients.h:

(WebCore::EmptyChromeClient::didAssociateFormControls):

  • page/ChromeClient.h:

(WebCore::ChromeClient::didAssociateFormControls):

Source/WebKit/chromium:

  • src/ChromeClientImpl.cpp:

(WebKit::ChromeClientImpl::didAssociateFormControls):

  • src/ChromeClientImpl.h:

(ChromeClientImpl):

2:46 PM Changeset in webkit [146934] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Include accelerated compositing layers in screen captures.
https://bugs.webkit.org/show_bug.cgi?id=113335

Patch by Mike Lattanzio <mlattanzio@blackberry.com> on 2013-03-26
Reviewed by Rob Buis.

PR# 280374
Include accelerated compositing layers in screen captures.
Reviewed Internally By: Jakob Petsovits

  • Api/BackingStore.cpp:

(BlackBerry::WebKit::BackingStorePrivate::render):
(BlackBerry::WebKit::BackingStorePrivate::renderContents):
(BlackBerry::WebKit::BackingStore::drawContents):

  • Api/BackingStore_p.h:
2:46 PM Changeset in webkit [146933] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

JSC_enableProfiler=true should also cause JSGlobalData to save the profiler output somewhere
https://bugs.webkit.org/show_bug.cgi?id=113144

Reviewed by Geoffrey Garen.

Forgot to include Geoff's requested change in the original commit.

  • profiler/ProfilerDatabase.cpp:

(Profiler):

2:43 PM Changeset in webkit [146932] by fpizlo@apple.com
  • 14 edits
    1 add in trunk/Source

JSC_enableProfiler=true should also cause JSGlobalData to save the profiler output somewhere
https://bugs.webkit.org/show_bug.cgi?id=113144

Source/JavaScriptCore:

Reviewed by Geoffrey Garen.

Added the ability to save profiler output with JSC_enableProfiler=true. It will save it
to the current directory, or JSC_PROFILER_PATH if the latter was specified.

This works by saving the Profiler::Database either when it is destroyed or atexit(),
whichever happens first.

This allows use of the profiler from any WebKit client.

  • jsc.cpp:

(jscmain):

  • profiler/ProfilerDatabase.cpp:

(Profiler):
(JSC::Profiler::Database::Database):
(JSC::Profiler::Database::~Database):
(JSC::Profiler::Database::registerToSaveAtExit):
(JSC::Profiler::Database::addDatabaseToAtExit):
(JSC::Profiler::Database::removeDatabaseFromAtExit):
(JSC::Profiler::Database::performAtExitSave):
(JSC::Profiler::Database::removeFirstAtExitDatabase):
(JSC::Profiler::Database::atExitCallback):

  • profiler/ProfilerDatabase.h:

(JSC::Profiler::Database::databaseID):
(Database):

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::JSGlobalData):

Source/WTF:

Reviewed by Geoffrey Garen.

I got tired of the fact that getpid(2) is not a syscall on Windows (unless you do
_getpid() I believe), so I wrote a header that abstracts it. I also changed existing
code that uses getpid() to use WTF::getCurrentProcessID().

  • GNUmakefile.list.am:
  • WTF.gypi:
  • WTF.pro:
  • WTF.vcproj/WTF.vcproj:
  • WTF.xcodeproj/project.pbxproj:
  • wtf/CMakeLists.txt:
  • wtf/MetaAllocator.cpp:

(WTF::MetaAllocator::dumpProfile):

  • wtf/ProcessID.h: Added.

(WTF):
(WTF::getCurrentProcessID):

  • wtf/text/StringImpl.cpp:

(WTF::StringStats::printStats):

2:42 PM Changeset in webkit [146931] by ap@apple.com
  • 2 edits in trunk/Source/WebKit2

Follow-up to:
<rdar://problem/13194263> Crashes in NetworkProcess due to threading issues
https://bugs.webkit.org/show_bug.cgi?id=113256

Reviewed by Mark Rowe.

  • NetworkProcess/NetworkResourceLoader.h: Added some forgotten OVERRIDEs.
2:29 PM Changeset in webkit [146930] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Set mouse document position for mouse event in updateCursor
https://bugs.webkit.org/show_bug.cgi?id=109094

Patch by Tiancheng Jiang <tijiang@rim.com> on 2013-03-26
Reviewed by Rob Buis.

Internally Reviewed by Jakob Petsovits.

Mouse content position should be in document coordinate.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::updateCursor):

2:27 PM Changeset in webkit [146929] by ap@apple.com
  • 24 edits
    2 copies
    1 add in trunk/Source

<rdar://problem/13194263> Crashes in NetworkProcess due to threading issues
https://bugs.webkit.org/show_bug.cgi?id=113256

Reviewed by Brady Eidson.

Added a new code path in ResourceHandle/ResourceHandleClient that doesn't need
blocking calls. Implemented it for NSURLConnection by changing NSOperationQueue
version to forward calls to main thread.

2:26 PM Changeset in webkit [146928] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

[wk2] Don't send intrinsic content size updates more than once per runloop
https://bugs.webkit.org/show_bug.cgi?id=113258
<rdar://problem/13492038>

Reviewed by Simon Fraser.

  • WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:

(WebKit::TiledCoreAnimationDrawingArea::mainFrameContentSizeChanged):
Only start the zero-delay timer if it's not already active.

2:13 PM Changeset in webkit [146927] by Claudio Saavedra
  • 2 edits in trunk/LayoutTests

Convert test from UTF-16 to UTF-8

Rubber stamped by James Robinson.

  • fast/dom/34176.html: Convert from little endian UTF-16 to UTF-8

to make git diff happy.

1:40 PM Changeset in webkit [146926] by jparent@chromium.org
  • 3 edits in trunk/Tools

Flakiness dashboard: simplify logic around which tests to show.
https://bugs.webkit.org/show_bug.cgi?id=113250

Reviewed by Ojan Vafai.

The different filters for showing results are only used for layout
tests, otherwise, we show everything.

Change the defaults to false (what layout tests used), and only
look at the values when viewing layout tests.

  • TestResultServer/static-dashboards/flakiness_dashboard.js:

(htmlForTestsWithExpectationsButNoFailures):
(shouldHideTest):

1:33 PM Changeset in webkit [146925] by alokp@chromium.org
  • 21 edits
    10 copies
    1 add
    1 delete in trunk/LayoutTests

Rebaseline text output for opaque GraphicsLayers
https://bugs.webkit.org/show_bug.cgi?id=109507

Unreviewed rebaseline.

  • platform/chromium-linux-x86/compositing/overflow/composited-scrolling-paint-phases-expected.txt: Removed.
  • platform/chromium-linux/compositing/overflow/composited-scrolling-paint-phases-expected.txt:
  • platform/chromium-linux/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt:
  • platform/chromium-linux/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt:
  • platform/chromium-linux/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt:
  • platform/chromium-linux/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt:
  • platform/chromium-linux/platform/chromium/virtual/gpu/compositedscrolling/overflow/composited-scrolling-paint-phases-expected.txt:
  • platform/chromium-linux/platform/chromium/virtual/softwarecompositing/overflow/composited-scrolling-paint-phases-expected.txt:
  • platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-overflow-expected.txt:
  • platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt:
  • platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-overflow-expected.txt:
  • platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt:
  • platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
  • platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
  • platform/chromium-mac/compositing/overflow/composited-scrolling-paint-phases-expected.txt: Copied from LayoutTests/platform/chromium/platform/chromium/virtual/gpu/compositedscrolling/overflow/composited-scrolling-paint-phases-expected.txt.
  • platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
  • platform/chromium-mac/platform/chromium/virtual/softwarecompositing/tiling/huge-layer-add-remove-child-expected.txt:
  • platform/chromium-mac/platform/chromium/virtual/softwarecompositing/tiling/huge-layer-with-layer-children-expected.txt:
  • platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
  • platform/chromium-win/compositing/overflow/composited-scrolling-paint-phases-expected.txt: Copied from LayoutTests/platform/chromium/platform/chromium/virtual/gpu/compositedscrolling/overflow/composited-scrolling-paint-phases-expected.txt.
  • platform/chromium/TestExpectations:
  • platform/chromium/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt: Copied from LayoutTests/platform/chromium-linux/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt.
  • platform/chromium/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt: Copied from LayoutTests/platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt.
  • platform/chromium/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt: Copied from LayoutTests/platform/chromium-linux/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt.
  • platform/chromium/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt: Copied from LayoutTests/platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt.
  • platform/chromium/platform/chromium/virtual/gpu/compositedscrolling/overflow/composited-scrolling-paint-phases-expected.txt:
  • platform/chromium/platform/chromium/virtual/softwarecompositing/overflow/composited-scrolling-paint-phases-expected.txt:
  • platform/chromium/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-overflow-expected.txt: Copied from LayoutTests/platform/chromium-linux/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt.
  • platform/chromium/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt: Copied from LayoutTests/platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt.
  • platform/chromium/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-overflow-expected.txt: Copied from LayoutTests/platform/chromium-linux/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt.
  • platform/chromium/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt: Copied from LayoutTests/platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt.
1:29 PM Changeset in webkit [146924] by tony@chromium.org
  • 15 edits in trunk/Source

Autogenerate the scrollAnimatorEnabled setting in Settings.in
https://bugs.webkit.org/show_bug.cgi?id=113253

Reviewed by James Robinson.

Source/WebCore:

Convert scrollAnimatorEnabled into an autogenerated setting. This involves renaming
the setter from setEnableScrollAnimator(bool) to setScrollAnimatorEnabled(bool) and
updating the callers. I didn't change any WebKit API methods.

Also remove the code in InternalSettings since it's never used and will now be
autogenerated with proper resetting code.

No new tests, this is a refactor and should compile.

  • page/Settings.cpp:

(WebCore::Settings::Settings): Remove code that is now autogenerated.

  • page/Settings.h:

(Settings): Remove code that is now autogenerated.

  • page/Settings.in: Add entry for scrollAnimatorEnabled.
  • testing/InternalSettings.cpp: Remove unused code.
  • testing/InternalSettings.h: Remove unused code.
  • testing/InternalSettings.idl: Remove unused code.

Source/WebKit/chromium:

  • src/WebSettingsImpl.cpp:

(WebKit::WebSettingsImpl::setEnableScrollAnimator): Update call to WebCore to use setScrollAnimatorEnabled(bool).

Source/WebKit/gtk:

  • webkit/webkitwebview.cpp:

(webkit_web_view_update_settings): Update call to WebCore to use setScrollAnimatorEnabled(bool).
(webkit_web_view_settings_notify): Update call to WebCore to use setScrollAnimatorEnabled(bool).

Source/WebKit/qt:

  • Api/qwebsettings.cpp:

(QWebSettingsPrivate::apply): Update call to WebCore to use setScrollAnimatorEnabled(bool).

Source/WebKit2:

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::setUseFixedLayout): Update call to WebCore to use setScrollAnimatorEnabled(bool).
(WebKit::WebPage::updatePreferences): Update call to WebCore to use setScrollAnimatorEnabled(bool).

1:05 PM Changeset in webkit [146923] by rafaelw@chromium.org
  • 2 edits in trunk/LayoutTests

Remove stray newline. This newline is messing up mozilla's test harness
and we share this file with them via html5lib.

  • html5lib/resources/template.dat:
1:04 PM Changeset in webkit [146922] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[BlackBerry] In RSSFilterStream, don't swallow headers when there's no body
https://bugs.webkit.org/show_bug.cgi?id=113334

Patch by Joe Mason <jmason@blackberry.com> on 2013-03-26
Reviewed by Rob Buis.

RIM PR 316345

When receiving an HTTP response that has a Content-Type header such as text/xml, but no
body, RSSFilterStream::notifyHeadersReceived reads the Content-Type as "potential RSS", and
calls saveHeaders. It expects to sniff the body in notifyDataReceived to see if it's RSS,
and then call sendSavedHeaders to pass on the headers. But since there is no body,
notifyDataReceived is never called. So call sendSavedHeaders in notifyClose too (it will not
send them again if they were already sent.)

  • platform/network/blackberry/rss/RSSFilterStream.cpp:

(WebCore::RSSFilterStream::notifyClose):

12:48 PM Changeset in webkit [146921] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

Update bots on test-results.appspot
https://bugs.webkit.org/show_bug.cgi?id=113333

Patch by Isaac Levy <ilevy@google.com> on 2013-03-26
Reviewed by Ojan Vafai.

  • TestResultServer/static-dashboards/builders.jsonp:
12:46 PM WebKitGTK/2.0.x edited by Carlos Garcia Campos
(diff)
12:44 PM Changeset in webkit [146920] by Carlos Garcia Campos
  • 2 edits in releases/WebKitGTK/webkit-2.0

[GTK] Bump required versions of some dependencies
https://bugs.webkit.org/show_bug.cgi?id=113282

Reviewed by Martin Robinson.

This patch updates the following dependencies:

  • libsoup 2.42.0: is the current stable release.
  • glib 2.36.0: libsoup 2.42 requires 2.35.0, but we don't want to depend on unstable versions and 2.36 is the next stable version after 2.35.
  • gtk+ 3.6.0: this is the previous stable release. We don't currently have any code using newer API, so we will be able to remove all the #ifdefed code.
  • at-spi2 2.5.3: is the version required by gtk+ 3.6.
  • GObject introspection 1.32.0: is the version required by gtk+ 3.6.
  • Pango 1.32.0: it's the current stable version and the first one depending on Harfbuzz.
  • Fontconfig 2.5: required by pango 1.32.0 when using Harfbuzz.
  • gtk+ 2.24.10: it allows us to remove a lot of deprecated code and #ifdefs.
  • Source/autotools/Versions.m4:
12:41 PM Changeset in webkit [146919] by kareng@chromium.org
  • 9 edits in branches/chromium/1453/Source

Revert 146672 "Add client callbacks to notify of changes of asso..."

Add client callbacks to notify of changes of associated from controls
https://bugs.webkit.org/show_bug.cgi?id=110375

Patch by Dane Wallinga <dgwallinga@chromium.org> on 2013-03-22
Reviewed by Ryosuke Niwa.

Source/WebCore:

Hook FormAssociatedElement, HTMLFormElement to notify EditorClient of form changes after a page has loaded.
Will be used to add autofill support for ajax-y webpages. e.g if while filling out a form, new fields
are dynamically created, autofill can know to re-query the autofill server and keep going.
https://bugs.webkit.org/show_bug.cgi?id=110375

  • dom/Document.cpp:

(WebCore::Document::Document):
(WebCore::Document::didAssociateFormControl):
(WebCore):
(WebCore::Document::didAssociateFormControlsTimerFired):

  • dom/Document.h:

(Document):
added method didAssociateFormControl, which batches form changes
and calls out to ChromeClient on a timer.

  • html/FormAssociatedElement.cpp:

(WebCore::FormAssociatedElement::resetFormOwner):
(WebCore::FormAssociatedElement::formAttributeChanged):
(WebCore):

  • html/FormAssociatedElement.h:

(FormAssociatedElement):
add calls to Document::didAssociateFormControl when form changes

  • html/HTMLFormElement.cpp:

(WebCore::HTMLFormElement::insertedInto):
(WebCore):

  • html/HTMLFormElement.h:

add call to Document::didAssociateFormControl

  • loader/EmptyClients.h:

(EmptyChromeClient):
(WebCore::EmptyChromeClient::didAssociateFormControls):
(WebCore::EmptyChromeClient::shouldNotifyOnFormChanges):

  • page/ChromeClient.h:

(ChromeClient):
add new method didAssociateFormControls

Source/WebKit/chromium:

Implement form association methods of ChromeClient
to inform autofill of form changes after a page has loaded

  • public/WebAutofillClient.h:

(WebAutofillClient):
(WebKit::WebAutofillClient::didAssociateInput):
(WebKit::WebAutofillClient::didAddForm):
(WebKit::WebAutofillClient::didAssociateFormControls):

  • src/ChromeClientImpl.cpp:

(WebKit::ChromeClientImpl::didAssociateFormControls):
(WebKit):
(WebKit::ChromeClientImpl::shouldNotifyOnFormChanges):

  • src/ChromeClientImpl.h:

(ChromeClientImpl):

TBR=commit-queue@webkit.org
Review URL: https://codereview.chromium.org/12670015

12:30 PM Changeset in webkit [146918] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: Faster drawer animation.
https://bugs.webkit.org/show_bug.cgi?id=113330

250ms -> 100ms

Patch by Dmitry Zvorygin <zvorygin@chromium.org> on 2013-03-26
Reviewed by Pavel Feldman.

  • inspector/front-end/inspector.css:

(.animate #main):
(.animate #floating-status-bar-container):
(.animate #drawer):
(.animate #bottom-status-bar-container > *):

12:12 PM Changeset in webkit [146917] by tony@chromium.org
  • 4 edits in trunk/Source/WebKit/chromium

[chromium] Expose setSelectionIncludesAltImageText in WebSettings
https://bugs.webkit.org/show_bug.cgi?id=113316

Reviewed by Dimitri Glazkov.

Enabling this setting allows plain text clipboard content to include alt
text like on Firefox and IE10.

  • public/WebSettings.h:

(WebSettings):

  • src/WebSettingsImpl.cpp:

(WebKit::WebSettingsImpl::setSelectionIncludesAltImageText):

  • src/WebSettingsImpl.h:

(WebSettingsImpl):

12:04 PM Changeset in webkit [146916] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

Remove some entries since those tests have been passing.
Also update the test expectations for the bug 113227 flaky since they're passing most of the time.

  • platform/mac/TestExpectations:
12:01 PM Changeset in webkit [146915] by abecsi@webkit.org
  • 2 edits in trunk/Source/WebKit2

[Qt][WK2] Fails to start QtWebProcess.exe if installed in a path containing spaces
https://bugs.webkit.org/show_bug.cgi?id=113328

Reviewed by Jocelyn Turcotte.

Downstream bugreport: https://bugreports.qt-project.org/browse/QTBUG-30249

We use QProcess::start() with a commandline string to start the web process
and the string is treated by QProcess as a whitespace delimeted list of the
command and the arguments, thus we have to escape the path to the process
binaries so that if the path contains spaces we still run the appropriate
command.

  • UIProcess/Launcher/qt/ProcessLauncherQt.cpp:

(WebKit::ProcessLauncher::launchProcess):

11:57 AM Changeset in webkit [146914] by abecsi@webkit.org
  • 2 edits in trunk/Source/WebKit2

[Qt][WK2] QML WebView asserts when double clicking a link
https://bugs.webkit.org/show_bug.cgi?id=113329

Reviewed by Jocelyn Turcotte.

Downstream bugreport: https://bugreports.qt-project.org/browse/QTBUG-30288

Remove an erroneous assert which is no longer valid if
mouse gestures are enabled.

  • UIProcess/qt/QtWebPageEventHandler.cpp:

(WebKit::QtWebPageEventHandler::handleInputEvent):

11:43 AM Changeset in webkit [146913] by timothy_horton@apple.com
  • 3 edits in trunk/Source/WebKit2

[wk2] Don't send intrinsic content size updates more than once per runloop
https://bugs.webkit.org/show_bug.cgi?id=113258
<rdar://problem/13492038>

Reviewed by Anders Carlsson.

  • WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:

(TiledCoreAnimationDrawingArea):
Add a zero-delay timer for intrinsic content size updates.

  • WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:

(WebKit::TiledCoreAnimationDrawingArea::TiledCoreAnimationDrawingArea):
Add a zero-delay timer for intrinsic content size updates.
(WebKit::TiledCoreAnimationDrawingArea::mainFrameContentSizeChanged):
Start our new one-shot zero-delay timer.
(WebKit::TiledCoreAnimationDrawingArea::updateIntrinsicContentSizeTimerFired):
Inform the WebPage that the intrinsic content size has changed.

11:30 AM Changeset in webkit [146912] by bfulgham@webkit.org
  • 2 edits in trunk/Source/WebCore

[WinCairo] Unreviewed Build fix.

  • platform/graphics/win/FontCustomPlatformDataCairo.h:

(FontCustomPlatformData): Correct signature in header to match
required implementation.

11:21 AM Changeset in webkit [146911] by anilsson@rim.com
  • 8 edits in trunk/Source

[BlackBerry] Scrolling up and down can cause the screen to flash black
https://bugs.webkit.org/show_bug.cgi?id=113269

Reviewed by Rob Buis.

PR 296106

Source/WebCore:

The LayerRenderer should never clear before drawing the layers, from
now on that's the responsibility of the caller.

Only manually testable.

  • platform/graphics/blackberry/LayerRenderer.cpp:

(WebCore::LayerRenderer::setViewport):

  • platform/graphics/blackberry/LayerRendererClient.h:

(LayerRendererClient):

Source/WebKit/blackberry:

Various flaws in the code could conspire to make the screen cleared to
black before rendering the web page. This only happened when the
BackingStore was inactive, and the LayerTiler takes on the job of
drawing the root layer. When tiles are missing, this made the
"checkerboard" effect especially noticeable since black color was seen
where the tile should have been. It would be better to clear to the web
page background color.

This was actually the intent of the code, but when the document
background color was invalid, we would still use it instead of the
background color from settings. Also, the LayerRenderer would clear to
black when WebPageCompositorPrivate::drawsRootLayer() was true.

Fixed by falling back to the settings background color when the
document background color is invalid, and removing the clearing code
from the LayerRenderer entirely. The appropriate clear already happens
near the beginning of BackingStorePrivate::blitVisibleContents().

Also slightly cleaned up the code for managing the background color.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPagePrivate::setLoadState):
(BlackBerry::WebKit::WebPagePrivate::didChangeSettings):
(BlackBerry::WebKit::WebPagePrivate::updateBackgroundColor):
(WebKit):
(BlackBerry::WebKit::WebPagePrivate::documentBackgroundColor):

  • Api/WebPageCompositor.cpp:
  • Api/WebPageCompositor_p.h:

(WebPageCompositorPrivate):

  • Api/WebPage_p.h:

(WebPagePrivate):

11:10 AM Changeset in webkit [146910] by allan.jensen@digia.com
  • 5 edits in trunk

[Qt] editing/pasteboard/can-read-in-dragstart-event.html and /can-read-in-copy-and-cut-events.html are crashing
https://bugs.webkit.org/show_bug.cgi?id=113126

Reviewed by Jocelyn Turcotte.

Source/WebCore:

Make it possible to read from a writable Clipboard.

Test: editing/pasteboard/can-read-in-copy-and-cut-events.html

  • platform/qt/ClipboardQt.cpp:

(WebCore::ClipboardQt::getData):
(WebCore::ClipboardQt::types):
(WebCore::ClipboardQt::files):
(WebCore::ClipboardQt::readClipboardData):
(WebCore::ClipboardQt::hasData):
(WebCore::ClipboardQt::items):

  • platform/qt/ClipboardQt.h:

(ClipboardQt):

LayoutTests:

Unskip now working editing/pasteboard/can-read-in-copy-and-cut-events.html.
The other test still needs better drag-and-drop support in DRT.

  • platform/qt/TestExpectations:
11:01 AM Changeset in webkit [146909] by bfulgham@webkit.org
  • 2 edits in trunk/Source/WebCore

[WinCairo] Unreviewed build correction.

  • platform/graphics/win/FontCustomPlatformDataCairo.cpp:

(WebCore::FontCustomPlatformData::fontPlatformData): Update
method signature to match CG variant.

10:59 AM Changeset in webkit [146908] by Christophe Dumez
  • 14 edits
    2 deletes in trunk/Source

Code duplication between HTTPParsers and HTTPValidation
https://bugs.webkit.org/show_bug.cgi?id=113283

Reviewed by Alexey Proskuryakov.

Source/WebCore:

Merged isValidHTTPToken() from HTTPValidation.h and isRFC2616Token() from
HTTPParsers.h. They were doing exactly the same thing and their
implementation was almost the same.

Removed HTTPValidation.* and moved remaining code to HTTPParsers.* as this
seems like the proper place and it seems odd to keep HTTPValidation for
just one function.

No new tests, no behavior change for layout tests.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.vcxproj/WebCore.vcxproj.filters:
  • WebCore.xcodeproj/project.pbxproj:
  • platform/network/HTTPParsers.cpp:

(WebCore::isValidHTTPHeaderValue):
(WebCore):
(WebCore::isValidHTTPToken): Implementation is slightly simplified based on

isValidHTTPToken() from HTTPValidation.cpp. (c >= 0x80 replaced by (c >= 0x7F). (c <= 0x1F
c == 0x7F) is
c == ' ' c == '\t') is replaced

by (c <= 0x20). Those expressions are shorter but equivalent.
(WebCore::contentDispositionType):

  • platform/network/HTTPParsers.h:
  • platform/network/HTTPValidation.cpp: Removed.
  • platform/network/HTTPValidation.h: Removed.
  • xml/XMLHttpRequest.cpp: Stop including HTTPValidation.h.

Source/WebKit/chromium:

  • src/AssociatedURLLoader.cpp: Include HTTPParsers.h instead

of HTTPValidation.h to use isValidHTTPToken().

10:58 AM Changeset in webkit [146907] by sergio@webkit.org
  • 17 edits
    4 adds in trunk

Implement overtype mode for editable content
https://bugs.webkit.org/show_bug.cgi?id=112126

Reviewed by Ryosuke Niwa.

Source/WebCore:

Tests: editing/execCommand/overtype-support.html

editing/execCommand/overtype.html

Add a new Overwrite command to the editor. This command will
perform overtype operations when enabled instead of "normal" text
insertions. As IE does, we maintain a single toggle state in the
editor (enabled/disabled) for all the editable content in the
page.

This new command will be only available for richly editable
content via keybindings or the context menu. For testing purposes
it is also accessible via internals.

  • editing/CompositeEditCommand.cpp:

(WebCore::CompositeEditCommand::replaceTextInNode): Use RefPtr for
local variables.

  • editing/Editor.cpp:

(WebCore::Editor::Editor):

  • editing/Editor.h:

(WebCore::Editor::isOverwriteModeEnabled):
(WebCore::Editor::toggleOverwriteModeEnabled):
(Editor): Added two new functions and a new attribute.

  • editing/EditorCommand.cpp:

(WebCore::executeToggleOverwrite): Enables/disables overwrite mode.
(WebCore):
(WebCore::createCommandMap): New OverWrite command.

  • editing/InsertTextCommand.cpp:

(WebCore::InsertTextCommand::setEndingSelectionWithoutValidation):
Refactored from performTrivialReplace(), shared by
performOverwrite().
(WebCore):
(WebCore::InsertTextCommand::performTrivialReplace):
(WebCore::InsertTextCommand::performOverwrite):
(WebCore::InsertTextCommand::doApply): Perform overwrite if enabled.

  • editing/InsertTextCommand.h:

(InsertTextCommand):

  • testing/Internals.cpp:

(WebCore::Internals::resetToConsistentState): Reset OverWrite mode
to false.
(WebCore::Internals::isOverwriteModeEnabled):
(WebCore):
(WebCore::Internals::toggleOverwriteModeEnabled): Provide access
to overwrite functionality in Editor for testing purposes.

  • testing/Internals.h:

(Internals):

  • testing/Internals.idl:

Source/WebKit/mac:

Added the OverWrite editing command to the WebCore editing
commands lists.

  • WebView/WebHTMLView.mm:
  • WebView/WebView.h:
  • WebView/WebView.mm:

LayoutTests:

Two new layout tests for the new overtype mode. We use
overtype-support.html to check that the Overwrite command is not
exported to JavaScript but accessible through Internals. The
overtype.html one is used to test the actual behaviour of the
command.

The new command was also added to enabling-and-selection-2.js to
check that it is only available for richly editable content.

  • editing/execCommand/enabling-and-selection-2-expected.txt:

Updated expectations for OverWrite command.

  • editing/execCommand/overtype-expected.txt: Added.
  • editing/execCommand/overtype-support-expected.txt: Added.
  • editing/execCommand/overtype-support.html: Added.
  • editing/execCommand/overtype.html: Added.
  • editing/execCommand/script-tests/enabling-and-selection-2.js:

Added a check for OverWrite command.

10:44 AM Changeset in webkit [146906] by anilsson@rim.com
  • 6 edits in trunk/Source

[BlackBerry] WebOverlay::pixelViewportRect() should return pixel viewport coordinates
https://bugs.webkit.org/show_bug.cgi?id=113263

Reviewed by Rob Buis.

PR 312404

Source/WebCore:

Fix WebOverlay::pixelViewportRect() to return the pixel viewport rect
instead of the window rect. These are different if the web page is
rendered starting at a window coordinate other than 0,0. The clip rect
encodes the position we're rendered at, and can be used to translate
the rect expressed in window coordinates to the pixel viewport
coordinate system.

Also perform some cleanup of related code.

Only manually testable.

  • platform/graphics/blackberry/LayerCompositingThread.cpp:

(WebCore::LayerCompositingThread::getTransformedHolePunchRect):
(WebCore::LayerCompositingThread::drawTextures):

  • platform/graphics/blackberry/LayerRenderer.cpp:

(WebCore::toPixelCoordinates):
(WebCore):
(WebCore::LayerRenderer::toWindowCoordinates):
(WebCore::LayerRenderer::toPixelViewportCoordinates):
(WebCore::LayerRenderer::toDocumentViewportCoordinates):
(WebCore::LayerRenderer::updateLayersRecursive):

  • platform/graphics/blackberry/LayerRenderer.h:

(LayerRenderer):

Source/WebKit/blackberry:

Fixed by returning pixel viewport coordinates instead of window
coordinates.

  • Api/WebOverlay.cpp:

(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::pixelViewportRect):

10:31 AM Changeset in webkit [146905] by commit-queue@webkit.org
  • 5 edits in trunk

Unreviewed, rolling out r146901.
http://trac.webkit.org/changeset/146901
https://bugs.webkit.org/show_bug.cgi?id=113321

Was landed to soon (Requested by pfeldman on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-26

Source/WebCore:

  • inspector/front-end/ConsoleView.js:

(WebInspector.ConsoleView.prototype.):
(WebInspector.ConsoleView.prototype.filter):
(WebInspector.ConsoleView.prototype._scheduleScrollIntoView.scrollIntoView):
(WebInspector.ConsoleView.prototype._scheduleScrollIntoView):
(WebInspector.ConsoleView.prototype._consoleMessageAdded):
(WebInspector.ConsoleView.prototype._appendConsoleMessage):
(WebInspector.ConsoleView.prototype._consoleCleared):
(WebInspector.ConsoleView.prototype._handleContextMenuEvent.monitoringXHRItemAction):
(WebInspector.ConsoleView.prototype._handleContextMenuEvent.get preserveLogItemAction):
(WebInspector.ConsoleView.prototype._shouldBeVisible):
(WebInspector.ConsoleView.prototype._updateMessageList):
(WebInspector.ConsoleView.prototype._promptKeyDown):
(WebInspector.ConsoleView.prototype._printResult):
(WebInspector.ConsoleCommand.prototype.highlightSearchResults):

  • inspector/front-end/inspector.css:

(.console-warning-level, .console-error-level, .console-log-level, .console-debug-level):
(.filter-all .console-debug-level, .filter-debug .console-debug-level):
(.filter-all .console-debug-level.repeated-message, .filter-debug .console-debug-level.repeated-message):

LayoutTests:

  • inspector/console/console-preserve-log.html:
10:24 AM Changeset in webkit [146904] by rafaelw@chromium.org
  • 4 edits in trunk

HTMLStackItem should include <template> as a special tag
https://bugs.webkit.org/show_bug.cgi?id=113016

Reviewed by Eric Seidel.

Source/WebCore:

New test added to html5lib suite.

  • html/parser/HTMLStackItem.h:

(WebCore::HTMLStackItem::isSpecialNode):

LayoutTests:

  • html5lib/resources/template.dat:
10:22 AM Changeset in webkit [146903] by vsevik@chromium.org
  • 6 edits in trunk

Web Inspector: Distinguish breakpoints and breakpoint locations in BreakpointManager API
https://bugs.webkit.org/show_bug.cgi?id=113311

Reviewed by Pavel Feldman.

Source/WebCore:

Made independent handling of breakpoints and breakpoint location in breakpoint manager consistent.
JavaScriptSourceFrame now removes breakpoints originally set in it based on primary UI location.

  • inspector/front-end/BreakpointManager.js:

(WebInspector.BreakpointManager.prototype.breakpointsForUISourceCode):
(WebInspector.BreakpointManager.prototype.allBreakpoints):
(WebInspector.BreakpointManager.prototype.breakpointLocationsForUISourceCode):
(WebInspector.BreakpointManager.prototype.allBreakpointLocations):
(WebInspector.BreakpointManager.prototype._projectWillReset.get for):
(WebInspector.BreakpointManager.prototype._projectWillReset):

  • inspector/front-end/JavaScriptSourceFrame.js:

(WebInspector.JavaScriptSourceFrame.prototype.onUISourceCodeContentChanged):
(WebInspector.JavaScriptSourceFrame.prototype._restoreBreakpointsAfterEditing):
(WebInspector.JavaScriptSourceFrame.prototype._removeAllBreakpoints):

LayoutTests:

  • inspector/debugger/live-edit-breakpoints-expected.txt:
  • inspector/debugger/live-edit-breakpoints.html:
10:21 AM Changeset in webkit [146902] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

bundle-ids need to be sanitized before using them in filesystem paths
https://bugs.webkit.org/show_bug.cgi?id=113030
<rdar://problem/13300254>

Patch by Simon Cooper <scooper@apple.com> on 2013-03-26
Reviewed by Alexey Proskuryakov.

When choosing / looking for a specialized Sandbox for a Plugin the
bundle-id needs to be sanitized before using it to construct a
filesystem name to look up. The “/“ character should not be allowed
and transformed into something else, in this case a “:”

  • PluginProcess/mac/PluginProcessMac.mm:

(WebKit::loadSandboxProfile):

10:12 AM Changeset in webkit [146901] by commit-queue@webkit.org
  • 5 edits in trunk

Web Inspector: Remove remainings of CSS-based console message filtering.
https://bugs.webkit.org/show_bug.cgi?id=112710

Patch by Dmitry Zvorygin <zvorygin@chromium.org> on 2013-03-26
Reviewed by Pavel Feldman.

Source/WebCore:

  • inspector/front-end/ConsoleView.js:

(WebInspector.ConsoleView.get this):
(WebInspector.ConsoleView.prototype.):
(WebInspector.ConsoleView.prototype.filter):
(WebInspector.ConsoleView.prototype._consoleMessageAdded):
(WebInspector.ConsoleView.prototype._appendConsoleMessage):
(WebInspector.ConsoleView.prototype._consoleCleared):
(WebInspector.ConsoleView.prototype._shouldBeVisible):
(WebInspector.ConsoleView.prototype._updateMessageList):
(WebInspector.ConsoleView.prototype._promptKeyDown):
(WebInspector.ConsoleView.prototype._printResult):
(WebInspector.ConsoleCommand.prototype.highlightSearchResults):

  • inspector/front-end/inspector.css:

(.console-debug-level.repeated-message):

LayoutTests:

  • inspector/console/console-preserve-log.html:
10:09 AM Changeset in webkit [146900] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebCore

Web Inspector: refactor code duplication: WebInspector.ObjectPropertyTreeElement.wrapPropertyAsElements
https://bugs.webkit.org/show_bug.cgi?id=113211

Patch by Peter Rybin <prybin@chromium.org> on 2013-03-26
Reviewed by Yury Semikhatsky.

A new method WebInspector.ObjectPropertyTreeElement.wrapPropertyAsElements is added and used
from 2 sites.

  • inspector/front-end/ObjectPropertiesSection.js:

(WebInspector.ObjectPropertiesSection.prototype.update.callback):
(WebInspector.ObjectPropertiesSection.prototype.update):
(WebInspector.ObjectPropertiesSection.prototype.updateProperties):
(.callback):
(WebInspector.ObjectPropertyTreeElement.populate):
(WebInspector.ObjectPropertyTreeElement.wrapPropertyAsElements):

  • inspector/front-end/WatchExpressionsSidebarPane.js:

(WebInspector.WatchExpressionsSection.prototype.update.appendResult):
(WebInspector.WatchExpressionsSection.prototype.update):

10:04 AM Changeset in webkit [146899] by Christophe Dumez
  • 2 edits in trunk/Source/WebCore

HTTPHeaderMap::copyData() could call uncheckedAppend()
https://bugs.webkit.org/show_bug.cgi?id=113279

Reviewed by Alexey Proskuryakov.

HTTPHeaderMap::copyData() calls reserveInitialCapacity() on the Vector
but then appends items using append() function. Since we already know
the capacity is sufficient, it is more efficient to call uncheckedAppend()
instead to bypass capacity checks.

No new tests, no behavior change for layout tests.

  • platform/network/HTTPHeaderMap.cpp:

(WebCore::HTTPHeaderMap::copyData):

10:01 AM Changeset in webkit [146898] by vsevik@chromium.org
  • 3 edits in trunk/Source/WebCore

Web Inspector: UISourceCodes are leaking on reload sometimes.
https://bugs.webkit.org/show_bug.cgi?id=113310

Reviewed by Pavel Feldman.

  • inspector/front-end/BreakpointManager.js:

(WebInspector.BreakpointManager.prototype._projectWillReset.get for):
(WebInspector.BreakpointManager.prototype._projectWillReset):

  • inspector/front-end/ConsoleModel.js:

(WebInspector.ConsoleModel.prototype.clearMessages):

9:45 AM Changeset in webkit [146897] by apavlov@chromium.org
  • 4 edits
    2 adds in trunk

Web Inspector: [Elements] Unable to "Edit as HTML" XHTML/SVG documents.
https://bugs.webkit.org/show_bug.cgi?id=113290

Reviewed by Pavel Feldman.

Source/WebCore:

DOMPatchSupport has been slightly augmented to handle XML (XHTML and SVG) documents.

Test: inspector/elements/set-outer-html-for-xhtml.xhtml

  • inspector/DOMPatchSupport.cpp:

(WebCore::DOMPatchSupport::patchDocument):
(WebCore::DOMPatchSupport::patchNode):

  • inspector/InspectorDOMAgent.cpp:

(WebCore::InspectorDOMAgent::setOuterHTML): Let HTML, XHTML, and SVG documents through.

LayoutTests:

  • inspector/elements/set-outer-html-for-xhtml-expected.txt: Added.
  • inspector/elements/set-outer-html-for-xhtml.xhtml: Added.
9:14 AM Changeset in webkit [146896] by morrita@google.com
  • 5 edits in trunk

https://bugs.webkit.org/show_bug.cgi?id=113164
Custom Elements: readyCallback should be called for outerHTML and insertAdjecentHTML

Source/WebCore:

These APIs also create new elements thus should have V8DeliverCustomElementCallbacks attribute.

Reviewed by Dimitri Glazkov.

Test: Updated lifecycle-ready-creation-api.html.

  • html/HTMLElement.idl:

LayoutTests:

Reviewed by Dimitri Glazkov.

  • fast/dom/custom/lifecycle-ready-creation-api-expected.txt:
  • fast/dom/custom/lifecycle-ready-creation-api.html:
9:10 AM Changeset in webkit [146895] by jochen@chromium.org
  • 2 edits in trunk/LayoutTests

Fix incorrect test name in content shell expectations

Unreviewed. Typing is hard.

  • platform/chromium/ContentShellTestExpectations:
9:05 AM Changeset in webkit [146894] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

Convert WebInputEvent::GestureDoubleTap to PlatformEvent::NoType
https://bugs.webkit.org/show_bug.cgi?id=113215

In bug 93045 we removed PlatformEvent::GestureDoubleTap since now DoubleTap gesture
is implemented as a Tap gesture with tap_count = 2.

In WebViewImpl::handleGestureEvent(), a PlatformEvent is built from the WebGestureEvent
regardless, even though the PlatfromEvent will never reach the WebCore. DoubleTap, in
our case, is only handled in WebViewImpl for doube-tap-to-zoom, will also go through
conversion in WebInpuEventConversion.cpp::PlatformGestureEventBuilder() and reach
ASSERT_NOT_REACHED()

This patch converts WebGestureEvent::DoubleTap to PlatformEvent::NoType, this makes the
conversion list from WebInputEvent to PlatformEvent complete and we don't need a special
handling for the DoubleTap event in WebViewImpl::handleGestureEvent()

Patch by Yufeng Shen <miletus@chromium.org> on 2013-03-26
Reviewed by Antonio Gomes.

  • src/WebInputEventConversion.cpp:

(WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):

9:02 AM Changeset in webkit [146893] by loislo@chromium.org
  • 2 edits in trunk/Source/WebCore

Unreviewed. WebInspector: remove unnecessary method.

  • inspector/front-end/OverviewGrid.js:

(WebInspector.OverviewGrid.Window):

9:00 AM Changeset in webkit [146892] by kareng@chromium.org
  • 8 edits in branches/chromium/1453/Source/WebCore

Revert 146744 "Refactoring: Pull Node::disabled() and Node::isIn..."

Refactoring: Pull Node::disabled() and Node::isInert() down to Element.
https://bugs.webkit.org/show_bug.cgi?id=112085

Reviewed by Hajime Morrita.

Node is too low a level for these methods. The plan is to rename
Element::disabled to isDisabledFormControl and to remove
Element::isEnabledFormControl.

No new tests, just refactoring.

  • dom/Element.cpp:

(WebCore::Element::disabled):
(WebCore):
(WebCore::Element::isInert):

  • dom/Element.h:

(Element):

  • dom/EventDispatcher.cpp:

(WebCore::EventDispatcher::dispatchSimulatedClick):

  • dom/GestureEvent.cpp:

(WebCore::GestureEventDispatchMediator::dispatchEvent):

  • dom/MouseEvent.cpp:

(WebCore::MouseEventDispatchMediator::dispatchEvent):

  • dom/Node.cpp:

(WebCore::Node::handleLocalEvents):
(WebCore::Node::willRespondToMouseMoveEvents):
(WebCore::Node::willRespondToMouseClickEvents):
(WebCore::Node::willRespondToTouchEvents):

  • dom/Node.h:

(Node):

TBR=falken@chromium.org
Review URL: https://codereview.chromium.org/12703032

8:57 AM Changeset in webkit [146891] by kareng@chromium.org
  • 33 edits in branches/chromium/1453/Source/WebCore

Revert 146726 "AXObjectCache gets recreated during document tear..."

AXObjectCache gets recreated during document tear-down.
https://bugs.webkit.org/show_bug.cgi?id=112525

Reviewed by Simon Fraser.

In many cases, a document's AXObjectCache was being created after the
document had detached, which is wasteful and could potentially lead to
crashes because the AXObjectCache has a timer and relies on its document
to exist.

This patch provides a way to get the existing AX object cache, instead of
always creating a new one.
It moves the accessibilityEnabled() checks into the axObjectCache retrieval
for easier readability.
It adds a number of ASSERTs to vieryf that only the correct (top) document is used
for cache manipulation.

  • accessibility/AXObjectCache.cpp:

(WebCore::AXObjectCache::stopCachingComputedObjectAttributes):

  • dom/ContainerNode.cpp:

(WebCore::ContainerNode::~ContainerNode):

  • dom/Document.cpp:

(WebCore::Document::~Document):
(WebCore::Document::clearAXObjectCache):
(WebCore::Document::existingAXObjectCache):
(WebCore::Document::axObjectCache):
(WebCore::Document::setFocusedNode):

  • dom/Document.h:

(Document):

  • dom/Element.cpp:

(WebCore::Element::attributeChanged):

  • dom/Node.cpp:

(WebCore::Node::~Node):
(WebCore::Node::isEditableToAccessibility):
(WebCore::Node::attach):
(WebCore::Node::rootEditableElement):
(WebCore::Node::didMoveToNewDocument):

  • editing/AppendNodeCommand.cpp:

(WebCore::sendAXTextChangedIgnoringLineBreaks):

  • editing/DeleteFromTextNodeCommand.cpp:

(WebCore::DeleteFromTextNodeCommand::doApply):
(WebCore::DeleteFromTextNodeCommand::doUnapply):

  • editing/Editor.cpp:

(WebCore::Editor::respondToChangedContents):
(WebCore::Editor::markAndReplaceFor):

  • editing/InsertIntoTextNodeCommand.cpp:

(WebCore::InsertIntoTextNodeCommand::doApply):
(WebCore::InsertIntoTextNodeCommand::doUnapply):

  • editing/InsertNodeBeforeCommand.cpp:

(WebCore::InsertNodeBeforeCommand::doApply):
(WebCore::InsertNodeBeforeCommand::doUnapply):

  • editing/atk/FrameSelectionAtk.cpp:

(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):

  • editing/chromium/FrameSelectionChromium.cpp:

(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):

  • editing/mac/FrameSelectionMac.mm:

(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::setChecked):

  • html/HTMLSelectElement.cpp:

(WebCore::HTMLSelectElement::optionElementChildrenChanged):
(WebCore::HTMLSelectElement::setRecalcListItems):

  • html/HTMLTextFormControlElement.cpp:

(WebCore::HTMLTextFormControlElement::setInnerTextValue):

  • html/InputType.cpp:

(WebCore::InputType::applyStep):

  • html/RangeInputType.cpp:

(WebCore::RangeInputType::handleKeydownEvent):

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::prepareForLoadStart):
(WebCore::FrameLoader::checkLoadCompleteForThisFrame):

  • page/FocusController.cpp:

(WebCore::FocusController::setInitialFocus):

  • page/Frame.cpp:

(WebCore::Frame::disconnectOwnerElement):

  • page/FrameView.cpp:

(WebCore::FrameView::removeFromAXObjectCache):
(WebCore::FrameView::layout):
(WebCore::FrameView::scrollToAnchor):
(WebCore::FrameView::axObjectCache):

  • platform/ScrollView.cpp:

(WebCore::ScrollView::setHasHorizontalScrollbar):
(WebCore::ScrollView::setHasVerticalScrollbar):

  • platform/Scrollbar.cpp:

(WebCore::Scrollbar::~Scrollbar):
(WebCore):
(WebCore::Scrollbar::existingAXObjectCache):

  • platform/Scrollbar.h:

(Scrollbar):

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::deleteLineBoxTree):
(WebCore::RenderBlock::createRootInlineBox):
(WebCore::RenderBlock::createAndAppendRootInlineBox):

  • rendering/RenderListBox.cpp:

(WebCore::RenderListBox::selectionChanged):

  • rendering/RenderMenuList.cpp:

(WebCore::RenderMenuList::addChild):
(WebCore::RenderMenuList::didUpdateActiveOption):

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::styleWillChange):
(WebCore::RenderObject::willBeDestroyed):

  • rendering/RenderObjectChildList.cpp:

(WebCore::RenderObjectChildList::removeChildNode):
(WebCore::RenderObjectChildList::insertChildNode):

  • rendering/RenderText.cpp:

(WebCore::RenderText::setText):

  • rendering/RenderWidget.cpp:

(WebCore::RenderWidget::willBeDestroyed):

TBR=Chris Fleizach
Review URL: https://codereview.chromium.org/12703031

8:54 AM Changeset in webkit [146890] by loislo@chromium.org
  • 6 edits in trunk/Source/WebCore

Web Inspector: Flame Chart. Scroll dividers together with underlying chart.
http://bugs.webkit.org/show_bug.cgi?id=113080

Reviewed by Pavel Feldman.

  • inspector/front-end/FlameChart.js:

(WebInspector.FlameChart.Calculator.prototype.grandMinimumBoundary):
(WebInspector.FlameChart.prototype._canvasDragging):

  • inspector/front-end/TimelineGrid.js:

(WebInspector.TimelineGrid.prototype.updateDividers):

8:53 AM Changeset in webkit [146889] by kareng@chromium.org
  • 1 add in branches/chromium/1453/codereview.settings

for drovering

8:52 AM Changeset in webkit [146888] by kareng@chromium.org
  • 1 copy in branches/chromium/1453

hopefully m27 branch

8:36 AM Changeset in webkit [146887] by fpizlo@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

ArrayMode should not consider SpecOther when refining the base
https://bugs.webkit.org/show_bug.cgi?id=113271

Reviewed by Geoffrey Garen.

9% speed-up on Octane/pdfjs.

  • dfg/DFGArrayMode.cpp:

(JSC::DFG::ArrayMode::refine):

8:22 AM Changeset in webkit [146886] by mkwst@chromium.org
  • 5 edits
    4 adds in trunk

CSP 1.1: Experiment with 'base-uri' directive.
https://bugs.webkit.org/show_bug.cgi?id=113307

Reviewed by Jochen Eisinger.

Source/WebCore:

The 'base-uri' directive was introduced[1] as an experimental directive
in CSP 1.1 after a bit of discussion[2][3]. The exact semantics will
likely change, but it would be good for us to get some implementation
experience with the API as currently specified, and to allow folks to
play with the implementation to determine whether it meets the
requirements the way we think it might.

This patch is a first pass at that implementation: it will have no
effect on ports that haven't enabled the CSP_NEXT flag.

[1]: https://dvcs.w3.org/hg/content-security-policy/rev/4b89c246ea16
[2]: http://lists.w3.org/Archives/Public/public-webappsec/2012Oct/0022.html
[3]: http://lists.w3.org/Archives/Public/public-webappsec/2013Feb/0074.html

Tests: http/tests/security/contentSecurityPolicy/1.1/base-uri-allow.html

http/tests/security/contentSecurityPolicy/1.1/base-uri-deny.html

  • dom/Document.cpp:

(WebCore::Document::processBaseElement):

Check that the new base URI is allowed by CSP before using it as
the document's base URI.

  • page/ContentSecurityPolicy.cpp:

Add a constant for the new directive name (and, as a drive-by, split
the list into CSP 1.0 and CSP 1.1 for clarity).

(CSPDirectiveList):

Add a property to hold the base URI policy directive value.

(WebCore::CSPDirectiveList::checkSourceAndReportViolation):

Customize the error message iff we're dealing with 'base-uri'.

(WebCore::CSPDirectiveList::allowBaseURI):

Check the given URI against the 'base-uri' directive's value,
exactly as we do for every other source-list type of directive.

(WebCore::CSPDirectiveList::addDirective):

Accept 'base-uri' as a valid directive iff CSP_NEXT is set, and
the embedder has opted-in via the runtime flag.

(WebCore::ContentSecurityPolicy::allowBaseURI):

Expose an API method on ContentSecurityPolicy to check URIs against
the 'base-uri' directive's value.

LayoutTests:

  • http/tests/security/contentSecurityPolicy/1.1/base-uri-allow-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/base-uri-allow.html: Added.
  • http/tests/security/contentSecurityPolicy/1.1/base-uri-deny-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/1.1/base-uri-deny.html: Added.
8:21 AM Changeset in webkit [146885] by anilsson@rim.com
  • 2 edits in trunk/Source/WebCore

[BlackBerry] Main frame fixed divs not positioned correctly
https://bugs.webkit.org/show_bug.cgi?id=112889

Reviewed by Carlos Garcia Campos.

PR 283363

This was a regression from bug #112806. It caused main frame fixed
handling to enter the iframe/scrollable div code path in LayerRenderer.

Fixed by not setting the container for fixed flag on the main frame,
the LayerRenderer expects this flag to be set only on non-mainframe
containers.

Only manually testable.

  • page/scrolling/blackberry/ScrollingCoordinatorBlackBerry.cpp:

(WebCore::scrollLayerForFrame):
(WebCore):
(WebCore::ScrollingCoordinatorBlackBerry::setLayerIsContainerForFixedPositionLayers):
(WebCore::ScrollingCoordinatorBlackBerry::setLayerIsFixedToContainerLayer):

8:17 AM Changeset in webkit [146884] by Christophe Dumez
  • 2 edits in trunk/Source/WebCore

FormData::deepCopy() could use Vector::uncheckedAppend()
https://bugs.webkit.org/show_bug.cgi?id=113309

Reviewed by Kenneth Rohde Christiansen.

FormData::deepCopy() calls reserveInitialCapacity() on the Vector but then uses the
regular append() method. This patch switches to using uncheckedAppend() method
instead to bypass capacity checks as we already know it is sufficient.

No new tests, no behavior change.

  • platform/network/FormData.cpp:

(WebCore::FormData::deepCopy):

8:15 AM Changeset in webkit [146883] by commit-queue@webkit.org
  • 13 edits in trunk

Unreviewed, rolling out r146879.
http://trac.webkit.org/changeset/146879
https://bugs.webkit.org/show_bug.cgi?id=113312

Multiple layout test crashes in
WebCore::RenderListItem::updateListMarkerNumbers (Requested by
yurys on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-26

Source/WebCore:

  • dom/Node.cpp:
  • dom/Node.h:

(Node):

  • dom/NodeTraversal.cpp:
  • dom/NodeTraversal.h:

(ElementTraversal):
(NodeTraversal):

  • html/HTMLLIElement.cpp:

(WebCore::HTMLLIElement::attach):

  • html/HTMLOListElement.cpp:

(WebCore::HTMLOListElement::updateItemValues):
(WebCore::HTMLOListElement::recalculateItemCount):

  • rendering/RenderCounter.cpp:

(WebCore::previousInPreOrder):
(WebCore::previousSiblingOrParent):
(WebCore::parentElement):
(WebCore::nextInPreOrder):

  • rendering/RenderListItem.cpp:

(WebCore::enclosingList):
(WebCore::RenderListItem::nextListItem):
(WebCore::previousListItem):
(WebCore::RenderListItem::calcValue):
(WebCore::RenderListItem::explicitValueChanged):
(WebCore::previousOrNextItem):
(WebCore::RenderListItem::updateListMarkerNumbers):

  • rendering/RenderListItem.h:

(RenderListItem):

LayoutTests:

  • fast/dom/shadow/shadow-and-list-elements-expected.html:
  • fast/lists/positioned-count-crash-expected.txt:
8:06 AM Changeset in webkit [146882] by morrita@google.com
  • 6 edits
    3 adds in trunk

remoeveAllEventListeners() should be called to shadow trees
https://bugs.webkit.org/show_bug.cgi?id=113037

Reviewed by Dimitri Glazkov.

Source/WebCore:

Document::removeAllEventListeners() doesn't traverse shadow tree, but we should.
This change override Element::removeAllEventListeners() so that it cleans its shadow trees up.

Test: fast/dom/shadow/shadow-tree-listener-clearance.html

  • dom/Element.cpp:

(WebCore::Element::removeAllEventListeners):
(WebCore):

  • dom/Element.h:

(Element):

  • dom/ElementShadow.cpp:

(WebCore::ElementShadow::removeAllEventListeners): Added.
(WebCore):

  • dom/ElementShadow.h:

(ElementShadow):

LayoutTests:

  • fast/dom/shadow/resources/shadow-tree-listener-clearance-frame.html: Added.
  • fast/dom/shadow/shadow-tree-listener-clearance-expected.txt: Added.
  • fast/dom/shadow/shadow-tree-listener-clearance.html: Added.
8:04 AM Changeset in webkit [146881] by yurys@chromium.org
  • 1 edit
    1 add
    1 delete in trunk/LayoutTests

Unreviewed. Updated test expectations for compositing/geometry/fixed-in-composited.html

  • platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/geometry/fixed-in-composited-expected.png: Removed.
  • platform/chromium-win/platform/chromium/virtual/softwarecompositing/geometry/fixed-in-composited-expected.png: Added.
7:52 AM Changeset in webkit [146880] by zeno.albisser@digia.com
  • 2 edits in trunk/Source/WebKit2

[Qt] UIProcess should initialize WebCoreSystemInterface.
https://bugs.webkit.org/show_bug.cgi?id=113300

The WebCoreSystemInterface is necessary to detect supported
mime types on Mac OS. In particular it is needed for download
support.
This patch fixes in particular the previously failing
Qt API qmltest WebViewDownload::test_downloadRequest.
The test was crashing when using QTKit, because functions
in WebCoreSystemInterface could not be resolved on the UIProcess side.

Reviewed by Jocelyn Turcotte.

  • UIProcess/qt/WebContextQt.cpp:

(WebKit::WebContext::platformInitializeWebProcess):

6:53 AM Changeset in webkit [146879] by abucur@adobe.com
  • 13 edits in trunk

Use DOM ordering for list counts
https://bugs.webkit.org/show_bug.cgi?id=110352

Reviewed by Elliott Sprehn.

Source/WebCore:

Currently the list items ordering is made by traversing the render tree. This gives bad results for:

  • list items flown inside regions because they are not rendered as descendants of their DOM list ancestors.
  • list items matched to insertion points inside a shadow tree. The insertion point may be a child of a

list so the numbering gets broken.

To implement correct DOM ordering I've taken into account the fact that pseudo-elements can have display: list-item
so they should be included when traversing the DOM tree. I've added helper methods on the NodeTraversal
namespace that should allow easily traversing the tree including the pseudo-elements (e.g. firstChildWithPseudo
for an element with pseudo-before will return the before PseudoElement). Using these helper methods I've implemented
pre-order traversal methods aware of the pseudo-elements.
An effect of this change is how the list items inside shadow tree update their counting. With the patch, if there's
no <ol> or <ul> element on the ancestor chain of a <li> element to the shadow root, the list node will be considered the
first parent of the <li> or the shadow root if there is no ancestor.
The RenderListItem class now makes use of this new method of traversal, replacing the one based on the render tree.
To simplify the CSS counters implementation, I've changed the traversal functions inside RenderCounter to also make use
of this method. The CSS counters and the list items now have the same traversal algorithm.

In later patches I'll add tests that should cover the regions and shadow DOM use cases.
Tests bug for shadow DOM: https://bugs.webkit.org/show_bug.cgi?id=113193
Tests bug for regions: https://bugs.webkit.org/show_bug.cgi?id=103975

Tests: no new tests is this patch; added the correct expectations for fast/lists/positioned-count-crash.html
and fast/dom/shadow/shadow-and-list-elements.html

  • dom/Node.cpp:

(WebCore::Node::pseudoAwarePreviousSibling):
(WebCore):
(WebCore::Node::pseudoAwareNextSibling):
(WebCore::Node::pseudoAwareFirstChild):
(WebCore::Node::pseudoAwareLastChild):

  • dom/Node.h:

(Node):

  • dom/NodeTraversal.cpp:

(WebCore):
(WebCore::NodeTraversal::previousIncludingPseudo):
(NodeTraversal):
(WebCore::NodeTraversal::nextIncludingPseudo):
(WebCore::NodeTraversal::nextIncludingPseudoSkippingChildren):

  • dom/NodeTraversal.h:

(ElementTraversal):
(NodeTraversal):
(WebCore::ElementTraversal::previousIncludingPseudo):
(WebCore::ElementTraversal::nextIncludingPseudo):
(WebCore::ElementTraversal::nextIncludingPseudoSkippingChildren):
(WebCore::ElementTraversal::pseudoAwarePreviousSibling):

  • html/HTMLLIElement.cpp:

(WebCore::HTMLLIElement::attach):

  • html/HTMLOListElement.cpp:

(WebCore::HTMLOListElement::updateItemValues):
(WebCore::HTMLOListElement::recalculateItemCount):

  • rendering/RenderCounter.cpp:

(WebCore::previousInPreOrder):
(WebCore::previousSiblingOrParent):
(WebCore::parentElement):
(WebCore::nextInPreOrder):

  • rendering/RenderListItem.cpp:

(WebCore):
(WebCore::enclosingList):
(WebCore::RenderListItem::nextListItem):
(WebCore::previousListItem):
(WebCore::RenderListItem::calcValue):
(WebCore::RenderListItem::explicitValueChanged):
(WebCore::previousOrNextItem):
(WebCore::RenderListItem::updateListMarkerNumbers):

  • rendering/RenderListItem.h:

(RenderListItem):

LayoutTests:

The fast/dom/shadow/shadow-and-list-elements-expected.html has changed because the list items
inside the shadow tree no longer see the root <ol> element.
The test fast/lists/positioned-count-crash.html has the correct rendering after changing
the list counting to be in DOM order.

  • fast/dom/shadow/shadow-and-list-elements-expected.html:
  • fast/lists/positioned-count-crash-expected.txt:
6:51 AM Changeset in webkit [146878] by allan.jensen@digia.com
  • 2 edits in trunk/Source/WebCore

[Qt] Poor rounding in GraphicsContext::drawLineForText
https://bugs.webkit.org/show_bug.cgi?id=113301

Reviewed by Jocelyn Turcotte.

Round the position of the line decoration, so lines on subpixel
coordinates are not always rounded up.

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::drawLineForText):

6:45 AM Changeset in webkit [146877] by zarvai@inf.u-szeged.hu
  • 256 edits
    6 copies
    1 add in trunk/LayoutTests

[Qt] Unreviewed gardening. Updating PNG expected results. Making pixel test bot happier after r146206.

  • platform/qt/svg/custom/mask-excessive-malloc-expected.png:
  • platform/qt/svg/custom/mask-inside-defs-expected.png:
  • platform/qt/svg/custom/massive-coordinates-expected.png:
  • platform/qt/svg/custom/missing-xlink-expected.png:
  • platform/qt/svg/custom/non-circular-marker-reference-expected.png:
  • platform/qt/svg/custom/object-sizing-expected.png:
  • platform/qt/svg/custom/path-bad-data-expected.png:
  • platform/qt/svg/custom/path-update-expected.png:
  • platform/qt/svg/custom/pattern-no-pixelation-expected.png:
  • platform/qt/svg/custom/pattern-scaled-pattern-space-expected.png: Added.
  • platform/qt/svg/custom/pattern-size-bigger-than-target-size-expected.png:
  • platform/qt/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png:
  • platform/qt/svg/custom/pattern-y-offset-expected.png:
  • platform/qt/svg/custom/percentage-of-html-parent-expected.png:
  • platform/qt/svg/custom/pointer-events-image-css-transform-expected.png:
  • platform/qt/svg/custom/pointer-events-image-expected.png:
  • platform/qt/svg/custom/pointer-events-path-expected.png:
  • platform/qt/svg/custom/pointer-events-text-css-transform-expected.png:
  • platform/qt/svg/custom/pointer-events-text-expected.png:
  • platform/qt/svg/custom/poly-identify-expected.png:
  • platform/qt/svg/custom/polyline-hittest-expected.png:
  • platform/qt/svg/custom/polyline-invalid-points-expected.png:
  • platform/qt/svg/custom/relative-sized-content-with-resources-expected.png:
  • platform/qt/svg/custom/rootelement-expected.png:
  • platform/qt/svg/custom/rootmost-svg-xy-attrs-expected.png:
  • platform/qt/svg/custom/second-inline-text-expected.png:
  • platform/qt/svg/custom/shape-rendering-expected.png:
  • platform/qt/svg/custom/sheet-title-expected.png:
  • platform/qt/svg/custom/stroke-fallback-expected.png:
  • platform/qt/svg/custom/svg-float-border-padding-expected.png:
  • platform/qt/svg/custom/svg-fonts-in-html-expected.png:
  • platform/qt/svg/custom/svg-fonts-segmented-expected.png:
  • platform/qt/svg/custom/svg-fonts-without-missing-glyph-expected.png:
  • platform/qt/svg/custom/svgpolyparser-extra-space-expected.png:
  • platform/qt/svg/custom/text-dom-01-f-expected.png:
  • platform/qt/svg/custom/text-filter-expected.png:
  • platform/qt/svg/custom/text-hit-test-expected.png:
  • platform/qt/svg/custom/text-letter-spacing-expected.png:
  • platform/qt/svg/custom/text-linking-expected.png:
  • platform/qt/svg/custom/text-whitespace-handling-expected.png:
  • platform/qt/svg/custom/text-x-dx-lists-expected.png:
  • platform/qt/svg/custom/text-x-dy-lists-expected.png:
  • platform/qt/svg/custom/text-x-override-in-tspan-child-expected.png:
  • platform/qt/svg/custom/transform-removeAttributeNS-expected.png:
  • platform/qt/svg/custom/transform-scale-parse-expected.png:
  • platform/qt/svg/custom/use-clipped-transform-expected.png:
  • platform/qt/svg/custom/use-dynamic-append-expected.png:
  • platform/qt/svg/custom/use-font-face-crash-expected.png:
  • platform/qt/svg/custom/use-nested-transform-expected.png:
  • platform/qt/svg/custom/use-on-clip-path-with-transformation-expected.png:
  • platform/qt/svg/custom/use-on-g-containing-foreignObject-and-image-expected.png:
  • platform/qt/svg/custom/use-on-g-containing-symbol-expected.png:
  • platform/qt/svg/custom/use-on-g-containing-use-expected.png:
  • platform/qt/svg/custom/use-on-g-expected.png:
  • platform/qt/svg/custom/use-on-rect-expected.png:
  • platform/qt/svg/custom/use-on-symbol-expected.png:
  • platform/qt/svg/custom/use-on-text-expected.png:
  • platform/qt/svg/custom/use-on-use-expected.png:
  • platform/qt/svg/custom/use-transform-expected.png:
  • platform/qt/svg/custom/viewport-no-width-height-expected.png:
  • platform/qt/svg/custom/viewport-update-expected.png:
  • platform/qt/svg/custom/visibility-override-clip-expected.png:
  • platform/qt/svg/custom/visibility-override-expected.png:
  • platform/qt/svg/custom/visibility-override-mask-expected.png:
  • platform/qt/svg/custom/width-full-percentage-expected.png:
  • platform/qt/svg/custom/xml-stylesheet-expected.png:
  • platform/qt/svg/dom/SVGLengthList-insertItemBefore-expected.png:
  • platform/qt/svg/dom/SVGPathSegList-cloning-expected.png:
  • platform/qt/svg/filters/animate-fill-expected.png: Copied from LayoutTests/platform/qt/tables/mozilla/bugs/bug219693-1-expected.png.
  • platform/qt/svg/filters/big-sized-filter-expected.png:
  • platform/qt/svg/filters/feColorMatrix-offset-expected.png:
  • platform/qt/svg/filters/feColorMatrix-saturate-expected.png:
  • platform/qt/svg/filters/feDropShadow-subregion-expected.png: Copied from LayoutTests/platform/qt/tables/mozilla/bugs/bug219693-1-expected.png.
  • platform/qt/svg/filters/feGaussianBlur-subregion-expected.png: Copied from LayoutTests/platform/qt/tables/mozilla/bugs/bug219693-1-expected.png.
  • platform/qt/svg/filters/filter-empty-g-expected.png:
  • platform/qt/svg/filters/filter-on-filter-for-text-expected.png:
  • platform/qt/svg/filters/filter-on-tspan-expected.png:
  • platform/qt/svg/filters/filter-placement-issue-expected.png:
  • platform/qt/svg/filters/filter-source-position-expected.png:
  • platform/qt/svg/filters/filterRes2-expected.png:
  • platform/qt/svg/foreignObject/clip-expected.png: Copied from LayoutTests/platform/qt/svg/custom/transform-scale-parse-expected.png.
  • platform/qt/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.png:
  • platform/qt/svg/foreignObject/filter-expected.png: Copied from LayoutTests/platform/qt/svg/custom/transform-scale-parse-expected.png.
  • platform/qt/svg/foreignObject/mask-expected.png: Copied from LayoutTests/platform/qt/svg/custom/transform-scale-parse-expected.png.
  • platform/qt/svg/foreignObject/svg-document-as-direct-child-expected.png:
  • platform/qt/svg/foreignObject/svg-document-in-html-document-expected.png:
  • platform/qt/svg/hixie/cascade/001-broken-expected.png:
  • platform/qt/svg/hixie/error/012-expected.png:
  • platform/qt/svg/hixie/error/013-expected.png:
  • platform/qt/svg/hixie/links/001-expected.png:
  • platform/qt/svg/hixie/mixed/003-expected.png:
  • platform/qt/svg/hixie/shapes/path/001-expected.png:
  • platform/qt/svg/hixie/text/001-expected.png:
  • platform/qt/svg/hixie/text/003-expected.png:
  • platform/qt/svg/hixie/transform/001-expected.png:
  • platform/qt/svg/hixie/viewbox/preserveAspectRatio/001-expected.png:
  • platform/qt/svg/hixie/viewbox/preserveAspectRatio/002-expected.png:
  • platform/qt/svg/text/bidi-embedded-direction-expected.png:
  • platform/qt/svg/text/kerning-expected.png:
  • platform/qt/svg/text/scaled-font-expected.png:
  • platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png:
  • platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png:
  • platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png:
  • platform/qt/svg/text/small-fonts-in-html5-expected.png:
  • platform/qt/svg/text/text-align-04-b-expected.png:
  • platform/qt/svg/text/text-align-05-b-expected.png:
  • platform/qt/svg/text/text-deco-01-b-expected.png:
  • platform/qt/svg/text/text-path-middle-align-expected.png:
  • platform/qt/svg/text/text-text-04-t-expected.png:
  • platform/qt/svg/text/text-text-06-t-expected.png:
  • platform/qt/svg/text/text-text-07-t-expected.png:
  • platform/qt/svg/text/textPathBoundsBug-expected.png:
  • platform/qt/svg/wicd/rightsizing-grid-expected.png:
  • platform/qt/svg/wicd/test-rightsizing-a-expected.png:
  • platform/qt/svg/wicd/test-rightsizing-b-expected.png:
  • platform/qt/svg/wicd/test-scalable-background-image1-expected.png:
  • platform/qt/svg/wicd/test-scalable-background-image2-expected.png:
  • platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.png:
  • platform/qt/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png:
  • platform/qt/svg/zoom/page/zoom-hixie-mixed-008-expected.png:
  • platform/qt/svg/zoom/page/zoom-hixie-rendering-model-004-expected.png:
  • platform/qt/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
  • platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.png:
  • platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png:
  • platform/qt/svg/zoom/page/zoom-svg-as-object-expected.png:
  • platform/qt/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
  • platform/qt/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png:
  • platform/qt/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png:
  • platform/qt/svg/zoom/text/zoom-hixie-mixed-008-expected.png:
  • platform/qt/svg/zoom/text/zoom-hixie-rendering-model-004-expected.png:
  • platform/qt/svg/zoom/text/zoom-svg-float-border-padding-expected.png:
  • platform/qt/tables/layering/paint-test-layering-1-expected.png:
  • platform/qt/tables/layering/paint-test-layering-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug101201-expected.png:
  • platform/qt/tables/mozilla/bugs/bug102145-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug102145-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug102145-3-expected.png:
  • platform/qt/tables/mozilla/bugs/bug102145-4-expected.png:
  • platform/qt/tables/mozilla/bugs/bug10269-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug10296-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug10296-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug103533-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1055-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug106158-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug106795-expected.png:
  • platform/qt/tables/mozilla/bugs/bug106816-expected.png:
  • platform/qt/tables/mozilla/bugs/bug109043-expected.png:
  • platform/qt/tables/mozilla/bugs/bug11321-expected.png:
  • platform/qt/tables/mozilla/bugs/bug113235-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug113235-3-expected.png:
  • platform/qt/tables/mozilla/bugs/bug11384q-expected.png:
  • platform/qt/tables/mozilla/bugs/bug11384s-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1163-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1188-expected.png:
  • platform/qt/tables/mozilla/bugs/bug11944-expected.png:
  • platform/qt/tables/mozilla/bugs/bug119786-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1224-expected.png:
  • platform/qt/tables/mozilla/bugs/bug12709-expected.png:
  • platform/qt/tables/mozilla/bugs/bug127267-expected.png:
  • platform/qt/tables/mozilla/bugs/bug128229-expected.png:
  • platform/qt/tables/mozilla/bugs/bug131020-expected.png:
  • platform/qt/tables/mozilla/bugs/bug131020_iframe-expected.png:
  • platform/qt/tables/mozilla/bugs/bug13118-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1318-expected.png:
  • platform/qt/tables/mozilla/bugs/bug13196-expected.png:
  • platform/qt/tables/mozilla/bugs/bug133756-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug133948-expected.png:
  • platform/qt/tables/mozilla/bugs/bug137388-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug139524-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug14159-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug14929-expected.png:
  • platform/qt/tables/mozilla/bugs/bug15247-expected.png:
  • platform/qt/tables/mozilla/bugs/bug154780-expected.png:
  • platform/qt/tables/mozilla/bugs/bug157890-expected.png:
  • platform/qt/tables/mozilla/bugs/bug15933-expected.png:
  • platform/qt/tables/mozilla/bugs/bug16012-expected.png:
  • platform/qt/tables/mozilla/bugs/bug16252-expected.png:
  • platform/qt/tables/mozilla/bugs/bug17138-expected.png:
  • platform/qt/tables/mozilla/bugs/bug17587-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1800-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1802-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1802s-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1818-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1818-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug1818-4-expected.png:
  • platform/qt/tables/mozilla/bugs/bug18359-expected.png:
  • platform/qt/tables/mozilla/bugs/bug18664-expected.png:
  • platform/qt/tables/mozilla/bugs/bug18955-expected.png:
  • platform/qt/tables/mozilla/bugs/bug19061-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug19061-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug194024-expected.png:
  • platform/qt/tables/mozilla/bugs/bug19599-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2050-expected.png:
  • platform/qt/tables/mozilla/bugs/bug20579-expected.png:
  • platform/qt/tables/mozilla/bugs/bug20804-expected.png:
  • platform/qt/tables/mozilla/bugs/bug21299-expected.png:
  • platform/qt/tables/mozilla/bugs/bug215629-expected.png:
  • platform/qt/tables/mozilla/bugs/bug219693-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug219693-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug221784-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug221784-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug222846-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2267-expected.png:
  • platform/qt/tables/mozilla/bugs/bug23072-expected.png:
  • platform/qt/tables/mozilla/bugs/bug23299-expected.png:
  • platform/qt/tables/mozilla/bugs/bug24627-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2469-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2479-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug24880-expected.png:
  • platform/qt/tables/mozilla/bugs/bug25074-expected.png:
  • platform/qt/tables/mozilla/bugs/bug25086-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2509-expected.png:
  • platform/qt/tables/mozilla/bugs/bug25367-expected.png:
  • platform/qt/tables/mozilla/bugs/bug25663-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2684-expected.png:
  • platform/qt/tables/mozilla/bugs/bug27038-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug27038-3-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2773-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2886-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug28928-expected.png:
  • platform/qt/tables/mozilla/bugs/bug29058-3-expected.png:
  • platform/qt/tables/mozilla/bugs/bug29429-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2981-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2981-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug2997-expected.png:
  • platform/qt/tables/mozilla/bugs/bug3037-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug3037-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug30418-expected.png:
  • platform/qt/tables/mozilla/bugs/bug30559-expected.png:
  • platform/qt/tables/mozilla/bugs/bug30692-expected.png:
  • platform/qt/tables/mozilla/bugs/bug3103-expected.png:
  • platform/qt/tables/mozilla/bugs/bug32205-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug32205-3-expected.png:
  • platform/qt/tables/mozilla/bugs/bug32447-expected.png:
  • platform/qt/tables/mozilla/bugs/bug3260-expected.png:
  • platform/qt/tables/mozilla/bugs/bug32841-expected.png:
  • platform/qt/tables/mozilla/bugs/bug3309-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug3309-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug34538-expected.png:
  • platform/qt/tables/mozilla/bugs/bug3454-expected.png:
  • platform/qt/tables/mozilla/bugs/bug3681-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug3681-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug38916-expected.png:
  • platform/qt/tables/mozilla/bugs/bug3977-expected.png:
  • platform/qt/tables/mozilla/bugs/bug41890-expected.png:
  • platform/qt/tables/mozilla/bugs/bug42187-expected.png:
  • platform/qt/tables/mozilla/bugs/bug4284-expected.png:
  • platform/qt/tables/mozilla/bugs/bug43039-expected.png:
  • platform/qt/tables/mozilla/bugs/bug4382-expected.png:
  • platform/qt/tables/mozilla/bugs/bug43854-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug43854-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug4427-expected.png:
  • platform/qt/tables/mozilla/bugs/bug45055-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug4523-expected.png:
  • platform/qt/tables/mozilla/bugs/bug45350-expected.png:
  • platform/qt/tables/mozilla/bugs/bug45486-expected.png:
  • platform/qt/tables/mozilla/bugs/bug46268-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug46268-2-expected.png:
  • platform/qt/tables/mozilla/bugs/bug46268-5-expected.png:
  • platform/qt/tables/mozilla/bugs/bug46268-expected.png:
  • platform/qt/tables/mozilla/bugs/bug46368-1-expected.png:
  • platform/qt/tables/mozilla/bugs/bug46368-2-expected.png:
6:29 AM Changeset in webkit [146876] by kadam@inf.u-szeged.hu
  • 2 edits
    5 adds in trunk/LayoutTests

[Qt] Unreviewed gardneing. Unskipped and Updated inspector tests after r146863.

  • platform/qt/TestExpectations:
  • platform/qt/inspector/console/console-eval-syntax-error-expected.txt: Added.
  • platform/qt/inspector/debugger/debugger-pause-in-eval-script-expected.txt: Added.
  • platform/qt/inspector/extensions/extensions-eval-expected.txt: Added.
6:22 AM Changeset in webkit [146875] by vsevik@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: Decorations in several consecutive lines are not moved correctly in DTE.
https://bugs.webkit.org/show_bug.cgi?id=113296

Reviewed by Pavel Feldman.

Separated removing and adding decorations so that moved decorations are not removed when next line is processed.

  • inspector/front-end/DefaultTextEditor.js:

(WebInspector.TextEditorGutterPanel.prototype.textChanged):

6:17 AM Changeset in webkit [146874] by yurys@chromium.org
  • 2 edits in trunk/Source/WebCore

Remove references to non-chromium entries from WebCore.gypi (part 2)
https://bugs.webkit.org/show_bug.cgi?id=103124

Reviewed by Pavel Feldman.

  • WebCore.gypi: removed unused references to gtk, cf, win and mac
5:31 AM Changeset in webkit [146873] by zandobersek@gmail.com
  • 2 edits in trunk/Tools

Unreviewed GTK gardening.

  • Scripts/run-gtk-tests:

(TestRunner): A follow-up to 146859, skipping the complete WebKit2APITests/TestInspector unit test.

5:08 AM Changeset in webkit [146872] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebKit/qt

[Qt] Fix tst_QWebElement::render() API test
https://bugs.webkit.org/show_bug.cgi?id=65243

Reviewed by Jocelyn Turcotte.

Unmark the passing part of this testcase.

  • tests/qwebelement/tst_qwebelement.cpp:

(tst_QWebElement::render):

5:01 AM Changeset in webkit [146871] by commit-queue@webkit.org
  • 9 edits in trunk/Source

Unreviewed, rolling out r146767.
http://trac.webkit.org/changeset/146767
https://bugs.webkit.org/show_bug.cgi?id=113295

Rolling out until nicer fonts / sizes are chosen (Requested by
pfeldman on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-26

Source/WebCore:

  • inspector/front-end/dataGrid.css:

(.data-grid table):
(.data-grid td):

  • inspector/front-end/inspector.css:

(.toolbar-label):
(body.show-toolbar-icons .toolbar-label):
(.console-message .bubble):
(li .status .bubble):
(.source-frame-breakpoint-message):
(.soft-context-menu):
(.drawer-header-close-button):

  • inspector/front-end/inspectorCommon.css:

(body):

  • inspector/front-end/networkLogView.css:

(.network-log-grid.data-grid td):
(.network-log-grid.data-grid.small td):

  • inspector/front-end/tabbedPane.css:

(.tabbed-pane-header-tab):
(.tabbed-pane-header-tab-close-button):

  • inspector/front-end/timelinePanel.css:

(.timeline-tree-item .count):
(.timeline-records-stats, .storage-application-cache-status, .storage-application-cache-connectivity):
(.memory-counter-sidebar-info):
(.memory-counter-value):

Source/WebKit/chromium:

  • src/js/devTools.css:
4:57 AM Changeset in webkit [146870] by zarvai@inf.u-szeged.hu
  • 287 edits in trunk/LayoutTests

[Qt] Unreviewed gardening. Rebaselining. Making pixel test bot happier after r146206.

  • platform/qt/svg/W3C-SVG-1.1/animate-elem-28-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-29-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-32-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-34-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-37-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-39-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-44-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-46-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-60-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-61-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-62-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-63-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-64-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-65-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-66-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-67-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-68-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-69-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-70-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-77-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/animate-elem-85-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/color-prof-01-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/color-prop-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/color-prop-02-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/color-prop-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-coord-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-coord-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-trans-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-trans-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-trans-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-trans-04-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-trans-05-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-trans-06-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-units-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-units-02-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-units-03-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/filters-conv-01-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/filters-felem-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/filters-light-04-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/filters-specular-01-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/filters-tile-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/interact-dom-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/linking-a-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/linking-a-02-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/linking-a-03-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/linking-a-04-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/linking-a-05-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/linking-a-07-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/linking-uri-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/masking-path-05-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/metadata-example-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/painting-fill-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/painting-fill-04-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/painting-fill-05-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/painting-marker-01-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/painting-marker-02-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/painting-render-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/painting-stroke-07-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/paths-data-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/paths-data-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/paths-data-05-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/paths-data-07-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/paths-data-09-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/paths-data-12-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/paths-data-13-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/paths-data-14-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/paths-data-15-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-15-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-18-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/pservers-grad-19-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-06-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-07-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/render-elems-08-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/script-handle-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/script-handle-02-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/script-handle-03-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/shapes-line-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/shapes-polygon-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-cond-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-cond-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-defs-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-dom-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-dom-02-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-dom-03-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-dom-06-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-frag-02-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-frag-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-frag-04-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-frag-05-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-frag-06-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-group-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-group-02-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-group-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-image-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-image-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-image-04-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-image-05-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-image-07-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-image-08-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-image-09-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-use-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-use-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/struct-use-05-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/styling-css-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/styling-css-02-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/styling-css-03-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/styling-css-04-f-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/styling-css-05-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/styling-css-06-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/styling-pres-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-align-05-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-align-08-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-fonts-03-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-intro-01-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-intro-02-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-intro-03-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-intro-04-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-text-04-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-text-05-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-text-06-t-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-text-08-b-expected.png:
  • platform/qt/svg/W3C-SVG-1.1/text-tref-01-b-expected.png:
  • platform/qt/svg/as-background-image/animated-svg-as-background-expected.png:
  • platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png:
  • platform/qt/svg/as-background-image/same-image-two-instances-background-image-expected.png:
  • platform/qt/svg/as-background-image/svg-as-background-with-relative-size-expected.png:
  • platform/qt/svg/as-border-image/svg-as-border-image-2-expected.png:
  • platform/qt/svg/as-border-image/svg-as-border-image-expected.png:
  • platform/qt/svg/as-image/image-respects-pageScaleFactor-expected.png:
  • platform/qt/svg/as-image/same-image-two-instances-expected.png:
  • platform/qt/svg/batik/filters/feTile-expected.png:
  • platform/qt/svg/batik/paints/patternRegions-expected.png:
  • platform/qt/svg/batik/paints/patternRegions-positioned-objects-expected.png:
  • platform/qt/svg/batik/text/textEffect-expected.png:
  • platform/qt/svg/batik/text/textEffect3-expected.png:
  • platform/qt/svg/batik/text/textLayout-expected.png:
  • platform/qt/svg/batik/text/textOnPath3-expected.png:
  • platform/qt/svg/batik/text/textStyles-expected.png:
  • platform/qt/svg/batik/text/xmlSpace-expected.png:
  • platform/qt/svg/clip-path/clip-in-mask-expected.png:
  • platform/qt/svg/clip-path/clip-in-mask-objectBoundingBox-expected.png:
  • platform/qt/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.png:
  • platform/qt/svg/clip-path/clip-path-childs-clipped-expected.png:
  • platform/qt/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png:
  • platform/qt/svg/clip-path/clip-path-clipped-expected.png:
  • platform/qt/svg/clip-path/clip-path-clipped-nonzero-expected.png:
  • platform/qt/svg/clip-path/clip-path-css-transform-1-expected.png:
  • platform/qt/svg/clip-path/clip-path-css-transform-2-expected.png:
  • platform/qt/svg/clip-path/clip-path-objectBoundingBox-expected.png:
  • platform/qt/svg/clip-path/clip-path-on-clipped-use-expected.png:
  • platform/qt/svg/clip-path/clip-path-on-g-and-child-expected.png:
  • platform/qt/svg/clip-path/clip-path-on-g-expected.png:
  • platform/qt/svg/clip-path/clip-path-on-svg-and-child-expected.png:
  • platform/qt/svg/clip-path/clip-path-on-svg-expected.png:
  • platform/qt/svg/clip-path/clip-path-recursive-call-by-child-expected.png:
  • platform/qt/svg/clip-path/clip-path-recursive-call-expected.png:
  • platform/qt/svg/clip-path/clip-path-transform-1-expected.png:
  • platform/qt/svg/clip-path/clip-path-transform-2-expected.png:
  • platform/qt/svg/clip-path/clip-path-use-as-child-expected.png:
  • platform/qt/svg/clip-path/clip-path-userSpaceOnUse-expected.png:
  • platform/qt/svg/clip-path/clip-path-with-different-unittypes-expected.png:
  • platform/qt/svg/clip-path/clip-path-with-different-unittypes2-expected.png:
  • platform/qt/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png:
  • platform/qt/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png:
  • platform/qt/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png:
  • platform/qt/svg/css/css-box-min-width-expected.png:
  • platform/qt/svg/css/group-with-shadow-expected.png:
  • platform/qt/svg/css/mask-with-shadow-expected.png:
  • platform/qt/svg/css/path-gradient-stroke-shadow-expected.png:
  • platform/qt/svg/css/rect-gradient-stroke-shadow-expected.png:
  • platform/qt/svg/custom/SVGMatrix-interface-expected.png:
  • platform/qt/svg/custom/SVGNumber-interface-expected.png:
  • platform/qt/svg/custom/SVGPoint-interface-expected.png:
  • platform/qt/svg/custom/SVGRect-interface-expected.png:
  • platform/qt/svg/custom/alignment-baseline-modes-expected.png:
  • platform/qt/svg/custom/bug45331-expected.png:
  • platform/qt/svg/custom/circular-marker-reference-2-expected.png:
  • platform/qt/svg/custom/class-baseValue-expected.png:
  • platform/qt/svg/custom/clip-mask-negative-scale-expected.png:
  • platform/qt/svg/custom/clip-path-referencing-use-expected.png:
  • platform/qt/svg/custom/clip-path-with-transform-expected.png:
  • platform/qt/svg/custom/conditional-processing-outside-switch-expected.png:
  • platform/qt/svg/custom/container-opacity-clip-viewBox-expected.png:
  • platform/qt/svg/custom/control-points-for-S-and-T-expected.png:
  • platform/qt/svg/custom/convolution-crash-expected.png:
  • platform/qt/svg/custom/create-metadata-element-expected.png:
  • platform/qt/svg/custom/createelement-expected.png:
  • platform/qt/svg/custom/display-none-expected.png:
  • platform/qt/svg/custom/dominant-baseline-hanging-expected.png:
  • platform/qt/svg/custom/dominant-baseline-modes-expected.png:
  • platform/qt/svg/custom/dynamic-svg-document-creation-expected.png:
  • platform/qt/svg/custom/embedding-external-svgs-expected.png:
  • platform/qt/svg/custom/empty-clip-path-expected.png:
  • platform/qt/svg/custom/evt-onload-expected.png:
  • platform/qt/svg/custom/fill-SVGPaint-interface-expected.png:
  • platform/qt/svg/custom/fill-fallback-expected.png:
  • platform/qt/svg/custom/fill-update-expected.png:
  • platform/qt/svg/custom/fractional-rects-expected.png:
  • platform/qt/svg/custom/getPresentationAttribute-expected.png:
  • platform/qt/svg/custom/getscreenctm-in-mixed-content-expected.png:
  • platform/qt/svg/custom/getsvgdocument-expected.png:
  • platform/qt/svg/custom/gradient-attr-update-expected.png:
  • platform/qt/svg/custom/gradient-cycle-detection-expected.png:
  • platform/qt/svg/custom/gradient-rotated-bbox-expected.png:
  • platform/qt/svg/custom/gradient-stop-corner-cases-expected.png:
  • platform/qt/svg/custom/group-opacity-expected.png:
  • platform/qt/svg/custom/hit-test-with-br-expected.png:
  • platform/qt/svg/custom/image-parent-translation-expected.png:
  • platform/qt/svg/custom/image-rescale-scroll-expected.png:
  • platform/qt/svg/custom/image-with-aspect-ratio-stretch-expected.png:
  • platform/qt/svg/custom/image-with-transform-clip-filter-expected.png:
  • platform/qt/svg/custom/inner-svg-hit-test-expected.png:
  • platform/qt/svg/custom/invalid-fill-expected.png:
  • platform/qt/svg/custom/invalid-fill-hex-expected.png:
  • platform/qt/svg/custom/invalid-lengthlist-expected.png:
  • platform/qt/svg/custom/invalid-stroke-hex-expected.png:
  • platform/qt/svg/custom/invalid-uri-stroke-expected.png:
  • platform/qt/svg/custom/invisible-text-after-scrolling-expected.png:
  • platform/qt/svg/custom/junk-data-expected.png:
  • platform/qt/svg/custom/large-bounding-box-percents-expected.png:
  • platform/qt/svg/custom/linking-a-03-b-transform-expected.png:
  • platform/qt/svg/custom/linking-a-03-b-viewBox-expected.png:
  • platform/qt/svg/custom/linking-a-03-b-viewBox-transform-expected.png:
  • platform/qt/svg/custom/linking-uri-01-b-expected.png:
  • platform/qt/svg/custom/marker-changes-expected.png:
  • platform/qt/svg/custom/marker-empty-path-expected.png:
  • platform/qt/svg/custom/mask-changes-expected.png:
4:52 AM Changeset in webkit [146869] by Csaba Osztrogonác
  • 2 edits in trunk/Source/JavaScriptCore

Fix unused parameter warnings in JITInlines.h
https://bugs.webkit.org/show_bug.cgi?id=112560

Reviewed by Zoltan Herczeg.

  • jit/JITInlines.h:

(JSC::JIT::beginUninterruptedSequence):
(JSC::JIT::endUninterruptedSequence):
(JSC):

4:49 AM Changeset in webkit [146868] by Csaba Osztrogonác
  • 2 edits in trunk/Tools

[Qt] Enable release/debug/2/webkit2 options for run-qtwebkit-tests
https://bugs.webkit.org/show_bug.cgi?id=113287

Reviewed by Jocelyn Turcotte.

  • Scripts/run-qtwebkit-tests:

(Options.init):

4:37 AM Changeset in webkit [146867] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

Unable to insert a paragraph in between some text whose previous sibling is a non-editable block.
https://bugs.webkit.org/show_bug.cgi?id=113007

Patch by Arpita Bahuguna <a.bah@samsung.com> on 2013-03-26
Reviewed by Ryosuke Niwa.

Source/WebCore:

Unable to insert a line break in between a text that follows a
non-editable block but is itself contained within an editable
block.

While comparing the positions from the start block till the
insertion position, we should ignore the nodes that do not
generate a visiblePosition for the position before the node.
This ultimately results in an assert within comparePositions().

For this case, the firstChild of the start block is a text
node with no renderer which would thus not generate a candidate
position for itself.
There is also no candidate previous to it, and since
the position after it lies within a different editable element (root),
no candidate after it as well.
Such a point will thus return a null visiblePosition.

Test: editing/inserting/insert-paragraph-between-text.html

  • editing/InsertParagraphSeparatorCommand.cpp:

(WebCore::InsertParagraphSeparatorCommand::doApply):
Added a check to verify the generated visiblePosition (for the
position before the node) prior to carrying out a comparison with
the insertion point.

LayoutTests:

  • editing/inserting/insert-paragraph-between-text-expected.txt: Added.
  • editing/inserting/insert-paragraph-between-text.html: Added.

Added a layout test case for verifying the behavior when trying
to insert a line break between an editable text with a non-editable
block as it's previous sibling.

4:23 AM Changeset in webkit [146866] by loislo@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: OverviewGrid. Dragged window may change its width due to accumulating rounding error.
https://bugs.webkit.org/show_bug.cgi?id=113138

Reviewed by Pavel Feldman.

The old version had problem with rounding because it recalculates the window size on each event.
The new version just calculates the dragging delta and moves the window
to the new position based on the initial values and the delta.

  • inspector/front-end/OverviewGrid.js:

(WebInspector.OverviewGrid.Window.prototype._startWindowDragging):
(WebInspector.OverviewGrid.Window.prototype._windowDragging):
(WebInspector.OverviewGrid.Window.prototype._onMouseWheel):

3:44 AM Changeset in webkit [146865] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/blackberry

[BlackBerry] Memory leak in UserMediaClientImpl
https://bugs.webkit.org/show_bug.cgi?id=112998

Patch by Xiaobo Wang <xbwang@torchmobile.com.cn> on 2013-03-26
Reviewed by Rob Buis.

PR 312559
Internally Reviewed by Anthony Scian.

Should destroy itself in UserMediaClientImpl::pageDestroyed(), as other
XXClientBlackBerry did, like GeolocationClientBlackBerry::geolocationDestroyed().

  • WebCoreSupport/UserMediaClientImpl.cpp:

(WebCore::UserMediaClientImpl::pageDestroyed):

3:41 AM Changeset in webkit [146864] by commit-queue@webkit.org
  • 6 edits in trunk

[EFL] Enable IndexedDB by default
https://bugs.webkit.org/show_bug.cgi?id=107248

Patch by Rijubrata Bhaumik <rijubrata.bhaumik@intel.com> on 2013-03-26
Reviewed by Laszlo Gombos.

.:

  • Source/cmake/OptionsEfl.cmake:

Enable IndexedDB by default on EFL.

Tools:

  • Scripts/webkitperl/FeatureList.pm:

Enable IndexedDB by default on EFL.

LayoutTests:

  • platform/efl/TestExpectations:

Unskip the tests now that IndexDB is enabled (except the ones
that actually fail).

3:39 AM Changeset in webkit [146863] by kadam@inf.u-szeged.hu
  • 4 edits in trunk/LayoutTests

[Qt] Unreviewed gardening.

  • platform/qt/TestExpectations: Skipped some failing tests.
  • platform/qt/css3/filters/effect-reference-expected.png: Updated after r146779.
  • platform/qt/css3/filters/effect-reference-expected.txt: Update after r146779.
1:43 AM Changeset in webkit [146862] by zarvai@inf.u-szeged.hu
  • 10 edits in trunk/LayoutTests

[Qt] Unreviewed gardening. Rebaselining after r146814.

  • platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt:
  • platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt:
  • platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-opacity-transition-expected.txt:
  • platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-overflow-root-expected.txt:
  • platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-positioned-expected.txt:
  • platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt:
  • platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-transformed-expected.txt:
  • platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt:
  • platform/qt-5.0-wk1/compositing/layer-creation/scroll-partial-update-expected.txt:
1:40 AM Changeset in webkit [146861] by commit-queue@webkit.org
  • 3 edits in trunk/Tools

Sheriffbot should explain rollout failures in a human readable form.
https://bugs.webkit.org/show_bug.cgi?id=107092

Patch by Alan Cutter <alancutter@chromium.org> on 2013-03-26
Reviewed by Ryosuke Niwa.

Improved sheriffbot's error reporting when a rollout command fails to reverse diff files (the most common failure).

  • Scripts/webkitpy/tool/bot/irc_command.py:

(Rollout._check_diff_failure):
(Rollout.execute):

  • Scripts/webkitpy/tool/bot/irc_command_unittest.py:

(IRCCommandTest.test_rollout):

1:26 AM Changeset in webkit [146860] by tkent@chromium.org
  • 11 edits in trunk/Source/WebCore

Rename HTMLInputElement::isIndeterminate to Element::shouldAppearIndeterminate
https://bugs.webkit.org/show_bug.cgi?id=113264

Reviewed by Kentaro Hara.

HTMLInputElement had indeterminate() and isIndeterminate(). It's very
confusing.

Because indeterminate is a public DOM function and isIndeterminate is
for CSS and rendering, we rename isIndetermiante to
shouldAppearIndeterminate. Also, HTMLProgressElement, which support
:indeterminate pseudo class, should follow it. We add
shouldAppearIndeterminate to Element.

No new tests. Just a refactoring.

  • dom/Element.cpp:

(WebCore::Element::shouldAppearIndeterminate): Added. Returns false.

  • dom/Element.h:

(Element): Declare shouldAppearIndeterminate.

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::shouldAppearIndeterminate):
Renamed from isIndeterminate.

  • html/HTMLInputElement.h:

(HTMLInputElement): Rename isIndeterminate to shouldAppearIndeterminate,
and overrides Element::shouldAppearIndeterminate.

  • html/HTMLProgressElement.cpp:

(WebCore::HTMLProgressElement::shouldAppearIndeterminate): Added.

  • html/HTMLProgressElement.h: Add shouldAppearIndeterminate.
  • accessibility/AccessibilityNodeObject.cpp:

(WebCore::AccessibilityNodeObject::isIndeterminate):
Use shouldAppearIndeterminate.

  • css/SelectorChecker.cpp:

(WebCore::SelectorChecker::checkOne): Ditto.

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::canShareStyleWithControl): Ditto.

  • rendering/RenderTheme.cpp:

(WebCore::RenderTheme::isIndeterminate): Ditto.

1:21 AM Changeset in webkit [146859] by zandobersek@gmail.com
  • 2 edits in trunk/Tools

Unreviewed GTK gardening.

  • Scripts/run-gtk-tests:

(TestRunner): Skipping a failing unit test after r146518.

1:20 AM Changeset in webkit [146858] by loislo@chromium.org
  • 2 edits in trunk/Source/WebCore

Web Inspector: [FlameChart] Make function bar highlighted consistent with cursor.
https://bugs.webkit.org/show_bug.cgi?id=113266.

Patch by Pan Deng <pan.deng@intel.com> on 2013-03-26
Reviewed by Vsevolod Vlasov.

In Flamechart, the highlighted function bar is not consistent with cursor sometimes,
reason is that time range that converted from cursor position is truncated by floor.
Actually float value is expected to compare with function startTime and duration.

No new tests.

  • inspector/front-end/FlameChart.js:

(WebInspector.FlameChart.prototype._coordinatesToNodeIndex): Remove floor

1:09 AM Changeset in webkit [146857] by zandobersek@gmail.com
  • 4 edits in trunk/LayoutTests

Unreviewed GTK gardening.

  • platform/gtk/TestExpectations: Adjusting expectation for inspector/debugger/live-edit-breakpoints.html after r146840.
  • platform/gtk/fast/text/international/khmer-selection-expected.txt: Rebaselining after r146778.
  • platform/gtk/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt: Rebaselining

after r146763.

12:54 AM Changeset in webkit [146856] by mihnea@adobe.com
  • 3 edits
    2 adds in trunk

[CSSRegions]: Crash accessing offsetParent for contentNodes inside a flow thread
https://bugs.webkit.org/show_bug.cgi?id=112730

Reviewed by Levi Weintraub.

Source/WebCore:

When computing the offsetParent for an element inside a flow thread, do not
let the algorithm process past the flow thread boundaries, until we figure out
the proper behavior. When reaching the flow thread, offsetParent will return 0,
thus preventing the assert while calling toElement inside Element::offsetParent.

The attached test sets the ground work and will be changed to match the right behavior.
For now, it makes sure we do not crash or return HTMLDocument as offsetParent for
elements inside the flow thread.

Test: fast/regions/offsetParent-in-flow-thread.html

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::offsetParent):

LayoutTests:

  • fast/regions/offsetParent-in-flow-thread-expected.txt: Added.
  • fast/regions/offsetParent-in-flow-thread.html: Added.
12:51 AM Changeset in webkit [146855] by dominik.rottsches@intel.com
  • 6 edits
    2 deletes in trunk/Source/WebCore

Remove HarfBuzzShaperBase
https://bugs.webkit.org/show_bug.cgi?id=112087

Reviewed by Martin Robinson.

Folding HarfBuzzShaperBase into HarfBuzzShaper since
there is no harfbuzz-old vs. harfbuzz-ng distinction anymore.

No new tests, no change in behavior.

  • GNUmakefile.list.am: Removing HarfBuzzShaperBase.*
  • PlatformEfl.cmake: Removing HarfBuzzShaperBase.*
  • WebCore.gypi: Removing HarfBuzzShaperBase.*
  • platform/graphics/harfbuzz/HarfBuzzShaper.cpp: Folding base class members and methods into HarfBuzzShaper.

(WebCore::HarfBuzzShaper::HarfBuzzShaper):
(WebCore::normalizeSpacesAndMirrorChars):
(WebCore):
(WebCore::HarfBuzzShaper::setNormalizedBuffer):
(WebCore::HarfBuzzShaper::isWordEnd):
(WebCore::HarfBuzzShaper::determineWordBreakSpacing):
(WebCore::HarfBuzzShaper::setPadding):

  • platform/graphics/harfbuzz/HarfBuzzShaper.h: Folding base class members and methods into HarfBuzzShaper.

(HarfBuzzShaper):
(WebCore::HarfBuzzShaper::isCodepointSpace):

  • platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp: Removed.
  • platform/graphics/harfbuzz/HarfBuzzShaperBase.h: Removed.
12:33 AM Changeset in webkit [146854] by yurys@chromium.org
  • 3 edits in trunk/LayoutTests

Unreviewed. Rebaseline fast/canvas/canvas-toDataURL-webp.html

  • platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-toDataURL-webp-expected.png:
  • platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/canvas-toDataURL-webp-expected.png:
Note: See TracTimeline for information about the timeline view.