Timeline
Apr 8, 2012:
- 10:25 PM Changeset in webkit [113556] by
-
- 2 edits in trunk/Source/WebKit/mac
[mac] REGRESSION (r113467): Some canvas tests are failing in WebKit1 when run after compositing/tiled-layers-hidpi.html
https://bugs.webkit.org/show_bug.cgi?id=83453
Reviewed by Sam Weinig.
- WebView/WebView.mm:
(-[WebView _setCustomBackingScaleFactor:]): When the scale factor parameter was 0, meaning
no custom scale factor, this method was setting the Page scale factor to 0, and that value
was used by canvas. Changed it to correctly set the Page scale factor back to the device
scale factor.
- 9:59 PM Changeset in webkit [113555] by
-
- 4 edits in trunk
<content> in <meter> is not rendered correctly.
https://bugs.webkit.org/show_bug.cgi?id=81311
This code changes a code location where MeterValueElement's value
attribute is initialized. In the old code, HTMLMeterElement's attach
did. It is better to initialize the attribute just after creating
meter's shadow subtree.
Patch by Takashi Sakamoto <tasak@google.com> on 2012-04-08
Reviewed by Hajime Morita.
No new tests, because an existing test,
content-element-in-meter-element.html covers.
However test_expectations.txt is changed. Now the test passes.
- html/HTMLMeterElement.cpp:
- html/HTMLMeterElement.h:
(HTMLMeterElement):
(HTMLMeterElement::attach):
Removed attach method, because attach method is just calling
LabelableElement::attach after removing didElementStateChange.
(HTMLMeterElement::createShadowSubTree):
Added setWidthPercentage to initialize MeterValueElement's value
attribute.
- LayoutTests/platform/chromium/test_expectations.txt:
Removed BUGWK81311 fast/dom/shadow/content-element-in-meter.html,
because now contentElementInMeterElement passes.
- 9:04 PM Changeset in webkit [113554] by
-
- 2 edits in trunk/Tools
The port object is missing unit_tests_results_path
https://bugs.webkit.org/show_bug.cgi?id=83448
Unreviewed.
This is causing the cr-linux-ews to throw an exception.
- Scripts/webkitpy/common/config/ports.py:
(DeprecatedPort.unit_tests_results_path):
- 1:50 PM Changeset in webkit [113553] by
-
- 2 edits in trunk/Source/JavaScriptCore
Command-line jsc's exception handling should be rationalized
https://bugs.webkit.org/show_bug.cgi?id=83437
Reviewed by Dan Bernstein.
- If an exception is thrown during run() execution, it is now propagated, so that it will terminate program execution unless it is caught.
- If program execution terminates with an exception, the exception is now always printed.
- When printing the exception, the backtrace is now also printed if one is available. It will only not be available if you use something akin to my favorite line of code, 'throw "error"', since primitives don't have properties and hence we cannot attach a "stack" property to them.
- jsc.cpp:
(functionRun):
(runWithScripts):
- 1:46 PM Changeset in webkit [113552] by
-
- 14 edits in trunk/Source/JavaScriptCore
Forced OSR exits should lead to recompilation based on count, not rate
https://bugs.webkit.org/show_bug.cgi?id=83247
<rdar://problem/10720925>
Reviewed by Geoff Garen.
Track which OSR exits happen because of inadequate coverage. Count them
separately. If the count reaches a threshold, immediately trigger
reoptimization.
This is in contrast to the recompilation trigger for all other OSR exits.
Normally recomp is triggered when the exit rate exceeds a certain ratio.
Looks like a slight V8 speedup (sub 1%).
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::CodeBlock):
- bytecode/CodeBlock.h:
(JSC::CodeBlock::forcedOSRExitCounter):
(JSC::CodeBlock::addressOfForcedOSRExitCounter):
(JSC::CodeBlock::offsetOfForcedOSRExitCounter):
(JSC::CodeBlock::shouldReoptimizeNow):
(JSC::CodeBlock::shouldReoptimizeFromLoopNow):
(CodeBlock):
- bytecode/DFGExitProfile.h:
(JSC::DFG::exitKindToString):
- dfg/DFGOSRExitCompiler.cpp:
(JSC::DFG::OSRExitCompiler::handleExitCounts):
(DFG):
- dfg/DFGOSRExitCompiler.h:
(OSRExitCompiler):
- dfg/DFGOSRExitCompiler32_64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
- dfg/DFGOSRExitCompiler64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
- dfg/DFGOperations.cpp:
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileGetIndexedPropertyStorage):
- dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- runtime/Options.cpp:
(Options):
(JSC::Options::initializeOptions):
- runtime/Options.h:
(Options):
- 1:38 PM PrefixedAPIs edited by
- (diff)
- 11:35 AM Changeset in webkit [113551] by
-
- 2 edits in trunk/Source/WebCore
Build fix for !ENABLE(CSS_FILTERS) && ASSERT_DISABLED after r109953.
- platform/graphics/ca/GraphicsLayerCA.cpp:
Apr 7, 2012:
- 8:45 PM Changeset in webkit [113550] by
-
- 2 edits19 adds in trunk/LayoutTests
2012-04-07 Andrew Scherkus <scherkus@chromium.org>
[Chromium] Unreviewed, checking in baselines for video-frame-size-change.html.
- platform/chromium-linux/platform/chromium/compositing/video-frame-size-change-expected.png: Added.
- platform/chromium-linux/platform/chromium/media/video-frame-size-change-expected.png: Added.
- platform/chromium-mac-leopard/platform/chromium/compositing/video-frame-size-change-expected.png: Added.
- platform/chromium-mac-leopard/platform/chromium/media/video-frame-size-change-expected.png: Added.
- platform/chromium-mac-snowleopard/platform/chromium/compositing/video-frame-size-change-expected.png: Added.
- platform/chromium-mac-snowleopard/platform/chromium/media/video-frame-size-change-expected.png: Added.
- platform/chromium-mac/platform/chromium/compositing/video-frame-size-change-expected.png: Added.
- platform/chromium-mac/platform/chromium/compositing/video-frame-size-change-expected.txt: Added.
- platform/chromium-mac/platform/chromium/media/video-frame-size-change-expected.png: Added.
- platform/chromium-mac/platform/chromium/media/video-frame-size-change-expected.txt: Added.
- platform/chromium-win/platform/chromium/compositing/video-frame-size-change-expected.png: Added.
- platform/chromium-win/platform/chromium/compositing/video-frame-size-change-expected.txt: Added.
- platform/chromium-win/platform/chromium/media/video-frame-size-change-expected.png: Added.
- platform/chromium-win/platform/chromium/media/video-frame-size-change-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 11:47 AM Changeset in webkit [113549] by
-
- 2 edits in trunk/LayoutTests
Added fast/canvas/webgl/array-message-passing.html to skipped tests on mac.
Tracked by https://bugs.webkit.org/show_bug.cgi?id=83427
- platform/mac/Skipped:
- 10:14 AM Changeset in webkit [113548] by
-
- 9 edits in trunk
[CMake] Cleanup WTF include directories
https://bugs.webkit.org/show_bug.cgi?id=82716
Reviewed by Eric Seidel.
Source/WebCore:
- CMakeLists.txt:
Source/WebKit:
- CMakeLists.txt:
Source/WebKit2:
- CMakeLists.txt:
Tools:
- DumpRenderTree/efl/CMakeLists.txt:
- WinCELauncher/CMakeLists.txt:
- 8:48 AM PrefixedAPIs edited by
- (diff)
- 8:48 AM PrefixedAPIs edited by
- (diff)
- 8:30 AM Changeset in webkit [113547] by
-
- 8 edits2 adds in trunk
[BlackBerry] Add Battery Status API support
https://bugs.webkit.org/show_bug.cgi?id=82615
Reviewed by George Staikos.
.:
Enable BATTERY_STATUS.
- Source/cmake/OptionsBlackBerry.cmake:
Source/WebKit:
Add BatteryClientBlackBerry.cpp to the build.
- PlatformBlackBerry.cmake:
Source/WebKit/blackberry:
Add client implementation for Battery API.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init): initialize BatteryClient.
- WebCoreSupport/BatteryClientBlackBerry.cpp: Added.
(WebCore):
(WebCore::BatteryClientBlackBerry::BatteryClientBlackBerry):
(WebCore::BatteryClientBlackBerry::setController):
(WebCore::BatteryClientBlackBerry::startUpdating):
(WebCore::BatteryClientBlackBerry::stopUpdating):
(WebCore::BatteryClientBlackBerry::batteryControllerDestroyed):
(WebCore::BatteryClientBlackBerry::onLevelChange):
(WebCore::BatteryClientBlackBerry::onChargingChange):
(WebCore::BatteryClientBlackBerry::onChargingTimeChange):
(WebCore::BatteryClientBlackBerry::onDischargingTimeChange):
- WebCoreSupport/BatteryClientBlackBerry.h: Added.
(WebCore):
(BatteryClientBlackBerry):
(WebCore::BatteryClientBlackBerry::~BatteryClientBlackBerry):
Tools:
Enable BATTERY_STATUS.
- Scripts/build-webkit:
- 7:31 AM Changeset in webkit [113546] by
-
- 3 edits3 adds in trunk
Remove dead code in SVGCSSParser
https://bugs.webkit.org/show_bug.cgi?id=83404
Reviewed by Nikolas Zimmermann.
Source/WebCore:
Remove code that was there to create a SVGColor representation for color, but was never reached. Since
SVGColor is deprecated now (also see bug 15012), this code has lost any potential. Should SVGColor come
back in SVG2 we can revisit this.
Add a test to confirm for SVG we follow the CSS3 handling of color="currentColor". This is something the
removed code never dealt with, but the existing code in CSSParser.cpp handles, make sure we stick to this
behaviour in the future using this test.
Test: svg/custom/currentColor-on-color.html
- css/SVGCSSParser.cpp:
(WebCore::CSSParser::parseSVGValue):
LayoutTests:
Test that we support color="currentColor" in SVG. This follows from the CSS3 spec, see
http://www.w3.org/TR/css3-color/#currentcolor. This matches FF behaviour.
- svg/custom/currentColor-on-color-expected.txt: Added.
- svg/custom/currentColor-on-color.html: Added.
- svg/custom/script-tests/currentColor-on-color.js: Added.
- 6:13 AM Changeset in webkit [113545] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed Easter gardening, skip new failing tests to paint the bots green.
- platform/qt/Skipped:
- 1:21 AM Changeset in webkit [113544] by
-
- 4 edits in trunk/LayoutTests
2012-04-07 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed. Rebaseline three results on Lion, so my baseline passes with tolerance 0 again.
- platform/mac/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png: Images have wrong colorspace in those results.
- platform/mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png: Ditto.
- platform/mac/svg/carto.net/selectionlist-expected.png: Ditto.
- 1:09 AM Changeset in webkit [113543] by
-
- 2 edits in trunk/Source/WebCore
2012-04-07 Nikolas Zimmermann <nzimmermann@rim.com>
FrameData constructor zeroes all fields, causing ImageOrientation to be 0
https://bugs.webkit.org/show_bug.cgi?id=83416
Inofficially rubber-stamped by Tim Horton.
Lots of svg/as-image/ crash on debug builds. FrameData is used in a Vector and currently
special VectorTraits force it to be initialized with memset(), nulling all members, instead
of properly initializing them causing the ImageOrientation bug. To be able to remove the
SimpleClassVectorTraits specialization, we have to allow FrameData to be copied.
- platform/graphics/BitmapImage.h:
- 12:38 AM Changeset in webkit [113542] by
-
- 19 edits in trunk
2012-04-07 Nikolas Zimmermann <nzimmermann@rim.com>
Work around an entity parsing bug in libxml2 2.7.3 (supplied with Lion) and unskip tests
https://bugs.webkit.org/show_bug.cgi?id=82577
Reviewed by Filip Pizlo.
Unskip several tests on Lion, now that the libxml2 bug doesn't affect us anymore.
- platform/mac-lion/Skipped:
- platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
- platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt:
- platform/mac/svg/custom/preserve-aspect-ratio-syntax-expected.png:
- platform/mac/svg/custom/preserve-aspect-ratio-syntax-expected.txt:
- platform/mac/svg/custom/viewbox-syntax-expected.png:
- platform/mac/svg/custom/viewbox-syntax-expected.txt:
- platform/mac/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png:
- platform/mac/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
- platform/mac/svg/zoom/text/zoom-coords-viewattr-01-b-expected.png:
- platform/mac/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt:
2012-04-07 Nikolas Zimmermann <nzimmermann@rim.com>
Work around an entity parsing bug in libxml2 2.7.3 (supplied with Lion) and unskip tests
https://bugs.webkit.org/show_bug.cgi?id=82577
Reviewed by Filip Pizlo.
Work-around entity expansion bug that affects several SVG tests on Lion.
Sample test document which is currently broken:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-W3CDTD SVG 1.1 BasicEN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd" [
<!ENTITY Smile "<rect x='.5' y='.5' width='29' height='39' fill='black' stroke='red'/>">
]>
<svg xmlns="http://www.w3.org/2000/svg">&Smile;</svg>
The expanded rect carries no namespace, thus an Element will be created for it, instead of a SVGRectElement.
libxml2 2.7.4 fixed this bug (https://bugzilla.gnome.org/show_bug.cgi?id=502960) in 2009 already, but Lion
still ships with 2.7.3, so we need to find a work-around for the problem. It works like this:
- When an entity is requested (getEntityHandler) determine whether the entity is being declared (while the <!ENTITY.. parses) or wheter its references (when the &Smile; is parsed). If its referenced, record the current depth of the libxml2 parser.
- When startElementNs is called while we're expanding entities, be sure to transfer the namespace of the parent node to the new node, but only do this if the current depth() is greater than the depth() at the time where entity expansion started. This way we only apply our workaround for elements inside entities, that get expanded at the insertion point.
- When endElementNs is called, and our current depth() is less than our equal to the depth() where entity expansion started, clear the recorded detph(), and stop executing the workaround.
It requires storing an extra integer & boolean in XMLDocumentParser, which is only used for this work-around.
- xml/parser/XMLDocumentParser.h: (XMLDocumentParser): (WebCore::XMLDocumentParser::isParsingEntityDeclaration): (WebCore::XMLDocumentParser::setIsParsingEntityDeclaration): (WebCore::XMLDocumentParser::depthTriggeringEntityExpansion): (WebCore::XMLDocumentParser::setDepthTriggeringEntityExpansion):
- xml/parser/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::XMLDocumentParser): (WebCore::hackAroundLibXMLEntityParsingBug): (WebCore::XMLDocumentParser::startElementNs): (WebCore::XMLDocumentParser::endElementNs): (WebCore::entityDeclarationHandler): (WebCore::getEntityHandler): (WebCore::XMLDocumentParser::initializeParserContext):
Apr 6, 2012:
- 10:47 PM Changeset in webkit [113541] by
-
- 4 edits in trunk/Source
Versioning.
- 10:38 PM Changeset in webkit [113540] by
-
- 1 copy in tags/Safari-536.6
New tag.
- 8:28 PM Changeset in webkit [113539] by
-
- 5 edits in trunk/Source/WebCore
Unreviewed, rolling out r113526.
http://trac.webkit.org/changeset/113526
https://bugs.webkit.org/show_bug.cgi?id=83417
speculative rollout for broken chrome browser_test (Requested
by simonjam on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-06
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::stopLoading):
(WebCore::DocumentLoader::finishedLoading):
(WebCore::DocumentLoader::setupForReplaceByMIMEType):
(WebCore):
(WebCore::DocumentLoader::setParsedArchiveData):
(WebCore::DocumentLoader::scheduleArchiveLoad):
(WebCore::DocumentLoader::documentURL):
- loader/DocumentLoader.h:
(DocumentLoader):
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::receivedFirstData):
(WebCore::FrameLoader::loadArchive):
(WebCore::FrameLoader::stopAllLoaders):
(WebCore::FrameLoader::finishedLoadingDocument):
(WebCore):
- loader/FrameLoader.h:
(FrameLoader):
(WebCore::FrameLoader::archive):
- 7:13 PM Changeset in webkit [113538] by
-
- 2 edits in trunk/Source/WebCore
[chromium] Avoid deleting impl tree when becoming invisible
https://bugs.webkit.org/show_bug.cgi?id=83396
Patch by James Robinson <jamesr@chromium.org> on 2012-04-06
Reviewed by Adrienne Walker.
This bit of code in CCLayerTreeHost::didBecomeInvisible..() was an attempt to drop resources when becoming
invisible. However, it's fairly confused - we drop textures via TextureManagers when going invisible and
CCLayerImpl destructors can't delete non-managed resources since they do not have access to a context - so this
code was never actually freeing up GPU resources. Having a sometimes-null CCLayerImpl tree when we still have a
valid LayerChromium tree has lead to various tricky bugs.
No new tests since this code wasn't doing anything useful in the first place.
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::didBecomeInvisibleOnImplThread):
- 7:06 PM Changeset in webkit [113537] by
-
- 2 edits in trunk/Source/WebCore
LocalFileSystem::initializeLocalFileSystem should be static
https://bugs.webkit.org/show_bug.cgi?id=83356
Reviewed by Rob Buis.
LocalFileSystem::initializeLocalFileSystem should be static because
static LocalFileSystem::localFileSystem() requires initializeLocalFileSystem()
is called before it gets called.
No functionalities changed, no new tests.
- Modules/filesystem/LocalFileSystem.h:
(LocalFileSystem):
- 7:04 PM Changeset in webkit [113536] by
-
- 3 edits1 add1 delete in trunk/LayoutTests
2012-04-06 Andrew Scherkus <scherkus@chromium.org>
[chromium] Add layout tests that exercise rendering path for videos that have changing resolutions.
https://bugs.webkit.org/show_bug.cgi?id=83383
Reviewed by James Robinson.
- platform/chromium/compositing/video-frame-size-change.html: Added.
- platform/chromium/media/video-frame-size-change.html: Changed from dumpAsText() to pixel test
- 7:02 PM Changeset in webkit [113535] by
-
- 1 edit51 deletes in trunk/LayoutTests
clone baselines from platform/win to platform/chromium-win
https://bugs.webkit.org/show_bug.cgi?id=83394
Unreviewed, baselines update.
Removes a bunch of "generic" baselines that were mistakenly
cloned in r113509. I forgot to filter out the baselines that
were for win-specific tests, as opposed to win-specific
baselines for generic tests.
- platform/chromium-win/accessibility/detached-object-notification-crash-expected.txt: Removed.
- platform/chromium-win/accessibility/document-enabled-state-expected.txt: Removed.
- platform/chromium-win/accessibility/document-role-expected.txt: Removed.
- platform/chromium-win/accessibility/focus-events-expected.txt: Removed.
- platform/chromium-win/accessibility/heading-elements-expected.txt: Removed.
- platform/chromium-win/accessibility/img-alt-attribute-expected.txt: Removed.
- platform/chromium-win/accessibility/linked-elements-expected.txt: Removed.
- platform/chromium-win/accessibility/list-item-role-expected.txt: Removed.
- platform/chromium-win/accessibility/list-marker-role-expected.txt: Removed.
- platform/chromium-win/accessibility/list-role-expected.txt: Removed.
- platform/chromium-win/accessibility/multiple-select-element-role-expected.txt: Removed.
- platform/chromium-win/accessibility/option-element-position-and-size-expected.txt: Removed.
- platform/chromium-win/accessibility/option-element-selection-and-focus-events-expected.txt: Removed.
- platform/chromium-win/accessibility/parent-element-expected.txt: Removed.
- platform/chromium-win/accessibility/scroll-to-anchor-expected.txt: Removed.
- platform/chromium-win/accessibility/select-element-role-expected.txt: Removed.
- platform/chromium-win/accessibility/select-element-valuechange-event-expected.txt: Removed.
- platform/chromium-win/accessibility/selection-and-focus-expected.txt: Removed.
- platform/chromium-win/accessibility/single-select-children-changed-expected.txt: Removed.
- platform/chromium-win/accessibility/single-select-children-expected.txt: Removed.
- platform/chromium-win/accessibility/text-role-expected.txt: Removed.
- platform/chromium-win/editing/selection/doubleclick-should-not-expand-across-lines-expected.txt: Removed.
- platform/chromium-win/editing/selection/shift-page-up-down-expected.txt: Removed.
- platform/chromium-win/fast/events/alt-numpad-expected.txt: Removed.
- platform/chromium-win/fast/events/alt-space-scroll-expected.txt: Removed.
- platform/chromium-win/fast/events/context-click-events-expected.txt: Removed.
- platform/chromium-win/fast/events/double-dead-char-expected.txt: Removed.
- platform/chromium-win/fast/events/keyLocation-numpad-expected.txt: Removed.
- platform/chromium-win/fast/events/panScroll-correct-direction-expected.txt: Removed.
- platform/chromium-win/fast/events/panScroll-event-fired-expected.txt: Removed.
- platform/chromium-win/fast/events/panScroll-image-no-scroll-expected.txt: Removed.
- platform/chromium-win/fast/events/panScroll-imageMap-href-no-scroll-expected.txt: Removed.
- platform/chromium-win/fast/events/panScroll-imageMap-noHref-scroll-expected.txt: Removed.
- platform/chromium-win/fast/events/panScroll-nested-divs-expected.txt: Removed.
- platform/chromium-win/fast/events/panScroll-no-iframe-jump-expected.txt: Removed.
- platform/chromium-win/fast/events/panScroll-preventDefault-expected.txt: Removed.
- platform/chromium-win/fast/text/uniscribe-item-boundary-crash-expected.txt: Removed.
- platform/chromium-win/fast/text/uniscribe-missing-glyph-expected.txt: Removed.
- platform/chromium-win/inverted-colors/non-composited-expected.png: Removed.
- platform/chromium-win/inverted-colors/non-composited-expected.txt: Removed.
- platform/chromium-win/platform/win/plugins/draws-gradient-expected.png: Removed.
- platform/chromium-win/platform/win/plugins/draws-gradient-expected.txt: Removed.
- platform/chromium-win/plugins/call-javascript-that-destroys-plugin-expected.txt: Removed.
- platform/chromium-win/plugins/get-value-netscape-window-expected.txt: Removed.
- platform/chromium-win/plugins/iframe-inside-overflow-expected.txt: Removed.
- platform/chromium-win/plugins/npn-invalidate-rect-invalidates-window-expected.txt: Removed.
- platform/chromium-win/plugins/visibility-hidden-expected.png: Removed.
- platform/chromium-win/plugins/visibility-hidden-expected.txt: Removed.
- platform/chromium-win/plugins/window-geometry-initialized-before-set-window-expected.txt: Removed.
- platform/chromium-win/plugins/window-region-is-set-to-clip-rect-expected.txt: Removed.
- platform/chromium-win/plugins/windowless-paint-rect-coordinates-expected.txt: Removed.
- 6:59 PM PrefixedAPIs edited by
- (diff)
- 6:54 PM Changeset in webkit [113534] by
-
- 1 edit1 add in trunk/LayoutTests
[Chromium] Unreviewed gardening.
- platform/chromium-mac/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt: Added.
- 6:25 PM Changeset in webkit [113533] by
-
- 4 edits in trunk/Source
[GTK] Accelerated compositing is broken after recent TextureMapper reorganizations
https://bugs.webkit.org/show_bug.cgi?id=83393
Patch by Martin Robinson <mrobinson@igalia.com> on 2012-04-06
Reviewed by Noam Rosenthal.
Source/WebCore:
No new tests. This will be covered by existing accelerated compositing tests
once the implementation is complete.
The GTK+ implementation doesn't clip currently, so hold off enabling the
scissor test until necessary.
- platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::beginPainting): Do not enable the scissor test.
(WebCore::TextureMapperGL::beginScissorClip): Enable the scissor test once
we know for sure we will be using scissored clipping.
Source/WebKit/gtk:
Ensure that the layer tree is synced when the root layer is resized.
- WebCoreSupport/AcceleratedCompositingContextGL.cpp:
(WebKit::AcceleratedCompositingContext::resizeRootLayer): Ensure that the layer
tree is synced when the root layer resizes and remove a call to recomposite
the tree, as it happens anyway.
- 6:18 PM PrefixedAPIs edited by
- (diff)
- 6:17 PM Changeset in webkit [113532] by
-
- 22 edits14 deletes in trunk
Remove obsolete parts of <datalist> support code
https://bugs.webkit.org/show_bug.cgi?id=83117
Source/WebCore:
Removing HTMLInputElement::selectedOption because it was removed from the specification.
Removing -webkit-appearance:list-button and -webkit-input-list-button pseudo selector
related code because we decided not to use it.
Reviewed by Kent Tamura.
- WebCore.order:
- css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- css/CSSSelector.cpp:
(WebCore::CSSSelector::pseudoId):
(WebCore::nameToPseudoTypeMap):
(WebCore::CSSSelector::extractPseudoType):
- css/CSSSelector.h:
- css/CSSValueKeywords.in:
- css/html.css:
(datalist):
- html/HTMLInputElement.cpp:
- html/HTMLInputElement.h:
(HTMLInputElement):
- html/HTMLInputElement.idl:
- inspector/front-end/SourceCSSTokenizer.js:
(WebInspector.SourceCSSTokenizer):
- inspector/front-end/SourceCSSTokenizer.re2js:
- inspector/front-end/StylesSidebarPane.js:
- platform/ThemeTypes.h:
- platform/chromium/ThemeChromiumMac.mm:
(WebCore::setupButtonCell):
(WebCore::paintButton):
(WebCore::ThemeChromiumMac::controlSize):
(WebCore::ThemeChromiumMac::minimumControlSize):
(WebCore::ThemeChromiumMac::controlBorder):
(WebCore::ThemeChromiumMac::paint):
- platform/mac/ThemeMac.mm:
(WebCore::setUpButtonCell):
(WebCore::paintButton):
(WebCore::ThemeMac::controlSize):
(WebCore::ThemeMac::minimumControlSize):
(WebCore::ThemeMac::controlBorder):
(WebCore::ThemeMac::paint):
- platform/qt/RenderThemeQtMobile.cpp:
(WebCore::RenderThemeQtMobile::computeSizeBasedOnStyle):
- rendering/RenderTheme.cpp:
(WebCore::RenderTheme::adjustStyle):
(WebCore::RenderTheme::paint):
(WebCore::RenderTheme::paintBorderOnly):
(WebCore::RenderTheme::paintDecorations):
- rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::adjustRepaintRect):
LayoutTests:
Removed tests for HTMLInputElement.selectedOption and -webkit-appearance:list-button.
Reviewed by Kent Tamura.
- fast/forms/datalist/input-selectedoption-expected.txt: Removed.
- fast/forms/datalist/input-selectedoption.html: Removed.
- platform/chromium-linux/fast/forms/datalist/input-selectedoption-expected.png: Removed.
- platform/chromium-mac-leopard/fast/forms/datalist/input-selectedoption-expected.png: Removed.
- platform/chromium-mac/fast/forms/datalist/input-selectedoption-expected.png: Removed.
- platform/chromium-mac/fast/forms/datalist/input-selectedoption-expected.txt: Removed.
- platform/chromium-win/fast/forms/datalist/input-selectedoption-expected.png: Removed.
- platform/chromium-win/fast/forms/datalist/input-selectedoption-expected.txt: Removed.
- platform/chromium-win/platform/mac/fast/forms/input-list-button-size-expected.png: Removed.
- platform/gtk/fast/forms/input-selectedoption-expected.txt: Removed.
- platform/mac-leopard/fast/forms/input-list-button-size-expected.png: Removed.
- platform/mac/Skipped:
- platform/mac/fast/forms/input-list-button-size-expected.png: Removed.
- platform/mac/fast/forms/input-list-button-size-expected.txt: Removed.
- platform/mac/fast/forms/input-list-button-size.html: Removed.
- 6:16 PM PrefixedAPIs edited by
- Add specifications for mutation observers API and drag & drop API (diff)
- 6:12 PM Changeset in webkit [113531] by
-
- 3 edits in trunk/Tools
Subscribe feature-media-reviews@c.o to Media-related changes.
https://bugs.webkit.org/show_bug.cgi?id=83397
Reviewed by David Levin.
- Scripts/webkitpy/common/config/committers.py:
- Scripts/webkitpy/common/config/watchlist:
- 6:12 PM Changeset in webkit [113530] by
-
- 3 edits in trunk/Source/JavaScriptCore
Do not abuse ArrayStorage's m_length for testing array consistency
https://bugs.webkit.org/show_bug.cgi?id=83403
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-04-06
Reviewed by Geoffrey Garen.
Array creation from a list of values is a 3 steps process:
-JSArray::tryCreateUninitialized()
-JSArray::initializeIndex() for each values
-JSArray::completeInitialization()
Previously, the attribute m_length was not set to the final size
JSArray::tryCreateUninitialized() because it was used to test the array
consistency JSArray::initializeIndex().
This caused the initialization loop using JSArray::initializeIndex() maintain
two counters:
-index of the loop
-storage->m_length++
This patch fixes this by using the index of the initialization loop for the indinces of
JSArray::initializeIndex(). For testing consistency, the variable m_initializationIndex
is introduced if CHECK_ARRAY_CONSISTENCY is defined.
The patch also fixes minor unrelated build issue when CHECK_ARRAY_CONSISTENCY is defined.
This improves the performance of JSArray creation from literals by 8%.
- runtime/JSArray.cpp:
(JSC::JSArray::tryFinishCreationUninitialized):
(JSC::JSArray::checkConsistency):
- runtime/JSArray.h:
(ArrayStorage):
(JSC::JSArray::initializeIndex):
(JSC::JSArray::completeInitialization):
- 6:09 PM Changeset in webkit [113529] by
-
- 2 edits in trunk/Tools
[chromium] Add virtual test suite for threaded compositing
https://bugs.webkit.org/show_bug.cgi?id=82263
Reviewed by James Robinson.
Add compositing/visibility as a virtual test suites to test threaded
compositing with. This is a reasonable smoke test of 9 tests, none of
which have any expectations in the non-threaded case.
To fix many of the remaining tests in this virtual test suite, there
will need to be some serious refactoring to merge the conflict between
the way CCScheduler wants to draw frames and the way DRT also wants to
control things. So, in the short term, enable a few simple tests that
are known to be passing.
- Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumPort.virtual_test_suites):
- 6:03 PM Changeset in webkit [113528] by
-
- 2 edits in trunk/Source/WebCore
Accessing the returnValue of a modal dialog should be performed directly on the global object.
https://bugs.webkit.org/show_bug.cgi?id=83414
Reviewed by Gavin Barraclough.
Presumably during the mass-devirtualising of JSObject, this deliberate use of
the GlobalObject's property lookup logic directly was replaced with a dynamic
call. That results in the DOMWindow filtering out the lookup. This regression
was masked by r93567.
- bindings/js/JSDOMWindowCustom.cpp:
(WebCore::DialogHandler::returnValue):
- 5:58 PM PrefixedAPIs edited by
- (diff)
- 5:57 PM Changeset in webkit [113527] by
-
- 4 edits in trunk/Source
Build fix for Windows bots.
Source/JavaScriptCore:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: export missing symbol.
Source/WebKit2:
- win/WebKit2.def: Add missing export symbol.
- 5:53 PM PrefixedAPIs edited by
- (diff)
- 5:49 PM PrefixedAPIs edited by
- (diff)
- 5:43 PM Changeset in webkit [113526] by
-
- 5 edits in trunk/Source/WebCore
Move Archive processing to DocumentLoader, instead of FrameLoader.
https://bugs.webkit.org/show_bug.cgi?id=83055
Reviewed by Adam Barth.
No new tests, no functionality change intended.
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::finishedLoading):
(WebCore::DocumentLoader::setupForReplaceByMIMEType):
(WebCore::DocumentLoader::maybeCreateArchive): Renamed from
FrameLoader::finishedLoadingDocument(). Returns true if an archive
was created.
(WebCore::DocumentLoader::setArchive):
(WebCore::DocumentLoader::scheduleArchiveLoad):
(WebCore::DocumentLoader::documentURL): Add a check for whether an archive url
should be returned, so that we don't need special handling in Document and
FrameLoader for overriding the document url later.
- loader/DocumentLoader.h:
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::receivedFirstData): Remove archive special cases, since
DocumentLoader::documentURL() will return the right thing for legacy archives
and maybeCreateArchive() will override the base url for mhtml.
(WebCore::FrameLoader::loadArchive):
- loader/FrameLoader.h:
- 5:41 PM PrefixedAPIs edited by
- (diff)
- 5:37 PM PrefixedAPIs edited by
- (diff)
- 5:36 PM PrefixedAPIs edited by
- (diff)
- 5:34 PM PrefixedAPIs edited by
- (diff)
- 5:33 PM Changeset in webkit [113525] by
-
- 4 edits in trunk/Source
[BlackBerry] Build fix to match the latest WebCore change
https://bugs.webkit.org/show_bug.cgi?id=83358
Reviewed by Rob Buis.
Source/WebCore:
Update the BlackBerry cmake file to reflect the fact that:
1.VDMXParser.cpp moved from graphics/skia to graphics/chromium.
2.geolocation moved to Modules/geolocation
3.websockets moved to Modules/websockets
- PlatformBlackBerry.cmake:
Source/WebKit:
- PlatformBlackBerry.cmake:
- 5:32 PM PrefixedAPIs edited by
- (diff)
- 5:30 PM PrefixedAPIs edited by
- (diff)
- 5:30 PM Changeset in webkit [113524] by
-
- 3 edits in trunk/Source/WebCore
[BlackBerry] Restore some code which was deleted by accident.
https://bugs.webkit.org/show_bug.cgi?id=83357
Reviewed by Rob Buis.
No new tests, just BlackBerry build fix.
- platform/network/blackberry/ResourceRequest.h:
(ResourceRequest):
- platform/network/blackberry/ResourceRequestBlackBerry.cpp:
(WebCore):
(WebCore::mimeTypeRequestTypeMap):
(WebCore::ResourceRequest::targetTypeFromMimeType):
- 5:29 PM PrefixedAPIs edited by
- (diff)
- 5:24 PM PrefixedAPIs created by
- 5:14 PM Changeset in webkit [113523] by
-
- 2 edits in trunk/Source/WebKit2
REGRESSION: Cannot write a word with Korean double consonant
https://bugs.webkit.org/show_bug.cgi?id=81186
Reviewed by Dan Bernstein.
WebKit change r103859 posts fake mouse-move events when the keyboard status is
changed. Unfortunately, these mouse events go to input methods and confuse a
Korean input method. This change directly calls handleMouseEvent() instead of
-mouseMoved: to prevent sending these fake events to input methods.
- UIProcess/API/mac/WKView.mm:
(-[WKView _postFakeMouseMovedEventForFlagsChangedEvent:]):
- 5:13 PM Changeset in webkit [113522] by
-
- 4 edits1 move1 add2 deletes in trunk/LayoutTests
[Chromium] Unreviewed gardening.
- platform/chromium-linux/fast/text/atsui-partial-selection-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/text/atsui-partial-selection-expected.png.
- platform/chromium-mac-snowleopard/fullscreen/full-screen-stacking-context-expected.png:
- platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt: Removed.
- platform/chromium-mac-snowleopard/svg/text/non-bmp-positioning-lists-expected.txt: Removed.
- platform/chromium-mac/fullscreen/full-screen-stacking-context-expected.png:
- platform/chromium-mac/svg/custom/shape-rendering-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 5:06 PM Changeset in webkit [113521] by
-
- 5 edits in trunk/LayoutTests
Unreviewed gardening.
Explicitly position canvases for these tests to avoid cross-platform differences.
- fast/canvas/webgl/webgl-composite-modes-expected.png:
- fast/canvas/webgl/webgl-composite-modes-repaint-expected.png:
- fast/canvas/webgl/webgl-composite-modes-repaint.html:
- fast/canvas/webgl/webgl-composite-modes.html:
- 5:03 PM Changeset in webkit [113520] by
-
- 5 edits in trunk
Fix bug in ContainerNode::getRect with scale transforms
https://bugs.webkit.org/show_bug.cgi?id=83385
Patch by Alexandre Elias <aelias@google.com> on 2012-04-06
Reviewed by Simon Fraser.
The bottom-right corner calculation for non-inline and replaced
elements in ContainerNode::getRect was incorrect in the presence of
scaling, because the untransformed element size was added after the
transformation is applied. The rest of the calculations are careful
to always apply the transformation as the last step, but this had been
forgotten in this codepath. The fix is just to make sure the size is
included in the localToAbsolute call.
One bug caused by this was that a scaled element would be cut off
when scrollIntoView(false) is called to scroll its parent container
to make it bottom-visible.
New layout test case in fast/transforms/scrollIntoView-transformed.html
Source/WebCore:
- dom/ContainerNode.cpp:
(WebCore::ContainerNode::getLowerRightCorner):
LayoutTests:
- fast/transforms/scrollIntoView-transformed-expected.txt:
- fast/transforms/scrollIntoView-transformed.html:
- 4:41 PM Changeset in webkit [113519] by
-
- 2 edits in trunk/Source/WebCore
m_shouldRespectImageOrientation is used uninitialized
https://bugs.webkit.org/show_bug.cgi?id=83410
Reviewed by Simon Fraser.
Initialize Settings's m_shouldRespectImageOrientation to false.
- page/Settings.cpp:
(WebCore::Settings::Settings):
- 4:26 PM Changeset in webkit [113518] by
-
- 4 edits in trunk/Source
[Mac] Adopt a different method of telling AppKit when inline input isn't supported
https://bugs.webkit.org/show_bug.cgi?id=83408
<rdar://problem/9205734>
Reviewed by Adele Peterson.
- 4:09 PM Changeset in webkit [113517] by
-
- 6 edits in trunk
[chromium] Clear values in combinedClear path not respected in WebGLRenderingContext::clearIfComposited()
https://bugs.webkit.org/show_bug.cgi?id=83407
Source/WebCore:
Reviewed by Kenneth Russell.
When doing a combined clear in the drawing buffer path, we have to use the user specified values for the clear
color / mask / depth and not all 0s.
Covered by slight modification to fast/canvas/webgl/canvas-test.html
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::clearIfComposited):
- platform/graphics/gpu/DrawingBuffer.cpp:
(WebCore::DrawingBuffer::clearFramebuffers):
(WebCore::DrawingBuffer::reset):
- platform/graphics/gpu/DrawingBuffer.h:
LayoutTests:
Force a composite on each tick to more closely match the test's behavior in an actual browser.
- fast/canvas/webgl/canvas-test.html:
- 4:02 PM Changeset in webkit [113516] by
-
- 2 edits2 adds in trunk/LayoutTests
[chromium] Unreviewed gardening.
This test is passing on Chromium Linux, but we have a different expectation
checked in for Chromium Win which uses lighttpd.
- platform/chromium-linux/http/tests/xmlhttprequest/cache-override-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 3:57 PM Changeset in webkit [113515] by
-
- 2 edits in trunk/Source/WebCore
[chromium] merge redundant conditions in WebCore.gyp
https://bugs.webkit.org/show_bug.cgi?id=83319
Reviewed by Adam Barth.
There were duplicate conditions in some of the targets (e.g., 2
OS=="win" sections) so I merged them and if possible, used an else
block of an existing condition.
No new tests, just refactoring the build file.
- WebCore.gyp/WebCore.gyp:
- 3:55 PM Changeset in webkit [113514] by
-
- 7 edits in trunk/Source/WebCore
Rename paintingGoesToWindow() to paintsIntoWindow()
https://bugs.webkit.org/show_bug.cgi?id=83406
Reviewed by Dirk Schulze.
Rename paintingGoesToWindow() to paintsIntoWindow() to be consistent
with some future refactoring.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::setFilterBackendNeedsRepaintingInRect):
(WebCore::RenderLayer::paintLayer):
(WebCore::RenderLayer::paintsWithTransform):
(WebCore::RenderLayer::setBackingNeedsRepaint):
(WebCore::RenderLayer::setBackingNeedsRepaintInRect):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::containsPaintedContent):
(WebCore::RenderLayerBacking::paintsIntoWindow):
(WebCore::RenderLayerBacking::paintIntoLayer):
- rendering/RenderLayerBacking.h:
(RenderLayerBacking):
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::rootLayerAttachmentChanged):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::repaintUsingContainer):
- rendering/RenderView.cpp:
(WebCore::RenderView::paintBoxDecorations):
- 3:53 PM Changeset in webkit [113513] by
-
- 2 edits in trunk/Source/WebCore
Roll out change to HTMLParserIdioms.cpp from 82857
https://bugs.webkit.org/show_bug.cgi?id=83402
Change 82857 causes a DCHECK on fast/forms/number/ValidityState-typeMismatch-number.html
Darin suggested we roll out this file here: https://bugs.webkit.org/show_bug.cgi?id=82857#c20
Unreviewed, rolling out change that broke tests.
- html/parser/HTMLParserIdioms.cpp:
(WebCore::parseToDoubleForNumberType):
- 3:49 PM Changeset in webkit [113512] by
-
- 2 edits in trunk/Source/WebKit/chromium
Roll Chromium DEPS
https://bugs.webkit.org/show_bug.cgi?id=83389
Unreviewed, just a DEPS roll (130110:131183)
- DEPS:
- 3:48 PM Changeset in webkit [113511] by
-
- 5 edits in trunk
Allow site authors to override autofilled fields' colors.
https://bugs.webkit.org/show_bug.cgi?id=66032
http://code.google.com/p/chromium/issues/detail?id=46543
Reviewed by Simon Fraser.
Source/WebCore:
- css/html.css:
(input:-webkit-autofill): Remove !important declarations.
LayoutTests:
- fast/forms/input-autofilled-expected.txt:
- fast/forms/input-autofilled.html:
- 3:44 PM Changeset in webkit [113510] by
-
- 9 edits2 adds in trunk
Provide Obj-C private API to simplify markup.
https://bugs.webkit.org/show_bug.cgi?id=83334
<rdar://problem/11033861>
Reviewed by Sam Weinig.
Source/WebCore:
Added test in TestWebKitAPI
- WebCore.exp.in:
- editing/Editor.cpp:
(WebCore::Editor::simplifyMarkup): Exposing the new command through the editor.
- editing/Editor.h:
Source/WebKit/mac:
- WebView/WebView.mm:
(-[WebView _simplifyMarkup:endNode:]): Added.
- WebView/WebViewPrivate.h:
Tools:
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/mac/SimplifyMarkup.mm: Added.
(-[SimplifyMarkupTest webView:didFinishLoadForFrame:]):
- TestWebKitAPI/Tests/mac/verboseMarkup.html: Added.
- 3:43 PM Changeset in webkit [113509] by
-
- 1 edit115 adds in trunk/LayoutTests
clone baselines from platform/win to platform/chromium-win
https://bugs.webkit.org/show_bug.cgi?83394
Unreviewed, expectations change.
Copies the win baselines that chromium depends on into a
chromium dir, so that we can remove the dependency on win down
the road.
- platform/chromium-win/accessibility/aria-fallback-roles-expected.txt: Added.
- platform/chromium-win/accessibility/detached-object-notification-crash-expected.txt: Added.
- platform/chromium-win/accessibility/document-enabled-state-expected.txt: Added.
- platform/chromium-win/accessibility/document-role-expected.txt: Added.
- platform/chromium-win/accessibility/focus-events-expected.txt: Added.
- platform/chromium-win/accessibility/heading-elements-expected.txt: Added.
- platform/chromium-win/accessibility/img-alt-attribute-expected.txt: Added.
- platform/chromium-win/accessibility/linked-elements-expected.txt: Added.
- platform/chromium-win/accessibility/list-item-role-expected.txt: Added.
- platform/chromium-win/accessibility/list-marker-role-expected.txt: Added.
- platform/chromium-win/accessibility/list-role-expected.txt: Added.
- platform/chromium-win/accessibility/multiple-select-element-role-expected.txt: Added.
- platform/chromium-win/accessibility/option-element-position-and-size-expected.txt: Added.
- platform/chromium-win/accessibility/option-element-selection-and-focus-events-expected.txt: Added.
- platform/chromium-win/accessibility/parent-element-expected.txt: Added.
- platform/chromium-win/accessibility/scroll-to-anchor-expected.txt: Added.
- platform/chromium-win/accessibility/select-element-role-expected.txt: Added.
- platform/chromium-win/accessibility/select-element-valuechange-event-expected.txt: Added.
- platform/chromium-win/accessibility/selection-and-focus-expected.txt: Added.
- platform/chromium-win/accessibility/single-select-children-changed-expected.txt: Added.
- platform/chromium-win/accessibility/single-select-children-expected.txt: Added.
- platform/chromium-win/accessibility/text-role-expected.txt: Added.
- platform/chromium-win/compositing/plugins/composited-plugin-expected.txt: Added.
- platform/chromium-win/compositing/plugins/small-to-large-composited-plugin-expected.txt: Added.
- platform/chromium-win/editing/selection/anchor-focus2-expected.txt: Added.
- platform/chromium-win/editing/selection/anchor-focus3-expected.txt: Added.
- platform/chromium-win/editing/selection/collapse-selection-in-bidi-expected.txt: Added.
- platform/chromium-win/editing/selection/doubleclick-should-not-expand-across-lines-expected.txt: Added.
- platform/chromium-win/editing/selection/drag-text-delay-expected.txt: Added.
- platform/chromium-win/editing/selection/extend-selection-home-end-expected.txt: Added.
- platform/chromium-win/editing/selection/mixed-editability-10-expected.txt: Added.
- platform/chromium-win/editing/selection/shift-page-up-down-expected.txt: Added.
- platform/chromium-win/editing/selection/transformed-selection-rects-expected.txt: Added.
- platform/chromium-win/fast/css/zoom-body-scroll-expected.txt: Added.
- platform/chromium-win/fast/dom/Element/id-in-deletebutton-expected.txt: Added.
- platform/chromium-win/fast/dom/Window/window-properties-expected.txt: Added.
- platform/chromium-win/fast/dom/prototype-inheritance-2-expected.txt: Added.
- platform/chromium-win/fast/events/alt-numpad-expected.txt: Added.
- platform/chromium-win/fast/events/alt-space-scroll-expected.txt: Added.
- platform/chromium-win/fast/events/context-click-events-expected.txt: Added.
- platform/chromium-win/fast/events/double-dead-char-expected.txt: Added.
- platform/chromium-win/fast/events/keyLocation-numpad-expected.txt: Added.
- platform/chromium-win/fast/events/panScroll-click-hyperlink-expected.txt: Added.
- platform/chromium-win/fast/events/panScroll-correct-direction-expected.txt: Added.
- platform/chromium-win/fast/events/panScroll-event-fired-expected.txt: Added.
- platform/chromium-win/fast/events/panScroll-image-no-scroll-expected.txt: Added.
- platform/chromium-win/fast/events/panScroll-imageMap-href-no-scroll-expected.txt: Added.
- platform/chromium-win/fast/events/panScroll-imageMap-noHref-scroll-expected.txt: Added.
- platform/chromium-win/fast/events/panScroll-nested-divs-expected.txt: Added.
- platform/chromium-win/fast/events/panScroll-no-iframe-jump-expected.txt: Added.
- platform/chromium-win/fast/events/panScroll-preventDefault-expected.txt: Added.
- platform/chromium-win/fast/forms/cursor-at-editable-content-boundary-expected.txt: Added.
- platform/chromium-win/fast/forms/select-popup-pagekeys-expected.txt: Added.
- platform/chromium-win/fast/images/support-broken-image-delegate-expected.txt: Added.
- platform/chromium-win/fast/js/global-constructors-expected.txt: Added.
- platform/chromium-win/fast/loader/stateobjects/state-url-sets-links-visited-expected.txt: Added.
- platform/chromium-win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Added.
- platform/chromium-win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Added.
- platform/chromium-win/fast/replaced/table-percent-height-text-controls-expected.txt: Added.
- platform/chromium-win/fast/text/capitalize-boundaries-expected.txt: Added.
- platform/chromium-win/fast/text/emphasis-combined-text-expected.txt: Added.
- platform/chromium-win/fast/text/emphasis-expected.png: Added.
- platform/chromium-win/fast/text/emphasis-expected.txt: Added.
- platform/chromium-win/fast/text/emphasis-vertical-expected.png: Added.
- platform/chromium-win/fast/text/emphasis-vertical-expected.txt: Added.
- platform/chromium-win/fast/text/fallback-traits-fixup-expected.txt: Added.
- platform/chromium-win/fast/text/international/hindi-whitespace-expected.png: Added.
- platform/chromium-win/fast/text/international/hindi-whitespace-expected.txt: Added.
- platform/chromium-win/fast/text/international/text-combine-image-test-expected.png: Added.
- platform/chromium-win/fast/text/international/text-combine-image-test-expected.txt: Added.
- platform/chromium-win/fast/text/international/vertical-text-glyph-test-expected.png: Added.
- platform/chromium-win/fast/text/international/vertical-text-glyph-test-expected.txt: Added.
- platform/chromium-win/fast/text/international/vertical-text-metrics-test-expected.txt: Added.
- platform/chromium-win/fast/text/justify-ideograph-complex-expected.txt: Added.
- platform/chromium-win/fast/text/justify-ideograph-simple-expected.txt: Added.
- platform/chromium-win/fast/text/justify-ideograph-vertical-expected.txt: Added.
- platform/chromium-win/fast/text/uniscribe-item-boundary-crash-expected.txt: Added.
- platform/chromium-win/fast/text/uniscribe-missing-glyph-expected.txt: Added.
- platform/chromium-win/fast/writing-mode/Kusa-Makura-background-canvas-expected.png: Added.
- platform/chromium-win/fast/writing-mode/Kusa-Makura-background-canvas-expected.txt: Added.
- platform/chromium-win/fast/writing-mode/border-vertical-lr-expected.png: Added.
- platform/chromium-win/fast/writing-mode/border-vertical-lr-expected.txt: Added.
- platform/chromium-win/fast/writing-mode/japanese-lr-selection-expected.png: Added.
- platform/chromium-win/fast/writing-mode/japanese-lr-selection-expected.txt: Added.
- platform/chromium-win/fast/writing-mode/japanese-rl-selection-expected.png: Added.
- platform/chromium-win/fast/writing-mode/japanese-rl-selection-expected.txt: Added.
- platform/chromium-win/fast/writing-mode/text-orientation-basic-expected.png: Added.
- platform/chromium-win/fast/writing-mode/text-orientation-basic-expected.txt: Added.
- platform/chromium-win/fast/writing-mode/vertical-font-fallback-expected.txt: Added.
- platform/chromium-win/inverted-colors/non-composited-expected.png: Added.
- platform/chromium-win/inverted-colors/non-composited-expected.txt: Added.
- platform/chromium-win/platform/win/plugins/draws-gradient-expected.png: Added.
- platform/chromium-win/platform/win/plugins/draws-gradient-expected.txt: Added.
- platform/chromium-win/plugins/call-javascript-that-destroys-plugin-expected.txt: Added.
- platform/chromium-win/plugins/get-value-netscape-window-expected.txt: Added.
- platform/chromium-win/plugins/iframe-inside-overflow-expected.txt: Added.
- platform/chromium-win/plugins/npn-invalidate-rect-invalidates-window-expected.txt: Added.
- platform/chromium-win/plugins/npp-set-window-called-during-destruction-expected.txt: Added.
- platform/chromium-win/plugins/plugin-javascript-access-expected.txt: Added.
- platform/chromium-win/plugins/resize-from-plugin-expected.txt: Added.
- platform/chromium-win/plugins/visibility-hidden-expected.png: Added.
- platform/chromium-win/plugins/visibility-hidden-expected.txt: Added.
- platform/chromium-win/plugins/window-geometry-initialized-before-set-window-expected.txt: Added.
- platform/chromium-win/plugins/window-region-is-set-to-clip-rect-expected.txt: Added.
- platform/chromium-win/plugins/windowless-paint-rect-coordinates-expected.txt: Added.
- platform/chromium-win/printing/page-rule-in-media-query-expected.txt: Added.
- platform/chromium-win/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6-expected.txt: Added.
- platform/chromium-win/svg/zoom/page/zoom-mask-with-percentages-expected.png: Added.
- 3:35 PM Changeset in webkit [113508] by
-
- 19 edits4 moves in trunk/Source/JavaScriptCore
Renamed
WeakHeap => WeakSet
HandleHeap => HandleSet
Reviewed by Sam Weinig.
These sets do have internal allocators, but it's confusing to call them
heaps because they're sub-objects of an object called "heap".
- heap/HandleHeap.cpp: Removed.
- heap/HandleHeap.h: Removed.
- heap/HandleSet.cpp: Copied from JavaScriptCore/heap/HandleHeap.cpp.
- heap/WeakHeap.cpp: Removed.
- heap/WeakHeap.h: Removed.
- heap/WeakSet.cpp: Copied from JavaScriptCore/heap/WeakHeap.cpp.
- heap/WeakSet.h: Copied from JavaScriptCore/heap/WeakHeap.h.
Plus global rename using grep.
- 3:30 PM Changeset in webkit [113507] by
-
- 3 edits in trunk/Tools
new-run-webkit-tests: fix bugs in 'mock' drt implementation
https://bugs.webkit.org/show_bug.cgi?id=83341
Reviewed by Eric Seidel.
The current implementation crashed in some circumstances for
reference tests and files that were missing expected results.
This patch fixes those cases and adds more unit tests; it is a
precursor to adding unit tests each port that actually uses this
code, in order to get better coverage of the port/*
implementations.
- Scripts/webkitpy/layout_tests/port/mock_drt.py:
(parse_options):
(MockDRT.input_from_line):
(MockDRT.output_for_test):
(MockDRT.run_one_test):
(MockChromiumDRT.input_from_line):
(MockChromiumDRT.output_for_test):
(MockChromiumDRT.run_one_test):
- Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
(MockDRTTest.make_input_output):
(MockDRTTest.expected_output):
(MockDRTTest):
(MockDRTTest.assertTest):
(MockDRTTest.test_missing_image):
(MockDRTTest.test_missing_text):
(MockDRTTest.test_reftest_match):
(MockDRTTest.test_reftest_mismatch):
(MockChromiumDRTTest.expected_output):
- 3:24 PM Changeset in webkit [113506] by
-
- 3 edits1 add in trunk/LayoutTests
[chromium] Unreviewed gardening. This test is passing on chromium win and linux.
- platform/chromium-linux-x86/fast/text/atsui-partial-selection-expected.png: Added.
- platform/chromium-win/fast/text/atsui-partial-selection-expected.png:
- platform/chromium/test_expectations.txt:
- 3:23 PM Changeset in webkit [113505] by
-
- 7 edits in trunk/Source
Get rid of the useless flag PREEMPT_GEOLOCATION_PERMISSION
https://bugs.webkit.org/show_bug.cgi?id=83325
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-04-06
Reviewed by Ryosuke Niwa.
Source/WebCore:
The flag WTF_USE_PREEMPT_GEOLOCATION_PERMISSION was added in r63742 but
was never disabled by anyone. Supporting this feature added complexity by
introducing two authorization scheme.
This patch removes WTF_USE_PREEMPT_GEOLOCATION_PERMISSION and the code supporting
granting the authorization after startUpdating().
- Modules/geolocation/Geolocation.cpp:
(WebCore::Geolocation::GeoNotifier::runSuccessCallback): With the simplified
authorization code, we ensure stronger constraint on GeoNotifier::runSuccessCallback().
(WebCore::Geolocation::stop):
(WebCore::Geolocation::startRequest):
(WebCore::Geolocation::clearWatch):
(WebCore::Geolocation::setIsAllowed):
(WebCore::Geolocation::positionChanged): The case (!isAllowed()) was there
to support granting the authorization for WTF_USE_PREEMPT_GEOLOCATION_PERMISSION.
(WebCore::Geolocation::handlePendingPermissionNotifiers):
- Modules/geolocation/Geolocation.h:
(Geolocation):
Source/WebKit/blackberry:
- WebCoreSupport/AboutDataUseFeatures.in:
Source/WTF:
- wtf/Platform.h: Remove the flag.
- 3:16 PM Changeset in webkit [113504] by
-
- 4 edits1 delete in trunk/LayoutTests
[chromium] Unreviewed, rebaseline a test on Vista/Win7.
- platform/chromium-linux/fast/encoding/invalid-UTF-8-expected.txt: Removed.
- platform/chromium-win/fast/encoding/invalid-UTF-8-expected.png:
- platform/chromium-win/fast/encoding/invalid-UTF-8-expected.txt:
- platform/chromium/test_expectations.txt:
- 3:15 PM Changeset in webkit [113503] by
-
- 13 edits3 adds in trunk
Block cross-origin iframe scroll to fragment.
https://bugs.webkit.org/show_bug.cgi?id=73083
Reviewed by Adam Barth.
Add a restriction similar to what FF has done for all iframes for over a
year now. Our change is less disruptive in that it only does this in the
cross-orgin case, which is where the fragment scrolling is problematic.
Source/WebCore:
Test: http/tests/navigation/anchor-frames-cross-origin.html
- dom/Document.cpp:
(WebCore::Document::canBeAccessedByEveryAncestorFrame):
(WebCore):
- dom/Document.h:
(Document):
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::finishedParsing):
(WebCore::FrameLoader::loadInSameDocument):
(WebCore::FrameLoader::loadURL):
(WebCore::FrameLoader::loadWithDocumentLoader):
(WebCore::FrameLoader::shouldPerformFragmentNavigation):
(WebCore::FrameLoader::scrollToFragmentIfAllowed):
(WebCore):
- loader/FrameLoader.h:
(FrameLoader):
LayoutTests:
- http/tests/inspector/resource-parameters-expected.txt:
- http/tests/navigation/anchor-frames-cross-origin-expected.txt: Added.
- http/tests/navigation/anchor-frames-cross-origin.html: Added.
- http/tests/navigation/resources/frame-with-anchor-cross-origin.html: Added.
- http/tests/security/xssAuditor/anchor-url-dom-write-location-expected.txt:
- http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-expected.txt:
- http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-null-char-expected.txt:
- http/tests/security/xssAuditor/anchor-url-dom-write-location-javascript-URL-expected.txt:
- http/tests/security/xssAuditor/anchor-url-dom-write-location2-expected.txt:
- http/tests/security/xssAuditor/dom-write-location-inline-event-expected.txt:
- 2:49 PM Changeset in webkit [113502] by
-
- 2 edits3 copies in branches/chromium/1084
Merge 112740 - IndexedDB: Race condition causes version change transaction to commit after onblocked
https://bugs.webkit.org/show_bug.cgi?id=82678
Source/WebCore:
For a version change event, the blocked and success events could both be queued
before either is dispatched. The transaction would erroneously be allowed to commit
after the blocked event was dispatched; it should not be, as the request was not
finished.
Reviewed by Tony Chang.
Test: storage/indexeddb/dont-commit-on-blocked.html
- Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::dispatchEvent):
LayoutTests:
Landing test marked PASS FAIL as WK82776 prevents it from running in DRT; will
run it as a Chromium browser test for now.
Reviewed by Tony Chang.
- platform/chromium/test_expectations.txt:
- storage/indexeddb/dont-commit-on-blocked.html: Added.
- storage/indexeddb/resources/dont-commit-on-blocked-worker.js: Added.
(request.onsuccess):
(onSetVersionBlocked):
(onSetVersionSuccess):
(onTransactionComplete):
TBR=jsbell@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10007047
- 2:49 PM Changeset in webkit [113501] by
-
- 4 edits in trunk/Source/WebKit2
WebFullScreenManagerProxy::isFullScreen() will create an empty full screen window; steal focus.
https://bugs.webkit.org/show_bug.cgi?id=83388
Reviewed by Geoffrey Garen.
Calling WebFullScreenManagerProxy::isFullScreen() will create a WKFullScreenWindowController if
one does not already exist, since the -[WKView fullScreenWindowController] method will create-on-access.
Add a new call, -[WKView hasFullScreenWindowController], which does not auto-create the controller
and add that check to WebFullScreenManagerProxy::isFullScreen().
- UIProcess/API/mac/WKView.mm:
(-[WKView hasFullScreenWindowController]):
- UIProcess/API/mac/WKViewInternal.h:
- UIProcess/mac/WebFullScreenManagerProxyMac.mm:
(WebKit::WebFullScreenManagerProxy::isFullScreen):
- 2:48 PM Changeset in webkit [113500] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed, remove a passing test.
tables/mozilla/bugs/bug9024.html is passing on Leopard.
- platform/chromium/test_expectations.txt:
- 2:45 PM Changeset in webkit [113499] by
-
- 14 edits1 copy1 add in trunk/Tools
Enable webkit_unit_tests for commit queue and EWS while tracking failures
https://bugs.webkit.org/show_bug.cgi?id=83329
Reviewed by Adam Barth.
This adds a step to parse XML output from webkit_unit_tests and consider regressions in the PatchAnalysisTask so
the commit queue and EWS can reject patches that cause regressions.
- Scripts/webkitpy/common/config/ports.py:
(ChromiumPort.run_webkit_unit_tests_command):
- Scripts/webkitpy/common/config/ports_mock.py:
(MockPort.unit_tests_results_path):
- Scripts/webkitpy/common/net/layouttestresults.py:
(LayoutTestResults.init):
(LayoutTestResults.failing_tests):
(LayoutTestResults):
(LayoutTestResults.add_unit_test_failures):
- Scripts/webkitpy/common/net/unittestresults.py: Copied from Tools/Scripts/webkitpy/tool/steps/runtests_unittest.py.
(UnitTestResults):
(UnitTestResults.results_from_string):
- Scripts/webkitpy/common/net/unittestresults_unittest.py: Added.
(UnitTestResultsTest):
(UnitTestResultsTest.test_nostring):
(UnitTestResultsTest.test_emptystring):
(UnitTestResultsTest.test_nofailures):
(test_onefailure):
(test_multiple_failures_per_test):
- Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
(MockCommitQueue.test_results):
(MockCommitQueue.archive_last_test_results):
(FailingTestCommitQueue.test_results):
(test_flaky_test_failure):
(test_failed_archive):
- Scripts/webkitpy/tool/bot/layouttestresultsreader.py:
(LayoutTestResultsReader._create_unit_test_results):
(LayoutTestResultsReader.results):
- Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
(LayoutTestResultsReaderTest.test_missing_layout_test_results):
- Scripts/webkitpy/tool/bot/patchanalysistask.py:
(PatchAnalysisTaskDelegate.test_results):
(PatchAnalysisTaskDelegate.archive_last_test_results):
(PatchAnalysisTask._test):
(PatchAnalysisTask._build_and_test_without_patch):
(PatchAnalysisTask._test_patch):
- Scripts/webkitpy/tool/commands/earlywarningsystem.py:
(AbstractEarlyWarningSystem.test_results):
(AbstractEarlyWarningSystem.archive_last_test_results):
- Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
(EarlyWarningSytemTest._test_testing_ews):
- Scripts/webkitpy/tool/commands/queues.py:
(CommitQueue.test_results):
(CommitQueue.archive_last_test_results):
- Scripts/webkitpy/tool/commands/queues_unittest.py:
(CommitQueueTest.test_commit_queue):
(test_rollout):
(test_manual_reject_during_processing):
- Scripts/webkitpy/tool/steps/runtests.py:
(RunTests.run):
- Scripts/webkitpy/tool/steps/runtests_unittest.py:
(RunTestsTest.test_webkit_run_unit_tests):
- 2:38 PM Changeset in webkit [113498] by
-
- 5 edits in trunk
Foreground of apple.com/iphone video page visible during full screen animation.
https://bugs.webkit.org/show_bug.cgi?id=83080
Reviewed by Simon Fraser.
Source/WebCore:
No new tests; updated fullscreen/full-screen-stacking-context.html
The apple.com/iphone video page uses a -webkit-mask: CSS style, which creates a stacking
context and causes the page to pop in front of the full screen renderer. Add all the
styles suggested by the W3C full screen spec to the -webkit-full-screen-ancestor rule
to keep these stacking contexts from being created.
- css/fullscreen.css:
(:-webkit-full-screen-ancestor:not(iframe)):
LayoutTests:
- fullscreen/full-screen-stacking-context.html:
- platform/mac/fullscreen/full-screen-stacking-context-expected.png:
- 2:32 PM Changeset in webkit [113497] by
-
- 9 edits in trunk/Source/WebCore
Virtualize createAnonymousBoxWithSameTypeAs.
https://bugs.webkit.org/show_bug.cgi?id=83229
Reviewed by Julien Chaffraix.
This helps to use the same function to create anonymous
table parts and in the future extend to more classes
derived from RenderBox.
The current switch case situation was going to be messy as
we will need to mix cases that were very dependent on the
class, so it made sense to add a virtual function.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::splitAnonymousBlocksAroundChild):
(WebCore::RenderBlock::createAnonymousBoxWithSameTypeAs):
- rendering/RenderBlock.h:
(RenderBlock):
- rendering/RenderBox.h:
(WebCore::RenderBox::createAnonymousBoxWithSameTypeAs):
(RenderBox):
- rendering/RenderInline.cpp:
(WebCore::RenderInline::splitFlow):
- rendering/RenderTable.h:
(WebCore::RenderTable::createAnonymousBoxWithSameTypeAs):
- rendering/RenderTableCell.h:
(WebCore::RenderTableCell::createAnonymousBoxWithSameTypeAs):
- rendering/RenderTableRow.h:
(WebCore::RenderTableRow::createAnonymousBoxWithSameTypeAs):
- rendering/RenderTableSection.h:
(WebCore::RenderTableSection::createAnonymousBoxWithSameTypeAs):
- 2:31 PM Changeset in webkit [113496] by
-
- 6 edits in trunk
[cg] REGRESSION (r101517): Animating the transform of a <rect> with shape-rendering: crispEdges leaves behind garbage
https://bugs.webkit.org/show_bug.cgi?id=82963
<rdar://problem/11170476>
Reviewed by Simon Fraser.
CoreGraphics can inflate the stroke by 1px when drawing a rectangle
with antialiasing disabled at non-integer coordinates, we need to
compensate by inflating the RenderSVGRect repaint bounds by 1px.
No new tests, as this is not reproducible in DRT or WKTR.
- rendering/svg/RenderSVGRect.cpp:
(WebCore::RenderSVGRect::createShape):
(WebCore::RenderSVGRect::strokeBoundingBox):
- rendering/svg/RenderSVGRect.h:
(RenderSVGRect):
New Mac baselines for two tests which have SVG <rect>s with shape-rendering: crispEdges.
- platform/mac/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt:
- platform/mac/svg/custom/shape-rendering-expected.txt:
- 2:19 PM Changeset in webkit [113495] by
-
- 9 edits in trunk
Tools: Enable MediaSource feature for DumpRenderTree so
MediaSource LayoutTests will pass for Chromium.
https://bugs.webkit.org/show_bug.cgi?id=83053
Patch by Aaron Colwell <acolwell@chromium.org> on 2012-04-06
Reviewed by Dimitri Glazkov.
- DumpRenderTree/chromium/TestShell.cpp:
(TestShell::TestShell):
LayoutTests: Fix MediaSource LayoutTests to work with the new XHR behavior
that requires asynchronous requests for the 'arraybuffer'
responseType.
https://bugs.webkit.org/show_bug.cgi?id=83053
Patch by Aaron Colwell <acolwell@chromium.org> on 2012-04-06
Reviewed by Dimitri Glazkov.
- http/tests/media/media-source/webm/video-media-source-errors.html:
- http/tests/media/media-source/webm/video-media-source-play.html:
- http/tests/media/media-source/webm/video-media-source-seek.html:
- http/tests/media/media-source/webm/video-media-source-state-changes.html:
- http/tests/media/media-source/webm/webm-media-source.js:
(getData.request.onload):
(createClusterGetFunction.return.if):
(createClusterGetFunction):
(loadWebMData):
(getCluster):
(appendCluster):
(getReadyStateName):
(expectSourceState):
(expectReadyState):
- platform/chromium/test_expectations.txt:
- 2:17 PM Changeset in webkit [113494] by
-
- 2 edits in trunk/Source/WebCore
Avoid trying to set filters on transform layers
https://bugs.webkit.org/show_bug.cgi?id=83344
Reviewed by Dean Jackson.
Return early from GraphicsLayerCA::setFilters() when the filters
haven't changed. This avoids trying to clear filters on CALayers
which never had them, which should both help performance, and avoids
console spew related to setting shadow properties on transform layers.
- platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::setFilters):
- 2:15 PM Changeset in webkit [113493] by
-
- 17 edits6 adds in trunk
WebGL content swapped at wrong time in threaded compositing mode
https://bugs.webkit.org/show_bug.cgi?id=82275
Reviewed by Kenneth Russell.
Source/WebCore:
When using threaded compositing, we need to defer touching the texture ID being used by the compositor until the
appropriate point in the synchronization routine and not before. Specifically, there is no time at which it is
safe to manipulate the texture the compositor may be using from the main thread. This breaks up the presentation
path into a few pieces (depending on the context attributes) in order to maintain these invariants.
Depending on the context attributes and if we're in threaded mode, there are a few different possible back/front
buffer combinations:
- When the context is antialiased, we have a multisampled renderbuffer and associated framebuffer.
- In all cases, we have a color texture back buffer.
- When preserveDrawingBuffer is set or threaded compositing is enabled, we have a separate color texture as a
front buffer.
The resource update is in two phases. First, on the main thread, we prepare the back buffer. This resolves from
the multisampled FBO into the back color buffer if multisampled and swaps the front / back color buffer textures
if preserveDrawingBuffer is false and we're using separate front / back color buffers. Second, on the compositor
thread, we do a texture copy from the back to the front color buffer if preserveDrawingBuffer is true. After
these steps are complete the main thread is free to manipulate the back buffer color texture without affecting
any resources the compositor is using.
One incidental cleanup this patch also does is remove all state queries from DrawingBuffer::clearFramebuffer().
Tests: fast/canvas/webgl/webgl-composite-modes-repaint.html
fast/canvas/webgl/webgl-composite-modes.html
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::WebGLRenderingContext):
(WebCore::WebGLRenderingContext::clearIfComposited):
(WebCore::WebGLRenderingContext::restoreStateAfterClear):
(WebCore::WebGLRenderingContext::reshape):
(WebCore::WebGLRenderingContext::maybeRestoreContext):
- html/canvas/WebGLRenderingContext.h:
(WebGLRenderingContext):
- platform/graphics/blackberry/DrawingBufferBlackBerry.cpp:
(WebCore::DrawingBuffer::DrawingBuffer):
(WebCore):
(WebCore::DrawingBuffer::prepareBackBuffer):
(WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
(WebCore::DrawingBuffer::frontColorBuffer):
- platform/graphics/cairo/DrawingBufferCairo.cpp:
(WebCore::DrawingBuffer::DrawingBuffer):
(WebCore):
(WebCore::DrawingBuffer::prepareBackBuffer):
(WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
(WebCore::DrawingBuffer::frontColorBuffer):
- platform/graphics/chromium/DrawingBufferChromium.cpp:
(WebCore::generateColorTexture):
(WebCore::DrawingBuffer::DrawingBuffer):
(WebCore::DrawingBuffer::initialize):
(WebCore::DrawingBuffer::prepareBackBuffer):
(WebCore):
(WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
(WebCore::DrawingBuffer::frontColorBuffer):
(WebCore::DrawingBuffer::platformLayer):
- platform/graphics/chromium/WebGLLayerChromium.cpp:
(WebCore::WebGLLayerChromium::WebGLLayerChromium):
(WebCore::WebGLLayerChromium::paintContentsIfDirty):
(WebCore::WebGLLayerChromium::updateCompositorResources):
(WebCore::WebGLLayerChromium::paintRenderedResultsToCanvas):
(WebCore::WebGLLayerChromium::setNeedsDisplayRect):
(WebCore::WebGLLayerChromium::setDrawingBuffer):
- platform/graphics/chromium/WebGLLayerChromium.h:
(WebGLLayerChromium):
- platform/graphics/clutter/DrawingBufferClutter.cpp:
(WebCore::DrawingBuffer::DrawingBuffer):
(WebCore):
(WebCore::DrawingBuffer::prepareBackBuffer):
(WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
(WebCore::DrawingBuffer::frontColorBuffer):
- platform/graphics/filters/FECustomFilter.cpp:
(WebCore::FECustomFilter::initializeContext):
- platform/graphics/gpu/DrawingBuffer.cpp:
(WebCore::DrawingBuffer::create):
(WebCore::DrawingBuffer::clear):
(WebCore::DrawingBuffer::clearFramebuffer):
(WebCore::DrawingBuffer::reset):
(WebCore::DrawingBuffer::discardResources):
- platform/graphics/gpu/DrawingBuffer.h:
(DrawingBuffer):
- platform/graphics/gpu/mac/DrawingBufferMac.mm:
(WebCore::DrawingBuffer::DrawingBuffer):
(WebCore):
(WebCore::DrawingBuffer::prepareBackBuffer):
(WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
(WebCore::DrawingBuffer::frontColorBuffer):
- platform/graphics/gpu/qt/DrawingBufferQt.cpp:
(WebCore::DrawingBuffer::DrawingBuffer):
(WebCore::DrawingBuffer::platformLayer):
(WebCore::DrawingBuffer::prepareBackBuffer):
(WebCore::DrawingBuffer::requiresCopyFromBackToFrontBuffer):
(WebCore):
(WebCore::DrawingBuffer::frontColorBuffer):
Source/WebKit/chromium:
- tests/WebGLLayerChromiumTest.cpp:
(WebKit::TEST):
LayoutTests:
Adds some pixel tests for compositing all different combinations of alpha/antialias/preserveDrawingBuffer on
WebGL content.
- fast/canvas/webgl/webgl-composite-modes-expected.png: Added.
- fast/canvas/webgl/webgl-composite-modes-expected.txt: Added.
- fast/canvas/webgl/webgl-composite-modes-repaint-expected.png: Added.
- fast/canvas/webgl/webgl-composite-modes-repaint-expected.txt: Added.
- fast/canvas/webgl/webgl-composite-modes-repaint.html: Added.
- fast/canvas/webgl/webgl-composite-modes.html: Added.
- 2:10 PM Changeset in webkit [113492] by
-
- 29 edits6 adds in trunk/LayoutTests
[chromium] Unreviewed, land some mac/win baselines for table tests after r111742.
- platform/chromium-mac-leopard/tables/mozilla/bugs/bug2123-expected.png:
- platform/chromium-mac-leopard/tables/mozilla/bugs/bug2509-expected.png:
- platform/chromium-mac-leopard/tables/mozilla/bugs/bug34176-expected.png:
- platform/chromium-mac-leopard/tables/mozilla/bugs/bug44505-expected.png:
- platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug59252-expected.png:
- platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug7243-expected.png:
- platform/chromium-mac-snowleopard/fast/repaint/scroll-inside-table-cell-expected.png:
- platform/chromium-mac-snowleopard/fast/repaint/scroll-relative-table-inside-table-cell-expected.png:
- platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2123-expected.png:
- platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2509-expected.png:
- platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug34176-expected.png:
- platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug44505-expected.png:
- platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug59252-expected.png:
- platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug7243-expected.png:
- platform/chromium-mac/fast/repaint/scroll-inside-table-cell-expected.png:
- platform/chromium-mac/fast/repaint/scroll-relative-table-inside-table-cell-expected.png:
- platform/chromium-mac/fast/table/cell-pref-width-invalidation-expected.txt: Added.
- platform/chromium-mac/tables/mozilla/bugs/bug2123-expected.png:
- platform/chromium-mac/tables/mozilla/bugs/bug2123-expected.txt: Added.
- platform/chromium-mac/tables/mozilla/bugs/bug2509-expected.png:
- platform/chromium-mac/tables/mozilla/bugs/bug2509-expected.txt: Added.
- platform/chromium-mac/tables/mozilla/bugs/bug34176-expected.png:
- platform/chromium-mac/tables/mozilla/bugs/bug34176-expected.txt: Added.
- platform/chromium-mac/tables/mozilla/bugs/bug44505-expected.png:
- platform/chromium-mac/tables/mozilla/bugs/bug44505-expected.txt:
- platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug59252-expected.png:
- platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug59252-expected.txt: Added.
- platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug7243-expected.png:
- platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug7243-expected.txt: Added.
- platform/chromium-win/fast/repaint/scroll-inside-table-cell-expected.png:
- platform/chromium-win/fast/repaint/scroll-relative-table-inside-table-cell-expected.png:
- platform/chromium-win/tables/mozilla/bugs/bug44505-expected.png:
- platform/chromium-win/tables/mozilla/bugs/bug44505-expected.txt:
- platform/chromium/test_expectations.txt:
- 1:41 PM Changeset in webkit [113491] by
-
- 3 edits in trunk/Source/WebCore
Unreviewed build fix after r113486 and r113487.
- rendering/RenderObject.cpp:
Added missing #include.
- rendering/RenderView.h:
Removed bad OVERRIDE.
- 1:20 PM Changeset in webkit [113490] by
-
- 7 edits9 adds in trunk
https://bugs.webkit.org/show_bug.cgi?id=81939
-webkit-image-set should update dynamically when the device scale factor
changes
-and corresponding-
<rdar://problem/11101108>
Reviewed by Darin Adler.
Source/WebCore:
New member variable to keep track of the scale factor.
- css/CSSImageSetValue.cpp:
(WebCore::CSSImageSetValue::CSSImageSetValue):
(WebCore::CSSImageSetValue::bestImageForScaleFactor):
Merge the two cachedImageSet functions. There was no need for two functions here.
(WebCore::CSSImageSetValue::cachedImageSet):
cachedOrPendingImageSet() now takes a Document as a parameter so that it can
access the deviceScaleFactor. If there is a cached image already and the
Document's deviceScaleFactor doesn't match m_scaleFactor, then m_imageSet is set
to a pending image so that the best fit image will be reassessed and then
loaded.
(WebCore::CSSImageSetValue::cachedOrPendingImageSet):
- css/CSSImageSetValue.h:
(WebCore):
(CSSImageSetValue):
cachedOrPendingImageSet() now takes a Document.
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::collectMatchingRulesForList):
StyleCachedImageSet should inherit from CachedImageClient just like
StyleCachedImage. It should add and remove itself as a client upon creation
and destruction, respectively.
- rendering/style/StyleCachedImageSet.cpp:
(WebCore::StyleCachedImageSet::StyleCachedImageSet):
(WebCore):
(WebCore::StyleCachedImageSet::~StyleCachedImageSet):
- rendering/style/StyleCachedImageSet.h:
(StyleCachedImageSet):
LayoutTests:
- fast/hidpi/image-set-background-dynamic.html: Added.
- fast/hidpi/image-set-border-image-dynamic.html: Added.
- fast/hidpi/image-set-in-content-dynamic.html: Added.
- platform/mac/fast/hidpi/image-set-background-dynamic-expected.png: Added.
- platform/mac/fast/hidpi/image-set-background-dynamic-expected.txt: Added.
- platform/mac/fast/hidpi/image-set-border-image-dynamic-expected.png: Added.
- platform/mac/fast/hidpi/image-set-border-image-dynamic-expected.txt: Added.
- platform/mac/fast/hidpi/image-set-in-content-dynamic-expected.png: Added.
- platform/mac/fast/hidpi/image-set-in-content-dynamic-expected.txt: Added.
- 1:12 PM Changeset in webkit [113489] by
-
- 2 edits in trunk/Tools
Turn on vibration support for BlackBerry.
Reviewed by Rob Buis.
- Scripts/build-webkit:
- 1:07 PM Changeset in webkit [113488] by
-
- 2 edits2 adds in trunk/LayoutTests
[Chromium} Rebaseline some failing Leopard tests
https://bugs.webkit.org/show_bug.cgi?id=83387
Unreviewed chromium test expectations update.
- platform/chromium-mac-leopard/fast/text/atsui-multiple-renderers-expected.png: Added.
- platform/chromium-mac-leopard/fast/text/find-kana-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 1:04 PM Changeset in webkit [113487] by
-
- 3 edits in trunk/Source/WebCore
Update LayoutUnit usage in RenderView
https://bugs.webkit.org/show_bug.cgi?id=83147
Reviewed by Julien Chaffraix.
Updating the usage of LayoutUnits in RenderView in preparation for sub-pixel layout. This mostly
affects paint and repaint functions, which take LayoutRects up to the RenderView level. This is
necessary as we continue to accumulate sub-pixel offsets up to this level.
No new tests. No change in behavior.
- rendering/RenderView.cpp:
(WebCore::RenderView::paint): Adding an assert that we're being called to paint on pixel
boundaries. We don't currently ever position RenderViews at sub-pixel offsets.
(WebCore::RenderView::shouldRepaint):
(WebCore::RenderView::repaintViewRectangle): Switching to a LayoutRect and cleaning up a fixme
that used decomposed offsets. Pixel snapping is applied before handing the rect up to the
FrameView.
(WebCore::RenderView::repaintRectangleInViewAndCompositedLayers): Pixel snapping before handing
the rect up to the Compositor.
(WebCore::RenderView::computeRectForRepaint):
(WebCore::RenderView::selectionBounds):
(WebCore::RenderView::viewRect):
(WebCore::RenderView::unscaledDocumentRect):
- rendering/RenderView.h:
(RenderView):
- 1:02 PM Changeset in webkit [113486] by
-
- 59 edits17 adds in trunk
Add autodetection of image orientation from EXIF information
https://bugs.webkit.org/show_bug.cgi?id=19688
<rdar://problem/4126979> and <rdar://problem/11091578>
Original patch by David Carson and Eric Seidel.
Reviewed by Simon Fraser.
Add support for respecting EXIF image orientation, enabled by default for ImageDocuments.
The setting shouldRespectImageOrientation causes orientation to take effect for any image included via <img>.
Test: fast/images/exif-orientation.html, fast/images/exif-orientation-css.html
File list truncated because it's very long.
- 12:58 PM Changeset in webkit [113485] by
-
- 3 edits in trunk/LayoutTests
IndexedDB: Race condition in layout test logging from window and worker
https://bugs.webkit.org/show_bug.cgi?id=83378
The sequencing of logging directly from window vs. logging via posted events
from a worker is racy, making this test flake when run under Chromium. Removed
the sensitive logging on the window side; the test logic is unaffected as the
blocked/success event sequence would not be present if the window handler was
not run.
Reviewed by Tony Chang.
- storage/indexeddb/dont-commit-on-blocked-expected.txt:
- storage/indexeddb/dont-commit-on-blocked.html:
- 12:54 PM Changeset in webkit [113484] by
-
- 4 edits in trunk/Source
Correct LayoutUnit usgae in RenderThemeQt and RenderThemeQStyle
https://bugs.webkit.org/show_bug.cgi?id=83376
Reviewed by Eric Seidel.
Source/WebCore:
Correcting LayoutUnit usage in QT RenderTheme code.
No new tests. No change in behavior.
- platform/qt/RenderThemeQt.cpp:
(WebCore::RenderThemeQt::convertToPaintingRect): Rounding the ancestor offset before
applying it to the pixel snapped partRect.
(WebCore::RenderThemeQt::paintSearchFieldCancelButton): Also rounding the ancestor
offset, and also pixel snapping the content rect before painting.
Source/WebKit/qt:
Calculating the progress animation using the pixel-snapped RenderProgress size instead
of the internal sub-pixel version.
- WebCoreSupport/RenderThemeQStyle.cpp:
(WebCore::RenderThemeQStyle::animationDurationForProgressBar):
- 12:47 PM Changeset in webkit [113483] by
-
- 8 edits6 moves13 adds12 deletes in trunk/LayoutTests
[chromium] Rebaseline svg/clip-path/deep-nested-clip-in-mask* expectations
https://bugs.webkit.org/show_bug.cgi?id=83368
Unreviewed Chromium expectations rebaseline.
Patch by Florin Malita <fmalita@google.com> on 2012-04-06
- platform/chromium-mac-leopard/svg/clip-path/clip-path-pixelation-expected.png:
- platform/chromium-mac-leopard/svg/clip-path/deep-nested-clip-in-mask-expected.png:
- platform/chromium-mac-leopard/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png:
- platform/chromium-mac-snowleopard/svg/clip-path/clip-in-mask-expected.png: Removed.
- platform/chromium-mac-snowleopard/svg/clip-path/clip-path-pixelation-expected.png: Added.
- platform/chromium-mac-snowleopard/svg/clip-path/deep-nested-clip-in-mask-expected.png:
- platform/chromium-mac-snowleopard/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png:
- platform/chromium-mac-snowleopard/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Removed.
- platform/chromium-mac-snowleopard/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Removed.
- platform/chromium-mac-snowleopard/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Removed.
- platform/chromium-mac/svg/clip-path/clip-in-mask-expected.png: Added.
- platform/chromium-mac/svg/clip-path/clip-path-pixelation-expected.png:
- platform/chromium-mac/svg/clip-path/deep-nested-clip-in-mask-expected.png: Added.
- platform/chromium-mac/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png: Added.
- platform/chromium-mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Added.
- platform/chromium-mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Added.
- platform/chromium-mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Added.
- platform/chromium-win/svg/clip-path/clip-in-mask-expected.png: Added.
- platform/chromium-win/svg/clip-path/deep-nested-clip-in-mask-expected.png: Added.
- platform/chromium-win/svg/clip-path/deep-nested-clip-in-mask-expected.txt: Renamed from LayoutTests/platform/chromium-linux/svg/clip-path/deep-nested-clip-in-mask-expected.txt.
- platform/chromium-win/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png: Added.
- platform/chromium-win/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt: Renamed from LayoutTests/platform/chromium-linux/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt.
- platform/chromium-win/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Added.
- platform/chromium-win/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Added.
- platform/chromium-win/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Added.
- platform/chromium/test_expectations.txt:
- platform/mac/svg/clip-path/clip-in-mask-expected.txt: Removed.
- platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: Removed.
- platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: Removed.
- platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: Removed.
- platform/qt/svg/clip-path/clip-in-mask-expected.txt: Removed.
- platform/qt/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: Removed.
- platform/qt/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: Removed.
- platform/qt/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: Removed.
- svg/clip-path/clip-in-mask-expected.txt: Renamed from LayoutTests/platform/gtk/svg/clip-path/clip-in-mask-expected.txt.
- svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: Renamed from LayoutTests/platform/gtk/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt.
- svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: Renamed from LayoutTests/platform/gtk/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt.
- svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: Renamed from LayoutTests/platform/gtk/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt.
- 12:43 PM Changeset in webkit [113482] by
-
- 3 edits1 add1 delete in trunk/LayoutTests
Font-related tests are flaky on Chromium (sometimes glyphs don't draw)
https://bugs.webkit.org/show_bug.cgi?id=66908
Unreviewed chromium test expectations update.
- platform/chromium-mac-snowleopard/svg/custom/svg-fonts-fallback-expected.png: Removed.
- platform/chromium-mac/platform/chromium/virtual/gpu/canvas/philip/tests/2d.text.draw.fontface.notinpage-expected.txt:
- platform/chromium-mac/svg/custom/svg-fonts-fallback-expected.png: Added.
- platform/chromium/test_expectations.txt:
- 12:43 PM Changeset in webkit [113481] by
-
- 2 edits in trunk/Source/WebCore
context-lost.html is failing
https://bugs.webkit.org/show_bug.cgi?id=81325
Reviewed by James Robinson.
Ensure that the DrawingBuffer does not attempt to restore the
TEXTURE_2D binding to an already-deleted texture.
Tested with layout test fast/canvas/webgl/context-lost.html as
well as WebGL conformance tests.
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::loseContextImpl):
- 12:37 PM Changeset in webkit [113480] by
-
- 5 edits2 deletes in trunk
Unreviewed, rolling out r113267.
http://trac.webkit.org/changeset/113267
https://bugs.webkit.org/show_bug.cgi?id=83384
causes dhtml perf regression (Requested by simonjam on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-06
Source/WebCore:
- dom/ChildListMutationScope.cpp:
(ChildListMutationScope::MutationAccumulator):
(WebCore::ChildListMutationScope::MutationAccumulator::isAddedNodeInOrder):
(WebCore::ChildListMutationScope::MutationAccumulator::childAdded):
(WebCore::ChildListMutationScope::MutationAccumulationRouter::childAdded):
- dom/ChildListMutationScope.h:
(WebCore::ChildListMutationScope::childAdded):
(MutationAccumulationRouter):
- dom/ContainerNode.cpp:
(WebCore):
(WebCore::ContainerNode::insertBefore):
(WebCore::ContainerNode::replaceChild):
(WebCore::ContainerNode::appendChild):
(WebCore::dispatchChildInsertionEvents):
(WebCore::updateTreeAfterInsertion):
LayoutTests:
- fast/events/domnodeinserted-entire-fragment-expected.txt: Removed.
- fast/events/domnodeinserted-entire-fragment.html: Removed.
- 12:28 PM Changeset in webkit [113479] by
-
- 2 edits4 deletes in trunk/LayoutTests
6 layout tests known to fail on Mac10.6 with CPU-Skia graphics
https://bugs.webkit.org/show_bug.cgi?id=68436
Unreviewed Chromium test expectations update.
One of the files marked in this bug is a minor rebaselining. Done.
- platform/chromium-mac-leopard/svg/W3C-SVG-1.1/paths-data-12-t-expected.png: Removed.
- platform/chromium-mac-leopard/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt: Removed.
- platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/paths-data-12-t-expected.png: Removed.
- platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt: Removed.
- platform/chromium/test_expectations.txt:
- 12:19 PM Changeset in webkit [113478] by
-
- 12 edits1 add in trunk/LayoutTests
Rebaseline after Skia 2527 landed
https://bugs.webkit.org/show_bug.cgi?id=83375
Unreviewed update of Chromium test expectations.
Patch by Philip Rogers <pdr@google.com> on 2012-04-06
- platform/chromium-linux/svg/as-background-image/svg-as-background-5-expected.png:
- platform/chromium-linux/svg/filters/subRegion-one-effect-expected.png:
- platform/chromium-linux/svg/filters/subRegion-two-effects-expected.png:
- platform/chromium-mac-leopard/svg/as-background-image/svg-as-background-5-expected.png:
- platform/chromium-mac-snowleopard/svg/as-background-image/svg-as-background-5-expected.png:
- platform/chromium-mac/svg/as-background-image/svg-as-background-5-expected.png: Added.
- platform/chromium-mac/svg/filters/subRegion-one-effect-expected.png:
- platform/chromium-mac/svg/filters/subRegion-two-effects-expected.png:
- platform/chromium-win/svg/as-background-image/svg-as-background-5-expected.png:
- platform/chromium-win/svg/filters/subRegion-one-effect-expected.png:
- platform/chromium-win/svg/filters/subRegion-two-effects-expected.png:
- platform/chromium/test_expectations.txt:
- 12:16 PM Changeset in webkit [113477] by
-
- 7 edits1 add1 delete in trunk/LayoutTests
Rebaseline after r109097
https://bugs.webkit.org/show_bug.cgi?id=79568
Unreviewed update of test expectations.
Patch by Philip Rogers <pdr@google.com> on 2012-04-06
- platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
- platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt: Removed.
- platform/chromium-mac-leopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
- platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
- platform/chromium-mac/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png: Added.
- platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt:
- platform/chromium/test_expectations.txt:
- 12:14 PM Changeset in webkit [113476] by
-
- 16 edits14 adds1 delete in trunk/LayoutTests
Rebaseline tests for wk62974
https://bugs.webkit.org/show_bug.cgi?id=62974
Unreviewed test expectations update for Chromium.
Patch by Philip Rogers <pdr@google.com> on 2012-04-06
- platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png:
- platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt: Added.
- platform/chromium-linux/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
- platform/chromium-linux/svg/text/text-altglyph-01-b-expected.png:
- platform/chromium-linux/svg/text/text-text-04-t-expected.png:
- platform/chromium-linux/svg/text/text-text-06-t-expected.png:
- platform/chromium-linux/svg/wicd/test-rightsizing-b-expected.png:
- platform/chromium-mac-leopard/svg/text/text-altglyph-01-b-expected.png: Added.
- platform/chromium-mac-leopard/svg/text/text-text-04-t-expected.png: Added.
- platform/chromium-mac-leopard/svg/text/text-text-06-t-expected.png: Added.
- platform/chromium-mac-leopard/svg/wicd/test-rightsizing-b-expected.png: Added.
- platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt: Added.
- platform/chromium-mac-snowleopard/svg/wicd/test-rightsizing-b-expected.png: Added.
- platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png: Added.
- platform/chromium-mac/svg/text/text-altglyph-01-b-expected.png: Added.
- platform/chromium-mac/svg/text/text-text-04-t-expected.png: Added.
- platform/chromium-mac/svg/text/text-text-06-t-expected.png: Added.
- platform/chromium-mac/svg/wicd/test-rightsizing-b-expected.png: Added.
- platform/chromium-win-vista/svg/wicd: Removed.
- platform/chromium-win-vista/svg/wicd/test-rightsizing-b-expected.png: Removed.
- platform/chromium-win-xp/svg/wicd: Added.
- platform/chromium-win-xp/svg/wicd/test-rightsizing-b-expected.png: Added.
- platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
- platform/chromium-win/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
- platform/chromium-win/svg/text/text-altglyph-01-b-expected.png:
- platform/chromium-win/svg/text/text-text-04-t-expected.png:
- platform/chromium-win/svg/text/text-text-06-t-expected.png:
- platform/chromium-win/svg/wicd/test-rightsizing-b-expected.png:
- platform/chromium-win/svg/wicd/test-rightsizing-b-expected.txt:
- platform/chromium/test_expectations.txt:
- 12:10 PM Changeset in webkit [113475] by
-
- 5 edits1 add2 deletes in trunk/LayoutTests
[Chromium] Layout Test svg/custom/oversized-pattern-scale.svg and svg/custom/transformed-pattern-clamp-svg-root.svg are flaky
https://bugs.webkit.org/show_bug.cgi?id=68982
Unreviewed Chromium expectations update.
These tests now passing without issue.
- platform/chromium-linux/svg/custom/oversized-pattern-scale-expected.png: Removed.
- platform/chromium-mac/svg/custom/oversized-pattern-scale-expected.png: Added.
- platform/chromium-mac/svg/custom/transformed-pattern-clamp-svg-root-expected.png:
- platform/chromium-win/svg/custom/oversized-pattern-scale-expected.png:
- platform/chromium-win/svg/custom/transformed-pattern-clamp-svg-root-expected.png:
- platform/chromium/svg/custom/oversized-pattern-scale-expected.png: Removed.
- platform/chromium/test_expectations.txt:
- 12:07 PM Changeset in webkit [113474] by
-
- 2 edits1 add in trunk/LayoutTests
Unskip some tests that appear to be passing on GTK+ and add a
new baseline to deal with whitespace issues.
- platform/gtk/Skipped: Unskip some tests passing locally.
- platform/gtk/plugins/document-open-expected.txt: Added.
- 12:06 PM Changeset in webkit [113473] by
-
- 8 edits1 add in trunk/Source
IndexedDB: ObjectStore/Index shouldn't hold reference to backing store
https://bugs.webkit.org/show_bug.cgi?id=83074
Source/WebCore:
We should be able to collect and close the leveldb backing store as soon as the database
connection is closed, but the IDBObjectStoreBackendImpl and IDBIndexBackendImpl were
holding RefPtrs, and those objects are kept alive by script references.
Replaced RefPtrs to the IDBBackingStore with pointers to the IDBDatabase. On the back end,
IDBDatabaseBackendImpl maintains a RefPtr to the IDBObjectStoreBackendImpl object, so
a raw pointer back is safe. On the front end, the IDBObjectStore maintains a RefPtr to
the IDBDatabase so script can navigate upwards. Ditto on both ends for the ObjectStore/Index
relationship. The frontend objects maintain RefPtrs to the backend objects, so the backend
objects and their owners are maintained as long as there's a script reference.
Also made IDBDatabaseBackendImpl handle a null IDBFactoryBackendImpl pointer, for testing.
Reviewed by Tony Chang.
Tests: webkit_unit_tests --gtest_filter="IDBDatabaseBackendTest.*"
- Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::~IDBDatabaseBackendImpl):
(WebCore::IDBDatabaseBackendImpl::createObjectStore):
(WebCore::IDBDatabaseBackendImpl::loadObjectStores):
- Modules/indexeddb/IDBIndexBackendImpl.cpp:
(WebCore::IDBIndexBackendImpl::IDBIndexBackendImpl):
(WebCore::IDBIndexBackendImpl::openCursorInternal):
(WebCore::IDBIndexBackendImpl::countInternal):
(WebCore::IDBIndexBackendImpl::getInternal):
(WebCore::IDBIndexBackendImpl::addingKeyAllowed):
- Modules/indexeddb/IDBIndexBackendImpl.h:
(WebCore::IDBIndexBackendImpl::create):
(IDBIndexBackendImpl):
(WebCore::IDBIndexBackendImpl::backingStore):
(WebCore::IDBIndexBackendImpl::databaseId):
- Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
(WebCore::IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl):
(WebCore::IDBObjectStoreBackendImpl::getInternal):
(WebCore::IDBObjectStoreBackendImpl::putInternal):
(WebCore::IDBObjectStoreBackendImpl::deleteInternal):
(WebCore::IDBObjectStoreBackendImpl::clearInternal):
(WebCore):
(WebCore::IDBObjectStoreBackendImpl::createIndex):
(WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
(WebCore::IDBObjectStoreBackendImpl::deleteIndexInternal):
(WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
(WebCore::IDBObjectStoreBackendImpl::countInternal):
(WebCore::IDBObjectStoreBackendImpl::loadIndexes):
(WebCore::IDBObjectStoreBackendImpl::genAutoIncrementKey):
- Modules/indexeddb/IDBObjectStoreBackendImpl.h:
(WebCore::IDBObjectStoreBackendImpl::create):
(IDBObjectStoreBackendImpl):
(WebCore::IDBObjectStoreBackendImpl::backingStore):
(WebCore::IDBObjectStoreBackendImpl::databaseId):
Source/WebKit/chromium:
Reviewed by Tony Chang.
- WebKit.gypi:
- tests/IDBDatabaseBackendTest.cpp: Added.
(WebCore):
(MockIDBBackingStore):
(WebCore::TEST):
- 11:56 AM Changeset in webkit [113472] by
-
- 2 edits in trunk/Source/WebCore
Fix build warning on const long long to int implicit conversion.
- inspector/InspectorApplicationCacheAgent.cpp:
(WebCore::InspectorApplicationCacheAgent::buildObjectForApplicationCacheResource):
- 11:55 AM Changeset in webkit [113471] by
-
- 3 edits in trunk/Source/WebCore
Fix LayoutUnit usage and rounding in RenderBlock and RenderEmbeddedObject
https://bugs.webkit.org/show_bug.cgi?id=83343
Reviewed by Eric Seidel.
Fix usage of LayoutUnits and rounding/pixel snapping in RenderBlock and
RenderEmbeddedObject in preparation for turing on subpixel support.
No new tests, no change in functionality.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::baselinePosition):
- rendering/RenderEmbeddedObject.cpp:
(WebCore::RenderEmbeddedObject::nodeAtPoint):
- 11:55 AM Changeset in webkit [113470] by
-
- 6 edits2 adds3 deletes in trunk/LayoutTests
Zooming in SVGs in <object> is flakey
https://bugs.webkit.org/show_bug.cgi?id=71673
Unreviewed Chromium test expectations update.
- platform/chromium-linux-x86/svg/zoom/page: Removed.
- platform/chromium-linux-x86/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Removed.
- platform/chromium-linux-x86/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Removed.
- platform/chromium-linux/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
- platform/chromium-mac-leopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
- platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
- platform/chromium-mac-snowleopard/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Removed.
- platform/chromium-mac/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
- platform/chromium-win-xp/svg/zoom/page: Removed.
- platform/chromium-win/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
- platform/chromium-win/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
- platform/chromium/test_expectations.txt:
- 11:50 AM Changeset in webkit [113469] by
-
- 3 edits in trunk/LayoutTests
[GTK] crash in editing/selection/editable-html-element.html
https://bugs.webkit.org/show_bug.cgi?id=64530
Unskip and rebaseline a test.
- platform/gtk/Skipped: Unskip this test, because it's passing locally.
- platform/gtk/editing/selection/editable-html-element-expected.txt:
- 11:46 AM Changeset in webkit [113468] by
-
- 5 edits1 add in trunk/LayoutTests
REGRESSION(r65062): out of bound access in TextIterator (5 editing tests) on GTK
https://bugs.webkit.org/show_bug.cgi?id=63611
Unskip tests that are now passing and rebaseline ones which
have changed results.
- platform/gtk/Skipped:
- platform/gtk/editing/deleting/smart-delete-003-expected.txt:
- platform/gtk/editing/deleting/smart-delete-004-expected.txt:
- platform/gtk/editing/pasteboard/paste-text-008-expected.txt:
- 11:41 AM Changeset in webkit [113467] by
-
- 12 edits in trunk
<rdar://problem/10912476> HiDPI: Have canvas use a hidpi backing store, but downsample upon access
Reviewed by Sam Weinig.
Source/JavaScriptCore:
- Configurations/FeatureDefines.xcconfig: Added ENABLE_HIGH_DPI_CANVAS.
Source/WebCore:
- Configurations/FeatureDefines.xcconfig: Added ENABLE_HIGH_DPI_CANVAS.
Source/WebKit/mac:
- Configurations/FeatureDefines.xcconfig: Added ENABLE_HIGH_DPI_CANVAS.
Source/WebKit2:
- Configurations/FeatureDefines.xcconfig: Added ENABLE_HIGH_DPI_CANVAS.
Tools:
- Scripts/build-webkit: Added high-dpi-canvas option to control ENABLE_HIGH_DPI_CANVAS.
WebKitLibraries:
- win/tools/vsprops/FeatureDefines.vsprops: Added ENABLE_HIGH_DPI_CANVAS.
- 11:34 AM Changeset in webkit [113466] by
-
- 6 edits in trunk/Source/WebCore
Update LayoutUnit usage in Editor and Frame
https://bugs.webkit.org/show_bug.cgi?id=83278
Reviewed by Eric Seidel.
Frame and Editor both take input from the embedder, which passes along coordinates in screen
coordinates, which aren't fractional. Updating a few remaining functions to show this, and correcting
some inconsistencies in LayoutUnit usage.
No new tests. No change in behavior.
- editing/Editor.cpp:
(WebCore::Editor::rangeForPoint): windowToContents returns an IntPoint.
(WebCore::Editor::countMatchesForText): Using enclosingIntRect since we're (fake) repainting the entire
view rect.
- editing/Editor.h:
(Editor): Correcting mismatched function signature.
- page/Frame.cpp:
(WebCore::Frame::visiblePositionForPoint): Frame takes points in screen coordinates, usually from the
embedder. Changing these functions to be in IntPoints.
(WebCore::Frame::documentAtPoint): Ditto.
(WebCore::Frame::rangeForPoint): Ditto.
- page/Frame.h:
(Frame):
- platform/graphics/IntRect.h:
(enclosingIntRect): Adding an inline no-op copy of the FractionalLayoutRect method enclosingIntRect.
- 11:34 AM Changeset in webkit [113465] by
-
- 2 edits7 adds in trunk/LayoutTests
Layout Test svg/text/non-bmp-positioning-lists.svg is failing
https://bugs.webkit.org/show_bug.cgi?id=73494
Unreviewed Chromium test expectations.
The font is not right, but that's not what the test is testing.
- platform/chromium-linux/svg/text/non-bmp-positioning-lists-expected.png: Added.
- platform/chromium-linux/svg/text/non-bmp-positioning-lists-expected.txt: Added.
- platform/chromium-mac-snowleopard/svg/text/non-bmp-positioning-lists-expected.png: Added.
- platform/chromium-mac-snowleopard/svg/text/non-bmp-positioning-lists-expected.txt: Added.
- platform/chromium-mac/svg/text/non-bmp-positioning-lists-expected.png: Added.
- platform/chromium-win/svg/text/non-bmp-positioning-lists-expected.png: Added.
- platform/chromium-win/svg/text/non-bmp-positioning-lists-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 11:30 AM Changeset in webkit [113464] by
-
- 2 edits in trunk
Fix the GTK+ debug build.
- Source/autotools/symbols.filter: Add a missing symbol to the symbols.list file.
- 11:25 AM Changeset in webkit [113463] by
-
- 5 edits3 adds4 deletes in trunk/LayoutTests
SVG filters incorrectly move elements
https://bugs.webkit.org/show_bug.cgi?id=73643
Unreviewed Chromium test expectations update.
- platform/chromium-linux/svg/as-background-image/svg-as-background-2-expected.png: Removed.
- platform/chromium-linux/svg/filters/filter-placement-issue-expected.png: Removed.
- platform/chromium-linux/svg/filters/filterRes2-expected.png: Removed.
- platform/chromium-mac/svg/filters/filter-placement-issue-expected.png: Added.
- platform/chromium-mac/svg/filters/filterRes2-expected.png: Modified property svn:mime-type.
- platform/chromium-win/svg/as-background-image/svg-as-background-2-expected.png:
- platform/chromium-win/svg/filters/filter-placement-issue-expected.png: Added.
- platform/chromium-win/svg/filters/filterRes2-expected.png:
- platform/chromium/test_expectations.txt:
- platform/efl/svg/as-background-image/svg-as-background-2-expected.txt: Removed.
- svg/as-background-image/svg-as-background-2-expected.txt: Added.
- 11:23 AM Changeset in webkit [113462] by
-
- 12 edits3 copies1 move1 delete in trunk/Source/WebCore
MediaStream API: Deleting the chromium bridge class MediaStreamCenterInternal
https://bugs.webkit.org/show_bug.cgi?id=83167
Reviewed by Adam Barth.
The situation before this patch is that we had a MediaStreamCenter.h with #ifdefs for the chromium specific
private class MediaStreamCenterInternal. This bridge class only shuffled calls between MediaStreamCenter and
WebMediaStreamCenter and was needed before the introduction of Platform.
To get rid of this now unnecessary class I had two alternatives:
1) Sprinkle platform/MediaStreamCenter.h with more #ifdefs, including around the class declaration.
2) Create an abstract base class that the chromium and gstreamer implementations overrides.
My personal preference is 2) since I strongly dislike #ifdefs. The drawback is that MediaStreamCenter now
has a vtable. However since all methods in this class are extremely low-usage it doesn't affect anything
in practice.
No code behaviour changes.
- GNUmakefile.am:
- GNUmakefile.list.am:
- Modules/mediastream/MediaStreamTrack.cpp:
(WebCore::MediaStreamTrack::setEnabled):
- Modules/mediastream/UserMediaRequest.cpp:
- Modules/mediastream/UserMediaRequest.h:
- WebCore.gyp/WebCore.gyp:
- WebCore.gypi:
- platform/chromium/support/WebMediaStreamSourcesRequest.cpp:
- platform/mediastream/MediaStreamCenter.cpp:
(WebCore::MediaStreamCenter::MediaStreamCenter):
(WebCore):
(WebCore::MediaStreamCenter::~MediaStreamCenter):
- platform/mediastream/MediaStreamCenter.h:
(WebCore):
(MediaStreamCenter):
- platform/mediastream/MediaStreamSourcesQueryClient.h: Copied from Source/WebCore/platform/mediastream/MediaStreamCenter.h.
(WebCore):
(MediaStreamSourcesQueryClient):
(WebCore::MediaStreamSourcesQueryClient::~MediaStreamSourcesQueryClient):
- platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
(WebCore::MediaStreamCenter::instance):
(WebCore::MediaStreamCenterChromium::MediaStreamCenterChromium):
(WebCore::MediaStreamCenterChromium::~MediaStreamCenterChromium):
(WebCore::MediaStreamCenterChromium::queryMediaStreamSources):
(WebCore::MediaStreamCenterChromium::didSetMediaStreamTrackEnabled):
(WebCore::MediaStreamCenterChromium::didStopLocalMediaStream):
(WebCore::MediaStreamCenterChromium::didConstructMediaStream):
(WebCore::MediaStreamCenterChromium::constructSDP):
(WebCore):
(WebCore::MediaStreamCenterChromium::stopLocalMediaStream):
- platform/mediastream/chromium/MediaStreamCenterChromium.h: Renamed from Source/WebCore/platform/mediastream/chromium/MediaStreamCenterInternal.h.
(WebKit):
(WebCore):
(MediaStreamCenterChromium):
- platform/mediastream/chromium/MediaStreamCenterInternal.cpp: Removed.
- platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp: Copied from Source/WebCore/platform/mediastream/MediaStreamCenter.cpp.
(WebCore):
(WebCore::MediaStreamCenter::instance):
(WebCore::MediaStreamCenterGStreamer::MediaStreamCenterGStreamer):
(WebCore::MediaStreamCenterGStreamer::~MediaStreamCenterGStreamer):
(WebCore::MediaStreamCenterGStreamer::queryMediaStreamSources):
(WebCore::MediaStreamCenterGStreamer::didSetMediaStreamTrackEnabled):
(WebCore::MediaStreamCenterGStreamer::didStopLocalMediaStream):
(WebCore::MediaStreamCenterGStreamer::didConstructMediaStream):
(WebCore::MediaStreamCenterGStreamer::constructSDP):
- platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h: Copied from Source/WebCore/platform/mediastream/MediaStreamCenter.h.
(WebCore):
(MediaStreamCenterGStreamer):
- 11:17 AM Changeset in webkit [113461] by
-
- 3 edits2 adds in trunk
Should disable preserves3D() for things that enforce flattening, like overflow and filters
https://bugs.webkit.org/show_bug.cgi?id=83337
Source/WebCore:
Reviewed by Dean Jackson.
The CSS3 Transforms spec says that some properties should cause flattening
of things with transform-style: preserve-3d. We currently do this as a side
effect of the GraphicsLayer structure, but we should really do it at the
RenderStyle level, as we do for other things like stacking context creation.
Test: compositing/overflow-trumps-transform-style.html
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::collectMatchingRulesForList):
LayoutTests:
Reviewed by Dean Jackson.
Test for computed style and layer structure combining transform-style
with overflow.
- compositing/overflow-trumps-transform-style-expected.txt: Added.
- compositing/overflow-trumps-transform-style.html: Added.
- 11:07 AM Changeset in webkit [113460] by
-
- 6 edits in trunk/Source/WebCore
MediaStream API: MediaStreams stops proper cleanup to take place during a page reload.
https://bugs.webkit.org/show_bug.cgi?id=83143
Reviewed by Adam Barth.
To fix this I have converted MediaStream and LocalMediaStream to be ActiveDOMObjects.
Have no idea how to write a test that succesfully verifies this. I have done manual testing
to verify that proper tear-down now takes place.
- Modules/mediastream/LocalMediaStream.cpp:
(WebCore::LocalMediaStream::create):
(WebCore::LocalMediaStream::stopFunction):
(WebCore):
- Modules/mediastream/LocalMediaStream.h:
(LocalMediaStream):
- Modules/mediastream/LocalMediaStream.idl:
- Modules/mediastream/MediaStream.cpp:
(WebCore::MediaStream::create):
(WebCore::MediaStream::MediaStream):
(WebCore::MediaStream::scriptExecutionContext):
- Modules/mediastream/MediaStream.h:
(MediaStream):
- 11:06 AM Changeset in webkit [113459] by
-
- 4 edits in trunk/LayoutTests
[chromium] Rounding issue on some RenderSVGPath values
https://bugs.webkit.org/show_bug.cgi?id=75367
Unreviewed Chromium expectations update.
These tests have been stable for a long time, and consistent across
all platforms. Whatever was causing previous flakiness is apparently
no longer happening.
- platform/chromium/svg/css/composite-shadow-example-expected.txt:
- platform/chromium/svg/css/composite-shadow-with-opacity-expected.txt:
- platform/chromium/test_expectations.txt:
- 10:53 AM Changeset in webkit [113458] by
-
- 2 edits in trunk/LayoutTests
[Chromium] svg/text/text-style-recalc-crash.html times out
https://bugs.webkit.org/show_bug.cgi?id=75696
Unreviewed Chromium test_expectations cleanup.
The test referenced by this bug has not failed in the current history of the flakiness board.
- platform/chromium/test_expectations.txt:
- 10:48 AM Changeset in webkit [113457] by
-
- 12 edits in trunk/Source/WebCore
<rdar://problem/10912476> Pixel access canvas APIs do not work transparently with high-DPI backing store
https://bugs.webkit.org/show_bug.cgi?id=83072
Reviewed by Simon Fraser.
Made getImageData, putImageData, and toDataURL downsample/upsample when pixels in the canvas
backing store are not in a 1:1 ratio to CSS pixels. This makes clients of these APIs
indifferent to the backing store resolution, up to sampling artifacts.
In order for this to work, ImageBuffer has to know and respect the resolutionScale
parameter. This change makes the Core Graphics-based implementation of ImageBuffer do this,
but on other platforms, resolutionScale values other than 1 will not work. Such platforms
should not enable the HIGH_DPI_CANVAS feature.
- html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::HTMLCanvasElement): Updated a comment.
(WebCore::HTMLCanvasElement::createImageBuffer): Changed to create an ImageBuffer with
the desired resolution instead of 1.
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawImage): Removed code that scaled the source rect,
since this is now handled at the ImageBuffer level.
(WebCore::CanvasRenderingContext2D::createImageData): Now returns ImageData of the requested
size regardless of the backing store resolution.
(WebCore::CanvasRenderingContext2D::getImageData): Ditto.
- platform/graphics/ImageBuffer.h:
(WebCore::ImageBuffer::create): Removed some code that tried to apply the resolution scale
to the buffer after creating it, and changed to pass the resolution scale down to the
(platform-specific) constructor, which can apply it correctly.
- platform/graphics/cairo/ImageBufferCairo.cpp:
(WebCore::ImageBuffer::ImageBuffer):
- platform/graphics/cg/ImageBufferCG.cpp:
(WebCore::ImageBuffer::ImageBuffer): Added a resolutionScale parameter, which is used to
compute the backing buffer size, and to apply a device scale factor to the context.
(WebCore::ImageBuffer::copyImage): Changed to return an image scaled down to the logical
size of the buffer.
(WebCore::ImageBuffer::getUnmultipliedImageData): Changed to pass the resolution scale to
ImageData::getData().
(WebCore::ImageBuffer::getPremultipliedImageData): Ditto.
(WebCore::ImageBuffer::putByteArray): Changed to pass the resolution scale to
ImageData::putData(). When drawing the byte array as an image, changed to preserve the base
CTM in the destination context (thus mapping from image data pixels to backing store pixels).
(WebCore::ImageBuffer::toDataURL): Fixed a CGColorSpace leak. Made the returned image have
the buffer’s logical size instead of the backing buffer’s size.
(WebCore::ImageDataToDataURL): Fixed a CGColorSpace leak.
- platform/graphics/cg/ImageBufferDataCG.cpp:
(WebCore::ImageBufferData::getData): Added a resolutionScale parameter. The source
coordinates are scaled by the value of that parameter, and a reverse scaling transform
is applied when copying from the backing store into the destination (either explicitly
using Accelerate or implicitly by drawing as an image). Since after scaling,
unpremultiplication and component permutation are done in-place, made the
non-Accelerate code that does these things safe in this case.
(WebCore::ImageBufferData::putData): Added a resolutionScale parameter. The destination
coordinates are scaled by the value of that parameter, and a scaling transform is applied
when copying from the source into the backing store (either explicitly using Accelerate or
implicitly by drawing as an image). Since after scaling, premultiplication and component
permutation are done in-place, made the non-Accelerate code that does these things safe in
this case.
- platform/graphics/cg/ImageBufferDataCG.h:
- platform/graphics/qt/ImageBufferQt.cpp:
(WebCore::ImageBuffer::ImageBuffer):
- platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::ImageBuffer::ImageBuffer):
- platform/graphics/wince/ImageBufferWinCE.cpp:
(WebCore::ImageBuffer::ImageBuffer):
- platform/graphics/wx/ImageBufferWx.cpp:
(WebCore::ImageBuffer::ImageBuffer):
- 10:37 AM Changeset in webkit [113456] by
-
- 2 edits in trunk/Source/WebCore
[chromium] Draw debug borders for tiles on layers with skipsDraw
https://bugs.webkit.org/show_bug.cgi?id=83352
Patch by Dana Jansens <danakj@chromium.org> on 2012-04-06
Reviewed by Adrienne Walker.
The tiles are given the same color as other missing tiles.
- platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
(WebCore::CCTiledLayerImpl::appendQuads):
- 10:35 AM Changeset in webkit [113455] by
-
- 10 edits in trunk/Source
Fix cast-align warnings in JSC
https://bugs.webkit.org/show_bug.cgi?id=80790
Reviewed by George Staikos.
Source/JavaScriptCore:
- assembler/ARMv7Assembler.h:
(JSC::ARMv7Assembler::computeJumpType):
(JSC::ARMv7Assembler::link):
- assembler/LinkBuffer.h:
(JSC::LinkBuffer::linkCode):
- heap/MarkStack.cpp:
(JSC::SlotVisitor::copyAndAppend):
- runtime/JSArray.cpp:
(JSC::JSArray::visitChildren):
- wtf/RefCountedArray.h:
(WTF::RefCountedArray::Header::payload):
Source/WebCore:
- platform/graphics/WOFFFileFormat.cpp:
(WebCore::readUInt32):
(WebCore::readUInt16):
- platform/image-encoders/skia/JPEGImageEncoder.cpp:
(WebCore::preMultipliedBGRAtoRGB):
- platform/network/MIMESniffing.cpp:
- 10:31 AM Changeset in webkit [113454] by
-
- 17 edits in trunk/Source
Streamline strtod and fix some related problems
https://bugs.webkit.org/show_bug.cgi?id=82857
Reviewed by Geoffrey Garen.
Source/JavaScriptCore:
- parser/Lexer.cpp:
(JSC::Lexer<>::lex): Use parseDouble. Since we have already scanned the number
and we know it has only correct characters, leading spaces, trailing junk, and
trailing spaces are not a possibility. No need to add a trailing null character.
- runtime/JSGlobalObjectFunctions.cpp:
(JSC::parseInt): Changed overflow based 10 case to use parseDouble. No need
to allow trailing junk since the code above already allows only numeric digits
in the string. This code path is used only in unusual cases, so it's not
optimized for 8-bit strings, but easily could be.
(JSC::jsStrDecimalLiteral): Removed the allow trailing junk argument to this
function template because all the callers are OK with trailing junk. Use the
parseDouble function. No need to copy the data into a byte buffer, because
parseDouble handles that.
(JSC::toDouble): Got rid of the DisallowTrailingJunk argument to the
jsStrDecimalLiteral function template. That's OK because this function
already checks for trailing junk and handles it appropriately. The old code
path was doing it twice.
(JSC::parseFloat): Got rid of the AllowTrailingJunk argument to the
jsStrDecimalLiteral function template; the template allows junk unconditionally.
- runtime/LiteralParser.cpp:
(JSC::::Lexer::lexNumber): Use parseDouble. Since we have already scanned the number
and we know it has only correct characters, leading spaces, trailing junk, and
trailing spaces are not a possibility. No need to add a trailing null character.
No need to copy the data into a byte buffer, because parseDouble handles that.
We could optimize the UChar case even more because we know all the characters
are ASCII, but not doing that at this time.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Updated.
Source/WebCore:
Refactoring of code covered by existing tests.
- dom/ViewportArguments.cpp:
(WebCore::numericPrefix): Removed a confusing comment that just said
"we tolerate extra characters" in a roundabout way. Made the "ok"
argument optional. Changed to call the new version of charactersToFloat
that returns the number of characters parsed rather than using the
charactersToFloatIgnoringJunk/didReadNumber solution from before.
(WebCore::findSizeValue): Since numericPrefix is guaranteed to return 0
when it can't parse, removed the "ok" code. Also changed the unusual
syntax "float(1.0)" to just "1", which works just as well.
(WebCore::findScaleValue): Ditto.
(WebCore::findUserScalableValue): Ditto.
- html/parser/HTMLParserIdioms.cpp:
(WebCore::parseToDoubleForNumberType): Removed an unneeded code path
and replaced it with an assertion; toDouble no longer will return infinity
or not-a-number values.
Source/WTF:
Replaced the strtod function template with a parseDouble function, eliminating
the following unneeded features:
- need for a trailing null character and a call to strlen
- needless conversion of string lengths from size_t to int and back that created the possibility of incorrect truncation
- one level of function call; use inlining instead
- construction of the StringToDoubleConverter object; it was used to pass arguments that are known at compile time
- most of the StringToDoubleConverter::StringToDouble function's body; it was code we did not need
- parsing of Infinity and NaN at the strtod level; added recently when we moved from the old strtod to the new one, and not needed or helpful at this level
- multiple copies of code to narrow to single byte strings; in many cases this was done even when starting with an LChar string that is already single-byte, now we handle this with an overload of parseDouble
- wtf/dtoa.cpp:
Removed a long comment about the original strtod function that no longer
applies since we deleted that function long ago. Removed a lot of includes.
Removed the strtod function templates and its instantiations, since they
are now replaced by the parseDouble function.
(WTF::Internal::parseDoubleFromLongString): Added.
- wtf/dtoa.h:
Added an include of ASCIICType.h so we can use isASCII in a function in this
header. Left the heretofore unneeded include of double-conversion.h, since we
now want to use it in a function in this header. Removed the AllowTrailingJunkTag
and AllowTrailingSpacesTag enumerations and the strtod function template. Added
new parseDouble function, and inline implementation of it.
- wtf/dtoa/double-conversion.cc: Removed quite a bit of unused code, hardcoding
all the StringToDouble function arguments that come from data members so it can
be a much smaller static member function. Also changed the types of arguments
from int to size_t.
- wtf/dtoa/double-conversion.h: Removed most of the StringToDoubleConverter
class, leaving only the conversion function as a static member function.
- wtf/text/StringImpl.cpp:
(WTF::StringImpl::toDouble): Got rid of didReadNumber.
(WTF::StringImpl::toFloat): Ditto.
- wtf/text/StringImpl.h: Ditto.
- wtf/text/WTFString.cpp:
(WTF::String::toDouble): Got rid of didReadNumber.
(WTF::String::toFloat): Ditto.
(WTF::toDoubleType): Rewrote this function to use parseDouble. Moved the code
to skip leading spaces here, because other callers of parseDouble don't want
to do that. Repurposed the check for an empty string so it's now the same
code shared by all the "parsed nothing" cases. Removed the code to convert
the buffer to ASCII for two reasons: (1) We don't need that code at all when
CharType is LChar, and (2) We now handle this through the two overloads for
the parseDouble function. Disallowing trailing junk is now handled here,
rather than inside parseDouble.
(WTF::charactersToDouble): Updated for changes to toDoubleType. Removed the
didReadNumber argument.
(WTF::charactersToFloat): Ditto. Also added overloads that return the parsed
length. These are a slightly more powerful way to do what didReadNumber was
used for before.
- wtf/text/WTFString.h: Added comments, eliminated didReadNumber, and added
overloads of charactersToFloat that replace charactersToFloatIgnoringJunk.
- 10:29 AM Changeset in webkit [113453] by
-
- 7 edits in trunk/Source/WebCore
[chromium] Surface replica should have a separate quad in the render pass
https://bugs.webkit.org/show_bug.cgi?id=83287
Patch by Dana Jansens <danakj@chromium.org> on 2012-04-06
Reviewed by Adrienne Walker.
Generate separate quads for a RenderSurface and its replica. The replica
quad is drawn independently of the surface itself. This allows us to
cull each one independently.
Covered by existing tests.
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::drawRenderSurfaceQuad):
(WebCore::LayerRendererChromium::copyOffscreenTextureToDisplay):
- platform/graphics/chromium/cc/CCRenderPass.cpp:
(WebCore::CCRenderPass::appendQuadsForRenderSurfaceLayer):
- platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::setScissorRect):
(WebCore):
(WebCore::CCRenderSurface::drawContents):
(WebCore::CCRenderSurface::drawReplica):
(WebCore::CCRenderSurface::hasReplica):
- platform/graphics/chromium/cc/CCRenderSurface.h:
(CCRenderSurface):
- platform/graphics/chromium/cc/CCRenderSurfaceDrawQuad.cpp:
(WebCore::CCRenderSurfaceDrawQuad::create):
(WebCore::CCRenderSurfaceDrawQuad::CCRenderSurfaceDrawQuad):
- platform/graphics/chromium/cc/CCRenderSurfaceDrawQuad.h:
(CCRenderSurfaceDrawQuad):
(WebCore::CCRenderSurfaceDrawQuad::isReplica):
- 10:22 AM Changeset in webkit [113452] by
-
- 5 edits4 deletes in trunk/LayoutTests
RenderSVGRoot should inherit from RenderReplaced
https://bugs.webkit.org/show_bug.cgi?id=76446
Unreviewed Chromium expectations update.
Second attempt, after the rebaseline tool put expectations in chromium-linux-x86 instead of chormium-linux.
- platform/chromium-linux-x86/svg/custom/mouse-move-on-svg-container-expected.png: Removed.
- platform/chromium-linux-x86/svg/custom/mouse-move-on-svg-container-standalone-expected.png: Removed.
- platform/chromium-linux-x86/svg/custom/mouse-move-on-svg-root-expected.png: Removed.
- platform/chromium-linux-x86/svg/custom/mouse-move-on-svg-root-standalone-expected.png: Removed.
- platform/chromium-linux/svg/custom/mouse-move-on-svg-container-expected.png:
- platform/chromium-linux/svg/custom/mouse-move-on-svg-container-standalone-expected.png:
- platform/chromium-linux/svg/custom/mouse-move-on-svg-root-expected.png:
- platform/chromium-linux/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
- 10:10 AM Changeset in webkit [113451] by
-
- 3 edits in trunk/Source/JavaScriptCore
Remove JSC dependency from GregorianDateTime
https://bugs.webkit.org/show_bug.cgi?id=83290
Reviewed by Geoffrey Garen.
This allows us to move it to WTF later.
- runtime/DateConstructor.cpp:
(JSC::callDate):
- runtime/JSDateMath.h:
- 10:10 AM Changeset in webkit [113450] by
-
- 35 edits in trunk/Source/WebCore
[GObject bindings] Fix the coding style issues in the generated bindings
https://bugs.webkit.org/show_bug.cgi?id=82080
Reviewed by Kentaro Hara.
No new tests. This is covered by the binding tests.
- bindings/scripts/CodeGeneratorGObject.pm: Fix most style errors in the generated GObject code.
- bindings/scripts/test/GObject: Updated the expected results.
- 10:03 AM Changeset in webkit [113449] by
-
- 5 edits in trunk
Remove bogus assert from ChildListMutationScope
https://bugs.webkit.org/show_bug.cgi?id=83336
Reviewed by Ryosuke Niwa.
Source/WebCore:
This assert can trivially be triggered from script, but luckily the
code already behaves correctly without it.
- dom/ChildListMutationScope.cpp:
(WebCore::ChildListMutationScope::MutationAccumulator::enqueueMutationRecord):
LayoutTests:
Added a test that would trigger the assert.
- fast/mutation/observe-childList-expected.txt:
- fast/mutation/observe-childList.html:
- 9:39 AM Changeset in webkit [113448] by
-
- 17 edits2 adds in trunk/Source/WebCore
Unreviewed, rolling out r113442.
http://trac.webkit.org/changeset/113442
https://bugs.webkit.org/show_bug.cgi?id=83373
for breaking JSC bindings compilation (Requested by pfeldman
on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-06
- GNUmakefile.list.am:
- Target.pri:
- UseJSC.cmake:
- UseV8.cmake:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSMutationCallbackCustom.cpp: Added.
(WebCore):
(WebCore::JSMutationCallback::handleEvent):
- bindings/scripts/CodeGenerator.pm:
- bindings/scripts/CodeGeneratorJS.pm:
(AddIncludesForTypeInImpl):
(GenerateCallbackHeader):
(GenerateCallbackImplementation):
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateCallbackHeader):
(GenerateCallbackImplementation):
- bindings/scripts/test/JS/JSTestCallback.cpp:
(WebCore::JSTestCallback::callbackWithBoolean):
- bindings/scripts/test/JS/JSTestCallback.h:
(JSTestCallback):
- bindings/scripts/test/TestCallback.idl:
- bindings/scripts/test/V8/V8TestCallback.cpp:
(WebCore::V8TestCallback::callbackWithBoolean):
- bindings/scripts/test/V8/V8TestCallback.h:
(V8TestCallback):
- bindings/v8/custom/V8MutationCallbackCustom.cpp: Added.
(WebCore):
(WebCore::V8MutationCallback::handleEvent):
- dom/MutationCallback.idl:
- 9:26 AM Changeset in webkit [113447] by
-
- 4 edits in branches/subpixellayout/Source
Add transitional abs method to LayoutTypes and remove remaining unnecessary expandedIntSize calls.
- 9:13 AM Changeset in webkit [113446] by
-
- 5 edits in trunk
[Gtk] Unskip the video track tests
https://bugs.webkit.org/show_bug.cgi?id=82590
Patch by Zan Dobersek <zandobersek@gmail.com> on 2012-04-06
Reviewed by Martin Robinson.
Source/WebCore:
Enable the video track runtime feature for the Gtk port as well.
No new tests - existing ones will be unskipped.
- bindings/generic/RuntimeEnabledFeatures.cpp:
(WebCore):
LayoutTests:
Unskip passing video track tests and update expectations
where necessary.
- platform/gtk/Skipped:
- platform/gtk/fast/dom/prototype-inheritance-2-expected.txt:
- 9:09 AM Changeset in webkit [113445] by
-
- 8 edits in trunk/Source
Call Heap::discardAllCompiledCode() in low memory situations
https://bugs.webkit.org/show_bug.cgi?id=83335
Reviewed by Geoffrey Garen.
Source/JavaScriptCore:
Restructured Heap::discardAllCompiledCode() to do the "Is JavaScriptRunning?"
check inline so that it can be called directly without this check.
- heap/Heap.cpp:
(JSC::Heap::discardAllCompiledCode):
(JSC::Heap::collectAllGarbage):
- heap/Heap.h: Added JS_EXPORT_PRIVATE to discardAllCompiledCode() so it can be
called from WebCore.
(Heap):
- runtime/JSGlobalData.h: Removed unused " void discardAllCompiledCode()" declaration.
(JSGlobalData):
Source/WebCore:
Added call to discardAllCompiledCode() when under memory pressure.
We can re-JIT as needed. This is similar to what we used to do when we did
a full GC which also cleaned up JIT code. Doing a full GC typically didn't
help our memory situation, in fact it made things worse in the really low
memory situation as it caused more paging.
Added pass through discardAllCompiledCode() method to GCController.
- bindings/js/GCController.cpp:
(WebCore::GCController::discardAllCompiledCode):
(WebCore):
- bindings/js/GCController.h:
(GCController):
- platform/mac/MemoryPressureHandlerMac.mm:
(WebCore::MemoryPressureHandler::releaseMemory):
- 9:05 AM Changeset in webkit [113444] by
-
- 1 edit in branches/subpixellayout/Source/WebCore/rendering/RenderBlock.cpp
Using pixel snapping instead of flooring for Floating object reporting.
- 9:04 AM Changeset in webkit [113443] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: on a single click in Timeline overview, make a minimal selection centered around cursor
https://bugs.webkit.org/show_bug.cgi?id=82616
Reviewed by Pavel Feldman.
- center minimal selection on mouse cursor if the mouse hasn't moved (i.e. we had a click, not drag)
- inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewWindow.prototype._endWindowSelectorDragging):
- 8:45 AM Changeset in webkit [113442] by
-
- 17 edits2 deletes in trunk/Source/WebCore
Add CodeGenerator support for sequence<> in callbacks.
https://bugs.webkit.org/show_bug.cgi?id=83233
Patch by Vineet Chaudhary <Vineet> on 2012-04-06
Reviewed by Kentaro Hara.
Tests: TestCallback.idl and fast/mutation/callback-arguments.html should pass even after
the changes.
- GNUmakefile.list.am: Removed unsued custom files V8MutationCallbackCustom.cpp and JSMutationCallbackCustom.cpp from builds.
- Target.pri: Ditto.
- UseJSC.cmake: Ditto.
- UseV8.cmake: Ditto.
- WebCore.gypi: Ditto.
- WebCore.vcproj/WebCore.vcproj: Ditto.
- WebCore.xcodeproj/project.pbxproj: Ditto.
- bindings/js/JSMutationCallbackCustom.cpp: Removed.
- bindings/scripts/CodeGeneratorJS.pm:
(AddIncludesForTypeInImpl): Add proper header type.
(GenerateCallbackHeader): Generate declaration for the callback with sequence<T> argument.
(GenerateCallbackImplementation): Generate implementation for the callback with sequence<T> argument.
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateCallbackHeader): Generate declaration for the callback with sequence<T> argument.
(GenerateCallbackImplementation): Generate implementation for the callback with sequence<T> argument.
- bindings/scripts/test/JS/JSTestCallback.cpp: Modified test results of run-bindings-tests.
(WebCore):
(WebCore::JSTestCallback::handleEvent):
- bindings/scripts/test/JS/JSTestCallback.h: Modified test results of run-bindings-tests.
(JSTestCallback):
- bindings/scripts/test/TestCallback.idl: Added test callback with sequence<> argument.
- bindings/scripts/test/V8/V8TestCallback.cpp: Modified test results of run-bindings-tests.
(WebCore):
(WebCore::V8TestCallback::handleEvent):
- bindings/scripts/test/V8/V8TestCallback.h: Modified test results of run-bindings-tests.
(V8TestCallback):
- bindings/v8/custom/V8MutationCallbackCustom.cpp: Removed.
- dom/MutationCallback.idl: Removed custom bindings using sequence<T>.
- 8:33 AM Changeset in webkit [113441] by
-
- 3 edits in trunk/Source/WebCore
Unreviewed, rolling out r113431.
http://trac.webkit.org/changeset/113431
https://bugs.webkit.org/show_bug.cgi?id=83372
for breaking at least Chromium compilation (Requested by
pfeldman on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-06
- rendering/RenderView.cpp:
(WebCore::RenderView::paint):
(WebCore::RenderView::shouldRepaint):
(WebCore::RenderView::repaintViewRectangle):
(WebCore::RenderView::repaintRectangleInViewAndCompositedLayers):
(WebCore::RenderView::computeRectForRepaint):
(WebCore::RenderView::selectionBounds):
(WebCore::RenderView::viewRect):
(WebCore::RenderView::unscaledDocumentRect):
- rendering/RenderView.h:
(RenderView):
- 8:30 AM Changeset in webkit [113440] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: CodeGeneratorInspector.py: completely switch all domains to 'strict' mode
https://bugs.webkit.org/show_bug.cgi?id=83332
Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-04-06
Reviewed by Pavel Feldman.
Hardcoded list of domains is removed from generator. Partial domain sorting is dropped as unneeded.
Types with open propery list are introduced: validator allows undocumented properties for them.
Timeline domain code is patched to do runtimeCast in the last moment because true switching to
type-safe interfaces should take significant time and should be done separately.
- inspector/CodeGeneratorInspector.py:
(Generator.go):
(Generator.process_event):
(Generator.process_command):
- inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::willSendResourceRequest):
(WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):
- 8:29 AM Changeset in webkit [113439] by
-
- 11 edits8 adds in trunk/LayoutTests
RenderSVGRoot should inherit from RenderReplaced
https://bugs.webkit.org/show_bug.cgi?id=76446
Unreviewed Chromium test expectations update.
- platform/chromium-linux-x86/svg/custom/mouse-move-on-svg-container-expected.png: Added.
- platform/chromium-linux-x86/svg/custom/mouse-move-on-svg-container-standalone-expected.png: Added.
- platform/chromium-linux-x86/svg/custom/mouse-move-on-svg-root-expected.png: Added.
- platform/chromium-linux-x86/svg/custom/mouse-move-on-svg-root-expected.txt: Added.
- platform/chromium-linux-x86/svg/custom/mouse-move-on-svg-root-standalone-expected.png: Added.
- platform/chromium-win-vista/svg/custom/mouse-move-on-svg-root-expected.png: Added.
- platform/chromium-win-vista/svg/custom/mouse-move-on-svg-root-expected.txt: Added.
- platform/chromium-win-xp/svg/custom/mouse-move-on-svg-root-expected.png: Added.
- platform/chromium-win/svg/custom/mouse-move-on-svg-container-expected.png:
- platform/chromium-win/svg/custom/mouse-move-on-svg-container-expected.txt:
- platform/chromium-win/svg/custom/mouse-move-on-svg-container-standalone-expected.png:
- platform/chromium-win/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
- platform/chromium-win/svg/custom/mouse-move-on-svg-root-expected.png:
- platform/chromium-win/svg/custom/mouse-move-on-svg-root-expected.txt:
- platform/chromium-win/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
- platform/chromium-win/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
- platform/chromium-win/svg/custom/pointer-events-text-css-transform-expected.txt:
- platform/chromium/test_expectations.txt:
- 8:23 AM Changeset in webkit [113438] by
-
- 14 edits in trunk/Source/WebCore
Web Inspector: CodeGeneratorInspector.py: stop accepting raw InspectorObject in generated setters
https://bugs.webkit.org/show_bug.cgi?id=83327
Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-04-06
Reviewed by Pavel Feldman.
Generator fixed to have strict types in generated setter methods.
Client code is switched from InspectorObject's and String's to generated types where
needed.
- inspector/CodeGeneratorInspector.py:
(AdHocTypeContext):
(format_setter_value_expression):
- inspector/ConsoleMessage.cpp:
(WebCore::messageSourceValue):
(WebCore::messageTypeValue):
(WebCore::messageLevelValue):
(WebCore::ConsoleMessage::addToFrontend):
- inspector/InspectorApplicationCacheAgent.cpp:
(WebCore::InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources):
(WebCore::InspectorApplicationCacheAgent::buildObjectForApplicationCacheResource):
- inspector/InspectorApplicationCacheAgent.h:
(InspectorApplicationCacheAgent):
- inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::asInspectorStyleSheet):
(WebCore::InspectorCSSAgent::viaInspectorStyleSheet):
(WebCore::InspectorCSSAgent::detectOrigin):
- inspector/InspectorCSSAgent.h:
(InspectorCSSAgent):
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::buildObjectForNode):
- inspector/InspectorIndexedDBAgent.cpp:
(WebCore):
- inspector/InspectorMemoryAgent.cpp:
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::buildObjectForFrameTree):
- inspector/InspectorResourceAgent.cpp:
(WebCore::buildObjectForTiming):
(WebCore::buildObjectForCachedResource):
- inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyle::buildObjectForStyle):
(WebCore::InspectorStyleSheet::create):
(WebCore::InspectorStyleSheet::InspectorStyleSheet):
(WebCore::InspectorStyleSheet::buildObjectForRule):
(WebCore::InspectorStyleSheet::resourceStyleSheetText):
(WebCore::InspectorStyleSheet::buildArrayForRuleList):
(WebCore::InspectorStyleSheetForInlineStyle::create):
(WebCore::InspectorStyleSheetForInlineStyle::InspectorStyleSheetForInlineStyle):
- inspector/InspectorStyleSheet.h:
(InspectorCSSId):
(WebCore::InspectorCSSId::asProtocolValue): method is made template as now it returns 2 formally different types.
(InspectorStyleSheet):
(WebCore::InspectorStyleSheet::canBind):
(InspectorStyleSheetForInlineStyle):
- 8:17 AM Changeset in webkit [113437] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: highlight diff in the gutter, not in the line content.
https://bugs.webkit.org/show_bug.cgi?id=83371
Reviewed by Yury Semikhatsky.
Now that the editing mode is enabled by default, diff highlighting gets annoying.
I am moving it to the gutter (same decoration as before, but now coloring gutter only).
- inspector/front-end/TextViewer.js:
(WebInspector.TextEditorGutterPanel.prototype.textChanged):
- inspector/front-end/textViewer.css:
(.diff-container .webkit-added-line.webkit-line-number):
(.diff-container .webkit-removed-line.webkit-line-number):
(.diff-container .webkit-changed-line.webkit-line-number):
- 8:08 AM Changeset in webkit [113436] by
-
- 10 edits12 adds in trunk/LayoutTests
Differentiate between SVG/CSS width/height attributes/properties
https://bugs.webkit.org/show_bug.cgi?id=76447
Unreviewed Chromium expectations update.
- platform/chromium-linux-x86/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-linux-x86/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-linux-x86/svg/custom/object-sizing-width-50p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-linux-x86/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-win-vista/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-win-vista/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-win-vista/svg/custom/object-sizing-width-50p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-win-vista/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-win-xp/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-win-xp/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-win-xp/svg/custom/object-sizing-width-50p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-win-xp/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-absolute-expected.txt: Added.
- platform/chromium-win/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-absolute-expected.png:
- platform/chromium-win/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-absolute-expected.txt:
- platform/chromium-win/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.png:
- platform/chromium-win/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.txt:
- platform/chromium-win/svg/custom/object-sizing-width-50p-on-target-svg-absolute-expected.png:
- platform/chromium-win/svg/custom/object-sizing-width-50p-on-target-svg-absolute-expected.txt:
- platform/chromium-win/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-absolute-expected.png:
- platform/chromium-win/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-absolute-expected.txt:
- platform/chromium/test_expectations.txt:
- 8:04 AM Changeset in webkit [113435] by
-
- 6 edits in trunk/Source/WebCore
Web Inspector: remove url from the saved urls map before the save action.
https://bugs.webkit.org/show_bug.cgi?id=83364
Reviewed by Yury Semikhatsky.
URL gets added back upon successful save anyways, but if user chooses cancel saving,
we stop bugging him with the save-as dialog.
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._exportAll):
(WebInspector.NetworkLogView.prototype._exportResource):
- inspector/front-end/ResourcesPanel.js:
(WebInspector.FrameResourceTreeElement.prototype._appendSaveAsAction.doSave):
(WebInspector.ResourceRevisionTreeElement.prototype._handleContextMenuEvent.doSave):
- inspector/front-end/TextViewer.js:
(WebInspector.TextViewer.prototype._contextMenu):
(WebInspector.TextViewer.prototype._commitEditing):
- inspector/front-end/TimelineModel.js:
(WebInspector.TimelineModel.prototype.saveToFile):
- inspector/front-end/inspector.js:
- 7:43 AM Changeset in webkit [113434] by
-
- 8 edits in trunk/Source/WebCore
Web Inspector: display frame details in popover on frame strip in Timeline panel
https://bugs.webkit.org/show_bug.cgi?id=83365
Reviewed by Pavel Feldman.
- added popovers for frame strips;
- factored out generateAggregatedInfo for reuse in the above;
- made frame event dividers thinner, darker and greyer.
- English.lproj/localizedStrings.js: Added "FPS" and "Frame"
- inspector/front-end/TimelineFrameController.js:
(WebInspector.TimelineFrameController.prototype._flushFrame): added startTimeOffset.
(WebInspector.TimelineFrameController.prototype._createSyntheticFrame): ditto.
- inspector/front-end/TimelineModel.js:
(WebInspector.TimelineModel.prototype._updateBoundaries):
(WebInspector.TimelineModel.prototype.recordOffsetInSeconds):
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._updateFrames): added link to frame to strip div.
(WebInspector.TimelinePanel.prototype._refresh):
(WebInspector.TimelinePanel.prototype._getPopoverAnchor): handle frame anchors separately.
(WebInspector.TimelinePanel.prototype._mouseMove): ditto.
(WebInspector.TimelinePanel.prototype._showPopover):
- inspector/front-end/TimelinePresentationModel.js:
(WebInspector.TimelinePresentationModel.Record.prototype.generatePopupContent):
(WebInspector.TimelinePresentationModel._generateAggregatedInfo): factored out for reuse.
(WebInspector.TimelinePresentationModel.generatePopupContentForFrame):
- inspector/front-end/inspectorCommon.css:
(.resources-dividers-label-bar):
- inspector/front-end/timelinePanel.css:
(.timeline .resources-event-divider.timeline-frame-divider): made divider thin and grey.
(.timeline-frame-strip): bumped z-index, added pointer-events: auto.
- 7:27 AM Changeset in webkit [113433] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: show "dirty" flag for CSS files edited in the resources panel.
https://bugs.webkit.org/show_bug.cgi?id=83363
Reviewed by Yury Semikhatsky.
Added TextEdited notification into the editable source frame, listening to it
in the resources panel.
- inspector/front-end/ResourceView.js:
(WebInspector.EditableResourceSourceFrame.prototype._contentChanged):
(WebInspector.EditableResourceSourceFrame.prototype.isDirty):
- inspector/front-end/ResourcesPanel.js:
(WebInspector.FrameResourceTreeElement.prototype._appendRevision):
(WebInspector.FrameResourceTreeElement.prototype.sourceView):
(WebInspector.FrameResourceTreeElement.prototype._sourceViewTextEdited):
- 7:24 AM Changeset in webkit [113432] by
-
- 3 edits in branches/chromium/1084
Merge 112841 - Web Inspector: breakpoints are not shown in sidebar pane after switching pretty-print mode.
https://bugs.webkit.org/show_bug.cgi?id=82768
Reviewed by Yury Semikhatsky.
Source/WebCore:
When UISourceCode is replaced with another in ScriptsPanel, newly added
UISourceCode could already have breakpoints. We should iterate over existing
breakpoints and add them to sidebar pane.
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._uiSourceCodeReplaced):
LayoutTests:
- inspector/debugger/script-formatter-breakpoints-expected.txt:
- inspector/debugger/script-formatter-breakpoints.html:
TBR=podivilov@chromium.org
BUG=122184
Review URL: https://chromiumcodereview.appspot.com/10005037
- 7:10 AM Changeset in webkit [113431] by
-
- 3 edits in trunk/Source/WebCore
Update LayoutUnit usage in RenderView
https://bugs.webkit.org/show_bug.cgi?id=83147
Reviewed by Julien Chaffraix.
Updating the usage of LayoutUnits in RenderView in preparation for sub-pixel layout. This mostly
affects paint and repaint functions, which take LayoutRects up to the RenderView level. This is
necessary as we continue to accumulate sub-pixel offsets up to this level.
No new tests. No change in behavior.
- rendering/RenderView.cpp:
(WebCore::RenderView::paint): Adding an assert that we're being called to paint on pixel
boundaries. We don't currently ever position RenderViews at sub-pixel offsets.
(WebCore::RenderView::shouldRepaint):
(WebCore::RenderView::repaintViewRectangle): Switching to a LayoutRect and cleaning up a fixme
that used decomposed offsets. Pixel snapping is applied before handing the rect up to the
FrameView.
(WebCore::RenderView::repaintRectangleInViewAndCompositedLayers): Pixel snapping before handing
the rect up to the Compositor.
(WebCore::RenderView::computeRectForRepaint):
(WebCore::RenderView::selectionBounds):
(WebCore::RenderView::viewRect):
(WebCore::RenderView::unscaledDocumentRect):
- rendering/RenderView.h:
(RenderView):
- 6:50 AM Changeset in webkit [113430] by
-
- 2 edits in branches/subpixellayout/Source/WebCore/platform/win
Cleaning up unneeded FractionalLayoutUnit leakage into Win PopupMenu code.
- 5:53 AM Changeset in webkit [113429] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Text selection - Can't select texts
https://bugs.webkit.org/show_bug.cgi?id=83355
Fix the problem of not sending out the result of the function
SelectionHandler::regionForTextQuads(). This regression issue
is introduced by the git commit f9446b7d671d48a833ab0acf12b1e20637e0a910.
Patch by Sean Wang <Xuewen.Wang@torchmobile.com.cn> on 2012-04-06
Reviewed by George Staikos.
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::regionForTextQuads):
Add code to return the function result.
- 5:49 AM Changeset in webkit [113428] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: hide popover on mouseout from anchor
https://bugs.webkit.org/show_bug.cgi?id=83362
Reviewed by Pavel Feldman.
- start hide popover timer when mouse moves out of popover anchor, as we won't receive mousemove events any more;
- factored out starting of popover kill timer to a method.
- inspector/front-end/Popover.js:
(WebInspector.PopoverHelper):
(WebInspector.PopoverHelper.prototype._mouseMove): Factored out StartHidePopoverTimer()
(WebInspector.PopoverHelper.prototype._mouseOut): Just call StartHidePopoverTimer() when mouse moves out of anchor.
(WebInspector.PopoverHelper.prototype._startHidePopoverTimer.doHide):
(WebInspector.PopoverHelper.prototype._startHidePopoverTimer):
(WebInspector.PopoverHelper.prototype._hidePopover): Reset hoverElement (aka anchor) when hiding popover.
- 5:08 AM Changeset in webkit [113427] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unskipped some tests that now pass.
Patch by János Badics <János Badics> on 2012-04-06
Reviewed by Csaba Osztrogonác.
- platform/qt/Skipped:
- 5:07 AM Changeset in webkit [113426] by
-
- 5 edits in trunk
[Chromium] Web Inspector: getEventListeners(window) crashes on NTP
https://bugs.webkit.org/show_bug.cgi?id=83353
Reviewed by Pavel Feldman.
Source/WebCore:
- bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::getEventListenersCallback):
LayoutTests:
- inspector/console/command-line-api-getEventListeners-expected.txt:
- inspector/console/command-line-api-getEventListeners.html:
- 3:37 AM Changeset in webkit [113425] by
-
- 2 edits in trunk/Source/WebCore
Touch ChromeClient.h to fix Chromium build.
https://bugs.webkit.org/show_bug.cgi?id=83258
- page/ChromeClient.h:
- 3:26 AM Changeset in webkit [113424] by
-
- 2 edits in trunk/LayoutTests
[Qt][Mac] Skip new failing tests to paing the bot green.
- platform/qt-mac/Skipped:
- 3:04 AM Changeset in webkit [113423] by
-
- 2 edits2 adds in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt-5.0/svg/as-image/img-preserveAspectRatio-support-1-expected.png: Added.
- platform/qt-5.0/svg/as-image/img-preserveAspectRatio-support-1-expected.txt: Added.
- platform/qt-arm/Skipped: Skip new failing tests.
- 3:01 AM Changeset in webkit [113422] by
-
- 6 edits3 adds in trunk
Initial LocalizedDateICU.cpp implementation
https://bugs.webkit.org/show_bug.cgi?id=60868
Reviewed by Hajime Morita.
Source/WebCore:
Add LocalizedDateICU.cpp, which supports only Date type. It uses a
short format because a date field is keyboard-editable.
e.g. 5/15/11 in US locale.
- WebCore.gyp/WebCore.gyp: Exclude LocalizedDateNone.cpp.
- WebCore.gypi: Add LocalizedDateICU.cpp.
- platform/text/LocalizedDateICU.cpp: Added.
(WebCore::parseLocalizedDate):
(WebCore::formatLocalizedDate):
LayoutTests:
- platform/chromium-mac-snowleopard/fast/forms/date/date-appearance-expected.png:
- platform/chromium-mac-snowleopard/fast/forms/date/date-appearance-expected.txt:
- platform/chromium/fast/forms/date/date-input-visible-strings-expected.txt: Added.
- 2:02 AM Changeset in webkit [113421] by
-
- 6 edits in trunk/LayoutTests
[Qt] Unreviewed gardening, update platform specific expected results.
- platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.txt:
- platform/qt/svg/as-image/img-preserveAspectRatio-support-2-expected.txt:
- platform/qt/svg/as-object/object-box-sizing-no-width-height-expected.txt:
- platform/qt/svg/as-object/svg-embedded-in-html-in-iframe-expected.txt:
- platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.txt:
- 1:39 AM Changeset in webkit [113420] by
-
- 1 edit in branches/chromium/1084/Source/WebCore/inspector/front-end/inspector.js
Merge 113336 - Web Inspector: CSS file revisions are not restored upon front-end reopen.
https://bugs.webkit.org/show_bug.cgi?id=83292
Reviewed by Yury Semikhatsky.
Populating suggestions before the panel creation now.
- inspector/front-end/inspector.js:
(WebInspector._doLoadedDoneWithCapabilities.get if):
TBR=pfeldman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10009039
- 1:29 AM Changeset in webkit [113419] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt/Skipped: Unskip tests after r113323.
- 12:58 AM Changeset in webkit [113418] by
-
- 3 edits in trunk/Source/WebCore
[REGRESSION] Refreshed autofill popup renders garbage
https://bugs.webkit.org/show_bug.cgi?id=83255
http://code.google.com/p/chromium/issues/detail?id=118374
The code used to update only the PopupContainer coordinates as if they were the coordinates relative
to the root view. Instead, a WebWidget positioned relative to the screen origin holds the PopupContainer,
so it is the WebWidget that should be positioned in PopupContainer::refresh(), and the PopupContainer's
location should be (0, 0) (and their sizes should always be equal).
Reviewed by Kent Tamura.
No new tests, as the popup appearance is not testable in WebKit.
- platform/chromium/PopupContainer.cpp:
(WebCore::PopupContainer::layoutAndCalculateWidgetRect): Variable renamed.
(WebCore::PopupContainer::showPopup): Use m_originalFrameRect rather than frameRect()
for passing into chromeClient.
(WebCore::PopupContainer::showInRect): Set up the correct frameRect() for the container.
(WebCore::PopupContainer::refresh): Resize the container and position the WebWidget correctly.
- platform/chromium/PopupContainer.h:
(PopupContainer):
- 12:54 AM Changeset in webkit [113417] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening after r113378. ENABLE(MUTATION_OBSERVERS) is disabled so
fast/mutation/clear-transient-without-delivery.html and
fast/mutation/transient-gc-crash.html have been skipped.
Patch by János Badics <János Badics> on 2012-04-06
Reviewed by Zoltan Herczeg.
- platform/qt/Skipped:
- 12:45 AM Changeset in webkit [113416] by
-
- 11 edits in trunk/Source
Calendar Picker: Add code to open/close the calendar picker
https://bugs.webkit.org/show_bug.cgi?id=83258
Reviewed by Hajime Morita.
Source/WebCore:
No new tests. This code is not used because of no ENABLE_INPUT_TYPE_DATE.
- WebCore.gypi: Add existing header files.
- html/DateInputType.cpp:
(WebCore::DateInputType::DateInputType):
Moved from DateInputType.h because the constructor depends on
CalendarPickerElement.
(WebCore::DateInputType::createShadowSubtree):
Store a CalendarPickerElement object.
(WebCore::DateInputType::destroyShadowSubtree):
Release the CalendarPickerElement object.
(WebCore::DateInputType::handleBlurEvent):
Close the calendar picker when the input loses focus.
- html/DateInputType.h:
(DateInputType):
- Move the constructor definition to DateInputType.cpp
- Add function declarations
- Add m_pickerElement data member.
- html/shadow/CalendarPickerElement.cpp:
(WebCore::CalendarPickerElement::hostInput): A helper to get the host <input>.
(WebCore::CalendarPickerElement::defaultEventHandler):
If the element is clicked, open a calendar picker.
(WebCore::CalendarPickerElement::openPopup):
Opens a calendar picker by ChromeClient::openPagePopup().
(WebCore::CalendarPickerElement::closePopup):
Closes a calendar picker by ChromeClient::closePagePopup().
(WebCore::CalendarPickerElement::detach):
Closes a calendar picker when the element loses a renderer.
(WebCore::CalendarPickerElement::contentSize):
Provides the initial size of a popup.
(WebCore::addString): A helper for writeDocument().
(WebCore::addJavaScriptString): ditto.
(WebCore::addProperty): ditto.
(WebCore::CalendarPickerElement::writeDocument):
Provides the source of a popup. The function creates a complete HTML with:
- WebCore/Resources/calendarPicker.css
- WebCore/Resources/calendarPicker.js
- An object to pass localization strings and <input> state
(WebCore::CalendarPickerElement::setValueAndClosePopup):
Sets the value from a calendar picker to the <input>.
(WebCore::CalendarPickerElement::didClosePopup):
Clear the popup object.
- html/shadow/CalendarPickerElement.h:
(CalendarPickerElement): Add declarations.
- platform/text/LocalizedCalendarICU.cpp:
(WebCore::getFirstDayOfWeek): Make sure this is 0-base. UCAL_SUNDAY is 1.
Source/WebKit/chromium:
- features.gypi: Enable ENABLE_PAGE_POPUP for non-Android
platforms. This is needed because ENABLE_CALENDAR_PICKER now depends on
ENABLE_PAGE_POPUP.
- src/ChroemClientImpl.cpp: Add stubs.
(WebKit::ChromeClientImpl::openPagePopup):
(WebKit::ChromeClientImpl::closePagePopup):
- src/ChromeClientImpl.h: Add declarations of openPagePopup() and closePagePopup().
Apr 5, 2012:
- 10:23 PM Changeset in webkit [113415] by
-
- 4 edits in trunk/Source/WebCore
<rdar://problem/11133179> and https://bugs.webkit.org/show_bug.cgi?id=74129
REGRESSION (SnowLeopard, 5.1.4): All WK2 horizontal scrollbars look broken
Patch by Dan Bernstein, Reviewed by Beth Dakin.
This code assumed that the current CTM wouldn't have extraneous operations built into it,
but this bug is evidence that that assumption was wrong. We should just get the base CTM instead
and apply the device scale factor to it.
No tests added since the SnowLeopard-style scrollbars aren't testable in our regression tests right now.
- platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::platformApplyDeviceScaleFactor):
(WebCore::GraphicsContext::applyDeviceScaleFactor):
- platform/graphics/GraphicsContext.h: (GraphicsContext):
- platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::platformApplyDeviceScaleFactor):
- 10:16 PM Changeset in webkit [113414] by
-
- 3 edits in trunk/Source/WebCore
Leak in WebSocketChannel with workers/worker-reload.html
https://bugs.webkit.org/show_bug.cgi?id=83345
Reviewed by David Levin.
A speculative fix of memory leaks caused by worker-reload.html.
No new tests, as this change imposes no functional change.
- Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
(WebCore::WorkerThreadableWebSocketChannel::mainThreadDestroy):
Receive the peer as PassOwnPtr<> so the destructor of the task object can
delete the peer even if the task didn't run before main thread's cleanup period.
(WebCore::WorkerThreadableWebSocketChannel::Bridge::disconnect):
- Modules/websockets/WorkerThreadableWebSocketChannel.h:
(WorkerThreadableWebSocketChannel):
- 9:57 PM Changeset in webkit [113413] by
-
- 2 edits in trunk/Source/WebCore
combine two arrays (coreExceptionNames and coreExceptionDescriptions) into one array
https://bugs.webkit.org/show_bug.cgi?id=83141
Patch by Lu Guanqun <guanqun.lu@intel.com> on 2012-04-05
Reviewed by Adam Barth.
No new tests required.
- dom/DOMCoreException.cpp:
(CoreException):
(WebCore):
(WebCore::DOMCoreException::initializeDescription):
- 9:49 PM Changeset in webkit [113412] by
-
- 3 edits in trunk/LayoutTests
Rebaseline a couple tests for GTK+.
- platform/gtk/fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling-expected.txt:
- platform/gtk/fast/frames/flattening/iframe-flattening-nested-expected.txt:
- 9:26 PM Changeset in webkit [113411] by
-
- 12 edits in trunk/LayoutTests
[EFL] Gardening; update expctations in fast/css-generated-content.
Mostly adapt to the size changes after the jhbuild and font
commits.
- platform/efl/fast/css-generated-content/003-expected.txt:
- platform/efl/fast/css-generated-content/009-expected.png:
- platform/efl/fast/css-generated-content/009-expected.txt:
- platform/efl/fast/css-generated-content/013-expected.png:
- platform/efl/fast/css-generated-content/013-expected.txt:
- platform/efl/fast/css-generated-content/014-expected.png:
- platform/efl/fast/css-generated-content/014-expected.txt:
- platform/efl/fast/css-generated-content/after-duplicated-after-split-expected.png:
- platform/efl/fast/css-generated-content/after-duplicated-after-split-expected.txt:
- platform/efl/fast/css-generated-content/inline-display-types-expected.png:
- platform/efl/fast/css-generated-content/inline-display-types-expected.txt:
- 9:26 PM Changeset in webkit [113410] by
-
- 7 edits in trunk/LayoutTests
[EFL] Gardening after r110072.
- platform/efl/fast/clip/008-expected.png:
- platform/efl/fast/clip/008-expected.txt:
- platform/efl/fast/clip/011-expected.png:
- platform/efl/fast/clip/011-expected.txt:
- platform/efl/fast/clip/012-expected.png:
- platform/efl/fast/clip/012-expected.txt:
- 9:26 PM Changeset in webkit [113409] by
-
- 1 edit1 add in trunk/LayoutTests
[EFL] Gardening after r112112.
- platform/efl/css2.1/20110323/c543-txt-decor-000-expected.txt: Added.
- 9:08 PM Changeset in webkit [113408] by
-
- 55 edits1 copy1 add in trunk/LayoutTests
[EFL] Gardening. Update baselines and expectations in fast/backgrounds, fast/block, fast/box-shadow and fast/box-sizing.
- platform/efl/fast/backgrounds/001-expected.png:
- platform/efl/fast/backgrounds/001-expected.txt:
- platform/efl/fast/backgrounds/animated-svg-as-mask-expected.png:
- platform/efl/fast/backgrounds/animated-svg-as-mask-expected.txt:
- platform/efl/fast/backgrounds/background-clip-text-expected.png:
- platform/efl/fast/backgrounds/background-clip-text-expected.txt:
- platform/efl/fast/backgrounds/background-inherit-color-bug-expected.png:
- platform/efl/fast/backgrounds/background-inherit-color-bug-expected.txt:
- platform/efl/fast/backgrounds/background-leakage-expected.png:
- platform/efl/fast/backgrounds/background-leakage-expected.txt:
- platform/efl/fast/backgrounds/background-leakage-transforms-expected.png:
- platform/efl/fast/backgrounds/background-leakage-transforms-expected.txt:
- platform/efl/fast/backgrounds/background-origin-root-element-expected.png:
- platform/efl/fast/backgrounds/background-origin-root-element-expected.txt:
- platform/efl/fast/backgrounds/background-position-parsing-expected.png:
- platform/efl/fast/backgrounds/background-position-parsing-expected.txt:
- platform/efl/fast/backgrounds/body-generated-image-propagated-to-root-expected.png:
- platform/efl/fast/backgrounds/body-generated-image-propagated-to-root-expected.txt:
- platform/efl/fast/backgrounds/opacity-on-document-element-expected.png:
- platform/efl/fast/backgrounds/opacity-on-document-element-expected.txt:
- platform/efl/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.png:
- platform/efl/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.txt:
- platform/efl/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png:
- platform/efl/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt:
- platform/efl/fast/backgrounds/repeat/negative-offset-repeat-expected.png:
- platform/efl/fast/backgrounds/repeat/negative-offset-repeat-expected.txt:
- platform/efl/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
- platform/efl/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt:
- platform/efl/fast/backgrounds/size/backgroundSize15-expected.png:
- platform/efl/fast/backgrounds/size/backgroundSize15-expected.txt:
- platform/efl/fast/backgrounds/size/backgroundSize16-expected.png:
- platform/efl/fast/backgrounds/size/backgroundSize16-expected.txt:
- platform/efl/fast/backgrounds/size/backgroundSize17-expected.png:
- platform/efl/fast/backgrounds/size/backgroundSize18-expected.png:
- platform/efl/fast/backgrounds/size/backgroundSize19-expected.png:
- platform/efl/fast/backgrounds/size/backgroundSize20-expected.png:
- platform/efl/fast/backgrounds/size/backgroundSize21-expected.png:
- platform/efl/fast/backgrounds/size/backgroundSize22-expected.png:
- platform/efl/fast/backgrounds/size/zero-expected.png:
- platform/efl/fast/backgrounds/size/zero-expected.txt:
- platform/efl/fast/backgrounds/solid-color-context-restore-expected.png:
- platform/efl/fast/backgrounds/solid-color-context-restore-expected.txt:
- platform/efl/fast/backgrounds/svg-as-mask-expected.png: Added.
- platform/efl/fast/backgrounds/svg-as-mask-expected.txt: Copied from LayoutTests/platform/efl/fast/backgrounds/animated-svg-as-mask-expected.txt.
- platform/efl/fast/block/float/015-expected.png:
- platform/efl/fast/block/float/015-expected.txt:
- platform/efl/fast/box-shadow/basic-shadows-expected.png:
- platform/efl/fast/box-shadow/basic-shadows-expected.txt:
- platform/efl/fast/box-shadow/box-shadow-clipped-slices-expected.png:
- platform/efl/fast/box-shadow/box-shadow-transformed-expected.png:
- platform/efl/fast/box-shadow/inset-box-shadows-expected.png:
- platform/efl/fast/box-shadow/inset-expected.png:
- platform/efl/fast/box-shadow/no-blur-multiple-offsets-expected.png:
- platform/efl/fast/box-shadow/transform-fringing-expected.png:
- platform/efl/fast/box-sizing/box-sizing-expected.png:
- platform/efl/fast/box-sizing/box-sizing-expected.txt:
- 8:04 PM Changeset in webkit [113407] by
-
- 6 edits in trunk/Source/WebCore
Remove intrinsic padding from contentBoxRect(), etc.
https://bugs.webkit.org/show_bug.cgi?id=83092
Patch by David Barton <Dave Barton> on 2012-04-05
Reviewed by Julien Chaffraix.
"Intrinsic padding" does not count as CSS padding, but is treated as padding by basic
layout and rendering code, e.g. RenderBlock::layout(). A lot of code relies on the
equation border-box = content-box + padding + border (+ scrollbars). To keep this valid,
change 5 functions in RenderBox.h to not include intrinsic padding in the content box,
thus reverting to their behavior before the patch for bug 33593. Instead, have
sizingBox(renderer) in CSSComputedStyleDeclaration.cpp explicitly put the intrinsic
padding in computed CSS content-box values [for javascript getComputedStyle()], so the
above equation still also holds for CSS computed values. This seems more consistent with
how the padding...() functions behave since the patch for bug 23487, and will work
better for MathML. For instance, a block's contentLogicalWidth() will be the
availableLogicalWidth() for use by child elements.
No new tests. The only real observable changes are illustrated in the bug 83092 attached
test case and discussion. These are minor and hard to automate.
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::sizingBox):
- editing/DeleteSelectionCommand.cpp:
(WebCore::DeleteSelectionCommand::removeNode):
- rendering/RenderBox.h:
(WebCore::RenderBox::contentBoxRect):
(WebCore::RenderBox::contentWidth):
(WebCore::RenderBox::contentHeight):
(WebCore::RenderBox::contentLogicalWidth):
(WebCore::RenderBox::contentLogicalHeight):
- Change these 5 functions to omit intrinsic padding from the content box.
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::cellBaselinePosition):
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::firstLineBoxBaseline):
- 7:51 PM Changeset in webkit [113406] by
-
- 2 edits2 adds in trunk
[BlackBerry] Empty Referrer should not be set into ResourceRequest when loading a main resource.
https://bugs.webkit.org/show_bug.cgi?id=83252
Patch by Jason Liu <jason.liu@torchmobile.com.cn> on 2012-04-05
Reviewed by George Staikos.
Test: http/tests/misc/resources/referrer-main-resource.php
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::load):
- 7:48 PM Changeset in webkit [113405] by
-
- 5 edits2 adds in trunk
[Chromium] moving a cursor on a misspelled word should not remove a misspelled underline
https://bugs.webkit.org/show_bug.cgi?id=83214
Reviewed by Ryosuke Niwa.
When Chrome enables asynchronous spellchecking, it adds Spelling markers in the
background. For this case, moving a cursor should not remove these markers
because it requires Chrome to spellcheck text again. This change prevents
removing Spelling markers added by spellcheckers asynchronously.
Source/WebCore:
Test: platform/chromium/editing/spelling/move-cursor-to-misspelled-word.html
- editing/Editor.cpp:
(WebCore::Editor::respondToChangedSelection):
Source/WebKit/chromium:
- src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): use marker descriptions instead of spellchecking text when Chrome enables asynchronous spellchecking.
LayoutTests:
- platform/chromium/editing/spelling/move-cursor-to-misspelled-word-expected.txt: Added.
- platform/chromium/editing/spelling/move-cursor-to-misspelled-word.html: Added.
- 7:27 PM Changeset in webkit [113404] by
-
- 6 edits2 adds in trunk
.: Compile the vibration module for BlackBerry.
https://bugs.webkit.org/show_bug.cgi?id=83340
Reviewed by Rob Buis.
- Source/cmake/OptionsBlackBerry.cmake:
Source/WebKit: Add the vibration client for BlackBerry.
https://bugs.webkit.org/show_bug.cgi?id=83340
Reviewed by Rob Buis.
- PlatformBlackBerry.cmake:
Source/WebKit/blackberry: Add a vibration client for BlackBerry and enable it.
https://bugs.webkit.org/show_bug.cgi?id=83340
Reviewed by Rob Buis.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init): enable the client
- WebCoreSupport/VibrationClientBlackBerry.cpp: Added.
(WebCore):
(WebCore::VibrationClientBlackBerry::VibrationClientBlackBerry):
(WebCore::VibrationClientBlackBerry::vibrate):
(WebCore::VibrationClientBlackBerry::cancelVibration):
(WebCore::VibrationClientBlackBerry::vibrationDestroyed):
- WebCoreSupport/VibrationClientBlackBerry.h: Added.
(WebCore):
(VibrationClientBlackBerry):
(WebCore::VibrationClientBlackBerry::~VibrationClientBlackBerry):
- 6:29 PM Changeset in webkit [113403] by
-
- 6 edits in branches/subpixellayout/Source/WebCore
Removed abs(LayoutUnit) on branch as it confused the chromium linux and gtk builds.
- 6:25 PM Changeset in webkit [113402] by
-
- 2 edits in trunk/LayoutTests
Unskip a test that should now be passing after r113004
- platform/gtk/Skipped: Unskip a test that should now be passing.
- 6:22 PM Changeset in webkit [113401] by
-
- 2 edits in trunk/LayoutTests
Unskip some tests on GTK+ that should now be passing.
- platform/gtk/Skipped:
- 6:18 PM Changeset in webkit [113400] by
-
- 8 edits in trunk
CSS Exclusions polygon shape arguments should be comma separated
https://bugs.webkit.org/show_bug.cgi?id=82368
Patch by Hans Muller <hmuller@adobe.com> on 2012-04-05
Reviewed by Ryosuke Niwa.
Source/WebCore:
Changed the CSS Parser to accept a conventional comma separated argument list for the
polygon exclusion shape. The syntax had used spaces to separate x,y coordinates, like:
polygon(10px,20px 30px,40px). Now commas separate points: polygon(10px 20px, 30px 40px).
This change is per the draft exclusions spec, http://dev.w3.org/csswg/css3-exclusions.
Additional relevant information about CSS argument list syntax can be found
here: http://dev.w3.org/csswg/css3-values/#component-whitespace.
Factored comma recognition idiom in CSSParser.cpp into isComma() utility function.
The existing tests have been updated.
- css/CSSParser.cpp:
(WebCore::isComma)
(WebCore::CSSParser::parseFillPosition)
(WebCore::CSSParser::parseFillRepeat)
(WebCore::CSSParser::parseFillProperty)
(WebCore::CSSParser::parseCubicBezierTimingFunctionValue)
(WebCore::CSSParser::parseAnimationTimingFunction)
(WebCore::CSSParser::parseAnimationProperty)
(WebCore::CSSParser::parseExclusionShapePolygon)
(WebCore::CSSParser::parseDeprecatedGradient)
(WebCore::CSSParser::parseRadialGradient)
(WebCore::CSSParser::parseGradientColorStops)
(WebCore::CSSParser::parseImageSet)
(WebCore::filterInfoForName)
(WebCore::CSSParser::parseCustomFilter)
(WebCore::CSSParser::parseFontFeatureSettings)
- css/CSSWrapShapes.cpp:
(WebCore::CSSWrapShapePolygon::cssText):
LayoutTests:
Updated the tests to match the polygon syntax defined by the draft exclusions
spec - http://dev.w3.org/csswg/css3-exclusions.
- fast/exclusions/parsing-wrap-shape-inside-expected.txt:
- fast/exclusions/parsing-wrap-shape-outside-expected.txt:
- fast/exclusions/script-tests/parsing-wrap-shape-inside.js:
- fast/exclusions/script-tests/parsing-wrap-shape-outside.js:
- 6:14 PM Changeset in webkit [113399] by
-
- 4 edits in trunk/Tools
nrwt is failing to upload test results on the chromium-mac-leopard bots
https://bugs.webkit.org/show_bug.cgi?id=83230
Reviewed by Ojan Vafai.
This should fix things properly; FileUploader() was setting the
socket default timeout value, and apparently that doesn't work
properly with urllib. Also, the class had a bad try/finally
block that was causing the exceptions to be swallowed :(.
- Scripts/webkitpy/common/net/file_uploader.py:
(FileUploader.init):
(FileUploader._upload_data.callback):
(FileUploader):
(FileUploader._upload_data):
- Scripts/webkitpy/common/net/networktransaction.py:
(NetworkTimeout.str):
(NetworkTransaction.run):
- Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
(JSONResultsGeneratorBase.upload_json_files):
- 6:06 PM Changeset in webkit [113398] by
-
- 2 edits in trunk/Source/WebKit2
Crash when switching to a tab with plug-ins
https://bugs.webkit.org/show_bug.cgi?id=83339
<rdar://problem/11183338>
Reviewed by Oliver Hunt.
Add an additional check so we don't try to call into plug-ins that haven't yet been initialized.
- WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::setLayerHostingMode):
- 5:56 PM Changeset in webkit [113397] by
-
- 3 edits2 moves in trunk/LayoutTests
http/tests/media/media-can-load-when-hidden.html doesn't need to be an HTTP test, and is racy
https://bugs.webkit.org/show_bug.cgi?id=83296
Reviewed by Eric Carlson.
- media/media-can-load-when-hidden-expected.txt: Renamed from LayoutTests/http/tests/media/media-can-load-when-hidden-expected.txt.
- media/media-can-load-when-hidden.html: Renamed from LayoutTests/http/tests/media/media-can-load-when-hidden.html.
- platform/chromium/test_expectations.txt:
- platform/efl/Skipped:
- 5:12 PM Changeset in webkit [113396] by
-
- 7 edits in trunk/Source/JavaScriptCore
Speed up the conversion from JSValue to String for bulk operations
https://bugs.webkit.org/show_bug.cgi?id=83243
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-04-05
Reviewed by Geoffrey Garen.
When making operations on primitive types, we loose some time converting
values to JSString in order to extract the string.
This patch speeds up some basic Array operations by avoiding the creation
of intermediary JSString when possible.
For the cases where we need to convert a lot of JSValue in a tight loop,
an inline conversion is used.
- runtime/ArrayPrototype.cpp:
(JSC::arrayProtoFuncToString):
(JSC::arrayProtoFuncToLocaleString):
(JSC::arrayProtoFuncJoin):
(JSC::arrayProtoFuncPush):
(JSC::arrayProtoFuncSort):
- runtime/CommonIdentifiers.h:
- runtime/JSArray.cpp:
(JSC::JSArray::sort):
- runtime/JSString.h:
(JSC::JSValue::toUString):
(JSC):
(JSC::inlineJSValueNotStringtoUString):
(JSC::JSValue::toUStringInline):
- runtime/JSValue.cpp:
(JSC::JSValue::toUStringSlowCase):
(JSC):
- runtime/JSValue.h:
(JSValue):
- 4:54 PM Changeset in webkit [113395] by
-
- 3 edits3 adds in trunk
IndexedDB: Support string.length in keyPaths
https://bugs.webkit.org/show_bug.cgi?id=83221
Source/WebCore:
Special case in the IDB spec - keyPaths can reference the |length| property
of string values. Other instrinsic properties (|length| of Array, etc) are
handled automagically. Relevant section of the updated spec is:
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#key-path-construct
Reviewed by Kentaro Hara.
Test: storage/indexeddb/keypath-intrinsic-properties.html
- bindings/v8/IDBBindingUtilities.cpp:
(WebCore):
LayoutTests:
Reviewed by Kentaro Hara.
- storage/indexeddb/keypath-intrinsic-properties-expected.txt: Added.
- storage/indexeddb/keypath-intrinsic-properties.html: Added.
- storage/indexeddb/resources/keypath-intrinsic-properties.js: Added.
(test.request.onsuccess):
(test):
(openSuccess.request.onsuccess):
(openSuccess):
(testKeyPaths.checkStringLengths.request.onsuccess):
(testKeyPaths.checkStringLengths):
(testKeyPaths.checkArrayLengths.request.onsuccess):
(testKeyPaths.checkArrayLengths):
(testKeyPaths):
- 4:40 PM Changeset in webkit [113394] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed gardening. Remove some tests that are passing consistently.
- platform/chromium/test_expectations.txt:
- 4:28 PM Changeset in webkit [113393] by
-
- 3 edits4 copies in branches/chromium/1084
Merge 113086 - [v8] Fix memory leak in V8LazyEventListener
https://bugs.webkit.org/show_bug.cgi?id=83057
Reviewed by Ojan Vafai.
Source/WebCore:
This also brings the V8 and JSC implementation closer. The timing when we first lookup
the form element is now same in JSC and V8 (but different from Mozilla).
This also clears the strings once the code has been parsed and the function created.
Tests: fast/dom/inline-event-attributes-moved.html
fast/dom/inline-event-attributes-release.html
- bindings/v8/V8LazyEventListener.cpp:
(WebCore::V8LazyEventListener::V8LazyEventListener):
(WebCore::V8LazyEventListener::prepareListenerObject):
- bindings/v8/V8LazyEventListener.h:
(WebCore::V8LazyEventListener::create):
(V8LazyEventListener):
LayoutTests:
- fast/dom/inline-event-attributes-moved-expected.txt: Added.
- fast/dom/inline-event-attributes-moved.html: Added.
- fast/dom/inline-event-attributes-release-expected.txt: Added.
- fast/dom/inline-event-attributes-release.html: Added.
TBR=arv@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10007027
- 4:20 PM Changeset in webkit [113392] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed gardening.
fast/js/cross-global-object-inline-global-var.html is flakey on win debug and
fast/forms/select-style.html is consistently passing.
- platform/chromium/test_expectations.txt:
- 4:08 PM Changeset in webkit [113391] by
-
- 2 edits in trunk/Source/JavaScriptCore
Use QuickSort when sorting primitive values by string representation
https://bugs.webkit.org/show_bug.cgi?id=83312
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-04-05
Reviewed by Gavin Barraclough.
When the value we are sorting are all primitive values, we do not need to
ensure a stable sort as two values with equal string representation are
indistinguishable from JavaScript.
This gives about 16% performance increase when sorting primitive values.
- runtime/JSArray.cpp:
(JSC::JSArray::sort):
- 4:00 PM Changeset in webkit [113390] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] Update the InstrumentedPlatformCanvas after rebasing Skia
https://bugs.webkit.org/show_bug.cgi?id=83314
Patch by Arvid Nilsson <anilsson@rim.com> on 2012-04-05
Reviewed by George Staikos.
RIM PR: 143771
One new virtual method was added to the SkCanvas, to draw a nine piece
image. Override it and mark output as not being a solid color anymore.
- platform/graphics/blackberry/InstrumentedPlatformCanvas.h:
(WebCore::InstrumentedPlatformCanvas::drawBitmapNine):
(InstrumentedPlatformCanvas):
- 3:57 PM WebKitGTK/1.8.x edited by
- (diff)
- 3:51 PM Changeset in webkit [113389] by
-
- 2 edits in trunk/Source/JavaScriptCore
SIGILL in JavaScriptCore on a Geode processor
https://bugs.webkit.org/show_bug.cgi?id=82496
Reviewed by Gavin Barraclough.
Don't attempt to use the DFG when SSE2 is not available.
- dfg/DFGCapabilities.cpp:
(JSC::DFG::canCompileOpcodes):
- 3:42 PM Changeset in webkit [113388] by
-
- 2 edits in trunk/Source/WebKit2
[mac] requestAnimationFrame sometimes stuck when page loads in a background tab
https://bugs.webkit.org/show_bug.cgi?id=76105
Unreviewed build fix for Windows. windowIsVisible() is PLATFORM(MAC) only.
This means a Page might start requestAnimationFrame-based animations
even when it isn't visible. This should only happen when a Page is
opened in the background though. The regular hide and show should still
pause animations.
- WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::resumePainting):
- 3:33 PM Changeset in webkit [113387] by
-
- 79 edits in trunk/Source/WebCore
Make WebCore use jsCast rather than static_cast for casting JSC objects
https://bugs.webkit.org/show_bug.cgi?id=83320
Reviewed by Stephanie Lewis.
Mechanically replace static_cast with jsCast where ever we can.
- WebCore.exp.in:
- bindings/js/DOMWrapperWorld.cpp:
(WebCore::JSStringOwner::finalize):
- bindings/js/DOMWrapperWorld.h:
(WebCore::currentWorld):
- bindings/js/JSArrayBufferCustom.cpp:
(WebCore::JSArrayBufferConstructor::constructJSArrayBuffer):
- bindings/js/JSAudioContextCustom.cpp:
(WebCore::JSAudioContextConstructor::constructJSAudioContext):
- bindings/js/JSCSSRuleListCustom.cpp:
(WebCore::JSCSSRuleListOwner::isReachableFromOpaqueRoots):
- bindings/js/JSCSSStyleDeclarationCustom.cpp:
(WebCore::cssPropertyGetterPixelOrPosPrefixCallback):
(WebCore::cssPropertyGetterCallback):
- bindings/js/JSCSSValueCustom.cpp:
(WebCore::JSCSSValueOwner::isReachableFromOpaqueRoots):
(WebCore::JSCSSValueOwner::finalize):
- bindings/js/JSDOMBinding.cpp:
(WebCore::reportException):
- bindings/js/JSDOMBinding.h:
(WebCore::deprecatedGlobalObjectForPrototype):
(WebCore::getDOMPrototype):
- bindings/js/JSDOMFormDataCustom.cpp:
(WebCore::toHTMLFormElement):
(WebCore::JSDOMFormDataConstructor::constructJSDOMFormData):
- bindings/js/JSDOMMimeTypeArrayCustom.cpp:
(WebCore::JSDOMMimeTypeArray::nameGetter):
- bindings/js/JSDOMPluginArrayCustom.cpp:
(WebCore::JSDOMPluginArray::nameGetter):
- bindings/js/JSDOMPluginCustom.cpp:
(WebCore::JSDOMPlugin::nameGetter):
- bindings/js/JSDOMStringMapCustom.cpp:
(WebCore::JSDOMStringMap::nameGetter):
- bindings/js/JSDOMWindowBase.cpp:
(WebCore::toJSDOMWindow):
- bindings/js/JSDOMWindowCustom.cpp:
(WebCore::childFrameGetter):
(WebCore::indexGetter):
(WebCore::namedItemGetter):
(WebCore::toDOMWindow):
- bindings/js/JSDOMWindowCustom.h:
(WebCore::asJSDOMWindow):
- bindings/js/JSDOMWindowShell.h:
(WebCore::JSDOMWindowShell::window):
- bindings/js/JSDOMWrapper.h:
(WebCore::JSDOMWrapper::globalObject):
- bindings/js/JSDataViewCustom.cpp:
(WebCore::JSDataViewConstructor::constructJSDataView):
- bindings/js/JSEventListener.cpp:
(WebCore::JSEventListener::handleEvent):
- bindings/js/JSEventTarget.cpp:
(WebCore):
(WebCore::toEventTarget):
- bindings/js/JSFloat32ArrayCustom.cpp:
(WebCore::JSFloat32ArrayConstructor::constructJSFloat32Array):
- bindings/js/JSFloat64ArrayCustom.cpp:
(WebCore::JSFloat64ArrayConstructor::constructJSFloat64Array):
- bindings/js/JSGeolocationCustom.cpp:
(WebCore::JSGeolocation::getCurrentPosition):
(WebCore::JSGeolocation::watchPosition):
- bindings/js/JSHTMLAllCollectionCustom.cpp:
(WebCore::callHTMLAllCollection):
(WebCore::JSHTMLAllCollection::nameGetter):
- bindings/js/JSHTMLCollectionCustom.cpp:
(WebCore::JSHTMLCollection::nameGetter):
- bindings/js/JSHTMLDocumentCustom.cpp:
(WebCore::JSHTMLDocument::nameGetter):
- bindings/js/JSHTMLFormElementCustom.cpp:
(WebCore::JSHTMLFormElement::nameGetter):
- bindings/js/JSHTMLFrameSetElementCustom.cpp:
(WebCore::JSHTMLFrameSetElement::nameGetter):
- bindings/js/JSHTMLOptionsCollectionCustom.cpp:
(WebCore::JSHTMLOptionsCollection::remove):
- bindings/js/JSImageConstructor.cpp:
(WebCore::constructImage):
- bindings/js/JSInjectedScriptManager.cpp:
(WebCore::InjectedScriptManager::createInjectedScript):
(WebCore::InjectedScriptManager::discardInjectedScript):
(WebCore::InjectedScriptManager::injectedScriptFor):
- bindings/js/JSInt16ArrayCustom.cpp:
(WebCore::JSInt16ArrayConstructor::constructJSInt16Array):
- bindings/js/JSInt32ArrayCustom.cpp:
(WebCore::JSInt32ArrayConstructor::constructJSInt32Array):
- bindings/js/JSInt8ArrayCustom.cpp:
(WebCore::JSInt8ArrayConstructor::constructJSInt8Array):
- bindings/js/JSLazyEventListener.cpp:
(WebCore::JSLazyEventListener::initializeJSFunction):
- bindings/js/JSNamedNodeMapCustom.cpp:
(WebCore::JSNamedNodeMap::nameGetter):
- bindings/js/JSNodeCustom.cpp:
(WebCore::JSNodeOwner::isReachableFromOpaqueRoots):
(WebCore::JSNodeOwner::finalize):
- bindings/js/JSNodeCustom.h:
(WebCore::toJS):
- bindings/js/JSNodeFilterCustom.cpp:
(WebCore::toNodeFilter):
- bindings/js/JSNodeListCustom.cpp:
(WebCore::JSNodeListOwner::isReachableFromOpaqueRoots):
(WebCore::JSNodeList::nameGetter):
- bindings/js/JSPluginElementFunctions.cpp:
(WebCore::runtimeObjectPropertyGetter):
(WebCore::callPlugin):
- bindings/js/JSPopStateEventCustom.cpp:
(WebCore::JSPopStateEvent::state):
- bindings/js/JSSQLTransactionCustom.cpp:
(WebCore::JSSQLTransaction::executeSql):
- bindings/js/JSSharedWorkerCustom.cpp:
(WebCore::JSSharedWorkerConstructor::constructJSSharedWorker):
- bindings/js/JSStorageCustom.cpp:
(WebCore::JSStorage::nameGetter):
- bindings/js/JSStyleSheetListCustom.cpp:
(WebCore::JSStyleSheetList::nameGetter):
- bindings/js/JSTextTrackCueCustom.cpp:
(WebCore::JSTextTrackCueOwner::isReachableFromOpaqueRoots):
- bindings/js/JSTextTrackCustom.cpp:
(WebCore::JSTextTrackOwner::isReachableFromOpaqueRoots):
- bindings/js/JSTextTrackListCustom.cpp:
(WebCore::JSTextTrackListOwner::isReachableFromOpaqueRoots):
- bindings/js/JSTrackCustom.cpp:
(WebCore::toTrack):
- bindings/js/JSUint16ArrayCustom.cpp:
(WebCore::JSUint16ArrayConstructor::constructJSUint16Array):
- bindings/js/JSUint32ArrayCustom.cpp:
(WebCore::JSUint32ArrayConstructor::constructJSUint32Array):
- bindings/js/JSUint8ArrayCustom.cpp:
(WebCore::JSUint8ArrayConstructor::constructJSUint8Array):
- bindings/js/JSUint8ClampedArrayCustom.cpp:
(WebCore::JSUint8ClampedArrayConstructor::constructJSUint8ClampedArray):
- bindings/js/JSWebKitMutationObserverCustom.cpp:
(WebCore::JSWebKitMutationObserverConstructor::constructJSWebKitMutationObserver):
- bindings/js/JSWebKitPointCustom.cpp:
(WebCore::JSWebKitPointConstructor::constructJSWebKitPoint):
- bindings/js/JSWebSocketCustom.cpp:
(WebCore::JSWebSocketConstructor::constructJSWebSocket):
- bindings/js/JSWorkerContextBase.cpp:
(WebCore::toJSDedicatedWorkerContext):
(WebCore::toJSSharedWorkerContext):
- bindings/js/JSWorkerCustom.cpp:
(WebCore::JSWorkerConstructor::constructJSWorker):
- bindings/js/JSXSLTProcessorCustom.cpp:
(WebCore::JSXSLTProcessor::importStylesheet):
(WebCore::JSXSLTProcessor::transformToFragment):
(WebCore::JSXSLTProcessor::transformToDocument):
- bindings/js/ScriptCallStackFactory.cpp:
(WebCore::createScriptCallStackForInspector):
- bindings/js/ScriptControllerMac.mm:
(WebCore::updateStyleIfNeededForBindings):
- bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::dispatchDidPause):
- bindings/js/ScriptObject.cpp:
(WebCore::ScriptGlobalObject::set):
- bindings/js/ScriptState.cpp:
(WebCore::domWindowFromScriptState):
(WebCore::scriptExecutionContextFromScriptState):
- bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::fillTransferMap):
(WebCore::CloneSerializer::dumpArrayBufferView):
(WebCore::CloneDeserializer::getJSValue):
(WebCore::CloneDeserializer::readTerminal):
- bindings/objc/WebScriptObject.mm:
(-[WebScriptObject _isSafeScript]):
(+[WebScriptObject _convertValueToObjcValue:originRootObject:rootObject:]):
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateGetOwnPropertySlotBody):
(GenerateGetOwnPropertyDescriptorBody):
(GenerateImplementation):
(GenerateCallWith):
(NativeToJSValue):
(GenerateConstructorDefinition):
- bridge/jni/jni_jsobject.h:
- bridge/jni/jni_jsobject.mm:
(JavaJSObject::convertJObjectToValue):
- bridge/jni/jsc/JavaInstanceJSC.cpp:
(JavaInstance::invokeMethod):
- bridge/objc/objc_utility.mm:
(JSC::Bindings::convertValueToObjcValue):
- bridge/runtime_method.cpp:
(JSC::callRuntimeMethod):
- bridge/runtime_object.cpp:
(JSC::Bindings::callRuntimeConstructor):
- testing/js/WebCoreTestSupport.cpp:
(WebCoreTestSupport::injectInternalsObject):
(WebCoreTestSupport::resetInternalsObject):
- 3:21 PM WebKitGTK/1.8.x edited by
- (diff)
- 3:18 PM Changeset in webkit [113386] by
-
- 5 edits5 adds in trunk
[GTK] Scrolling some iframes that are partially out of the viewport leads to repaint errors
https://bugs.webkit.org/show_bug.cgi?id=83309
Patch by Martin Robinson <mrobinson@igalia.com> on 2012-04-05
Reviewed by Gustavo Noronha Silva.
Source/WebCore:
Test: platform/gtk/fast/frames/scrolling-iframe-out-of-viewport.html
The X11 backing store was not properly trimming the scroll region when it
was only a portion of the screen. This was hidden by subsequent repaints.
- platform/gtk/GtkWidgetBackingStoreX11.cpp:
(WebCore::WidgetBackingStore::scroll): Fix the calculation of the scrolling region.
Source/WebKit/gtk:
Instead of only updating scrollRect - preservedRegion, update
scrollRect - (preservedRegion - offscreenPreservedRegion). This ensures that
when part of the scroll rect is moved onscreen from offscreen that part is
queued for a redraw.
- WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::scroll): Properly calculate the area to repaint.
LayoutTests:
Added a pixel test for this issue.
- platform/gtk/fast/frames/resources/scrolling-iframe-out-of-viewport-interior.html: Added.
- platform/gtk/fast/frames/scrolling-iframe-out-of-viewport-expected.png: Added.
- platform/gtk/fast/frames/scrolling-iframe-out-of-viewport-expected.txt: Added.
- platform/gtk/fast/frames/scrolling-iframe-out-of-viewport.html: Added.
- 3:07 PM Changeset in webkit [113385] by
-
- 19 edits in trunk
Unreviewed, rolling out r113299.
http://trac.webkit.org/changeset/113299
https://bugs.webkit.org/show_bug.cgi?id=83297
The patch broke 11 tests on Lion. (Requested by jonlee on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-05
Source/WebCore:
- xml/parser/XMLDocumentParser.h:
(XMLDocumentParser):
- xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::XMLDocumentParser):
(WebCore::XMLDocumentParser::startElementNs):
(WebCore::XMLDocumentParser::endElementNs):
(WebCore::getEntityHandler):
(WebCore::XMLDocumentParser::initializeParserContext):
LayoutTests:
- platform/mac-lion/Skipped:
- platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
- platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt:
- platform/mac/svg/custom/preserve-aspect-ratio-syntax-expected.png:
- platform/mac/svg/custom/preserve-aspect-ratio-syntax-expected.txt:
- platform/mac/svg/custom/viewbox-syntax-expected.png:
- platform/mac/svg/custom/viewbox-syntax-expected.txt:
- platform/mac/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png:
- platform/mac/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
- platform/mac/svg/zoom/text/zoom-coords-viewattr-01-b-expected.png:
- platform/mac/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt:
- 3:01 PM Changeset in webkit [113384] by
-
- 2 edits in trunk/Source/WebCore
[Chromium] Correct misleading trace event names in Canvas2DLayerChromium
https://bugs.webkit.org/show_bug.cgi?id=83310
Patch by Justin Novosad <junov@chromium.org> on 2012-04-05
Reviewed by Adrienne Walker.
- platform/graphics/chromium/Canvas2DLayerChromium.cpp:
(WebCore::Canvas2DLayerChromium::paintContentsIfDirty):
- 2:51 PM Changeset in webkit [113383] by
-
- 1 edit in branches/subpixellayout/Source/WebCore/rendering/RenderInputSpeech.cpp
Cleanyp RenderInputSpeech on branch.
- 2:32 PM Changeset in webkit [113382] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed, fast/js/keywords-and-reserved_words.html is
passing again after r113352.
- platform/chromium/test_expectations.txt:
- 2:29 PM Changeset in webkit [113381] by
-
- 9 edits in trunk
[mac] requestAnimationFrame sometimes stuck when page loads in a background tab https://bugs.webkit.org/show_bug.cgi?id=76105
Reviewed by Simon Fraser.
Source/WebCore:
Fix three issues with requestAnimationFrame:
- It's possible for the call to rAF to come to the document before there is a page associated. Added a guard for this.
- A page may try to suspend the scripted animations before the ScriptedAnimationController exists, in which case we need to suspend it immediately after it is created. Do this by keeping track of the state in Page. Otherwise rAF would be busy looping on hidden pages until they are brought to the front and hidden again.
- A page created in the background (from WebKit1) does not get informed it is not visible. This can mean that resume() is called more times than suspend() and we get into a state where the number of suspensions becomes -1, and thus fails truthiness tests. Clamp it to values >= 0.
No new tests, since this is not automatically testable. The most reliable test
is to open a page with rAF in a background tab within Safari.
- dom/Document.cpp:
(WebCore::Document::webkitRequestAnimationFrame):
- dom/ScriptedAnimationController.cpp:
(WebCore::ScriptedAnimationController::resume):
- page/Page.cpp:
(WebCore::Page::Page):
(WebCore::Page::suspendScriptedAnimations):
(WebCore::Page::resumeScriptedAnimations):
- page/Page.h:
(WebCore::Page::scriptedAnimationsSuspended):
(Page):
Source/WebKit2:
When we are resuming painting only start the scripted animations
if we're a visible window. This can happen when tabs are opened
in the background.
- WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::resumePainting):
LayoutTests:
Add fast/animation/request-animation-frame-during-modal.html
to the skipped list. This patch will ensure that non-visible windows
do not get a requestAnimationFrame callback, so the test will timeout.
See https://bugs.webkit.org/show_bug.cgi?id=83239 to re-enable.
- platform/mac/Skipped:
- 2:18 PM Changeset in webkit [113380] by
-
- 1 edit1 copy1 delete in trunk/LayoutTests
[chromium] Unreviewed, moving linux result from 32-bit directory to 64 and 32 bit directory.
- platform/chromium-linux/svg/clip-path/clip-path-tspan-and-stroke-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/svg/clip-path/clip-path-tspan-and-stroke-expected.png.
- 2:15 PM Changeset in webkit [113379] by
-
- 2 edits in trunk/Source/WebCore
<rdar://problem/9359029> and https://bugs.webkit.org/show_bug.cgi?id=83311 Crashes in WebProcess at WebCore::HistoryController::recursiveSetProvisionalItem when restoring previous session
Reviewed by Sam Weinig.
It's possible to hit a race condition between the UIProcess and the WebProcess where the UIProcess records for a
page have been cleared out but the WebProcess is still trying to perform a history navigation within that page.
In this situation HistoryController code that expects there to always be a current history item in the back/forward
controller is wrong.
No new tests. (The race conditions involved have proven making a test impractical)
- loader/HistoryController.cpp:
(WebCore::HistoryController::recursiveSetProvisionalItem): Don't ASSERT the fromItem. We now know there might not be one.
(WebCore::HistoryController::recursiveGoToItem): Ditto
(WebCore::HistoryController::itemsAreClones): Always return false if either item is null, as a null item and a non-null
item cannot possible be clones of each other.
- 2:11 PM Changeset in webkit [113378] by
-
- 6 edits4 adds in trunk
Crash in MutationObservers due to an invalid HashSet iterator
https://bugs.webkit.org/show_bug.cgi?id=83304
Reviewed by Ojan Vafai.
Source/WebCore:
If the observed node has been GCed when we clear transient observers
from it, the HashSet iterator in WebKitMutationObserver::deliver would
be invalidated. This patch fixes that behavior by copying the relevant
registrations into a seperate vector first and operating on the copy.
This patch also fixes a bug: transient observers should be cleared
after every microtask, not just when delivering.
Tests: fast/mutation/clear-transient-without-delivery.html
fast/mutation/transient-gc-crash.html
- dom/MutationObserverRegistration.cpp:
(WebCore::MutationObserverRegistration::observedSubtreeNodeWillDetach):
Notify the observer that it has a transient registration so it can be properly cleared.
- dom/MutationObserverRegistration.h:
(WebCore::MutationObserverRegistration::hasTransientRegistrations):
Add an accessor for use when deliver() creates its vector of registrations.
- dom/WebKitMutationObserver.cpp:
(WebCore::WebKitMutationObserver::setHasTransientRegistration): Add this to the active observer set
to allow transient registrations to be cleared appropriately.
(WebCore::WebKitMutationObserver::deliver): Avoid modifying m_registrations while iterating over it.
Clear registrations before checking for a lack of records to deliver.
- dom/WebKitMutationObserver.h:
LayoutTests:
- fast/mutation/clear-transient-without-delivery-expected.txt: Added.
- fast/mutation/clear-transient-without-delivery.html: Added.
- fast/mutation/transient-gc-crash-expected.txt: Added.
- fast/mutation/transient-gc-crash.html: Added.
- 2:04 PM Changeset in webkit [113377] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed, update expectation for
media/nodesFromRect-shadowContent.html since it moved in r113371.
- platform/chromium/test_expectations.txt:
- 1:53 PM Changeset in webkit [113376] by
-
- 2 edits in trunk/LayoutTests
Added takeRecords to WebKitMutationObserver properties list, to fix mac.
- platform/mac/fast/dom/Window/window-properties-expected.txt:
- 1:52 PM Changeset in webkit [113375] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, fix lint errors in GTK+ test_expectations.txt file.
- platform/gtk/test_expectations.txt:
http/tests/security/cross-origin-xsl-redirect-BLOCKED.html had 2 entries
and css3/flexbox/inline-flexbox.html doesn't exist anymore.
- 1:45 PM Changeset in webkit [113374] by
-
- 5 edits in trunk/Source/WebCore
Rebaseline binding tests after r113272.
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::V8TestInterface::constructorCallback):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructorConstructorCallback):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::V8TestObj::constructorCallback):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::V8TestSerializedScriptValueInterface::constructorCallback):
- 1:44 PM Changeset in webkit [113373] by
-
- 2 edits in trunk/Source/WebCore
[chromium] Drawing an accelerated canvas onto itself is slow.
https://bugs.webkit.org/show_bug.cgi?id=83295
Fixed by using a GPU-side deepCopy() in skia, so we don't trigger a
readback and re-upload.
Reviewed by James Robinson.
Correctness is covered by existing tests. Performance is covered
by the test case attached to the bug.
- platform/graphics/skia/ImageSkia.cpp:
(WebCore::BitmapImageSingleFrameSkia::create):
- 1:35 PM Changeset in webkit [113372] by
-
- 8 edits in trunk/Source
[chromium] Record the number of tiles paint-culled instead of the incorrect number of pixels
https://bugs.webkit.org/show_bug.cgi?id=82423
Patch by Dana Jansens <danakj@chromium.org> on 2012-04-05
Reviewed by Adrienne Walker.
Source/WebCore:
We currently attempt to record the number of pixels we save from uploading,
however the number is wrong in two ways.
1) An early-out if everything is culled results in nothing being reported.
2) With threaded-compositor, the number of pixels uploaded in one tile can be
changed by culling in another tile, making the number far too difficult to
compute to be worthwhile. If a tile was going to be partial-updated, but is
culled, now a new tile gets to be partial-updated instead, which affects the
numbers.
This patch breaks up CCOverdrawMetrics to make the methods/variables less
overloaded and more clear. This way they don't have to mirror each other
so closely on paint/draw sides.
Then we record the number of tiles for which we prevented upload via paint
culling. This will still over-report (a dirty culled tile stays dirty and
will be culled again each commit), but it seems more reasonable as it
clearly does not try to mimic a performance metric in the way that a pixel
count does, but still gives a rough estimation of the amount of paint
culling going on in a page.
Covered by existing tests, modified where needed.
- platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::prepareToUpdateTiles):
- platform/graphics/chromium/cc/CCOverdrawMetrics.cpp:
(WebCore::CCOverdrawMetrics::CCOverdrawMetrics):
(WebCore::CCOverdrawMetrics::didCullTileForUpload):
(WebCore):
(WebCore::CCOverdrawMetrics::didUpload):
(WebCore::CCOverdrawMetrics::didCullForDrawing):
(WebCore::CCOverdrawMetrics::recordMetrics):
(WebCore::CCOverdrawMetrics::recordMetricsInternal):
- platform/graphics/chromium/cc/CCOverdrawMetrics.h:
(CCOverdrawMetrics):
(WebCore::CCOverdrawMetrics::pixelsCulledForDrawing):
(WebCore::CCOverdrawMetrics::pixelsUploadedOpaque):
(WebCore::CCOverdrawMetrics::pixelsUploadedTranslucent):
(WebCore::CCOverdrawMetrics::tilesCulledForUpload):
- platform/graphics/chromium/cc/CCQuadCuller.cpp:
(WebCore::CCQuadCuller::append):
Source/WebKit/chromium:
- tests/CCQuadCullerTest.cpp:
(WebCore::TEST):
- tests/TiledLayerChromiumTest.cpp:
(WTF::TEST):
- 1:34 PM Changeset in webkit [113371] by
-
- 2 moves in trunk/LayoutTests/media
2012-04-05 Antonio Gomes <agomes@rim.com>
Move nodesFromRect-shadowContent test from fast/dom to media, where the
helper .js files are able to work properly.
https://bugs.webkit.org/show_bug.cgi?id=80847 (PART III)
Reviewed by Eric Carlson.
- media/nodesFromRect-shadowContent-expected.txt: Renamed from LayoutTests/fast/dom/nodesFromRect-shadowContent-expected.txt.
- media/nodesFromRect-shadowContent.html: Renamed from LayoutTests/fast/dom/nodesFromRect-shadowContent.html.
- 1:32 PM Changeset in webkit [113370] by
-
- 3 edits in trunk/LayoutTests
[chromium] Unreviewed, update baselines for tests with 'let' after r113352.
- platform/chromium/fast/js/reserved-words-as-property-expected.txt:
- platform/chromium/fast/js/reserved-words-strict-expected.txt:
- 1:31 PM Changeset in webkit [113369] by
-
- 10 edits2 adds in trunk/Source/WebCore
Provide a separate editing command to cleanup of redundant markup.
https://bugs.webkit.org/show_bug.cgi?id=83240
Reviewed by Ryosuke Niwa.
This patch moves the logic originally performed by the private
method removeRedundantMarkup inside ReplaceSelectionCommand into
a separate command. This way the markup cleanup can be exposed as
a separate command, independent from ReplaceSelectionCommand.
No new tests. No change in functionality.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
Added new file to project files.
- editing/EditorAllInOne.cpp: Added SimplifyMarkupCommand.
- editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplaceSelectionCommand::doApply): Now uses SimplifyMarkupCommand.
- editing/ReplaceSelectionCommand.h:
(ReplaceSelectionCommand): Removed removeRedundantMarkup.
- editing/SimplifyMarkupCommand.cpp: Added.
(WebCore::SimplifyMarkupCommand::SimplifyMarkupCommand):
(WebCore::SimplifyMarkupCommand::doApply):
- editing/SimplifyMarkupCommand.h: Added.
(WebCore::SimplifyMarkupCommand::create):
- 1:28 PM Changeset in webkit [113368] by
-
- 18 edits1 add4 deletes in trunk/LayoutTests
Rebaseline text results
https://bugs.webkit.org/show_bug.cgi?id=74928
Unreviewed text expectations update.
Patch by Philip Rogers <pdr@google.com> on 2012-04-05
- platform/chromium-mac-leopard/svg/text/textPathBoundsBug-expected.png: Removed.
- platform/chromium-mac-leopard/svg/text/textPathBoundsBug-expected.txt: Removed.
- platform/chromium-mac-snowleopard/svg/text/textPathBoundsBug-expected.txt: Removed.
- platform/chromium-win-xp/svg/zoom/page: Removed.
- platform/chromium-win/fast/repaint/reflection-redraw-expected.png:
- platform/chromium-win/printing/width-overflow-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-60-t-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-62-t-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/text-align-04-b-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/text-align-06-b-expected.png:
- platform/chromium-win/svg/as-background-image/svg-as-background-4-expected.png:
- platform/chromium-win/svg/as-image/animated-svg-as-image-expected.png:
- platform/chromium-win/svg/as-image/animated-svg-as-image-same-image-expected.png:
- platform/chromium-win/svg/carto.net/textbox-expected.png:
- platform/chromium-win/svg/css/text-shadow-multiple-expected.png:
- platform/chromium-win/svg/custom/js-late-clipPath-creation-expected.png:
- platform/chromium-win/svg/text/scaling-font-with-geometric-precision-expected.png:
- platform/chromium-win/svg/text/text-align-05-b-expected.png:
- platform/chromium-win/svg/text/textPathBoundsBug-expected.png:
- platform/chromium/test_expectations.txt:
- platform/efl/svg/as-background-image/svg-as-background-4-expected.txt: Removed.
- svg/as-background-image/svg-as-background-4-expected.txt: Added.
- 1:26 PM Changeset in webkit [113367] by
-
- 3 edits in branches/subpixellayout/Source/WebCore
Remove unused ValueToString function on branch.
- 1:24 PM Changeset in webkit [113366] by
-
- 2 edits4 adds in trunk/LayoutTests
[Chromium] Layout test failure svg/clip-path/clip-path-tspan-and-stroke.xhtml
https://bugs.webkit.org/show_bug.cgi?id=83308
Unreviewed Chromium test expectations update.
Also removing some expectations that are no longer needed.
- platform/chromium-linux-x86/svg/clip-path: Added.
- platform/chromium-linux-x86/svg/clip-path/clip-path-tspan-and-stroke-expected.png: Added.
- platform/chromium-win/svg/clip-path/clip-path-tspan-and-stroke-expected.png: Added.
- platform/chromium-win/svg/clip-path/clip-path-tspan-and-stroke-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 1:21 PM Changeset in webkit [113365] by
-
- 2 edits in trunk/Source/JavaScriptCore
Fix 32-bit build.
- 1:14 PM Changeset in webkit [113364] by
-
- 7 edits2 adds in trunk/Source
[chromium] Need to clip to homogeneous w=0 plane when applying transforms.
https://bugs.webkit.org/show_bug.cgi?id=80806
Reviewed by Adrienne Walker.
Source/WebCore:
Unit tests added to CCLayerTreeHostCommon. This change is also
covered by other existing unit tests and layout tests.
WebCore TransformationMatrix mapRect / mapQuad / projectQuad do
not properly handle the case where a surface is oriented partially
behind the camera, with a perspective projection. In this case,
projected points may appear to be valid in cartesian coordinates,
but they are indeed not valid, and this problem can only be
detected in homogeneous coordinates after applying the transform,
before the divide-by-w step.
The correct solution is to clip geometry where w < 0. This patch
makes this change local to chromium only, to fix rendering bugs
that arise from this problem. The primary fix is to correct
calculateVisibleLayerRect(), but other ancillary locations are
also fixed, in particular, the antialiasing code path is simply
skipped when this case arises.
Eventually this math needs to be merged into TransformationMatrix,
to fix hit-testing bugs that occur in both Chromium and Safari.
- WebCore.gypi:
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::findTileProgramUniforms):
(WebCore::LayerRendererChromium::drawTileQuad):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::CCLayerTreeHostCommon::calculateVisibleRect):
(WebCore::isScaleOrTranslation):
(WebCore::calculateDrawTransformsAndVisibilityInternal):
- platform/graphics/chromium/cc/CCMathUtil.cpp: Added.
(WebCore):
(WebCore::HomogeneousCoordinate::HomogeneousCoordinate):
(HomogeneousCoordinate):
(WebCore::HomogeneousCoordinate::shouldBeClipped):
(WebCore::HomogeneousCoordinate::cartesianPoint2d):
(WebCore::projectPoint):
(WebCore::mapPoint):
(WebCore::computeClippedPointForEdge):
(WebCore::expandBoundsToIncludePoint):
(WebCore::computeEnclosingRectOfClippedQuad):
(WebCore::computeEnclosingRect):
(WebCore::CCMathUtil::mapClippedRect):
(WebCore::CCMathUtil::projectClippedRect):
(WebCore::CCMathUtil::mapQuad):
(WebCore::CCMathUtil::projectQuad):
- platform/graphics/chromium/cc/CCMathUtil.h: Added.
(WebCore):
(CCMathUtil):
- platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::computeUnoccludedContentRect):
Source/WebKit/chromium:
- tests/CCLayerTreeHostCommonTest.cpp:
(WebKitTests::TEST):
(WebKitTests):
- 1:09 PM Changeset in webkit [113363] by
-
- 28 edits in trunk/Source/JavaScriptCore
Replace static_cast with jsCast when casting JSCell subclasses in JSC
https://bugs.webkit.org/show_bug.cgi?id=83307
Reviewed by Gavin Barraclough.
Replace all usage of static_cast<JSCell subtype*> with jsCast<> in JavaScriptCore.
This results in assertions when unsafe casts are performed, but simply leaves
a static_cast<> in release builds.
- API/APICast.h:
(toJS):
- API/JSCallbackConstructor.cpp:
(JSC::constructJSCallback):
- API/JSCallbackFunction.cpp:
(JSC::JSCallbackFunction::call):
- API/JSCallbackObjectFunctions.h:
(JSC::::asCallbackObject):
(JSC::::finishCreation):
(JSC::::construct):
(JSC::::call):
- API/JSObjectRef.cpp:
(JSObjectGetPrivate):
(JSObjectSetPrivate):
(JSObjectGetPrivateProperty):
(JSObjectSetPrivateProperty):
(JSObjectDeletePrivateProperty):
- API/JSValueRef.cpp:
(JSValueIsObjectOfClass):
- API/JSWeakObjectMapRefPrivate.cpp:
- bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::resolve):
(JSC::BytecodeGenerator::resolveConstDecl):
- debugger/DebuggerActivation.cpp:
(JSC::DebuggerActivation::finishCreation):
- dfg/DFGOperations.cpp:
- interpreter/Interpreter.cpp:
(JSC::Interpreter::execute):
(JSC::Interpreter::privateExecute):
- jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
- runtime/Executable.h:
(JSC::isHostFunction):
- runtime/JSActivation.h:
(JSC::asActivation):
- runtime/JSArray.cpp:
(JSC::JSArray::defineOwnProperty):
- runtime/JSArray.h:
(JSC::asArray):
- runtime/JSBoundFunction.cpp:
(JSC::boundFunctionCall):
(JSC::boundFunctionConstruct):
- runtime/JSByteArray.h:
(JSC::asByteArray):
- runtime/JSCell.cpp:
(JSC::JSCell::toObject):
- runtime/JSCell.h:
(JSC::jsCast):
- runtime/JSGlobalObject.h:
(JSC::asGlobalObject):
- runtime/JSGlobalObjectFunctions.cpp:
(JSC::globalFuncEval):
- runtime/JSObject.cpp:
(JSC::JSObject::setPrototypeWithCycleCheck):
(JSC::JSObject::allowsAccessFrom):
(JSC::JSObject::toThisObject):
(JSC::JSObject::unwrappedObject):
- runtime/JSObject.h:
(JSC::asObject):
- runtime/JSPropertyNameIterator.h:
(JSC::Register::propertyNameIterator):
- runtime/JSString.h:
(JSC::asString):
(JSC::JSValue::toString):
- runtime/StringPrototype.cpp:
(JSC::stringProtoFuncSubstr):
- 1:03 PM Changeset in webkit [113362] by
-
- 6 edits1 add3 deletes in trunk/LayoutTests
[Chromium] Layout Test svg/as-object/nested-embedded-svg-size-changes.html times out
https://bugs.webkit.org/show_bug.cgi?id=77183
Unreviewed Chromium test expectations update.
Somehow this test slipped thorugh the crack of rebaselining.
- platform/chromium-linux-x86/svg/as-object/nested-embedded-svg-size-changes-expected.png: Removed.
- platform/chromium-linux/svg/as-object/nested-embedded-svg-size-changes-expected.png:
- platform/chromium-mac-leopard/svg/as-object/nested-embedded-svg-size-changes-expected.png:
- platform/chromium-mac-snowleopard/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
- platform/chromium-mac/svg/as-object/nested-embedded-svg-size-changes-expected.png: Modified property svn:mime-type.
- platform/chromium-win-vista/svg/as-object/nested-embedded-svg-size-changes-expected.png: Removed.
- platform/chromium-win-xp/svg/as-object/nested-embedded-svg-size-changes-expected.png: Removed.
- platform/chromium-win/svg/as-object/nested-embedded-svg-size-changes-expected.png:
- platform/chromium/test_expectations.txt:
- 1:01 PM Changeset in webkit [113361] by
-
- 18 edits in trunk
[Qt] Correct <wtf/*.h> include paths.
https://bugs.webkit.org/show_bug.cgi?id=83270
Reviewed by Eric Seidel.
Modify the #include declerations so that the
wtf types are included using the full path.
Source/WebCore:
- platform/graphics/TiledBackingStoreBackend.h:
Source/WebKit/qt:
- Api/qwebpage.cpp:
- WebCoreSupport/ContextMenuClientQt.h:
- WebCoreSupport/EditorClientQt.h:
- WebCoreSupport/FrameLoaderClientQt.h:
- WebCoreSupport/InspectorServerQt.cpp:
Source/WebKit2:
- Shared/qt/QtNetworkReplyData.cpp:
- UIProcess/WebLayerTreeRenderer.cpp:
- UIProcess/qt/LayerBackingStore.h:
- UIProcess/qt/QtViewportInteractionEngine.cpp:
- UIProcess/qt/QtViewportInteractionEngine.h:
- UIProcess/qt/QtWebPageSGNode.h:
- WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
Tools:
- WebKitTestRunner/qt/TestInvocationQt.cpp:
- 12:49 PM Changeset in webkit [113360] by
-
- 3 edits1 delete in trunk/LayoutTests
Switch svg/custom tests to repaint harness
https://bugs.webkit.org/show_bug.cgi?id=78115
Unreviewed Chromium expectations update.
Somehow this file was not correctly rebaselined when the original change was made.
- platform/chromium-linux/svg/custom/repaint-on-constant-size-change-expected.png: Removed.
- platform/chromium-win/svg/custom/repaint-on-constant-size-change-expected.png: Modified property svn:mime-type.
- platform/chromium/test_expectations.txt:
- 12:41 PM Changeset in webkit [113359] by
-
- 729 edits124 copies10 deletes in branches/subpixellayout
Merge trunk changes up until 113337 into subpixel branch.
- 12:38 PM Changeset in webkit [113358] by
-
- 2 edits in trunk/Source/WebCore
2012-04-05 Antonio Gomes <agomes@rim.com>
Unreviewed bit left over from rebasing the origin patch before landing it.
Complementary to r113329.
- rendering/HitTestResult.cpp: (WebCore::HitTestResult::operator=):
- 12:32 PM Changeset in webkit [113357] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] Cleanup test, redundant code in CCSchedulerTest.NoBeginFrameWhenDrawFails
https://bugs.webkit.org/show_bug.cgi?id=83300
Patch by Dana Jansens <danakj@chromium.org> on 2012-04-05
Reviewed by Adrienne Walker.
- tests/CCSchedulerTest.cpp:
(WebKitTests::TEST):
- 12:32 PM Changeset in webkit [113356] by
-
- 4 edits in trunk
perf-o-matic should include unit in runs JSON responses
https://bugs.webkit.org/show_bug.cgi?id=83294
Reviewed by Tony Chang.
This is a follow up to r112829. Report the unit in /api/test/runs so that the frontend can show it.
Fixed a bug in Test.update_or_insert that it didn't store the unit when it first created the Test object.
Also increment perf-o-matic's version to 18.
- Websites/webkit-perf.appspot.com/app.yaml: Incremented the version.
- Websites/webkit-perf.appspot.com/models.py:
(Test.update_or_insert.execute): Store unit when creating a test.
(Runs.to_json): Include unit.
- Websites/webkit-perf.appspot.com/models_unittest.py: Added tests.
(TestModelTests.test_update_or_insert_with_unit):
(RunsTest.test_to_json_without_results):
(RunsTest.test_to_json_with_results):
(RunsTest.test_to_json_with_unit):
- 12:30 PM Changeset in webkit [113355] by
-
- 8 edits2 adds in trunk/Source/JavaScriptCore
Make something faster than JSStringBuilder for joining an array of JSValue
https://bugs.webkit.org/show_bug.cgi?id=83180
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-04-05
Reviewed by Geoffrey Garen.
This patch add the class JSStringJoiner optimized for join() operations.
This class makes stricter constraints than JSStringBuilder in order avoid
memory allocations.
In the best case, the class allocate memory only twice:
-Allocate an array to keep a list of UString to join.
-Allocate the final string.
We also avoid the conversion from 8bits strings to 16bits strings since
they are costly and unlikly to help for subsequent calls.
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.gypi:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- Target.pri:
- runtime/ArrayPrototype.cpp:
(JSC::arrayProtoFuncToLocaleString):
(JSC::arrayProtoFuncJoin):
- runtime/JSStringJoiner.cpp: Added.
(JSC):
(JSC::appendStringToData):
(JSC::joinStrings):
(JSC::JSStringJoiner::build):
- runtime/JSStringJoiner.h: Added.
(JSC):
(JSStringJoiner):
(JSC::JSStringJoiner::JSStringJoiner):
(JSC::JSStringJoiner::append):
- 12:25 PM Changeset in webkit [113354] by
-
- 2 edits in trunk/LayoutTests
[chromium] Unreviewed, widen the suppression for
http/tests/multipart/policy-ignore-crash.php-- it is flakey on win debug too.
- platform/chromium/test_expectations.txt:
- 12:23 PM Changeset in webkit [113353] by
-
- 4 edits2 adds3 deletes in trunk/LayoutTests
[Chromium] LayoutTest failures/flaky for svg/as-background-image
https://bugs.webkit.org/show_bug.cgi?id=83303
Unreviewed Chromium test expectations rationalization.
Apparently the efl port results match Chromium.
- platform/chromium-win-vista/svg/as-background-image: Removed.
- platform/chromium-win-vista/svg/as-background-image/svg-as-background-1-expected.png: Removed.
- platform/chromium-win-vista/svg/as-background-image/svg-as-background-3-expected.png: Removed.
- platform/chromium-win/svg/as-background-image/svg-as-background-1-expected.png:
- platform/chromium-win/svg/as-background-image/svg-as-background-3-expected.png:
- platform/chromium/test_expectations.txt:
- platform/efl/svg/as-background-image/svg-as-background-1-expected.txt: Removed.
- platform/efl/svg/as-background-image/svg-as-background-3-expected.txt: Removed.
- svg/as-background-image/svg-as-background-1-expected.txt: Added.
- svg/as-background-image/svg-as-background-3-expected.txt: Added.
- 12:09 PM Changeset in webkit [113352] by
-
- 9 edits in trunk
https://bugs.webkit.org/show_bug.cgi?id=77293
[Un]Reserve 'let'
Rubber stamped by Oliver Hunt.
Revert r106198.
This does break the web - e.g. https://bvi.bnc.ca/index/bnc/indexen.html
If we're going to reserve let, we're going to have to do so in a more
circumspect fashion.
Source/JavaScriptCore:
- parser/Keywords.table:
LayoutTests:
- fast/js/keywords-and-reserved_words-expected.txt:
- fast/js/reserved-words-as-property-expected.txt:
- fast/js/reserved-words-strict-expected.txt:
- fast/js/script-tests/keywords-and-reserved_words.js:
- fast/js/script-tests/reserved-words-as-property.js:
- fast/js/script-tests/reserved-words-strict.js:
- 12:08 PM Changeset in webkit [113351] by
-
- 3 edits2 deletes in trunk/LayoutTests
HTMLSelectElement does not have a getter for namedItem. This fixes the invalid test
https://bugs.webkit.org/show_bug.cgi?id=83289
Reviewed by Ryosuke Niwa.
- fast/dom/HTMLSelectElement/named-options-expected.txt:
- fast/dom/HTMLSelectElement/script-tests/named-options.js:
- platform/chromium-mac/fast/dom/HTMLSelectElement/named-options-expected.txt: Removed.
- platform/chromium-win/fast/dom/HTMLSelectElement/named-options-expected.txt: Removed.
- 12:07 PM Changeset in webkit [113350] by
-
- 7 edits in trunk/Source
Unreviewed, rolling out r113241.
http://trac.webkit.org/changeset/113241
https://bugs.webkit.org/show_bug.cgi?id=83293
Requested by sievers@chromium.org (Requested by zhenyao on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-05
Source/WebCore:
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::canDraw):
(WebCore::CCLayerTreeHostImpl::prepareToDraw):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(CCLayerTreeHostImpl):
- platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::scheduledActionDrawAndSwapInternal):
Source/WebKit/chromium:
- tests/CCLayerTreeHostImplTest.cpp:
(WebKitTests::TEST_F):
- tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTest::doBeginTest):
- 12:05 PM Changeset in webkit [113349] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Fixed incorrect expectations for fonts/cursive.html.
- platform/chromium/test_expectations.txt: Fixed.
- 12:04 PM Changeset in webkit [113348] by
-
- 1 edit in trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebAlternativeTextClient.cpp
Fixing build failure on SnowLeopard caused by changeset 113340.
- 12:00 PM Changeset in webkit [113347] by
-
- 7 edits2 deletes in trunk/Source
Unreviewed, rolling out r113341.
http://trac.webkit.org/changeset/113341
https://bugs.webkit.org/show_bug.cgi?id=83299
bots caught some build errors (Requested by shawnsingh on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-05
Source/WebCore:
- WebCore.gypi:
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::findTileProgramUniforms):
(WebCore::LayerRendererChromium::drawTileQuad):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::CCLayerTreeHostCommon::calculateVisibleRect):
(WebCore::isScaleOrTranslation):
(WebCore::calculateDrawTransformsAndVisibilityInternal):
- platform/graphics/chromium/cc/CCMathUtil.cpp: Removed.
- platform/graphics/chromium/cc/CCMathUtil.h: Removed.
- platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::projectQuad):
(WebCore):
(WebCore::computeUnoccludedContentRect):
Source/WebKit/chromium:
- tests/CCLayerTreeHostCommonTest.cpp:
- 11:57 AM Changeset in webkit [113346] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] Race condition in CCLayerTreeHostTestSynchronizeAnimationStartTimes
https://bugs.webkit.org/show_bug.cgi?id=83179
Patch by Ian Vollick <vollick@chromium.org> on 2012-04-05
Reviewed by James Robinson.
- tests/CCLayerTreeHostTest.cpp:
(WTF::TestHooks::willAnimateLayers):
(WTF::MockLayerTreeHostImpl::animateLayers):
(WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::CCLayerTreeHostTestSynchronizeAnimationStartTimes):
(CCLayerTreeHostTestSynchronizeAnimationStartTimes):
(WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::willAnimateLayers):
(WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::notifyAnimationStarted):
- 11:49 AM Changeset in webkit [113345] by
-
- 8 edits in trunk/Source
[Chromium] With the skia port, setting LCD text filtering is causing
texture cache invalidations of gpu canvas backing store
https://bugs.webkit.org/show_bug.cgi?id=74183
Patch by Justin Novosad <junov@chromium.org> on 2012-04-05
Reviewed by Stephen White.
Source/WebCore:
Replacing unnecessary usage of SkCanvas::LayerIter with calls to
SkCanvas::isDrawingToLayer(). Same results, lower overhead, and no
GPU texture invalidation.
- platform/graphics/chromium/FontChromiumWin.cpp:
(WebCore):
(WebCore::TransparencyAwareFontPainter::initializeForGDI):
- platform/graphics/harfbuzz/FontHarfBuzz.cpp:
(WebCore):
(WebCore::adjustTextRenderMode):
- platform/graphics/skia/FontSkia.cpp:
(WebCore):
(WebCore::adjustTextRenderMode):
- platform/graphics/skia/SkiaFontWin.cpp:
(WebCore):
(WebCore::disableTextLCD):
- rendering/RenderThemeChromiumWin.cpp:
(WebCore):
Source/WebKit/chromium:
Replacing unnecessary usage of SkCanvas::LayerIter with call to
SkCanvas::isDrawingToLayer(). Same results, lower overhead, and no
GPU texture invalidation.
- src/WebFontImpl.cpp:
(WebKit::WebFontImpl::drawText):
- 11:47 AM Changeset in webkit [113344] by
-
- 3 edits in trunk/Source/WebKit/chromium
[Chromium] Properly align members in WebInputEvent and subclasses to make Valgrind happy.
https://bugs.webkit.org/show_bug.cgi?id=81570
Patch by Lei Zhang <thestig@chromium.org> on 2012-04-05
Reviewed by Darin Fisher.
- public/WebInputEvent.h:
(WebKit):
(WebKit::WebInputEvent::WebInputEvent):
(WebKeyboardEvent):
(WebKit::WebTouchEvent::WebTouchEvent):
- 11:32 AM Changeset in webkit [113343] by
-
- 7 edits in trunk
media/track/track-webvtt-tc004-magic-header.html flakily times out
https://bugs.webkit.org/show_bug.cgi?id=72279
Source/WebCore:
Patch by Zan Dobersek <zandobersek@gmail.com> on 2012-04-05
Reviewed by Eric Carlson.
Move all the checking for the WebVTT file identifier from TextTrackLoader
to WebVTTParser, notifying the parser clients of parsing failures through
a new method. Remove the WebVTTParser::fileIdentifierMaximumLength method
and make WebVTTParser::hasRequiredFileIdentifier private. The latter now
operates on a vector holding the identifier data to which data is added
until there's enough of it to possibly hold the optional BOM character
and the required WEBVTT character sequence.
No new tests. Fixes an existing test.
- html/track/WebVTTParser.cpp: Fix a typo throughout the file:
fileIdentiferLength -> fileIdentifierLength
(WebCore):
(WebCore::WebVTTParser::parseBytes): Only continue with searcing for
the WEBVTT identifier if there's enough data to possibly contain the
identifier. Report that the file failed to parse if the identifier
was then not found.
(WebCore::WebVTTParser::hasRequiredFileIdentifier): Refactor to operate
on the vector containing identifier data and merge with the
hasLongWebVTTIdentifier function.
- html/track/WebVTTParser.h:
(WebVTTParserClient): Add a new method.
(WebVTTParser):
- loader/TextTrackLoader.cpp:
(WebCore::TextTrackLoader::processNewCueData): Parser is now created
immediately regardless of the mime type the response holds.
(WebCore::TextTrackLoader::fileFailedToParse): Log the error, set the
state to failed, start the cue load timer and cancel the load if the file
was not parsed successfully.
(WebCore):
- loader/TextTrackLoader.h:
(TextTrackLoader):
LayoutTests:
Remove the test from test expectations file as it should now pass.
Patch by Zan Dobersek <zandobersek@gmail.com> on 2012-04-05
Reviewed by Eric Carlson.
- platform/chromium/test_expectations.txt:
- 11:28 AM Changeset in webkit [113342] by
-
- 12 edits in branches/chromium/1084
Merge 113282 - Switch web intents API to be vendor-prefixed
https://bugs.webkit.org/show_bug.cgi?id=83172
Patch by Greg Billock <gbillock@google.com> on 2012-04-04
Reviewed by Adam Barth.
Source/WebCore:
- Modules/intents/DOMWindowIntents.idl:
- Modules/intents/NavigatorIntents.cpp:
(WebCore::NavigatorIntents::webkitStartActivity):
- Modules/intents/NavigatorIntents.h:
(NavigatorIntents):
- Modules/intents/NavigatorIntents.idl:
LayoutTests:
- webintents/resources/web-intents-reload-orig.html:
- webintents/resources/web-intents-testing.js:
(startIntentWithCallbacks):
- webintents/web-intents-api-expected.txt:
- webintents/web-intents-api.html:
- webintents/web-intents-invoke.html:
TBR=commit-queue@webkit.org
Review URL: https://chromiumcodereview.appspot.com/9949021
- 11:24 AM Changeset in webkit [113341] by
-
- 7 edits2 adds in trunk/Source
[chromium] Need to clip to homogeneous w=0 plane when applying transforms.
https://bugs.webkit.org/show_bug.cgi?id=80806
Reviewed by Adrienne Walker.
Source/WebCore:
Unit tests added to CCLayerTreeHostCommon. This change is also
covered by other existing unit tests and layout tests.
WebCore TransformationMatrix mapRect / mapQuad / projectQuad do
not properly handle the case where a surface is oriented partially
behind the camera, with a perspective projection. In this case,
projected points may appear to be valid in cartesian coordinates,
but they are indeed not valid, and this problem can only be
detected in homogeneous coordinates after applying the transform,
before the divide-by-w step.
The correct solution is to clip geometry where w < 0. This patch
makes this change local to chromium only, to fix rendering bugs
that arise from this problem. The primary fix is to correct
calculateVisibleLayerRect(), but other ancillary locations are
also fixed, in particular, the antialiasing code path is simply
skipped when this case arises.
Eventually this math needs to be merged into TransformationMatrix,
to fix hit-testing bugs that occur in both Chromium and Safari.
- WebCore.gypi:
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::findTileProgramUniforms):
(WebCore::LayerRendererChromium::drawTileQuad):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::CCLayerTreeHostCommon::calculateVisibleRect):
(WebCore::isScaleOrTranslation):
(WebCore::calculateDrawTransformsAndVisibilityInternal):
- platform/graphics/chromium/cc/CCMathUtil.cpp: Added.
(WebCore):
(WebCore::HomogeneousCoordinate::HomogeneousCoordinate):
(HomogeneousCoordinate):
(WebCore::HomogeneousCoordinate::shouldBeClipped):
(WebCore::HomogeneousCoordinate::cartesianPoint2d):
(WebCore::projectPoint):
(WebCore::mapPoint):
(WebCore::computeClippedPointForEdge):
(WebCore::expandBoundsToIncludePoint):
(WebCore::computeEnclosingRectOfClippedQuad):
(WebCore::computeEnclosingRect):
(WebCore::CCMathUtil::mapClippedRect):
(WebCore::CCMathUtil::projectClippedRect):
(WebCore::CCMathUtil::mapQuad):
(WebCore::CCMathUtil::projectQuad):
- platform/graphics/chromium/cc/CCMathUtil.h: Added.
(WebCore):
(CCMathUtil):
- platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::computeUnoccludedContentRect):
Source/WebKit/chromium:
- tests/CCLayerTreeHostCommonTest.cpp:
(WebKitTests::TEST):
(WebKitTests):
- 11:16 AM Changeset in webkit [113340] by
-
- 31 edits5 adds in trunk/Source
2012-04-05 Jia Pu <jpu@apple.com>
Move correction panel related functions from EditorClient into separated AlternativeTextClient class.
https://bugs.webkit.org/show_bug.cgi?id=82970
Reviewed by Enrica Casucci.
Move correction panel related functions from WebEditorClient to the new WebAlternativeTextClient.
See WebCore/ChangeLog for details.
- UIProcess/API/gtk/PageClientImpl.cpp:
- UIProcess/API/mac/PageClientImpl.h: (PageClientImpl):
- UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::recordAutocorrectionResponse):
- UIProcess/API/qt/qquickwebview.cpp:
- UIProcess/PageClient.h: (PageClient):
- UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::recordAutocorrectionResponse):
- UIProcess/mac/CorrectionPanel.h:
- UIProcess/mac/CorrectionPanel.mm:
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/WebCoreSupport/mac/WebAlternativeTextClient.cpp: Added. (WebKit): (WebKit::WebAlternativeTextClient::WebAlternativeTextClient): (WebKit::WebAlternativeTextClient::~WebAlternativeTextClient): (WebKit::WebAlternativeTextClient::showCorrectionAlternative): (WebKit::WebAlternativeTextClient::dismissAlternative): (WebKit::WebAlternativeTextClient::dismissAlternativeSoon): (WebKit::WebAlternativeTextClient::recordAutocorrectionResponse):
- WebProcess/WebCoreSupport/WebAlternativeTextClient.h: Added. (WebKit): (WebAlternativeTextClient):
- WebProcess/WebCoreSupport/WebEditorClient.h:
- WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm: (WebKit):
- WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage):
2012-04-05 Jia Pu <jpu@apple.com>
Move correction panel related functions from EditorClient into separated AlternativeTextClient class.
https://bugs.webkit.org/show_bug.cgi?id=82970
Reviewed by Enrica Casucci.
Move correction panel related functions from WebEditorClient to the new WebAlternativeTextClient.
See WebCore/ChangeLog for details.
- WebCoreSupport/CorrectionPanel.h:
- WebCoreSupport/CorrectionPanel.mm:
- WebCoreSupport/WebAlternativeTextClient.h: Added. (WebAlternativeTextClient):
- WebCoreSupport/WebAlternativeTextClient.mm: Added. (WebAlternativeTextClient::WebAlternativeTextClient): (WebAlternativeTextClient::~WebAlternativeTextClient): (WebAlternativeTextClient::showCorrectionAlternative): (WebAlternativeTextClient::dismissAlternative): (WebAlternativeTextClient::dismissAlternativeSoon): (WebAlternativeTextClient::recordAutocorrectionResponse):
- WebCoreSupport/WebEditorClient.h:
- WebCoreSupport/WebEditorClient.mm: (WebEditorClient::~WebEditorClient):
- WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:]):
2012-04-05 Jia Pu <jpu@apple.com>
Move correction panel related functions from EditorClient into separated AlternativeTextClient class.
https://bugs.webkit.org/show_bug.cgi?id=82970
Reviewed by Enrica Casucci.
See WebCore/ChangeLog for details.
- WebKit.xcodeproj/project.pbxproj:
2012-04-05 Jia Pu <jpu@apple.com>
Move correction panel related functions from EditorClient into separated AlternativeTextClient class.
https://bugs.webkit.org/show_bug.cgi?id=82970
Reviewed by Enrica Casucci.
No new tests, since there's no change of functionality.
The existing correction panel related functions in EditorClient are currently used only by OS X.
We'd like to move them into separate AlternativeTextClient class to avoid using #ifdef's. This
new client class will also hold dictation alternative related interface that we will add soon for
bug 82503.
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- editing/AlternativeTextController.cpp: Changes in this file are all for calling functions in AlternativeTextClient instead of those in EditoClient. (WebCore::AlternativeTextController::show): (WebCore::AlternativeTextController::dismiss): (WebCore::AlternativeTextController::dismissSoon): (WebCore::AlternativeTextController::respondToUnappliedSpellCorrection): (WebCore::AlternativeTextController::timerFired): (WebCore::AlternativeTextController::isAutomaticSpellingCorrectionEnabled): (WebCore::AlternativeTextController::alternativeTextClient): (WebCore): (WebCore::AlternativeTextController::editorClient): (WebCore::AlternativeTextController::textChecker): (WebCore::AlternativeTextController::recordAutocorrectionResponseReversed): (WebCore::AlternativeTextController::recordSpellcheckerResponseForModifiedCorrection):
- editing/AlternativeTextController.h: (WebCore): (AlternativeTextController):
- editing/TextCheckingHelper.h: (WebCore):
- loader/EmptyClients.h: (EmptyEditorClient):
- page/AlternativeTextClient.h: Added. (WebCore): (AlternativeTextClient): (WebCore::AlternativeTextClient::~AlternativeTextClient):
- page/EditorClient.h: (EditorClient):
- page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::PageClients::PageClients):
- page/Page.h: (WebCore): (PageClients): (Page): (WebCore::Page::alternativeTextClient):
- 11:15 AM Changeset in webkit [113339] by
-
- 2 edits in trunk/Tools
gtk_unittest.GtkPortTest.test_get_crash_log failing on windows
https://bugs.webkit.org/show_bug.cgi?id=83176
Patch by Philippe Normand <pnormand@igalia.com> on 2012-04-05
Reviewed by Tony Chang.
Refactored the test to use os.path.join() to specify the
core_pattern value of the empty crash log mock.
- Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
(GtkPortTest):
(GtkPortTest.assertLinesEqual):
(GtkPortTest.test_get_crash_log):
(_mock_gdb_output):
- 11:01 AM Changeset in webkit [113338] by
-
- 2 edits in trunk/LayoutTests
Marked storage/indexeddb/basics-workers.html as flaky across all platforms in DEBUG
- platform/chromium/test_expectations.txt: Marked.
- 10:54 AM Changeset in webkit [113337] by
-
- 2 edits in trunk/Source/WebCore
Fix fullscreen video button for android
https://bugs.webkit.org/show_bug.cgi?id=83087
Patch by Min Qin <qinmin@google.com> on 2012-04-05
Reviewed by Dimitri Glazkov.
https://bugs.webkit.org/show_bug.cgi?id=70437 changed css keyword for fullscreen video button.
It is changed from media-fullscreen-button to media-enter-fullscreen-button.
However, it does not change the value in mediaControlChromiumAndroid.css.
No behavior change.
- css/mediaControlsChromiumAndroid.css:
(video::-webkit-media-controls-fullscreen-button):
- 10:46 AM Changeset in webkit [113336] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: CSS file revisions are not restored upon front-end reopen.
https://bugs.webkit.org/show_bug.cgi?id=83292
Reviewed by Yury Semikhatsky.
Populating suggestions before the panel creation now.
- inspector/front-end/inspector.js:
(WebInspector._doLoadedDoneWithCapabilities.get if):
- 10:44 AM Changeset in webkit [113335] by
-
- 5 edits in trunk/Source/WebCore
Add assertions to check for mutation of RenderLayer z-order lists during enumeration
https://bugs.webkit.org/show_bug.cgi?id=83242
Reviewed by James Robinson.
Add debug-only code that detects whether RenderLayer's z-order and
normal flow lists are being cleared or otherwise mutated while we're
enumerating over them.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::RenderLayer):
(WebCore::RenderLayer::paintList):
(WebCore::RenderLayer::calculateLayerBounds):
(WebCore::RenderLayer::dirtyZOrderLists):
(WebCore::RenderLayer::dirtyNormalFlowList):
(WebCore::RenderLayer::updateZOrderListsSlowCase):
(WebCore::RenderLayer::updateNormalFlowList):
- rendering/RenderLayer.h:
(RenderLayer):
(WebCore::RenderLayer::layerListMutationAllowed):
(WebCore::RenderLayer::setLayerListMutationAllowed):
(WebCore):
(LayerListMutationDetector):
(WebCore::LayerListMutationDetector::LayerListMutationDetector):
(WebCore::LayerListMutationDetector::~LayerListMutationDetector):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::hasVisibleNonCompositingDescendantLayers):
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::addToOverlapMapRecursive):
(WebCore::RenderLayerCompositor::computeCompositingRequirements):
(WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
(WebCore::RenderLayerCompositor::updateLayerTreeGeometry):
(WebCore::RenderLayerCompositor::updateCompositingDescendantGeometry):
(WebCore::RenderLayerCompositor::recursiveRepaintLayerRect):
(WebCore::RenderLayerCompositor::layerHas3DContent):
- 10:38 AM April 2012 Meeting edited by
- (diff)
- 10:27 AM Changeset in webkit [113334] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, rolling out r113254.
http://trac.webkit.org/changeset/113254
https://bugs.webkit.org/show_bug.cgi?id=83291
Requested by sievers@chromium.org (Requested by zhenyao on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-05
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::canDraw):
- 10:18 AM Changeset in webkit [113333] by
-
- 2 edits in trunk/Source/JavaScriptCore
Rolling out http://trac.webkit.org/changeset/113262.
Original code was fine.
Rubber-stamped by Oliver Hunt.
- assembler/MacroAssembler.h:
(JSC::MacroAssembler::additionBlindedConstant):
- 10:11 AM Changeset in webkit [113332] by
-
- 4 edits in trunk/Source
Unreviewed, rolling out r113307.
http://trac.webkit.org/changeset/113307
https://bugs.webkit.org/show_bug.cgi?id=83288
Requested by sievers@chromium.org (Requested by zhenyao on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-05
Source/WebCore:
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::canDraw):
Source/WebKit/chromium:
- tests/CCLayerTreeHostTest.cpp:
(WTF::TEST_F):
- 9:56 AM Changeset in webkit [113331] by
-
- 3 edits1 delete in trunk/LayoutTests
[chromium] Unreviewed gardening.
fast/events/click-focus-anchor.html is flakey in debug
fast/filesystem/file-writer-abort-continue.html is hitting an assert.
- platform/chromium-mac-leopard/svg/css/getComputedStyle-basic-expected.txt:
- platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt: Removed.
- platform/chromium/test_expectations.txt:
- 9:50 AM Changeset in webkit [113330] by
-
- 19 edits in trunk
[Qt] Fix includes after QtDeclarative -> QtQML renaming
https://bugs.webkit.org/show_bug.cgi?id=82195
Relanding r112651, because Qt5 is updated everywhere.
Source/WebKit/qt:
- declarative/experimental/plugin.cpp:
- declarative/plugin.cpp:
(WebKitQmlPlugin::initializeEngine):
Source/WebKit2:
- UIProcess/API/qt/qquicknetworkreply_p.h:
- UIProcess/API/qt/qquicknetworkrequest_p.h:
- UIProcess/API/qt/qquickwebview.cpp:
- UIProcess/API/qt/qquickwebview_p.h:
- UIProcess/API/qt/qwebiconimageprovider_p.h:
- UIProcess/API/qt/qwebnavigationhistory.cpp:
- UIProcess/API/qt/qwebnavigationhistory_p.h:
- UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp:
- UIProcess/qt/QtDialogRunner.cpp:
(QtDialogRunner::initForAlert):
(QtDialogRunner::initForConfirm):
(QtDialogRunner::initForPrompt):
(QtDialogRunner::initForAuthentication):
(QtDialogRunner::initForProxyAuthentication):
(QtDialogRunner::initForCertificateVerification):
(QtDialogRunner::initForFilePicker):
(QtDialogRunner::initForDatabaseQuotaDialog):
(QtDialogRunner::createDialog):
- UIProcess/qt/WebPopupMenuProxyQt.cpp:
(WebKit::WebPopupMenuProxyQt::createItem):
(WebKit::WebPopupMenuProxyQt::createContext):
Tools:
- MiniBrowser/qt/BrowserWindow.cpp:
(BrowserWindow::updateVisualMockTouchPoints):
- MiniBrowser/qt/main.cpp:
- WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::WrapperWindow::handleStatusChanged):
- qmake/mkspecs/features/unix/default_post.prf:
- 9:46 AM Changeset in webkit [113329] by
-
- 19 edits2 adds in trunk
Extend HitTestResult to support not "discarding" shadow content in favor of its DOM ancestor
https://bugs.webkit.org/show_bug.cgi?id=80847
Reviewed by David Hyatt.
Patch by Antonio Gomes <agomes@rim.com>
.:
Exporting Internals::nodesFromRect symbols for the Gtk build.
- Source/autotools/symbols.filter:
Source/WebCore:
In order to improve touch precision on shadow tree content, patch
extends the rect-hittest'ing system to allow shadow content
to be stored as the rect-hittest result node list.
Primary use cases are for this extension is making it easier to
improve the clickability of default controls of <video> and <audio>
elements.
For the callee site, the use is simple: if shadow content in the rect-hittest
result is desired, just add an extra 'AllowShadowContent' parameter at the creation
of the HitTestResult object.
Test: fast/dom/nodesFromRect-shadowContent.html
- dom/Document.cpp:
(WebCore::Document::nodesFromRect):
- dom/Document.h:
(Document):
- page/EventHandler.cpp:
(WebCore::EventHandler::hitTestResultAtPoint):
- rendering/HitTestResult.cpp:
(WebCore::HitTestResult::HitTestResult):
(WebCore::HitTestResult::addNodeToRectBasedTestResult):
- rendering/HitTestResult.h:
(HitTestResult):
(WebCore::HitTestResult::shadowContentFilterPolicy):
- rendering/RenderImage.cpp:
(WebCore::RenderImage::nodeAtPoint):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::hitTestLayer):
(WebCore::RenderLayer::hitTestList):
- testing/Internals.cpp:
(WebCore::Internals::nodesFromRect):
- testing/Internals.h:
(Internals):
- testing/Internals.idl:
LayoutTests:
Adds a test that rect-hittest's a element known to have a shadow
tree (<video> with built-in controls), and check if its return type
contains its clickable shadow nodes.
- fast/dom/nodesFromRect-shadowContent-expected.txt: Added.
- fast/dom/nodesFromRect-shadowContent.html: Added.
- fast/dom/resources/nodesFromRect.js:
(check):
(checkShadowContent):
Conflicts:
Source/WebCore/page/FrameView.cpp
- 9:41 AM Changeset in webkit [113328] by
-
- 10 edits in trunk
Rename CSS Exclusions "rect" value to "rectangle"
https://bugs.webkit.org/show_bug.cgi?id=82367
Patch by Hans Muller <hmuller@adobe.com> on 2012-04-05
Reviewed by Ryosuke Niwa.
Changed the CSS exclusion shape called "rect" to "rectangle" to match
the current draft spec - http://dev.w3.org/csswg/css3-exclusions.
Source/WebCore:
The meeting minutes where the decision to rename the exclusion "rect" function
to "rectangle" are: http://lists.w3.org/Archives/Public/www-style/2012Feb/0325.html
No new tests were created; just updated the existing ones.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseWrapShapeRectangle):
(WebCore::CSSParser::parseWrapShape):
- css/CSSParser.h:
- css/CSSWrapShapes.cpp:
(WebCore::CSSWrapShapeRectangle::cssText):
- css/CSSWrapShapes.h:
(WebCore::CSSWrapShapeRectangle::create):
(WebCore::CSSWrapShapeRectangle::type):
(WebCore::CSSWrapShapeRectangle::CSSWrapShapeRectangle):
LayoutTests:
- fast/exclusions/parsing-wrap-shape-inside-expected.txt:
- fast/exclusions/parsing-wrap-shape-outside-expected.txt:
- fast/exclusions/script-tests/parsing-wrap-shape-inside.js:
- fast/exclusions/script-tests/parsing-wrap-shape-outside.js:
- 9:39 AM Changeset in webkit [113327] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Marked fast/filesystem/file-writer-abort-continue.html as flaky crash
https://bugs.webkit.org/show_bug.cgi?id=83286
- platform/chromium/test_expectations.txt: Marked.
- 9:10 AM Changeset in webkit [113326] by
-
- 3 edits in trunk/Source/WebCore
[BlackBerry] Disable paintingGoesToWindow() for the root layer when forced compositing mode is active
https://bugs.webkit.org/show_bug.cgi?id=83127
Patch by Arvid Nilsson <anilsson@rim.com> on 2012-04-05
Reviewed by Rob Buis.
RIM PR: 136381
The BlackBerry port will use accelerated compositing code path to
render the root layer in some situations.
The plan is to do this by activating the "force compositing mode"
setting, but that in itself doesn't get us all the way, since painting
will still go to window for the root layer.
Fixed by adding a special clause in
RenderLayerBacking::paintingGoesToWindow() for PLATFORM(BLACKBERRY).
No new tests, this is currently not testable with the BlackBerry WebKit
testing infrastructure.
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::paintingGoesToWindow):
- rendering/RenderLayerCompositor.h:
(RenderLayerCompositor):
(WebCore::RenderLayerCompositor::inForcedCompositingMode): Added.
- 8:57 AM Changeset in webkit [113325] by
-
- 6 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Force compositing mode when backing store is not active
https://bugs.webkit.org/show_bug.cgi?id=83131
Patch by Arvid Nilsson <anilsson@rim.com> on 2012-04-05
Reviewed by George Staikos.
RIM PR: 136381
Normally, the BlackBerry WebKit port resorts to direct rendering when
the backing store is not active. However, direct rendering is broken
with the OpenGL code path. This prevented multiple web pages from being
displayed at once with the new WebPageCompositor API.
Fixed by using accelerated compositing layer to render the root layer
instead of backing store. This will give us a tiled layer backing the
root layer, which for some use cases is even better than direct
rendering.
Reviewed internally by Filip Spacek.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::shouldDirectRenderingToWindow):
(BlackBerry::WebKit::BackingStorePrivate::blitContents):
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setLoadState):
(BlackBerry::WebKit::WebPage::setVisible):
(BlackBerry::WebKit::WebPagePrivate::suspendBackingStore):
(BlackBerry::WebKit::WebPagePrivate::resumeBackingStore):
(BlackBerry::WebKit::WebPagePrivate::compositorDrawsRootLayer):
(WebKit):
(BlackBerry::WebKit::WebPagePrivate::setCompositorDrawsRootLayer):
(BlackBerry::WebKit::WebPagePrivate::drawLayersOnCommit):
(BlackBerry::WebKit::WebPagePrivate::scheduleRootLayerCommit):
(BlackBerry::WebKit::WebPagePrivate::commitRootLayer):
(BlackBerry::WebKit::WebPagePrivate::commitRootLayerIfNeeded):
(BlackBerry::WebKit::WebPagePrivate::rootLayerCommitTimerFired):
(BlackBerry::WebKit::WebPagePrivate::setRootLayerCompositingThread):
(BlackBerry::WebKit::WebPagePrivate::createCompositor):
(BlackBerry::WebKit::WebPagePrivate::suspendRootLayerCommit):
(BlackBerry::WebKit::WebPagePrivate::setNeedsOneShotDrawingSynchronization):
- Api/WebPageCompositor.cpp:
(BlackBerry::WebKit::WebPageCompositorPrivate::WebPageCompositorPrivate):
(BlackBerry::WebKit::WebPageCompositorPrivate::drawsRootLayer):
(WebKit):
(BlackBerry::WebKit::WebPageCompositorPrivate::drawLayers):
- Api/WebPageCompositor_p.h:
(BlackBerry::WebKit::WebPageCompositorPrivate::rootLayer):
(WebPageCompositorPrivate):
(BlackBerry::WebKit::WebPageCompositorPrivate::setDrawsRootLayer):
- Api/WebPage_p.h:
(WebPagePrivate):
- 8:51 AM Changeset in webkit [113324] by
-
- 2 edits19 adds in trunk/LayoutTests
[EFL][DRT] Gardening 30 missing expectations
https://bugs.webkit.org/show_bug.cgi?id=83266
Unreviewed EFL gardening.
Patch by Dominik Röttsches <dominik.rottsches@linux.intel.com> on 2012-04-05
- platform/efl/fast/repaint/transform-rotate-and-remove-expected.txt: Added.
- platform/efl/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-01-t-expected.txt: Added.
- platform/efl/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.txt: Added.
- platform/efl/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.txt: Added.
- platform/efl/svg/as-background-image/svg-as-background-1-expected.png: Added.
- platform/efl/svg/as-background-image/svg-as-background-1-expected.txt: Added.
- platform/efl/svg/as-background-image/svg-as-background-3-expected.png: Added.
- platform/efl/svg/as-background-image/svg-as-background-3-expected.txt: Added.
- platform/efl/svg/as-background-image/svg-as-background-4-expected.png: Added.
- platform/efl/svg/as-background-image/svg-as-background-4-expected.txt: Added.
- platform/efl/svg/foreignObject/fO-display-none-expected.txt: Added.
- platform/efl/svg/foreignObject/fO-display-none-with-relative-pos-content-expected.txt: Added.
- platform/efl/svg/foreignObject/fO-parent-display-changes-expected.txt: Added.
- platform/efl/svg/foreignObject/fO-parent-display-none-expected.txt: Added.
- platform/efl/svg/foreignObject/fO-parent-display-none-with-relative-pos-content-expected.txt: Added.
- platform/efl/svg/foreignObject/fO-parent-of-parent-display-none-expected.txt: Added.
- platform/efl/svg/foreignObject/fO-parent-of-parent-display-none-with-relative-pos-content-expected.txt: Added.
- platform/efl/svg/repaint/repainting-after-animation-element-removal-expected.txt: Added.
- platform/efl/test_expectations.txt:
- 8:51 AM Changeset in webkit [113323] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION(99539): Infinite repaint loop with SVGImage and deferred repaint timers
https://bugs.webkit.org/show_bug.cgi?id=78315
Reviewed by Dimitri Glazkov.
The existing fix for this issue was failing to check if the frameView object
was currently _in_ layout, in addition to whether it needs layout. Calling the
redraw method while in layout leads to a debug assertion and potential infinite
layout loops. Now we check whether we need layout or are in layout. We also add
a check when the repaint timer fires to ensure we do not call redraw during layout
at that point.
This patch was tested with tens of thousands of runs on layout test cases that
previously crashed at a rate of about 1 in 25. Now we see no crashes and no test
failures.
No new tests, as this exists to fix flaky existing tests.
- svg/graphics/SVGImageCache.cpp:
(WebCore::SVGImageCache::imageContentChanged):
(WebCore::SVGImageCache::redrawTimerFired):
- 8:35 AM Changeset in webkit [113322] by
-
- 13 edits8 adds5 deletes in trunk/LayoutTests
Rebaseline after 73643
https://bugs.webkit.org/show_bug.cgi?id=73643
Unreviewed update of test expectations.
Patch by Philip Rogers <pdr@google.com> on 2012-04-05
- platform/chromium-linux/svg/clip-path/clipper-placement-issue-expected.png: Removed.
- platform/chromium-linux/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt: Removed.
- platform/chromium-mac-leopard/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
- platform/chromium-mac-leopard/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
- platform/chromium-mac-leopard/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png:
- platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/filters-color-01-b-expected.png: Removed.
- platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt: Added.
- platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png: Removed.
- platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/filters-example-01-b-expected.png: Removed.
- platform/chromium-mac-snowleopard/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png:
- platform/chromium-mac/svg/W3C-SVG-1.1/filters-color-01-b-expected.png: Added.
- platform/chromium-mac/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png: Added.
- platform/chromium-mac/svg/W3C-SVG-1.1/masking-path-01-b-expected.png: Modified property svn:mime-type.
- platform/chromium-mac/svg/clip-path/clipper-placement-issue-expected.png: Added.
- platform/chromium-mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png: Added.
- platform/chromium-mac/svg/filters/feDropShadow-expected.png: Modified property svn:mime-type.
- platform/chromium-win/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/masking-path-01-b-expected.png:
- platform/chromium-win/svg/clip-path/clipper-placement-issue-expected.png: Added.
- platform/chromium-win/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png: Added.
- platform/chromium-win/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt: Added.
- platform/chromium-win/svg/filters/feDropShadow-expected.png: Modified property svn:mime-type.
- platform/chromium/test_expectations.txt:
- 8:32 AM Changeset in webkit [113321] by
-
- 2 edits in trunk/Tools
[Qt] WK1/WK2 layout test results are diverging
https://bugs.webkit.org/show_bug.cgi?id=82720
The resolving of default font families was altered in Qt5.
This directly affects the font picked by DRT for layout
tests. Since we want to keep the Qt4 and Qt5 results in line,
we can trick DRT in picking the same font as before for now.
Patch by Pierre Rossi <pierre.rossi@gmail.com> on 2012-04-05
Reviewed by Csaba Osztrogonác.
- DumpRenderTree/qt/QtInitializeTestFonts.cpp:
(WebKit::initializeTestFonts):
- 7:44 AM Changeset in webkit [113320] by
-
- 3 edits2 adds in trunk
Hide datalist element
https://bugs.webkit.org/show_bug.cgi?id=82874
Source/WebCore:
The datalist element should be hidden when ENABLE_DATALIST is on.
Reviewed by Kent Tamura.
Tests: fast/forms/datalist/datalist-fallback-content-expected.html
fast/forms/datalist/datalist-fallback-content.html
- css/html.css:
(datalist): Added display:none.
LayoutTests:
Reviewed by Kent Tamura.
- fast/forms/datalist/datalist-fallback-content-expected.html: Added.
- fast/forms/datalist/datalist-fallback-content.html: Added. Tests that fallback content is hidden.
- 6:49 AM Changeset in webkit [113319] by
-
- 2 edits in trunk/Source/WebCore
Adjust max bisection search iterations for TouchpadFlingGestureCurve.
https://bugs.webkit.org/show_bug.cgi?id=83166
Reviewed by James Robinson.
Covered by existing tests.
- platform/TouchpadFlingPlatformGestureCurve.cpp:
(WebCore):
- 6:25 AM Changeset in webkit [113318] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: CodeGeneratorInspector.py: switch FileSystem, Profiler and Worker domains to typed API
https://bugs.webkit.org/show_bug.cgi?id=83069
Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-04-05
Reviewed by Yury Semikhatsky.
Domains are switched to 'strict' mode. However, hardly any changes were needed in C++ code because
only basic types are currently used in Inspector.json.
- inspector/CodeGeneratorInspector.py:
- inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::getProfileHeaders):
(WebCore):
(WebCore::InspectorProfilerAgent::getObjectByHeapObjectId):
- inspector/InspectorProfilerAgent.h:
(InspectorProfilerAgent):
- 5:49 AM Changeset in webkit [113317] by
-
- 3 edits in trunk/Source/WebCore
DOM measurement APIs should operate on pixel snapped values.
https://bugs.webkit.org/show_bug.cgi?id=83138
Reviewed by Julien Chaffraix.
DOM measurement APIs return unscaled integers. In an effort to return the best possible values (and
most consistent with current behavior) when we use sub-pixel values for Layout, we want to adjust
the actual on-screen position and size values for scaling, not the sub-pixel values.
No new tests. No change in behavior.
- dom/Element.cpp:
(WebCore::adjustForLocalZoom): Needs to return an integer, since this is what the DOM API calls for.
(WebCore::Element::offsetWidth): Using pixel snapped values for all the following functions.
(WebCore::Element::offsetHeight):
(WebCore::Element::clientLeft):
(WebCore::Element::clientTop):
(WebCore::Element::clientWidth):
(WebCore::Element::clientHeight):
- html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::width):
(WebCore::HTMLImageElement::height):
- 5:32 AM Changeset in webkit [113316] by
-
- 2 edits in trunk/Source/WebKit/chromium
Web Inspector: [chromium] clean up WDTFC::saveAs after migration to save()
https://bugs.webkit.org/show_bug.cgi?id=83271
Reviewed by Yury Semikhatsky.
- public/WebDevToolsFrontendClient.h:
- 5:22 AM Changeset in webkit [113315] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: add ability to copy resource URL from web inspector's resources page.
https://bugs.webkit.org/show_bug.cgi?id=83175
Reviewed by Yury Semikhatsky.
Added requested context menu item.
- inspector/front-end/ResourcesPanel.js:
(WebInspector.FrameResourceTreeElement.prototype._handleContextMenuEvent):
- 5:19 AM Changeset in webkit [113314] by
-
- 7 edits in trunk/Source/WebCore
Web Inspector: display frame duration instead of time ruler in Timeline panel's frame mode
https://bugs.webkit.org/show_bug.cgi?id=83184
Reviewed by Pavel Feldman.
- inspector/front-end/TimelineFrameController.js:
(WebInspector.TimelineFrameController): Maintain reference to TimelinePresentationModel
(WebInspector.TimelineFrameController.prototype._flushFrame): Report frames to TimelinePresentationModel (only real ones)
- inspector/front-end/TimelineGrid.js:
(WebInspector.TimelineGrid.prototype.removeDividers): remove time marks/labels from upper time ruler
- inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewPane.prototype._updateEventDividers): Updated call site of createEventDivider
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._updateEventDividers):
(WebInspector.TimelinePanel.prototype._shouldShowFrames):
(WebInspector.TimelinePanel.prototype._updateFrames): Frame bars rendering logic.
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline.addTimestampRecords): Do not keep frames in the panel any more.
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
(WebInspector.TimelinePanel.prototype._refresh): Moved updateDividers() call here...
(WebInspector.TimelinePanel.prototype._refreshRecords): ... from here.
- inspector/front-end/TimelinePresentationModel.js:
(WebInspector.TimelinePresentationModel.createEventDivider): Use type & title, not entire record.
(WebInspector.TimelinePresentationModel.prototype.frames): Maintain frames in the TimelinePresentationModel.
(WebInspector.TimelinePresentationModel.prototype.reset): ditto.
(WebInspector.TimelinePresentationModel.prototype.addFrame): ditto.
(WebInspector.TimelinePresentationModel.Record): Fix title for timestamp events (drive by).
- inspector/front-end/timelinePanel.css:
(.timeline-frame-strip):
- 4:56 AM Changeset in webkit [113313] by
-
- 5 edits in trunk/Source
[WinCE] Remove unnecessary function decleration
https://bugs.webkit.org/show_bug.cgi?id=83155
Reviewed by Kentaro Hara.
Source/JavaScriptCore:
- runtime/JSDateMath.cpp:
Source/WTF:
- wtf/DateMath.cpp:
- wtf/Platform.h:
- 4:50 AM Changeset in webkit [113312] by
-
- 5 edits in trunk/Source/WebCore
IsCommentNode flags is a waste.
https://bugs.webkit.org/show_bug.cgi?id=83251
Reviewed by Ryosuke Niwa.
Effectively nobody uses it. To save a precious NodeFlags bit, this
change removes NodeFlags::IsCommentFlag and its companion mehtod
Node::isCommentNode().
No new tests. No behaviour change.
- dom/CharacterData.h:
(WebCore::CharacterData::CharacterData):
- dom/Comment.cpp:
(WebCore::Comment::Comment):
- dom/Node.h:
- rendering/RenderTreeAsText.cpp:
(WebCore::getTagName):
This was the only client of Node::isCommentNode(). Replaced it with nodeType() call.
- 4:45 AM Changeset in webkit [113311] by
-
- 3 edits in trunk/LayoutTests
[Qt][WK2] Skip tests that still failing after implementing layoutTestController.setPageVisibility()
https://bugs.webkit.org/show_bug.cgi?id=83263
[Qt] Moving already skipped test to right place and skip new SHADOW_DOM test.
https://bugs.webkit.org/show_bug.cgi?id=82607
Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-04-05
Reviewed by Csaba Osztrogonác.
- platform/qt-5.0-wk2/Skipped:
- platform/qt/Skipped:
- 3:58 AM Changeset in webkit [113310] by
-
- 2 edits in trunk/LayoutTests
[EFL][DRT] Remove layer-related passing tests from test_expectations.txt
https://bugs.webkit.org/show_bug.cgi?id=83262
Unreviewed gardening
Fixing test expectations file - some of these cases already pass.
Patch by Dominik Röttsches <dominik.rottsches@linux.intel.com> on 2012-04-05
- platform/efl/test_expectations.txt:
- 3:52 AM Changeset in webkit [113309] by
-
- 5 edits1 add in trunk
[BlackBerry] Clear local storage won't take effect until browser exit and relaunch
https://bugs.webkit.org/show_bug.cgi?id=83253
Patch by Jonathan Dong <Jonathan Dong> on 2012-04-05
Reviewed by Rob Buis.
.:
RIM PR: #146871
Added a manual test case to test the behavior when press
button "Clear Local Storage" from browser settings.
It has to be a manual test as it requires user interaction.
- ManualTests/blackberry/clear-localstorage.html: Added.
Source/WebKit/blackberry:
RIM PR: #146871
Cleared the local storage namespace of a WebPage's PageGroup
when WebPage::clearLocalStorage() get called.
Also deleted unused global function clearLocalStorage().
- Api/BlackBerryGlobal.cpp:
- Api/BlackBerryGlobal.h:
(WebKit):
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::clearLocalStorage):
- 3:41 AM Changeset in webkit [113308] by
-
- 2 edits in trunk/LayoutTests
Layout Test fast/text/international/font-fallback-to-common-script.html has flaky image results on all Chromium bots
https://bugs.webkit.org/show_bug.cgi?id=81544
Patch by Matt Falkenhagen <falken@chromium.org> on 2012-04-05
Reviewed by Kent Tamura.
Skip embed-bidi-style-in-isolate-crash.html, which seems to cause the
subsequent layout test to fail (bug https://bugs.webkit.org/show_bug.cgi?id=83260).
- platform/chromium/test_expectations.txt:
- 3:14 AM Changeset in webkit [113307] by
-
- 4 edits in trunk/Source
webkit_unit_tests build fix.
https://bugs.webkit.org/show_bug.cgi?id=83261
Unreviewed, webkit_unit_tests buildfix.
The CCLayerTreeHostTestEmptyContentsShouldNotDraw.runMultiThread test
stopped working after r113254.
Disable it for now.
Source/WebCore:
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::canDraw):
Source/WebKit/chromium:
- tests/CCLayerTreeHostTest.cpp:
(WTF):
(WTF::TEST_F):
- 3:10 AM Changeset in webkit [113306] by
-
- 1 edit2 deletes in trunk/LayoutTests
[Chromium] Remove a wrong expectation file for hebrew-vowels.html.
https://bugs.webkit.org/show_bug.cgi?id=81544
- platform/chromium-mac-snowleopard/fast/text/international/hebrew-vowels-expected.txt: Removed.
- platform/chromium-mac/fast/text/international/hebrew-vowels-expected.txt: Removed.
- 2:30 AM WebKitEFLLayoutTest edited by
- changing deprecated flags, removing process count (done automatically) (diff)
- 2:25 AM Changeset in webkit [113305] by
-
- 2 edits in trunk/LayoutTests
[GTK][DRT] Fail fast/filesystem/flags-passing.html on JSC
https://bugs.webkit.org/show_bug.cgi?id=83137
Patch by ChangSeok Oh <ChangSeok Oh> on 2012-04-05
Reviewed by Kentaro Hara.
fast/filesystem/flags-passing.html is failed on webkitgtk+ applied FileSystem API patch
for bug58443. 'testsList' is a global array object, but it's accessed in runNextTest
function object like this, "this[testsList[testCounter++]]();". I'm not familiar
with JavaScript and V8, but in my understanding, it looks a bit strange.
'this' in the statement means runNextTest function object which doesn't have
testList array object. (It's a global scope variable.) This test might be able to
pass on V8 JS engine, but not on JSC at least my try.
'testsList' is changed from a function name array to a function array.
- fast/filesystem/script-tests/flags-passing.js:
(runNextTest):
- 2:13 AM Changeset in webkit [113304] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, GTK test_expectations update after r113292.
- platform/gtk/test_expectations.txt:
- 2:08 AM Changeset in webkit [113303] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening after r113279
- platform/qt/Skipped: Skip a new failing test because ENABLE(MUTATION_OBSERVERS) is disabled.
- 1:58 AM Changeset in webkit [113302] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening
https://bugs.webkit.org/show_bug.cgi?id=82607
Skip V8 specific test that currently not supported on Qt bots
Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-04-05
- platform/qt/Skipped: fast/dom/shadow/selection-shouldnt-expose-shadow-dom.html
- 1:53 AM Changeset in webkit [113301] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] Only shut down V8 if we actually initialized it
https://bugs.webkit.org/show_bug.cgi?id=83159
Reviewed by Pavel Feldman.
- src/WebKit.cpp:
(WebKit::initialize):
(WebKit::shutdown):
- 1:47 AM Changeset in webkit [113300] by
-
- 4 edits in trunk
[EFL] keycode translation is wrong for function keys
https://bugs.webkit.org/show_bug.cgi?id=82738
Source/WebCore:
This patch fixes keycode translation for function keys.
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-04-05
Reviewed by Philippe Normand.
Test: fast/events/keydown-function-keys.html
- platform/efl/EflKeyboardUtilities.cpp:
(WebCore::createWindowsKeyMap):
LayoutTests:
Unskip fast/events/keydown-function-keys.html
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-04-05
Reviewed by Philippe Normand.
- platform/efl/Skipped:
- 1:19 AM FeatureFlags edited by
- Add CALENDAR_PICKER (diff)
- 1:18 AM Changeset in webkit [113299] by
-
- 19 edits in trunk
Work around an entity parsing bug in libxml2 2.7.3 (supplied with Lion) and unskip tests
https://bugs.webkit.org/show_bug.cgi?id=82577
Reviewed by Filip Pizlo.
Source/WebCore:
Work-around entity expansion bug that affects several SVG tests on Lion.
Sample test document which is currently broken:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-W3CDTD SVG 1.1 BasicEN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd" [
<!ENTITY Smile "<rect x='.5' y='.5' width='29' height='39' fill='black' stroke='red'/>">
]>
<svg xmlns="http://www.w3.org/2000/svg">&Smile;</svg>
The expanded rect carries no namespace, thus an Element will be created for it, instead of a SVGRectElement.
libxml2 2.7.4 fixed this bug (https://bugzilla.gnome.org/show_bug.cgi?id=502960) in 2009 already, but Lion
still ships with 2.7.3, so we need to find a work-around for the problem. It works like this:
- When an entity is requested (getEntityHandler) determine whether the entity is being declared (while the <!ENTITY.. parses) or wheter its references (when the &Smile; is parsed). If its referenced, record the current depth of the libxml2 parser.
- When startElementNs is called while we're expanding entities, be sure to transfer the namespace of the parent node to the new node, but only do this if the current depth() is greater than the depth() at the time where entity expansion started. This way we only apply our workaround for elements inside entities, that get expanded at the insertion point.
- When endElementNs is called, and our current depth() is less than our equal to the depth() where entity expansion started, clear the recorded detph(), and stop executing the workaround.
It requires storing an extra integer & boolean in XMLDocumentParser, which is only used for this work-around.
- xml/parser/XMLDocumentParser.h:
(XMLDocumentParser):
(WebCore::XMLDocumentParser::isParsingEntityDeclaration):
(WebCore::XMLDocumentParser::setIsParsingEntityDeclaration):
(WebCore::XMLDocumentParser::depthTriggeringEntityExpansion):
(WebCore::XMLDocumentParser::setDepthTriggeringEntityExpansion):
- xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::XMLDocumentParser):
(WebCore::hackAroundLibXMLEntityParsingBug):
(WebCore::XMLDocumentParser::startElementNs):
(WebCore::XMLDocumentParser::endElementNs):
(WebCore::entityDeclarationHandler):
(WebCore::getEntityHandler):
(WebCore::XMLDocumentParser::initializeParserContext):
LayoutTests:
Unskip several test on Lion, now that the libxml2 bug doesn't affect us anymore.
- platform/mac-lion/Skipped:
- platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
- platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png:
- platform/mac/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt:
- platform/mac/svg/custom/preserve-aspect-ratio-syntax-expected.png:
- platform/mac/svg/custom/preserve-aspect-ratio-syntax-expected.txt:
- platform/mac/svg/custom/viewbox-syntax-expected.png:
- platform/mac/svg/custom/viewbox-syntax-expected.txt:
- platform/mac/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png:
- platform/mac/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
- platform/mac/svg/zoom/text/zoom-coords-viewattr-01-b-expected.png:
- platform/mac/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt:
- 12:30 AM Changeset in webkit [113298] by
-
- 3 edits4 adds in trunk
Add JavaScript and CSS code for the calendar picker implementation
https://bugs.webkit.org/show_bug.cgi?id=83011
Reviewed by Hajime Morita.
.:
- ManualTests/forms/calendar-picker.html: Added.
Source/WebCore:
Add calendarPicker.js and calendarPicker.css, and add a build rule to
generate a C++ file. This change doesn't make any behavior change
because the code is wrapped by ENABLE(CALENDAR_PICKER).
Tests: ManualTests/forms/calendar-picker.html
- Resources/calendarPicker.css: Added.
- Resources/calendarPicker.js: Added.
- WebCore.gyp/WebCore.gyp: Generate CalendarPicker.{cpp,h} from calendarPicker.{css,js}.
- 12:29 AM Changeset in webkit [113297] by
-
- 16 edits10 adds in trunk
Expose DataTransferItem.getAsEntry() to allow users access dropped files as FileEntry
https://bugs.webkit.org/show_bug.cgi?id=82592
Reviewed by David Levin.
Source/WebCore:
For now the method is prefixed thus it is to be exposed as 'webkitGetAsEntry'.
The API is proposed and discussed in the following whatwg thread:
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-November/033814.html
Add DataTransferItemFilesystem under Modules/filesystem and implemented the bridging part for chromium.
Test: editing/pasteboard/data-transfer-items-drag-drop-entry.html
- Modules/filesystem/DataTransferItemFileSystem.h: Added.
(DataTransferItemFileSystem):
- Modules/filesystem/DataTransferItemFileSystem.idl: Added for DataTransferItem.getAsEntry which is only exposed if filesystem is enabled.
- Modules/filesystem/chromium/DataTransferItemFileSystemChromium.cpp: Added for chromium implementation.
- Modules/filesystem/chromium/DataTransferItemFileSystemChromium.h: Added.
- Modules/filesystem/chromium/DraggedIsolatedFileSystem.cpp: Added.
- Modules/filesystem/chromium/DraggedIsolatedFileSystem.h: Added.
- WebCore.gypi:
- platform/chromium/ChromiumDataObject.cpp:
- platform/chromium/ChromiumDataObject.h:
(WebCore::ChromiumDataObject::filesystemId): Added.
(WebCore::ChromiumDataObject::setFilesystemId): Added.
- platform/chromium/ClipboardChromium.cpp:
Source/WebKit/chromium:
- src/WebDragData.cpp:
(WebKit::WebDragData::filesystemId): Added implementation.
(WebKit::WebDragData::setFilesystemId): Added implementation.
Tools:
Added filesystem hook support in EventSender.beginDragWithFiles() for DumpRenderTree.
- DumpRenderTree/chromium/EventSender.cpp:
(EventSender::beginDragWithFiles):
LayoutTests:
- editing/pasteboard/data-transfer-items-drag-drop-entry-expected.txt: Added.
- editing/pasteboard/data-transfer-items-drag-drop-entry.html: Added.
- editing/pasteboard/resources/test_directory/test.txt: Added.
- platform/gtk/Skipped:
- platform/mac/Skipped:
- platform/qt/Skipped:
- platform/win/Skipped:
- 12:21 AM Changeset in webkit [113296] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, GTK rebaseline after r113279.
- platform/gtk/fast/dom/Window/window-properties-expected.txt:
Apr 4, 2012:
- 11:40 PM Changeset in webkit [113295] by
-
- 10 edits in trunk/Source
Add WTF::getCurrentLocalTime()
https://bugs.webkit.org/show_bug.cgi?id=83164
Reviewed by Alexey Proskuryakov.
Replace the calls to WTF::getLocalTime() with time(0) with the new function.
This allows us to use Win32 API on windows to get the same result in a next step.
Source/JavaScriptCore:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- runtime/DateConstructor.cpp:
(JSC::callDate):
Source/WebCore:
- html/FTPDirectoryDocument.cpp:
(WebCore::processFileDateString):
- loader/archive/mhtml/MHTMLArchive.cpp:
(WebCore::MHTMLArchive::generateMHTMLData):
Source/WTF:
Also remove the inline keyword from WTF::getLocalTime(), since there is no need for
it and it will make the later Win32 API changes easier.
- WTF.gyp/WTF.gyp:
- wtf/CurrentTime.cpp:
(WTF::getLocalTime):
(WTF::getCurrentLocalTime):
- wtf/CurrentTime.h:
- 10:29 PM Changeset in webkit [113294] by
-
- 22 edits4 deletes in trunk
Remove ReifiedTreeTraversal.
https://bugs.webkit.org/show_bug.cgi?id=83110
Reviewed by Dimitri Glazkov.
.:
- Source/autotools/symbols.filter:
Source/WebCore:
We can now remove ReifiedTreeTraversal. All clients have switched to use ComposedShadowTreeWalker.
No new tests. No change in functionality.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.exp.in:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- dom/ReifiedTreeTraversal.cpp: Removed.
- dom/ReifiedTreeTraversal.h: Removed.
- testing/Internals.cpp:
- testing/Internals.h:
(Internals):
- testing/Internals.idl:
Source/WebKit2:
- win/WebKit2.def:
- win/WebKit2CFLite.def:
LayoutTests:
- fast/dom/shadow/reified-tree-traversal-expected.txt: Removed.
- fast/dom/shadow/reified-tree-traversal.html: Removed.
- platform/efl/Skipped:
- platform/qt/Skipped:
- platform/win/Skipped:
- platform/wincairo/Skipped:
- platform/wk2/Skipped:
- 10:29 PM Changeset in webkit [113293] by
-
- 2 edits in trunk/Source/WebKit/efl
Another unreviewed attempt at getting the EFL build bot to a
healthy state by forcing a rebuild.
- ewk/ewk_cookies.h:
- 10:17 PM Changeset in webkit [113292] by
-
- 3 edits in trunk/LayoutTests
Layout Test http/tests/websocket/tests/hybi/workers/worker-reload.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=83173
Reviewed by David Levin.
Try to deflake the test by
- decreasing the number of reloads in the test, and
- changing the URL of WebSocket to silence random console messages.
- http/tests/websocket/tests/hybi/workers/resources/worker-reload-iframe.html:
Reloading 100 times seemed too much, as Chromium debug bots frequently time out.
- http/tests/websocket/tests/hybi/workers/resources/worker-reload.js:
Use a real URL to avoid random console messages.
- 10:15 PM Changeset in webkit [113291] by
-
- 2 edits in trunk/Source/WebCore
WorkerEventQueue::close might access deleted WorkerEventQueue::EventDispatcherTask.
https://bugs.webkit.org/show_bug.cgi?id=83202
On closing the event queue, WorkerEventQueue cancels all the tasks associated with events.
The tasks in their turn delete themselves from the map whenever task gets executed.
However if shutdown occurs when task is in queue but before task gets executed, the task will be deleted without execution.
This patch makes sure that no deleted tasks stay in WorkerEventQueue, by task removing itself in destructor.
Reviewed by David Levin.
Covered by existing tests.
- workers/WorkerEventQueue.cpp:
(WebCore::WorkerEventQueue::EventDispatcherTask::~EventDispatcherTask):
(WorkerEventQueue::EventDispatcherTask):
(WebCore::WorkerEventQueue::EventDispatcherTask::performTask):
- 10:13 PM Changeset in webkit [113290] by
-
- 2 edits in trunk/Source/WebKit/efl
Unreviewed; touch a file to check if the EFL build bot is back to
normal.
- ewk/ewk_cookies.h:
- 9:30 PM Changeset in webkit [113289] by
-
- 3 edits in trunk/Source/WebCore
RenderLayer scrollbars' updates should be split between layout induced and style change induced
https://bugs.webkit.org/show_bug.cgi?id=83213
Reviewed by Simon Fraser.
Refactoring only, no change in behavior.
This patches splits up the 2 reasons for modifying the scrollbars:
- style updates, handled in updateScrollbarsAfterStyleChange.
- layout time, handled in updateScrollbarsAfterLayout.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::contentsSize):
Removed now unneeded const-casts.
(WebCore::RenderLayer::setHasHorizontalScrollbar):
(WebCore::RenderLayer::setHasVerticalScrollbar):
Updated to use hasHorizontalScrollbar / hasVerticalScrollbar.
(WebCore::RenderLayer::scrollWidth):
(WebCore::RenderLayer::scrollHeight):
Made those functions |const|.
(WebCore::RenderLayer::computeScrollDimensions):
Removed the unneeded booleans and move the do-we-have-overflow-logic
into hasHorizontalOverflow and hasVerticalOverflow.
(WebCore::RenderLayer::hasHorizontalOverflow):
(WebCore::RenderLayer::hasVerticalOverflow):
Added those new helper functions.
(WebCore::RenderLayer::updateScrollbarsAfterLayout):
(WebCore::RenderLayer::updateScrollInfoAfterLayout):
Updated the latter to call the former.
(WebCore::RenderLayer::updateScrollbarsAfterStyleChange):
(WebCore::RenderLayer::styleChanged):
Ditto.
(WebCore::overflowCanHaveAScrollbar):
Add this helper function for updateScrollbarsAfterStyleChange.
- rendering/RenderLayer.h:
(WebCore::RenderLayer::hasHorizontalScrollbar):
(WebCore::RenderLayer::hasVerticalScrollbar):
Added those 2 new helper functions.
- 9:28 PM Changeset in webkit [113288] by
-
- 2 edits in trunk/Tools
[mac] WKTR should always keep its windows offscreen
https://bugs.webkit.org/show_bug.cgi?id=83244
<rdar://problem/11188764>
Reviewed by Simon Fraser.
We don't want to allow windows onto the main display; intercept attempts to
change WebKitTestRunnerWindow's frame origin and prevent it from happening.
Also keep around and respond with a new "fake" origin, in case someone is
expecting it to change (I couldn't find any tests that expected this, however).
- WebKitTestRunner/mac/PlatformWebViewMac.mm:
(-[WebKitTestRunnerWindow setFrameOrigin:]):
(-[WebKitTestRunnerWindow setFrame:display:animate:]):
(-[WebKitTestRunnerWindow setFrame:display:]):
(-[WebKitTestRunnerWindow frame]):
- 9:22 PM Changeset in webkit [113287] by
-
- 4 edits in trunk/Source/WebCore
Auto-size may not work on first load
https://bugs.webkit.org/show_bug.cgi?id=82989
Patch by Andrei Burago <aburago@chromium.org> on 2012-04-04
Reviewed by David Levin.
No new tests. The only known repro scenario involves using chrome with a third-party extension,
which makes making a test out of it problematic.
- dom/Document.cpp:
(WebCore::Document::implicitClose):
- page/FrameView.cpp:
(WebCore::FrameView::autoSizeIfEnabled):
- 9:18 PM Changeset in webkit [113286] by
-
- 4 edits2 adds in trunk
XSSAuditor doesn't catch injected srcdoc attributes
https://bugs.webkit.org/show_bug.cgi?id=83238
Reviewed by Daniel Bates.
Source/WebCore:
<iframe srcdoc> is an XSS injection vector because the srcdoc inherits
the security origin of the parent page. This patch updates the XSS
auditor to check whether the attribute is injected using the same
hueristics we use for inline event handlers.
Test: http/tests/security/xssAuditor/iframe-srcdoc.html
- html/parser/XSSAuditor.cpp:
(WebCore::XSSAuditor::filterIframeToken):
(WebCore::XSSAuditor::eraseDangerousAttributesIfInjected):
(WebCore::XSSAuditor::eraseAttributeIfInjected):
(WebCore::XSSAuditor::decodedSnippetForAttribute):
- html/parser/XSSAuditor.h:
LayoutTests:
- http/tests/security/xssAuditor/iframe-srcdoc-expected.txt: Added.
- http/tests/security/xssAuditor/iframe-srcdoc.html: Added.
- 9:06 PM Changeset in webkit [113285] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] Add local: protocol support in KURL for blackberry
https://bugs.webkit.org/show_bug.cgi?id=82695
Reviewed by Rob Buis.
BlackBerry porting is using local: protocol just as file: protocol
with the exception that it sandboxes the path to the application private space.
- platform/KURL.cpp:
(WebCore::KURL::parse):
(WebCore::portAllowed):
- 8:44 PM Changeset in webkit [113284] by
-
- 3 edits2 adds in trunk
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=82994
Reviewed by James Robinson.
Fix an issue when removing elements with reflections from the document.
Test: compositing/reflections/remove-reflection.html
- platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::willBeDestroyed):
LayoutTests: REGRESSION(112939): compositing/reflections/backface-hidden-reflection.html is crashing
https://bugs.webkit.org/show_bug.cgi?id=82994
Reviewed by James Robinson.
Test that removes reflected elements.
- compositing/reflections/remove-reflection-expected.txt: Added.
- compositing/reflections/remove-reflection.html: Added.
- 8:43 PM Changeset in webkit [113283] by
-
- 2 edits in trunk/Source/WebCore
Need using namespace std for system calls in MIMESniffing.cpp
https://bugs.webkit.org/show_bug.cgi?id=82706
Reviewed by Antonio Gomes.
No new tests, just fix the compile error for BlackBerry porting.
- platform/network/MIMESniffing.cpp:
- 8:36 PM Changeset in webkit [113282] by
-
- 12 edits in trunk
Switch web intents API to be vendor-prefixed
https://bugs.webkit.org/show_bug.cgi?id=83172
Patch by Greg Billock <gbillock@google.com> on 2012-04-04
Reviewed by Adam Barth.
Source/WebCore:
- Modules/intents/DOMWindowIntents.idl:
- Modules/intents/NavigatorIntents.cpp:
(WebCore::NavigatorIntents::webkitStartActivity):
- Modules/intents/NavigatorIntents.h:
(NavigatorIntents):
- Modules/intents/NavigatorIntents.idl:
LayoutTests:
- webintents/resources/web-intents-reload-orig.html:
- webintents/resources/web-intents-testing.js:
(startIntentWithCallbacks):
- webintents/web-intents-api-expected.txt:
- webintents/web-intents-api.html:
- webintents/web-intents-invoke.html:
- 8:08 PM Changeset in webkit [113281] by
-
- 11 edits in trunk/Source/WebCore
[Part 4] We should use CSSPropertyID rather than integers when manipulating CSS property ids.
https://bugs.webkit.org/show_bug.cgi?id=83224
Reviewed by Tony Chang.
CSSPropertyID enum holds all the CSS property ids but many parts of WebKit treat the ids
as integers. While it's not incorrect it is nicer to use the enum as a parameter of
functions manipulating property ids, as we ensure that the value passed will be an
existing value. This patch clean up some remaining part of code.
No new tests : There should be no behavior change in this patch.
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::collectMatchingRulesForList):
- page/animation/AnimationBase.h:
(WebCore::AnimationBase::affectsProperty):
(WebCore::AnimationBase::isAnimatingProperty):
- page/animation/CompositeAnimation.cpp:
(WebCore::CompositeAnimation::getAnimationForProperty):
(WebCore::CompositeAnimation::overrideImplicitAnimations):
(WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations):
(WebCore::CompositeAnimation::isAnimatingProperty):
- page/animation/CompositeAnimation.h:
(CompositeAnimation):
- page/animation/ImplicitAnimation.cpp:
(WebCore::ImplicitAnimation::affectsProperty):
- page/animation/ImplicitAnimation.h:
(WebCore::ImplicitAnimation::transitionProperty):
(WebCore::ImplicitAnimation::animatingProperty):
(ImplicitAnimation):
- page/animation/KeyframeAnimation.cpp:
(WebCore::KeyframeAnimation::fetchIntervalEndpointsForProperty):
(WebCore::KeyframeAnimation::hasAnimationForProperty):
(WebCore::KeyframeAnimation::overrideAnimations):
(WebCore::KeyframeAnimation::resumeOverriddenAnimations):
(WebCore::KeyframeAnimation::affectsProperty):
- page/animation/KeyframeAnimation.h:
(KeyframeAnimation):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::transitionPaused):
(WebCore::RenderLayerBacking::transitionFinished):
(WebCore::RenderLayerBacking::graphicsLayerToCSSProperty):
(WebCore::RenderLayerBacking::cssToGraphicsLayerProperty):
- rendering/RenderLayerBacking.h:
(RenderLayerBacking):
- 7:50 PM Changeset in webkit [113280] by
-
- 3 edits in trunk/Source/WebKit/chromium
[Chromium] Calendar Picker: Add localization functions
https://bugs.webkit.org/show_bug.cgi?id=83235
Reviewed by Adam Barth.
Implement calendarTodayText() and calendarClearText(), which are
introduced in http://trac.webkit.org/changeset/113166
- public/platform/WebLocalizedString.h:
Add CalendarClear and CalendarToday.
- src/LocalizedStrings.cpp:
(WebCore::calendarTodayText): Added.
(WebCore::calendarClearText): Added.
- 7:50 PM Changeset in webkit [113279] by
-
- 5 edits2 adds in trunk
[MutationObservers] implement takeRecords()
https://bugs.webkit.org/show_bug.cgi?id=83218
Reviewed by Ojan Vafai.
Source/WebCore:
This patch implements MutationObserver.takeRecords per the DOM4 spec.
takeRecords retrieves and clears any pending mutation records for
the observer.
Test: fast/mutation/takeRecords.html
- dom/WebKitMutationObserver.cpp:
(WebCore::WebKitMutationObserver::takeRecords):
(WebCore):
(WebCore::WebKitMutationObserver::deliver):
- dom/WebKitMutationObserver.h:
- dom/WebKitMutationObserver.idl:
LayoutTests:
- fast/mutation/takeRecords-expected.txt: Added.
- fast/mutation/takeRecords.html: Added.
- 7:42 PM Changeset in webkit [113278] by
-
- 2 edits in trunk/LayoutTests
Rebaseline for r113252.
Unreviewed.
- platform/qt/fast/css/bidi-override-in-anonymous-block-expected.txt:
- 7:35 PM Changeset in webkit [113277] by
-
- 2 edits in trunk/Tools
Fix typo introduced in r113271.
Unreviewed, build fix.
- Scripts/webkitpy/common/net/file_uploader.py:
(FileUploader._upload_data.callback):
(FileUploader):
- 7:28 PM Changeset in webkit [113276] by
-
- 12 edits2 adds in trunk
Shadow DOM is exposed in JS.
https://bugs.webkit.org/show_bug.cgi?id=82607
Reviewed by Hajime Morita.
.:
- Source/autotools/symbols.filter:
Source/WebCore:
DOMSelection didn't consider nested shadow trees. This patch makes DOMSelection
take nested shadow trees into account.
To test that the element is not in a shadow tree, Internals has a treeScopeRootNode method
which returns the root node of the belonging tree scope.
Test: fast/dom/shadow/selection-shouldnt-expose-shadow-dom.html
- WebCore.exp.in:
- page/DOMSelection.cpp:
(WebCore::selectionShadowAncestor):
(WebCore):
- testing/Internals.cpp:
(WebCore::Internals::treeScopeRootNode):
(WebCore):
- testing/Internals.h:
(Internals):
- testing/Internals.idl:
Source/WebKit2:
- win/WebKit2.def:
- win/WebKit2CFLite.def:
LayoutTests:
- fast/dom/shadow/selection-shouldnt-expose-shadow-dom-expected.txt: Added.
- fast/dom/shadow/selection-shouldnt-expose-shadow-dom.html: Added.
- 7:07 PM Changeset in webkit [113275] by
-
- 3 edits in trunk/LayoutTests
Update a layout test, adding a case for traversing a ShadowRoot which does not have any children.
https://bugs.webkit.org/show_bug.cgi?id=82593
Reviewed by Dimitri Glazkov.
Prior to r113125, if we traverse a ShadowRoot which does not have any children,
it caused an assertion failure on debug build. r113125 fixed this issue implicitly.
Adds a test case for that to catch a future regression.
- fast/dom/shadow/focus-navigation-expected.html:
- fast/dom/shadow/focus-navigation.html:
- 6:57 PM Changeset in webkit [113274] by
-
- 2 edits in trunk/Tools
[Chromium, DRT] Bounds check indices on gamepadController
https://bugs.webkit.org/show_bug.cgi?id=83192
Invalid test data would cause bad array accesses. Add simple checks to
ignore such invalid data.
Patch by Scott Graham <scottmg@google.com> on 2012-04-04
Reviewed by Kent Tamura.
- DumpRenderTree/chromium/GamepadController.cpp:
(GamepadController::connect):
(GamepadController::disconnect):
(GamepadController::setId):
(GamepadController::setButtonCount):
(GamepadController::setButtonData):
(GamepadController::setAxisCount):
(GamepadController::setAxisData):
- 6:42 PM Changeset in webkit [113273] by
-
- 9 edits in trunk/Source/WebCore
Replace further usage of int with CSSPropertyID.
https://bugs.webkit.org/show_bug.cgi?id=83119
Reviewed by Simon Fraser.
No new tests / no functionality changed.
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::logUnimplementedPropertyID):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- css/CSSGrammar.y:
- css/CSSParser.cpp:
(WebCore::CSSParser::CSSParser):
- css/CSSParser.h:
(CSSParser):
(WebCore::ShorthandScope::~ShorthandScope):
- css/CSSProperty.h:
(WebCore::CSSProperty::CSSProperty):
- css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getSVGPropertyCSSValue):
- css/StylePropertySet.h:
(StylePropertySet):
- css/makeprop.pl:
- dom/StyledElement.h:
(StyledElement):
- editing/EditingStyle.h:
(EditingStyle):
- html/HTMLElement.h:
(HTMLElement):
- 6:38 PM Changeset in webkit [113272] by
-
- 11 edits in trunk/Source/WebCore
Use PassRefPtr in V8DOMWrapper interface to avoid explicit ref() calls
https://bugs.webkit.org/show_bug.cgi?id=82238
Reviewed by Adam Barth.
Relanding r112163 without modification, as it still seems valid.
Will watch Chrome Canaries closely for any memory issues.
The setJSWrapper* methods previously featured a comment that asked
callers to ref the objects before passing them in. This change makes
that contract explicit (and allows the removal of the comment).
In addition, for ConstructorCallbacks, this change slightly reduces
refcount churn by passing on the initial ref via RefPtr::release().
No new tests, no change in behavior.
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateConstructorCallback): Use RefPtr::release() to avoid refcount churn and remove explicit ref() call.
(GenerateNamedConstructorCallback): ditto.
- bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::installDOMWindow): Cast to a PassRefPtr and remove explicit ref call.
- bindings/v8/V8DOMWrapper.cpp:
(WebCore::V8DOMWrapper::setJSWrapperForDOMNode): Pass leaked refs into the DOMNodeMaps.
- bindings/v8/V8DOMWrapper.h:
(V8DOMWrapper): Make the setJSWrapperFor* methods take PassRefPtr<T>.
(WebCore::V8DOMWrapper::setJSWrapperForDOMObject): Pass leaked ref into the DOMObjectMap.
(WebCore::V8DOMWrapper::setJSWrapperForActiveDOMObject): Pass leaked ref into the ActiveDOMObjectMap.
- bindings/v8/V8Proxy.h:
(WebCore::toV8): Remove explicit ref.
- bindings/v8/WorkerContextExecutionProxy.cpp:
(WebCore::WorkerContextExecutionProxy::initContextIfNeeded): Cast to a PassRefPTr and remove explicit ref call.
- bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
(WebCore::v8HTMLImageElementConstructorCallback): Use RefPtr::release() to avoid refcount churn and remove explicit ref.
- bindings/v8/custom/V8WebKitMutationObserverCustom.cpp:
(WebCore::V8WebKitMutationObserver::constructorCallback): ditto.
- bindings/v8/custom/V8WebSocketCustom.cpp:
(WebCore::V8WebSocket::constructorCallback): ditto.
- bindings/v8/custom/V8XMLHttpRequestConstructor.cpp:
(WebCore::V8XMLHttpRequest::constructorCallback): ditto.
- 6:17 PM Changeset in webkit [113271] by
-
- 4 edits in trunk/Tools
nrwt is failing to upload test results on the chromium-mac-leopard bots
https://bugs.webkit.org/show_bug.cgi?id=83230
Reviewed by Ojan Vafai.
More debugging info and a possible fix - stop messing with the
default network timeout, and don't swallow URLErrors.
- Scripts/webkitpy/common/net/file_uploader.py:
(FileUploader._upload_data):
- Scripts/webkitpy/common/net/networktransaction.py:
(NetworkTransaction.run):
- Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
(JSONResultsGeneratorBase.upload_json_files):
- 5:56 PM Changeset in webkit [113270] by
-
- 5 edits in trunk
Parser fails to revert some state after parsing expression and object literals.
https://bugs.webkit.org/show_bug.cgi?id=83236
Reviewed by Gavin Barraclough.
Source/JavaScriptCore:
Reset left hand side counter after parsing the literals.
- parser/Parser.cpp:
(JSC::::parseObjectLiteral):
(JSC::::parseStrictObjectLiteral):
(JSC::::parseArrayLiteral):
LayoutTests:
Add more parser test cases.
- fast/js/parser-syntax-check-expected.txt:
- fast/js/script-tests/parser-syntax-check.js:
- 5:48 PM Changeset in webkit [113269] by
-
- 2 edits in trunk/Source/JavaScriptCore
DFG InstanceOf should not uselessly speculate cell
https://bugs.webkit.org/show_bug.cgi?id=83234
Reviewed by Oliver Hunt.
If InstanceOf is the only user of its child then don't speculate cell, since
the not-cell case is super easy to handle.
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileInstanceOf):
- 5:14 PM Changeset in webkit [113268] by
-
- 2 edits in trunk/Source/WebCore
WaveTable::waveDataForFundamentalFrequency() should properly interpret negative frequency
https://bugs.webkit.org/show_bug.cgi?id=83228
Reviewed by Kenneth Russell.
- Modules/webaudio/WaveTable.cpp:
(WebCore::WaveTable::waveDataForFundamentalFrequency):
- 5:05 PM Changeset in webkit [113267] by
-
- 5 edits2 adds in trunk
Delay post-insertion notifications until new DOM tree is complete
https://bugs.webkit.org/show_bug.cgi?id=82631
Reviewed by Ojan Vafai.
Source/WebCore:
When inserting a DocumentFragment, WebKit previously would update both
internal WebCore state and mutation event listeners after each node
was inserted. This is inconsistent not only with DOM4, but also
with (at least) Firefox and IE. Given the many bugs over the years in
WebKit due to this behavior, it seems better to delay notification
until the fragment is completely inserted.
The changes to the three core mutation methods below are similar:
the only logic remaining in the loop is checking that insertion is
possible and taking care of that insertion. The entire loop is then
wrapped in forbidEventDispatch/allowEventDispatch, effectively
asserting that none of the code inside will have side effects.
The one bit of logic added to the loop is resizing the targets
vector down to the set of nodes actually inserted as part of the
loop. This makes it possible to simply pass the vector on to
notifyChildrenInserted without having to also pass along a count of
actually-inserted nodes.
As for the code that used to live inside the loop that could have
side-effects, or depended on those side-effects, it has been moved
out, either above (the check that the refChild is still valid in
insertBefore) or after (the calls to notifyChildrenInserted).
Finally, it was necessary to retrofit ChildListMutationScope to take a
vector of added nodes instead of a single node at a time, due to the
assertions in isAddedNodeInOrder (now renamed to be plural). Note that
there is now a single call to ChildListMutationScope::childrenAdded,
inside notifyChildrenInserted.
Test: fast/events/domnodeinserted-entire-fragment.html
- dom/ChildListMutationScope.cpp:
(ChildListMutationScope::MutationAccumulator): Renamed method to be plural.
(WebCore::ChildListMutationScope::MutationAccumulator::areAddedNodesInOrder): Handle a NodeVector instead of a Node.
(WebCore::ChildListMutationScope::MutationAccumulator::childrenAdded): Handle adding a NodeVector instead of a Node.
(WebCore::ChildListMutationScope::MutationAccumulationRouter::childrenAdded): Renamed to be plural, pass NodeVector through.
- dom/ChildListMutationScope.h:
(WebCore::ChildListMutationScope::childrenAdded): ditto.
(MutationAccumulationRouter):
- dom/ContainerNode.cpp:
(WebCore): Renamed updateTreeAfterInsertion to notifyChildrenInserted.
(WebCore::ContainerNode::insertBefore): See main ChangeLog explanation.
(WebCore::ContainerNode::replaceChild): ditto.
(WebCore::ContainerNode::appendChild): ditto.
(WebCore::dispatchChildInsertionEvents): Remove MutationObserver handling.
(WebCore::notifyChildrenInserted): Handle a NodeVector of all inserted children,
and take on responsiblity for MutationObserver handling as well as dispatchSubtreeModifiedEvent.
LayoutTests:
- fast/events/domnodeinserted-entire-fragment-expected.txt: Added.
- fast/events/domnodeinserted-entire-fragment.html: Added.
- 5:03 PM Changeset in webkit [113266] by
-
- 5 edits in trunk
RealtimeAnalyserNode should support smaller analysis sizes
https://bugs.webkit.org/show_bug.cgi?id=83215
Source/WebCore:
Reviewed by Kenneth Russell.
RealtimeAnalyserNode analysis size currently goes no lower than 128.
It is useful to support lower power-of-two sizes.
Decrease this limit to 32.
Updated webaudio/realtimeanalyser-fft-sizing-expected.txt
- Modules/webaudio/RealtimeAnalyser.cpp:
(WebCore):
LayoutTests:
Reviewed by Kenneth Russell.
- webaudio/realtimeanalyser-fft-sizing-expected.txt:
- webaudio/realtimeanalyser-fft-sizing.html:
- 5:00 PM Changeset in webkit [113265] by
-
- 5 edits in trunk/LayoutTests
Unify and modernize fast/css/{outline,background}-currentcolor.html
https://bugs.webkit.org/show_bug.cgi?id=75523
Patch by David Barr <davidbarr@chromium.org> on 2012-04-04
Reviewed by Daniel Bates.
Use js-test-pre utility functions instead of hardcoded testing logic
to simplify the test code and make the test more closely conform to
the visual appearance of other PASS/FAIL tests.
- fast/css/background-currentcolor-expected.txt:
- fast/css/background-currentcolor.html:
- fast/css/outline-currentcolor-expected.txt:
- fast/css/outline-currentcolor.html:
- 4:57 PM Changeset in webkit [113264] by
-
- 3 edits2 adds in trunk
CSS transitions should work on the flex property
https://bugs.webkit.org/show_bug.cgi?id=75915
Reviewed by Dean Jackson.
Source/WebCore:
Test: transitions/flex-transitions.html
- page/animation/AnimationBase.cpp:
(WebCore::PropertyWrapperGetter::equals): Fix indention.
(PropertyWrapperFlex): Add a wrapper for -webkit-flex which has 3 values (two floats and
a length), but is not a shorthand.
(WebCore::PropertyWrapperFlex::PropertyWrapperFlex):
(WebCore::PropertyWrapperFlex::equals):
(WebCore::PropertyWrapperFlex::blend):
(WebCore):
(WebCore::AnimationBase::ensurePropertyMap):
LayoutTests:
- transitions/flex-transitions-expected.txt: Added.
- transitions/flex-transitions.html: Added.
- 4:54 PM Changeset in webkit [113263] by
-
- 3 edits2 adds in trunk
XSSAuditor bypass through HTTP Parameter Pollution.
https://bugs.webkit.org/show_bug.cgi?id=81283
Reviewed by Adam Barth.
Source/WebCore:
Deal with concatenation of multiple parameters via comma-splicing that
is common to some webservers. We can no longer trust that all of the
attributes of a reflected script tag, nor the reflected script itself,
came from the same single URL parameter. The fix is to take commas into
account when trucating the snippet used for matching.
Test: http/tests/security/xssAuditor/script-tag-with-comma.html
- html/parser/XSSAuditor.cpp:
(WebCore::XSSAuditor::filterScriptToken):
(WebCore):
(WebCore::XSSAuditor::decodedSnippetForName):
(WebCore::XSSAuditor::decodedSnippetForJavaScript):
LayoutTests:
- http/tests/security/xssAuditor/script-tag-with-comma-expected.txt: Added.
- http/tests/security/xssAuditor/script-tag-with-comma.html: Added.
- 4:50 PM Changeset in webkit [113262] by
-
- 2 edits in trunk/Source/JavaScriptCore
Fixed minor error: "& 3" should be "& 2".
Rubber-stamped by Oliver Hunt.
- assembler/MacroAssembler.h:
(JSC::MacroAssembler::additionBlindedConstant):
- 4:28 PM Changeset in webkit [113261] by
-
- 4 edits in trunk/Source/WebKit2
Text input doesn't work for some Flash forms
https://bugs.webkit.org/show_bug.cgi?id=83232
<rdar://problem/11186162>
Reviewed by Alexey Proskuryakov.
If a plug-in is instantiated when the WKView is not focused, text input wouldn't work. The reason for this
is that WebPage::windowIsFocused() would only return true if the window and the WKView are both focused. Rename
this member function to windowAndWebPageAreFocused, add a new windowIsFocused member function that does the right thing
and change WebPage::focusedWebPage to use windowAndWebPageAreFocused.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::windowIsFocused):
(WebKit):
(WebKit::WebPage::windowAndWebPageAreFocused):
- WebProcess/WebPage/WebPage.h:
(WebPage):
- WebProcess/WebProcess.cpp:
(WebKit::WebProcess::focusedWebPage):
- 4:23 PM Changeset in webkit [113260] by
-
- 2 edits in trunk/Source/WebCore
Paginated webviews render nothing in their gutters
https://bugs.webkit.org/show_bug.cgi?id=83231
Reviewed by Adele Peterson.
When the RenderView has columns, nothing draws in the gutters.
- page/FrameView.cpp:
(WebCore::FrameView::paintContents): Paint the background color behind everything when
paginated.
- 4:17 PM Changeset in webkit [113259] by
-
- 1 edit59 adds in trunk/LayoutTests
[Chromium] Update expectations for Leopard.
- platform/chromium-mac-leopard/ietestcenter/css3/bordersbackgrounds: Added.
- platform/chromium-mac-leopard/svg/css/group-with-shadow-expected.png: Added.
- 4:10 PM Changeset in webkit [113258] by
-
- 3 edits3 deletes in trunk/LayoutTests
inline script for flexbox tests
https://bugs.webkit.org/show_bug.cgi?id=83220
Reviewed by Ojan Vafai.
Inline the .js test files into the .html files. These tests don't need
to be in a separate file.
- css3/flexbox/css-properties.html:
- css3/flexbox/display-flexbox-set-get.html:
- css3/flexbox/resources/display-flexbox-set-get.js: Removed.
- css3/flexbox/script-tests/TEMPLATE.html: Removed.
- css3/flexbox/script-tests/css-properties.js: Removed.
- 4:06 PM Changeset in webkit [113257] by
-
- 2 edits in trunk/LayoutTests
Rebaseline for r113252.
Unreviewed.
- platform/gtk/fast/css/bidi-override-in-anonymous-block-expected.txt:
- 4:01 PM Changeset in webkit [113256] by
-
- 4 edits in trunk/Tools
nrwt is failing to upload test results on the chromium-mac-leopard bots
https://bugs.webkit.org/show_bug.cgi?id=83230
Reviewed by Ojan Vafai.
- Scripts/webkitpy/common/net/file_uploader.py:
(FileUploader.init):
(FileUploader._upload_data.callback):
(FileUploader):
- Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager._upload_json_files):
- Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
(JSONResultsGeneratorBase.upload_json_files):
- 3:55 PM Changeset in webkit [113255] by
-
- 7 edits in trunk/Source
Call histogramEnumeration directly
https://bugs.webkit.org/show_bug.cgi?id=83106
Patch by Mark Pilgrim <pilgrim@chromium.org> on 2012-04-04
Reviewed by Adam Barth.
Part of a refactoring project to remove the PlatformSupport
abstraction from some functions. See bug 82948.
Source/WebCore:
- bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
(WebCore::histogramEnumeration):
- platform/chromium/HistogramSupportChromium.cpp:
(WebCore::HistogramSupport::histogramEnumeration):
- platform/chromium/PlatformSupport.h:
(PlatformSupport):
Source/WebKit/chromium:
- src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
- src/PlatformSupport.cpp:
(WebCore):
- 3:53 PM Changeset in webkit [113254] by
-
- 2 edits in trunk/Source/WebCore
2012-04-04 Zhenyao Mo <zmo@google.com>
Unreviewed, GPU bots build fix.
Commited on behalf of sievers@chromium.org.
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp: (WebCore::CCLayerTreeHostImpl::canDraw):
- 3:42 PM Changeset in webkit [113253] by
-
- 3 edits in trunk/Source/JavaScriptCore
Constant Blinding for add/sub immediate crashes in ArmV7 when dest is SP
https://bugs.webkit.org/show_bug.cgi?id=83191
Reviewed by Oliver Hunt.
Make are that blinded constant pairs are similarly aligned to the
original immediate values so that instructions that expect that
alignment work correctly. One example is ARMv7 add/sub imm to SP.
- assembler/ARMv7Assembler.h:
(JSC::ARMv7Assembler::add): Added ASSERT that immediate is word aligned.
(JSC::ARMv7Assembler::sub): Added ASSERT that immediate is word aligned.
(JSC::ARMv7Assembler::sub_S): Added ASSERT that immediate is word aligned.
- assembler/MacroAssembler.h:
(JSC::MacroAssembler::additionBlindedConstant):
- 3:41 PM Changeset in webkit [113252] by
-
- 17 edits in trunk
Add helpers to create anonymous table parts.
https://bugs.webkit.org/show_bug.cgi?id=83116
Reviewed by Julien Chaffraix.
Source/WebCore:
The patch introduces helpers to create anonymous table parts by
introducing a new static function createAnonymousWithParentRenderer.
The function builds a new anonymous wrapper of the same type as the class,
inheriting style properties from parent and sets a display based on
argument/default values. Also we streamline the RenderBlock functions
to match this naming convention.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::createAnonymousBlockWithSameTypeAs):
(WebCore::RenderBlock::createAnonymousWithParentRendererAndDisplay):
(WebCore):
(WebCore::RenderBlock::createAnonymousColumnsWithParentRendererAndDisplay):
(WebCore::RenderBlock::createAnonymousColumnSpanWithParentRendererAndDisplay):
- rendering/RenderBlock.h:
(RenderBlock):
(WebCore::RenderBlock::createAnonymousBlock):
(WebCore::RenderBlock::createAnonymousColumnsBlock):
(WebCore::RenderBlock::createAnonymousColumnSpanBlock):
- rendering/RenderButton.cpp:
(WebCore::RenderButton::addChild):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::addChild):
- rendering/RenderTable.cpp:
(WebCore::RenderTable::addChild):
(WebCore::RenderTable::createAnonymousWithParentRendererAndDisplay):
(WebCore):
- rendering/RenderTable.h:
(RenderTable):
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::createAnonymousWithParentRendererAndDisplay):
(WebCore):
- rendering/RenderTableCell.h:
(RenderTableCell):
- rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::addChild):
(WebCore::RenderTableRow::createAnonymousWithParentRendererAndDisplay):
(WebCore):
- rendering/RenderTableRow.h:
(RenderTableRow):
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::addChild):
(WebCore::RenderTableSection::createAnonymousWithParentRendererAndDisplay):
(WebCore):
- rendering/RenderTableSection.h:
(RenderTableSection):
LayoutTests:
Rebaselining tests because we now correctly inherit the bidi override.
- platform/chromium-mac/fast/css/bidi-override-in-anonymous-block-expected.txt:
- platform/chromium-win/fast/css/bidi-override-in-anonymous-block-expected.txt:
- 3:36 PM Changeset in webkit [113251] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Adjust expectations for fast/text/international/spaces-combined-in-vertical-text.html
- platform/chromium/test_expectations.txt: Tweaked some more.
- 3:30 PM Changeset in webkit [113250] by
-
- 14 edits6 adds in trunk
[V8] Add a per context data store and use that for caching boiler plates as well as constructor functions
https://bugs.webkit.org/show_bug.cgi?id=83093
Reviewed by Adam Barth.
Source/WebCore:
This introduces a V8BindingPerContextData class. After creating a new v8::Context we also create a new
per context data instance. This instance maintains the boiler plate and constructor caches. V8DOMWrapper
now delegates the caching to this new class. Previously the caching was only done in V8DOMWindowShell which
made workers and isolated worlds behave slightly different.
Tests: fast/dom/constructor-proto.html
fast/workers/constructor-proto.html
- WebCore.gypi:
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateConstructorGetter): Renamed getConstructor to constructorForType.
- bindings/v8/V8BindingPerContextData.cpp: Added.
(WebCore):
(WebCore::V8BindingPerContextData::dispose): This clears the persistent handles stored in the maps.
(WebCore::V8BindingPerContextData::init): This installs the hidden prototype which is used as the
Prototype for the constructor functions (for HotMail compat).
(WebCore::V8BindingPerContextData::createWrapperFromCacheSlowCase): Instantiates a new object and
stores it in the boilerplate map, and returns a clone.
(WebCore::V8BindingPerContextData::constructorForTypeSlowCase): Creates the function for the constructor
and stores it in the constructor map.
- bindings/v8/V8BindingPerContextData.h: Added.
(WebCore):
(V8BindingPerContextData):
(WebCore::V8BindingPerContextData::create):
(WebCore::V8BindingPerContextData::~V8BindingPerContextData):
(WebCore::V8BindingPerContextData::createWrapperFromCache): Checks the cache and clones the wrapper in
the cache. If no boiler plate exists one is created and cached.
(WebCore::V8BindingPerContextData::constructorForType): If the constructor already exists the cached
constructor function is returned, otherwise a new constructor function is created and cached.
(WebCore::V8BindingPerContextData::V8BindingPerContextData):
- bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::disposeContextHandles): Clear the per context data when disposing the handles.
(WebCore::V8DOMWindowShell::initContextIfNeeded): Create and initialize the per context data.
(WebCore::V8DOMWindowShell::installDOMWindow):
- bindings/v8/V8DOMWindowShell.h:
(V8DOMWindowShell):
(WebCore::V8DOMWindowShell::perContextData):
- bindings/v8/V8DOMWrapper.cpp:
(WebCore::V8DOMWrapper::constructorForType): Static method to get the constructor. The per context data
is determined based on the type of the parameters.
(WebCore):
(WebCore::V8DOMWrapper::perContextData):
(WebCore::V8DOMWrapper::instantiateV8Object): Use the per context data to unify the code paths.
- bindings/v8/V8DOMWrapper.h:
(WebCore):
(V8DOMWrapper):
- bindings/v8/V8IsolatedContext.cpp:
(WebCore::V8IsolatedContext::V8IsolatedContext): Create and initialize the per context data.
(WebCore::V8IsolatedContext::destroy): Clear the per context data.
- bindings/v8/V8IsolatedContext.h:
(WebCore):
(WebCore::V8IsolatedContext::perContextData):
(V8IsolatedContext):
- bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::retrievePerContextData):
(WebCore):
- bindings/v8/V8Proxy.h:
(WebCore):
(V8Proxy):
- bindings/v8/WorkerContextExecutionProxy.cpp:
(WebCore::WorkerContextExecutionProxy::dispose): Clear the per context data
(WebCore::WorkerContextExecutionProxy::initContextIfNeeded): Create and initialize the per context data.
- bindings/v8/WorkerContextExecutionProxy.h:
(WebCore):
(WebCore::WorkerContextExecutionProxy::perContextData):
(WorkerContextExecutionProxy):
LayoutTests:
- fast/dom/constructor-proto-expected.txt: Added.
- fast/dom/constructor-proto.html: Added.
- fast/workers/constructor-proto-expected.txt: Added.
- fast/workers/constructor-proto.html: Added.
- 3:28 PM Changeset in webkit [113249] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, updating expected test output for a test already marked FAIL.
Replace dummy output with real expected output to unblock Chromium-side test.
- storage/indexeddb/dont-commit-on-blocked-expected.txt:
- 3:23 PM Changeset in webkit [113248] by
-
- 7 edits in trunk/Source
[chromium] Move recursive renderSurface clearing to CCLayerTreeHostImpl
https://bugs.webkit.org/show_bug.cgi?id=82091
Reviewed by James Robinson.
Source/WebCore:
No new tests needed, minor refactoring covered by existing tests.
This patch is just a minor cleanup, moving clearRenderSurfacesOnCCLayerImplRecursive()
from LayerRendererChromium to CCLayerTreeHostImpl. It makes more sense to place the code
there, so that LayerRendererChromium is more like a blind utility for drawing things
while CCLayerTreeHostImpl actually manages the state of the resources.
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::beginDrawingFrame):
- platform/graphics/chromium/LayerRendererChromium.h:
(LayerRendererChromium):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::~CCLayerTreeHostImpl):
(WebCore::CCLayerTreeHostImpl::initializeLayerRenderer):
(WebCore::CCLayerTreeHostImpl::sendDidLoseContextRecursive):
(WebCore::CCLayerTreeHostImpl::clearRenderSurfacesOnCCLayerImplRecursive):
(WebCore):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(WebCore::CCLayerTreeHostImpl::rootLayer):
(CCLayerTreeHostImpl):
Source/WebKit/chromium:
- tests/LayerRendererChromiumTest.cpp:
(FakeLayerRendererChromiumClient::FakeLayerRendererChromiumClient):
- 3:23 PM Changeset in webkit [113247] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Tweak expectations for accessibility/aria-checkbox-sends-notification.html.
- platform/chromium/test_expectations.txt: Tweaked expectations.
- 3:19 PM Changeset in webkit [113246] by
-
- 1038 edits503 copies31 deletes in branches/subpixellayout
Merge trunk changes up until 113241 into subpixel branch.
- 3:13 PM Changeset in webkit [113245] by
-
- 9 edits in trunk/Source
Web Audio should use MutexTryLocker class
https://bugs.webkit.org/show_bug.cgi?id=83194
Reviewed by Kenneth Russell.
Source/WebCore:
Switch existing Web Audio code from directly calling tryLock() on a Mutex to use a MutexTryLocker.
No new tests since it is a low-level threading primitive and is difficult to test.
Existing Web Audio tests continue to test the process() methods affected.
- Modules/webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::process):
- Modules/webaudio/AudioParamTimeline.cpp:
(WebCore::AudioParamTimeline::valuesForTimeRange):
- Modules/webaudio/ConvolverNode.cpp:
(WebCore::ConvolverNode::process):
- Modules/webaudio/MediaElementAudioSourceNode.cpp:
(WebCore::MediaElementAudioSourceNode::process):
- Modules/webaudio/Oscillator.cpp:
(WebCore::Oscillator::process):
- Modules/webaudio/WaveShaperProcessor.cpp:
(WebCore::WaveShaperProcessor::process):
Source/WTF:
Add MutexTryLocker class which can be used as a stack-based object wrapping a Mutex.
It will automatically unlock the Mutex in its destructor if the tryLock() succeeded.
- wtf/ThreadingPrimitives.h:
(MutexTryLocker):
(WTF::MutexTryLocker::MutexTryLocker):
(WTF::MutexTryLocker::~MutexTryLocker):
(WTF::MutexTryLocker::locked):
Check if the tryLock() on the Mutex succeeded.
(WTF):
- 3:06 PM Changeset in webkit [113244] by
-
- 3 edits in trunk/Source/WebCore
[CSS] Make makevalues.pl and makeprop.pl ignore '#'s.
https://bugs.webkit.org/show_bug.cgi?id=83212
Reviewed by Tony Chang.
This patch is a side-effect of my intentions to make the
CMake-based ports work with GCC 4.7 without changing the
parameters currently passed to the preprocessor. "-P" is always
being passed to the preprocessor, but this breaks
dom/make_names.pl due to GCC not outputting empty lines with "-P"
anymore; if I switch to never passing "-P" (my aim), the CSS
scripts currently break because of the additional lines output by
the preprocessor. InFilesParser.pm and make-css-file-array.pl
already skip lines which start with '#', for example.
No new tests, tools plumbing.
- css/makeprop.pl:
- css/makevalues.pl:
- 2:48 PM Changeset in webkit [113243] by
-
- 2 edits in trunk/Source/WebCore
Disable fancy upsampling and dithering for decoding jpeg on android
https://bugs.webkit.org/show_bug.cgi?id=83196
Patch by Min Qin <qinmin@google.com> on 2012-04-04
Reviewed by Kenneth Russell.
Dithering and fancy upsampling are currently disabled for chrome on android.
This gives us about 20% performance improvement.
Since the screen of mobile devices is small, impact on image quality is limited.
This change does not introduce any changes on other platforms.
- platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
(ditherMode):
(doFancyUpsampling):
(WebCore::JPEGImageReader::decode):
- 2:40 PM WebKit Team edited by
- (diff)
- 2:36 PM Changeset in webkit [113242] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Mark fonts/cursive.html as flaky on LION.
- platform/chromium/test_expectations.txt: Marked as flaky.
- 2:33 PM WebKit Team edited by
- (diff)
- 2:27 PM Changeset in webkit [113241] by
-
- 7 edits in trunk/Source
[Chromium] Always skip draw and readback if there is nothing
to draw.
https://bugs.webkit.org/show_bug.cgi?id=82680
This avoids corruption from pushing frames that have no valid
content drawn into them.
Also in addition to checking for non-existing root layers, check
for root layers with no content bounds. It's possible to see those
with kForceCompositing mode for empty documents.
Patch by Daniel Sievers <sievers@chromium.org> on 2012-04-04
Reviewed by James Robinson.
Added CCLayerTreeHostTestEmptyContentsShouldNotDraw.
Source/WebCore:
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::canDraw):
(WebCore::CCLayerTreeHostImpl::prepareToDraw):
- platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::scheduledActionDrawAndSwapInternal):
Source/WebKit/chromium:
- tests/CCLayerTreeHostImplTest.cpp:
(WebKitTests::TEST_F):
- tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTest::doBeginTest):
(WTF):
(CCLayerTreeHostTestEmptyContentsShouldNotDraw):
(WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::CCLayerTreeHostTestEmptyContentsShouldNotDraw):
(WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::beginTest):
(WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::drawLayersOnCCThread):
(WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::didCommitAndDrawFrame):
(WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::afterTest):
(WTF::TEST_F):
- 2:14 PM Changeset in webkit [113240] by
-
- 2 edits in trunk/Source/JavaScriptCore
DFG should short-circuit Branch(LogicalNot(...))
https://bugs.webkit.org/show_bug.cgi?id=83181
Reviewed by Geoff Garen.
Slight (sub 1%) speed-up on V8.
- dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):
- 2:12 PM Changeset in webkit [113239] by
-
- 2 edits in trunk/LayoutTests
https://bugs.webkit.org/show_bug.cgi?id=83207
platform/mac/fast/forms/input-list-button-size.html fails on the Mac bots after
r11317
This test is expected to fail now that datalist is disabled.
- platform/mac/Skipped:
- 2:11 PM Changeset in webkit [113238] by
-
- 15 edits in trunk/Source
Full Screen mode should cancel before navigation.
https://bugs.webkit.org/show_bug.cgi?id=81295
Reviewed by Anders Carlsson.
Source/WebCore:
No new tests; protect against speculative crasher when a bad client calls the below
functions at inopportune times.
Check that the document is not either detached or in the page cache, and if so, bail out
early:
- dom/Document.cpp:
(WebCore::Document::webkitWillEnterFullScreenForElement):
(WebCore::Document::webkitDidEnterFullScreenForElement):
(WebCore::Document::webkitWillExitFullScreenForElement):
(WebCore::Document::webkitDidExitFullScreenForElement):
Source/WebKit/mac:
When a provisional load is started, if the page is currently in full screen mode, instruct
the full screen controller to close the full screen window immediately.
- WebView/WebFullScreenController.h:
- WebView/WebFullScreenController.mm:
(-[WebFullScreenController isFullScreen]): Added.
- WebView/WebView.mm:
(-[WebView _didStartProvisionalLoadForFrame:]): Close the full screen window controller, if
present and in full screen mode.
Source/WebKit2:
When a provisional load is started, if the page is currently in full screen mode, instruct
the full screen controller to close the full screen window immediately.
Close the full screen window controller, if present and in full screen mode:
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didStartProvisionalLoadForFrame):
Add boilerplate to support passing through isFullScreen() and close() methods from the WebPageProxy
to the WKFullScreenWindowController:
- UIProcess/WebFullScreenManagerProxy.h:
- UIProcess/mac/WKFullScreenWindowController.h:
- UIProcess/mac/WKFullScreenWindowController.mm:
(-[WKFullScreenWindowController isFullScreen]): Added simple accessor.
- UIProcess/mac/WebFullScreenManagerProxyMac.mm:
(WebKit::WebFullScreenManagerProxy::close): Pass through to the WKFullScreenWindowController.
(WebKit::WebFullScreenManagerProxy::isFullScreen): Ditto.
- 2:06 PM Changeset in webkit [113237] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Adjust expectations for fast/text/international/spaces-combined-in-vertical-text.html
https://bugs.webkit.org/show_bug.cgi?id=82669
- platform/chromium/test_expectations.txt: Tweaked expectations.
- 2:06 PM Changeset in webkit [113236] by
-
- 2 edits in trunk/Source/WebCore
Fix getFilterOutsets parameter types in RenderLayer
https://bugs.webkit.org/show_bug.cgi?id=83041
Reviewed by Julien Chaffraix.
The getFilterOutsets method was changed to take integers in r112475, update
RenderLayer to use the right data type for the outset arguments.
No new tests, no change in functionality.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::setFilterBackendNeedsRepaintingInRect):
(WebCore::RenderLayer::calculateLayerBounds):
- 1:51 PM Changeset in webkit [113235] by
-
- 14 edits in trunk
WKTR needs to implement layoutTestController.setPageVisibility()
https://bugs.webkit.org/show_bug.cgi?id=69554
Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2012-04-04
Reviewed by Simon Fraser.
Source/WebKit2:
This patch implements the setPageVisibilityState through InjectedBundle
so WKTR supports the Page Visibility API and can set the visibility state
directly to Page.
- WebProcess/InjectedBundle/API/c/WKBundle.cpp:
(WKBundleSetPageVisibilityState):
- WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
- WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit):
(WebKit::InjectedBundle::setPageVisibilityState):
- WebProcess/InjectedBundle/InjectedBundle.h:
(InjectedBundle):
Tools:
This patch implements the layoutTestController.setPageVisibility
so WKTR supports the Page Visibility API implementation by using InjectedBundle
to set the visibility state directly to Page.
- WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
- WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
(WTR::LayoutTestController::setPageVisibility):
(WTR):
(WTR::LayoutTestController::resetPageVisibility):
- WebKitTestRunner/InjectedBundle/LayoutTestController.h:
(LayoutTestController):
LayoutTests:
- platform/wk2/Skipped: Unskipping compositing/video-page-visibility.html
- 1:47 PM Changeset in webkit [113234] by
-
- 5 edits in trunk/Source/WebCore
Rebaseline binding tests.
Unreviewed.
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::V8TestInterface::constructorCallback):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructorConstructorCallback):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::V8TestObj::constructorCallback):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::V8TestSerializedScriptValueInterface::constructorCallback):
- 1:43 PM Changeset in webkit [113233] by
-
- 5 edits in trunk
Source/WebCore: [JSC] ArrayBufferView and its ArrayBuffer are appended to object pool in wrong order
https://bugs.webkit.org/show_bug.cgi?id=82090
The implementation of structured cloning algorithm (http://www.w3.org/TR/html5/common-dom-interfaces.html#internal-structured-cloning-algorithm)
in SerializedScriptValue.cpp assigns numerical identifiers to encontered objects as it traverses
the cloned object during serialization.
When the cloning encounters an already seen object, it transfers the assigned numerical id
instead of cloning the object again. Deserialization process then repeats the process in
the mirror fashion, i.e. on deserializing the object it assigns deserialized object a numeric id and if it
deserializes the id it substitutes the perviously deserialized objects. It is critical that serialization and deserialization
assigns numeric ids in the same order.
The bug (discovered by Yong Li) is that when serializing ArrayBufferView, the ids were assigned first to
the ArrayBufferView and then to underlying ArrayBuffer; however on deserialization the ids were assigned another way round.
This patch fixes that by assigning the id first to ArrayBuffer and then to ArrayBufferView, and adds corresponding test cases.
Reviewed by Kenneth Russell.
New test cases added to fast/canvas/web-gl/array-message-passing.html.
- bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::checkForDuplicate):
(CloneSerializer):
(WebCore::CloneSerializer::recordObject):
(WebCore::CloneSerializer::startObjectInternal):
(WebCore::CloneSerializer::dumpIfTerminal):
LayoutTests: [JSC] ArrayBufferView and its ArrayBuffer are appended to object pool in wrong order
https://bugs.webkit.org/show_bug.cgi?id=82090
Adds tests that cover more than one view of the same ArrayBuffer being cloned.
Reviewed by Kenneth Russell.
- fast/canvas/webgl/array-message-passing-expected.txt:
- fast/canvas/webgl/script-tests/array-message-passing.js:
(typedArrayCompare):
(dataViewCompare):
(dataViewCompare2):
(dataViewCompare3):
- 1:31 PM Changeset in webkit [113232] by
-
- 2 edits in trunk/Source/WebCore
[chromium] When setting animation started events, should check the root layer
https://bugs.webkit.org/show_bug.cgi?id=83060
Patch by Ian Vollick <vollick@chromium.org> on 2012-04-04
Reviewed by Adrienne Walker.
No new tests.
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::animateLayers):
(WebCore::CCLayerTreeHost::animateLayersRecursive):
(WebCore::CCLayerTreeHost::setAnimationEventsRecursive):
- 1:27 PM Changeset in webkit [113231] by
-
- 3 edits in trunk
[Chromium] TestWebKitAPI links in WebCore twice
https://bugs.webkit.org/show_bug.cgi?id=83177
Reviewed by Dimitri Glazkov.
This is causing link errors in the Windows component build. This patch
moves the dependencies a bit lower down in the dependency diagram in
the hopes of removing the duplicate symbols.
- TestWebKitAPI/TestWebKitAPI.gyp/TestWebKitAPI.gyp:
- 1:10 PM Changeset in webkit [113230] by
-
- 9 edits in trunk
Web Inspector: break on DOM node insertion only once per operation, not once per inserted node
https://bugs.webkit.org/show_bug.cgi?id=82967
Reviewed by Ojan Vafai.
Source/WebCore:
This change affects the case where a DocumentFragment is inserted,
rather than a single node. This is most common when using innerHTML:
the effect of the change is that inserting, e.g., '<input><input>',
the SubtreeModified breakpoint will be hit once, rather than twice
(once for each input element). Given that the particular node being
inserted wasn't exposed as part of the breakpoint, this seems strictly
better.
Now that the call to willInsertDOMNode is outside the loop, there's
not an obvious node to pass in as the new child. Luckily, InspectorDOMDebuggerAgent
already ignored that argument, so it's simply been removed from the signature.
This changes paves the way to do only tree-modification work, and no
external notifications, inside the loops in appendChild/insertBefore/replaceChild.
- dom/ContainerNode.cpp:
(WebCore::ContainerNode::insertBefore): Hoisted call to willInsertDOMNode out of loop.
(WebCore::ContainerNode::replaceChild): ditto.
(WebCore::ContainerNode::appendChild): ditto.
- inspector/InspectorDOMDebuggerAgent.cpp:
(WebCore::InspectorDOMDebuggerAgent::willInsertDOMNode): Removed first argument (now takes only the parent).
- inspector/InspectorDOMDebuggerAgent.h:
(InspectorDOMDebuggerAgent):
- inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::willInsertDOMNodeImpl): Removed second argument.
- inspector/InspectorInstrumentation.h:
(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::willInsertDOMNode): Removed second argument.
LayoutTests:
Added test for setting inner HTML and ensuring that only a single
breakpoint is hit.
- inspector/debugger/dom-breakpoints.html:
- platform/chromium/inspector/debugger/dom-breakpoints-expected.txt:
- 1:06 PM Changeset in webkit [113229] by
-
- 3 edits2 adds in trunk
Source/WebCore: Move pending sheet removal from ~HTMLLinkElement to removal from document.
https://bugs.webkit.org/show_bug.cgi?id=69184
Reviewed by Adam Barth.
Test: fast/html/pending-stylesheet-crash.html
- html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::~HTMLLinkElement):
(WebCore::HTMLLinkElement::removedFromDocument):
LayoutTests: Move pending sheet removal from ~HTMLLinkElement to removal from document.
https://bugs.webkit.org/show_bug.cgi?id=69184
Reviewed by Adam Barth.
- fast/html/pending-stylesheet-crash-expected.txt: Added.
- fast/html/pending-stylesheet-crash.html: Added.
- 12:50 PM Changeset in webkit [113228] by
-
- 21 edits4 adds in trunk/LayoutTests
Unskip Mac filter pixel tests which changed because of color space adjustment
https://bugs.webkit.org/show_bug.cgi?id=80630
Unreviewed.
- platform/mac/test_expectations.txt: Unskip tests now that patch for b80571 landed.
- platform/wk2/Skipped: Unskip same tests.
These were rebaselined with color correction. Between WK1 and WK2, however, they still fail
the pixel hash, and completely fail if tolerance is set to 0. https://bugs.webkit.org/show_bug.cgi?id=83187
- css3/filters/add-filter-rendering-expected.png:
- css3/filters/crash-filter-change-expected.png:
- css3/filters/effect-blur-expected.png:
- css3/filters/effect-brightness-expected.png:
- css3/filters/effect-combined-expected.png:
- css3/filters/effect-contrast-expected.png:
- css3/filters/effect-drop-shadow-expected.png:
- css3/filters/effect-grayscale-expected.png:
- css3/filters/effect-hue-rotate-expected.png:
- css3/filters/effect-invert-expected.png:
- css3/filters/effect-opacity-expected.png:
- css3/filters/effect-saturate-expected.png:
- css3/filters/effect-sepia-expected.png:
- css3/filters/filter-repaint-expected.png:
- css3/filters/filter-with-transform-expected.png:
- css3/filters/nested-filter-expected.png:
- css3/filters/regions-expanding-expected.png:
- css3/filters/simple-filter-rendering-expected.png:
These tests fail between WK1 and WK2 because of a difference in the blur. https://bugs.webkit.org/show_bug.cgi?id=83188
- platform/mac-wk2/css3/filters/effect-blur-expected.png: Added.
- platform/mac-wk2/css3/filters/effect-combined-expected.png: Added.
- platform/mac-wk2/css3/filters/effect-opacity-expected.png: Added.
- platform/mac-wk2/css3/filters/regions-expanding-expected.png: Added.
- 12:46 PM Changeset in webkit [113227] by
-
- 7 edits in trunk/Source
Call histogramCustomCounts directly
https://bugs.webkit.org/show_bug.cgi?id=83112
Patch by Mark Pilgrim <pilgrim@chromium.org> on 2012-04-04
Reviewed by Adam Barth.
Source/WebCore:
- platform/chromium/PlatformSupport.h:
(PlatformSupport):
- platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerPainter::paint):
- platform/graphics/chromium/cc/CCOverdrawMetrics.cpp:
(WebCore::CCOverdrawMetrics::recordMetricsInternal):
Source/WebKit/chromium:
- src/PlatformSupport.cpp:
(WebCore):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::paint):
(WebKit::WebViewImplContentPainter::paint):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
- src/painting/PaintAggregator.cpp:
- 12:35 PM Changeset in webkit [113226] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Mark fast/writing-mode/relative-positioning-percentages.html as crashing on Mac debug
https://bugs.webkit.org/show_bug.cgi?id=83185
- platform/chromium/test_expectations.txt: Marked as crashing.
- 12:33 PM Changeset in webkit [113225] by
-
- 19 edits in trunk/Source
Source/WebCore: Animation related classes should use CSSPropertyID rather than integers when manipulating CSS property ids.
https://bugs.webkit.org/show_bug.cgi?id=83050
Reviewed by Simon Fraser.
Split the concept of animate none and animate all into a separate function rather than using the property member
with some magic value set on it. Make also sure that we use CSSPropertyID all over the place rather than integers.
We still have some place where convert from int to CSSPropertyID (mostly due to the fact that we need to make Hash*
related classes to handle CSSPropertyID). While refactoring I also removed some dead code.
No new tests : not behaviour changes intented.
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- css/CSSStyleApplyProperty.cpp:
(WebCore::ApplyPropertyAnimation::applyInheritValue):
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::collectMatchingRulesForList):
- page/animation/AnimationBase.cpp:
(WebCore):
(WebCore::PropertyWrapperBase::PropertyWrapperBase):
(WebCore::PropertyWrapperBase::property):
(PropertyWrapperBase):
(WebCore::PropertyWrapperGetter::PropertyWrapperGetter):
(WebCore::PropertyWrapper::PropertyWrapper):
(WebCore::RefCountedPropertyWrapper::RefCountedPropertyWrapper):
(WebCore::StyleImagePropertyWrapper::StyleImagePropertyWrapper):
(WebCore::PropertyWrapperColor::PropertyWrapperColor):
(WebCore::PropertyWrapperShadow::PropertyWrapperShadow):
(WebCore::PropertyWrapperMaybeInvalidColor::PropertyWrapperMaybeInvalidColor):
(WebCore::PropertyWrapperVisitedAffectedColor::PropertyWrapperVisitedAffectedColor):
(WebCore::FillLayersPropertyWrapper::FillLayersPropertyWrapper):
(WebCore::ShorthandPropertyWrapper::ShorthandPropertyWrapper):
(WebCore::PropertyWrapperSVGPaint::PropertyWrapperSVGPaint):
(WebCore::wrapperForProperty):
(WebCore::AnimationBase::propertiesEqual):
The code removed here could never be reached. propertiesEqual is used only in CompositeAnimation::updateTransitions and through
ImplicitAnimation::isTargetPropertyEqual which is also called in CompositeAnimation. Both calls are protected by an ASSERT in
CompositeAnimation:116 where we make sure the property id we're dealing with is a valid property id, therefore prop can't be equal to
the old value cAnimateAll or even the new mode concept introduced in that patch can't be AnimateAll.
(WebCore::AnimationBase::getPropertyAtIndex):
(WebCore::AnimationBase::blendProperties):
(WebCore::AnimationBase::animationOfPropertyIsAccelerated):
(WebCore::gatherEnclosingShorthandProperties):
(WebCore::AnimationBase::animatableShorthandsAffectingProperty):
- page/animation/AnimationBase.h:
(AnimationBase):
- page/animation/CompositeAnimation.cpp:
(WebCore::CompositeAnimation::updateTransitions):
(WebCore::CompositeAnimation::pauseTransitionAtTime):
- page/animation/CompositeAnimation.h:
(CompositeAnimation):
- page/animation/ImplicitAnimation.cpp:
(WebCore::ImplicitAnimation::ImplicitAnimation):
(WebCore::ImplicitAnimation::sendTransitionEvent):
The check removed is useless as ImplicitAnimation constructor ensure via an ASSERT that the animatingProperty value is a correct and valid
property id. Even the old code was ensuring the value of animatingProperty was different from cAnimateAll at construction time. As stated also
in CompositeAnimation::updateTransitions and cover by the same ASSERT explained earlier, ImplicitAnimation are constructed for valid property ids.
(WebCore::ImplicitAnimation::isTargetPropertyEqual):
(WebCore::ImplicitAnimation::blendPropertyValueInStyle):
- page/animation/ImplicitAnimation.h:
(WebCore::ImplicitAnimation::create):
(ImplicitAnimation):
- page/animation/KeyframeAnimation.cpp:
(WebCore::KeyframeAnimation::animate):
(WebCore::KeyframeAnimation::getAnimatedStyle):
(WebCore::KeyframeAnimation::timeToNextService):
- platform/animation/Animation.cpp:
(WebCore::Animation::Animation):
(WebCore::Animation::operator=):
(WebCore::Animation::animationsMatch):
- platform/animation/Animation.h:
(WebCore::Animation::property):
(WebCore::Animation::animationMode):
(WebCore::Animation::setProperty):
(WebCore::Animation::setAnimationMode):
(Animation):
(WebCore::Animation::initialAnimationProperty):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::startTransition):
- rendering/RenderLayerBacking.h:
(RenderLayerBacking):
- rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::transitionForProperty):
- rendering/style/RenderStyle.h:
Source/WebKit2: Animation related classes should use CSSPropertyId rather than integers when manipulating CSS property ids.
https://bugs.webkit.org/show_bug.cgi?id=83050
Reviewed by Simon Fraser.
The property of the Animation is a CSSPropertyID. It's ok to cast it here as an int for IPC transmission.
- Shared/WebCoreArgumentCoders.cpp:
(CoreIPC::::encode):
(CoreIPC::::decode):
- 12:11 PM Changeset in webkit [113224] by
-
- 9 edits in trunk
[EFL][DRT] Catch the "resource,request,willsend" signal
https://bugs.webkit.org/show_bug.cgi?id=82192
Patch by Christophe Dumez <Christophe Dumez> on 2012-04-04
Reviewed by Gustavo Noronha Silva.
Source/WebKit/efl:
EFL's FrameLoaderClient now emits the "resource,request,willsend"
signal on the view for all resources about to be loaded, not just the
main frame. Also adds a boolean flag to Ewk_Frame_Resource_Request to
distinguish the request for the main frame from those for
sub-resources.
- WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::dispatchWillSendRequest):
(WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest):
(WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
- ewk/ewk_frame.h:
- ewk/ewk_view.h:
Tools:
EFL's DumpRenderTree now catches the "resource,request,willsend"
signal in order to implement the "Blocked access to external URL"
behavior and avoid potential network-related timeouts in the tests.
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::createView):
(DumpRenderTreeChrome::onWillSendRequest):
- DumpRenderTree/efl/DumpRenderTreeChrome.h:
(DumpRenderTreeChrome):
LayoutTests:
Unskip related test cases now that EFL's DumpRenderTree
catches the "resource,request,willsend" signal and implements the
"Blocked access to external URL" behavior.
- platform/efl/Skipped:
- 12:10 PM Changeset in webkit [113223] by
-
- 3 edits in trunk/Source/WebCore
Fix usage of LayoutUnits and snapping for scrolling in RenderBox
https://bugs.webkit.org/show_bug.cgi?id=83073
Reviewed by Eric Seidel.
Fix usage of LayoutUnits and snapping/rounding logic in RenderBox.
No new tests, no change in functionality.
- rendering/RenderBox.cpp:
(WebCore::RenderBox::scrollWidth):
Change scrollWidth to properly pixel snap values.
(WebCore::RenderBox::scrollHeight):
Change scrollHeight to properly pixel snap values.
(WebCore::RenderBox::scrolledContentOffset):
Change to return IntSize to match function definition.
(WebCore::RenderBox::cachedSizeForOverflowClip):
Changed cachedSizeForOverflowClip to LayoutSize as the overflow and clip
rects all have subpixel precision.
- rendering/RenderBox.h:
(WebCore::RenderBox::pixelSnappedWidth):
(WebCore::RenderBox::pixelSnappedHeight):
Removed FIXME comment as the implementation
(WebCore::RenderBox::minYLayoutOverflow):
(WebCore::RenderBox::maxYLayoutOverflow):
(WebCore::RenderBox::minXLayoutOverflow):
(WebCore::RenderBox::maxXLayoutOverflow):
Added static_cast for border values.
(WebCore::RenderBox::hasVisualOverflow):
Changed to compare two pixel snapped values as we don't want to indicate
overflow in cases where the the size is rounded down resulting in no
visual overflow.
- 12:04 PM Changeset in webkit [113222] by
-
- 11 edits in trunk/Source/WebCore
Fix types for location, size and rect calculations for render objects
https://bugs.webkit.org/show_bug.cgi?id=83089
Reviewed by Eric Seidel.
Fix usage of LayoutUnits and rounding for a couple of different render
object classes.
No new tests, no change in functionality.
- rendering/RenderDetailsMarker.cpp:
(WebCore::RenderDetailsMarker::getPath):
Change getPath to take a LayoutPoint as the transform has subpixel
precision already.
- rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::computeLogicalHeight):
Change logicalHeight to LayoutUnit as it is computed from subpixel
values.
- rendering/RenderInputSpeech.cpp:
(WebCore::RenderInputSpeech::paintInputFieldSpeechButton):
Change button rect computation to LayoutRect and pixel snap just before
painting to preserve precision.
- rendering/RenderLineBoxList.cpp:
(WebCore::RenderLineBoxList::rangeIntersectsRect):
(WebCore::RenderLineBoxList::lineIntersectsDirtyRect):
(WebCore::RenderLineBoxList::paint):
Change range calculations to LayoutUnits to preserve precision.
- rendering/RenderMarquee.cpp:
(WebCore::RenderMarquee::computePosition):
Change width calculations to LayoutUnits to preserve precision.
- rendering/RenderTable.cpp:
(WebCore::RenderTable::layoutCaption):
Change table captions to LayoutUnits as the values are computed from
subpixel componenets.
- rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::getRoundedBorderFor):
Snap border rect as RoundedRects use ints for crisp rendering.
- rendering/style/ShadowData.cpp:
(WebCore::ShadowData::adjustRectForShadow):
Change adjustRectForShadow to take a LayoutRect as it already uses
LayoutUnits.
- 11:54 AM Changeset in webkit [113221] by
-
- 3 edits in trunk/Source/WebCore
Convert RootInlineBox to LayoutUnits in preparation for turning on subpixel layout
https://bugs.webkit.org/show_bug.cgi?id=83054
Reviewed by Eric Seidel.
Convert RootInlineBox over to LayoutUnits, this mostly involves updating
the alignment and adjustment code to be subpixel aware.
No new tests, no change in functionality.
- rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::alignBoxesInBlockDirection):
Change beforeAnnotationsAdjustment to LayoutUnit.
(WebCore::RootInlineBox::beforeAnnotationsAdjustment):
Change method to return LayoutUnit as it is computed from values with
subpixel precision.
(WebCore::RootInlineBox::lineSnapAdjustment):
Round values before computing remainder.
(WebCore::RootInlineBox::ascentAndDescentForBox):
Change ascent and decent calculation to use LayoutUnits as they are
computed from values with subpixel precision.
(WebCore::RootInlineBox::verticalPositionForBox):
Change verticalPosition to LayoutUnit.
- rendering/RootInlineBox.h:
(RootInlineBox):
- 11:42 AM Changeset in webkit [113220] by
-
- 6 edits in trunk
<http://webkit.org/b/83108> Web Inspector: JSC Crash inspecting node with object event listener
Reviewed by Geoff Garen.
Source/WebCore:
- bindings/js/ScriptEventListener.cpp:
(WebCore::eventListenerHandlerLocation):
Use jsDynamicCast to bail when the JSObject is not a JSFunction.
LayoutTests:
- inspector/elements/event-listener-sidebar.html:
- inspector/elements/event-listener-sidebar-expected.txt:
- platform/chromium/inspector/elements/event-listener-sidebar-expected.txt:
Add an EventListener that uses an object listener instead of a function.
- 11:18 AM Changeset in webkit [113219] by
-
- 5 edits in trunk/Source
Call suddenTerminationChanged directly
https://bugs.webkit.org/show_bug.cgi?id=83114
Patch by Mark Pilgrim <pilgrim@chromium.org> on 2012-04-04
Reviewed by Adam Barth.
Source/WebCore:
- platform/chromium/PlatformSupport.h:
(PlatformSupport):
- platform/chromium/SuddenTerminationChromium.cpp:
(WebCore::disableSuddenTermination):
(WebCore::enableSuddenTermination):
Source/WebKit/chromium:
- src/PlatformSupport.cpp:
(WebCore):
- 11:14 AM Changeset in webkit [113218] by
-
- 8 edits in trunk/Source
figure out how to export webcore symbols from webkit.dll properly
https://bugs.webkit.org/show_bug.cgi?id=83105
Reviewed by Dimitri Glazkov.
Source/Platform:
Unwind our ugly, ugly hack to make the Windows component build work.
- chromium/public/WebMediaStreamSourcesRequest.h:
(WebMediaStreamSourcesRequest):
Source/WebCore:
- WebCore.gypi:
- Separate the platform support files into a new GYP variable so that they can be build as part of webkit.dll rather than in webcore_platform.lib. Building them as part of webkit.dll ensure that the symbols marked for export will actually be in webkit.dll (and hence exported), even if nothing else in webkit.dll references the obj file that contains the symbol.
- platform/chromium/support/WebMediaStreamSourcesRequest.cpp:
- Unwind our ugly, ugly hack to make the Windows component build work.
Source/WebKit/chromium:
- WebKit.gyp:
- We now compile the platform support files as part of webkit.dll to make sure the lib contains the obj files and therefore exports the necessary symbols. In principle, we could use a defs file to achieve the same thing, but those files are a pain to maintain.
- src/WebKit.cpp:
(WebKit::shutdown):
- Unwind our ugly, ugly hack to make the Windows component build work.
- 11:12 AM Changeset in webkit [113217] by
-
- 4 edits in trunk/Source
Call sandboxEnabled directly
https://bugs.webkit.org/show_bug.cgi?id=83113
Patch by Mark Pilgrim <pilgrim@chromium.org> on 2012-04-04
Reviewed by Adam Barth.
Source/WebCore:
- platform/chromium/PlatformSupport.h:
(PlatformSupport):
Source/WebKit/chromium:
- src/PlatformSupport.cpp:
(WebCore):
- 11:07 AM Changeset in webkit [113216] by
-
- 2 edits in trunk/Tools
[EFL][DRT] Correct <wtf/*.h> include paths.
https://bugs.webkit.org/show_bug.cgi?id=83168
Reviewed by Eric Seidel.
Modify the #include declarations so that the
wtf types are included using the full path.
- DumpRenderTree/efl/DumpRenderTree.cpp:
- 11:07 AM Changeset in webkit [113215] by
-
- 1 edit2 copies in branches/chromium/1084
Merge 113139 - Don't parse "show" and "hide" as valid values for display property.
https://bugs.webkit.org/show_bug.cgi?id=83115
Reviewed by Adam Barth.
No new tests.
- css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue):
TBR=macpherson@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9981010
- 10:50 AM Changeset in webkit [113214] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Mark svg/as-image/animated-svg-as-image-no-fixed-intrinsic-size.html as flaky
https://bugs.webkit.org/show_bug.cgi?id=83183
- platform/chromium/test_expectations.txt: Registered flakes.
- 10:43 AM Changeset in webkit [113213] by
-
- 8 edits in trunk/Source/WebCore
Web Inspector: CodeGeneratorInspector.py: switch IndexedDB, DOMStorage, ApplicationCache domains to typed API
https://bugs.webkit.org/show_bug.cgi?id=83039
Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-04-04
Reviewed by Pavel Feldman.
Client code is switched to typed API (all InspectorObject and InspectorArray types are
replaced with generated types from TypeBuilder according to Inspector.json).
Missing array of array specialization is added. Inspector.json is fixed to comform
with actual behavior of InspectorDOMStorageAgent.
Output parameter initialization is assured.
- inspector/CodeGeneratorInspector.py:
- inspector/Inspector.json:
- inspector/InspectorApplicationCacheAgent.cpp:
(WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
(WebCore::InspectorApplicationCacheAgent::getApplicationCacheForFrame):
(WebCore::InspectorApplicationCacheAgent::buildObjectForApplicationCache):
- inspector/InspectorApplicationCacheAgent.h:
(InspectorApplicationCacheAgent):
- inspector/InspectorDOMStorageAgent.cpp:
(WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
(WebCore::InspectorDOMStorageAgent::setDOMStorageItem):
(WebCore::InspectorDOMStorageAgent::removeDOMStorageItem):
- inspector/InspectorDOMStorageAgent.h:
(InspectorDOMStorageAgent):
- inspector/InspectorDOMStorageResource.cpp:
(WebCore::InspectorDOMStorageResource::bind):
- 10:38 AM Changeset in webkit [113212] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Add another kind of flaky to fast/replaced/border-radius-clip.html
- platform/chromium/test_expectations.txt: Flakes registered.
- 10:31 AM Changeset in webkit [113211] by
-
- 3 edits in trunk/LayoutTests
Layout Test media/video-beforeload-remove-source.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=82260
Reviewed by Eric Carlson.
Moved the beforeload listener to <head> to ensure it is registered before the
load actually happens. Before this change, the test failed (timed out) 2/1000 runs,
after the change it had no failures in 5000 runs.
- media/video-beforeload-remove-source.html:
- platform/chromium/test_expectations.txt:
- 10:29 AM Changeset in webkit [113210] by
-
- 2 edits in trunk/Tools
gtk_unittest.GtkPortTest.test_get_crash_log failing on windows
https://bugs.webkit.org/show_bug.cgi?id=83176
Reviewed by Tony Chang.
- Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
(test_get_crash_log): Skip the test on non-linux platforms.
- 10:17 AM Changeset in webkit [113209] by
-
- 2 edits in trunk/Source/JavaScriptCore
[Qt] REGRESSION(r113141): All tests assert on 32 bit debug mode
https://bugs.webkit.org/show_bug.cgi?id=83139
Reviewed by Sam Weinig.
- heap/PassWeak.h:
(JSC::::get): 32-bit JSValue treats JSValue(nullptr).asCell() as an error,
so work around that here. (Long-term, we should make 32-bit and 64-bit
agree on the right behavior.)
- 10:13 AM Changeset in webkit [113208] by
-
- 17 edits5 deletes in trunk
Remove flex function css parsing
https://bugs.webkit.org/show_bug.cgi?id=83083
Reviewed by Ojan Vafai.
Source/WebCore:
The flexbox spec switched from using a flex() function on the width
and height to a css property. Now that the -webkit-flex: has been
implemented, we can remove the flex() function code.
No new tests. Removing an old test that used to test the flex() function.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- css/CSSAllInOne.cpp:
- css/CSSFlexValue.cpp: Removed.
- css/CSSFlexValue.h: Removed.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseFlex):
- css/CSSParser.h:
(WebCore):
- css/CSSStyleApplyProperty.cpp:
(WebCore::ApplyPropertyLength::applyValue):
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- css/CSSValue.cpp:
(WebCore::CSSValue::cssText):
(WebCore::CSSValue::destroy):
- css/CSSValue.h:
- rendering/style/RenderStyle.h:
- rendering/style/StyleFlexibleBoxData.cpp:
(WebCore::StyleFlexibleBoxData::StyleFlexibleBoxData):
(WebCore::StyleFlexibleBoxData::operator==):
- rendering/style/StyleFlexibleBoxData.h:
LayoutTests:
Remove test of -webkit-flex() function.
- css3/flexbox/flex-parsing-expected.txt: Removed.
- css3/flexbox/flex-parsing.html: Removed.
- css3/flexbox/script-tests/flex-parsing.js: Removed.
- 10:09 AM Changeset in webkit [113207] by
-
- 3 edits in trunk/LayoutTests
Unreviewed, GTK inspector gardening.
- platform/gtk/Skipped:
- platform/gtk/test_expectations.txt:
- 10:06 AM Changeset in webkit [113206] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Tweak expectations for fast/canvas/canvas-overloads-strokeText.html
- platform/chromium/test_expectations.txt: Tweaked.
- 10:03 AM Changeset in webkit [113205] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Marked http/tests/websocket/tests/hybi/workers/worker-reload.html as flaky fail.
https://bugs.webkit.org/show_bug.cgi?id=83173
- platform/chromium/test_expectations.txt: Added expectations.
- 10:03 AM Changeset in webkit [113204] by
-
- 14 edits in trunk/Source
[Coverity] Address some uninit constructor values.
https://bugs.webkit.org/show_bug.cgi?id=82424
Patch by Kausalya Madhusudhanan <kmadhusu@chromium.org> on 2012-04-04
Reviewed by Stephen White.
New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
Source/WebCore:
- Modules/gamepad/Gamepad.cpp:
(WebCore::Gamepad::Gamepad):
- accessibility/AccessibilitySpinButton.cpp:
(WebCore::AccessibilitySpinButtonPart::AccessibilitySpinButtonPart):
- dom/WheelEvent.cpp:
(WebCore::WheelEvent::WheelEvent):
- html/canvas/WebGLContextObject.h:
(WebGLContextObject):
- platform/PlatformTouchPoint.h:
(WebCore::PlatformTouchPoint::PlatformTouchPoint):
- platform/graphics/chromium/cc/CCPageScaleAnimation.cpp:
(WebCore::CCPageScaleAnimation::CCPageScaleAnimation):
- platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::CCRenderSurface):
- xml/parser/MarkupTokenBase.h:
(WebCore::AtomicMarkupTokenBase::AtomicMarkupTokenBase):
Source/WebKit/chromium:
- src/DatabaseObserver.cpp:
(WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
- src/LocalFileSystemChromium.cpp:
(WebCore):
Source/WTF:
- wtf/ArrayBufferView.cpp:
(WTF::ArrayBufferView::ArrayBufferView):
- 9:59 AM Changeset in webkit [113203] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Make the switch statement in WebPage::notifyAppActivationStateChange() stronger
https://bugs.webkit.org/show_bug.cgi?id=83085
Reviewed by Antonio Gomes.
PR 121109
This way when we add something to the enum and forget to add to the switch we'll get a compile error.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::notifyAppActivationStateChange):
- 9:38 AM Changeset in webkit [113202] by
-
- 1 edit3 moves in trunk/PerformanceTests
Web Inspector: Unreviewed. temporary disable broken inspector tests.
- inspector/first-open-scripts.html.broken: Renamed from PerformanceTests/inspector/first-open-scripts.html.
- inspector/network-append-30-requests.html.broken: Renamed from PerformanceTests/inspector/network-append-30-requests.html.
- inspector/show-panel.html.broken: Renamed from PerformanceTests/inspector/show-panel.html.
- 9:31 AM Changeset in webkit [113201] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed, temporary dirty hack to make Win Debug work again.
- All.gyp: Temporarily removed TestWebKitAPI target.
- 9:16 AM Changeset in webkit [113200] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, GTK inspector gardening.
- platform/gtk/test_expectations.txt:
- 9:10 AM Changeset in webkit [113199] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: expose savedURL, setToolbarColors and toggleSearchingForNode in InspectorFrontendAPI
https://bugs.webkit.org/show_bug.cgi?id=83170
Reviewed by Yury Semikhatsky.
Chromium port is calling these from the embedder layer and they all are perfect candidates
for the InspectorFrontendAPI. Adding them there.
- inspector/front-end/InspectorFrontendAPI.js:
(InspectorFrontendAPI.enterInspectElementMode):
(InspectorFrontendAPI.savedURL):
(InspectorFrontendAPI.setToolbarColors):
- 9:03 AM Changeset in webkit [113198] by
-
- 7 edits in trunk
[EFL] DRT support for computedStyleIncludingVisitedInfo
https://bugs.webkit.org/show_bug.cgi?id=82190
Source/WebKit/efl:
Add missing implementation computedStyleIncludingVisitedInfo to EFL's
DumpRenderTreeSupport.
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-04-04
Reviewed by Antonio Gomes.
- WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::computedStyleIncludingVisitedInfo):
- WebCoreSupport/DumpRenderTreeSupportEfl.h:
Tools:
Adding missing implementation computedStyleIncludingVisitedInfo to EFL's
LayoutTestController so that we can unskip related tests from the skip list.
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-04-04
Reviewed by Antonio Gomes.
- DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::computedStyleIncludingVisitedInfo):
LayoutTests:
Unskip tests connected with computedStyleIncludingVisitedInfo().
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-04-04
Reviewed by Antonio Gomes.
- platform/efl/Skipped:
- 9:01 AM Changeset in webkit [113197] by
-
- 1 edit in branches/chromium/1084/Source/WebKit/chromium/src/AssociatedURLLoader.cpp
Merge 112485 - AssociatedURLLoader does not support Cross Origin Redirects when using
Access Control.
https://bugs.webkit.org/show_bug.cgi?id=82354
AssociatedURLLoader's internal adapter now overrides didFailRedirectCheck,
which cancels the load, causing didFail to notify the client that the
load failed. AssociatedURLLoaderTest adds test cases for CORS requests
that receive redirects and pass or fail the redirect access check.
Reviewed by Adam Barth.
- src/AssociatedURLLoader.cpp:
(AssociatedURLLoader::ClientAdapter):
(WebKit::AssociatedURLLoader::ClientAdapter::didFailRedirectCheck):
(WebKit):
TBR=bbudge@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9981003
- 8:54 AM Changeset in webkit [113196] by
-
- 1 edit in branches/subpixellayout/Source/WebCore/rendering/RenderInputSpeech.cpp
A couple more cleanups to LayoutUnits in RenderInputSpeech::paintInputFieldSpeechButton.
- 8:52 AM Changeset in webkit [113195] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] Entire page highlighted on panning.
https://bugs.webkit.org/show_bug.cgi?id=83158
Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-04-04
Reviewed by Kenneth Rohde Christiansen.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::highlightPotentialActivation):
- 8:49 AM Changeset in webkit [113194] by
-
- 4 edits in trunk
Web Inspector: linearise aggregate's retaining size calculation.
https://bugs.webkit.org/show_bug.cgi?id=83125
This version is twice as fast as the original and it is non-recursive.
Reviewed by Yury Semikhatsky.
PerformanceTests:
- inspector/detailed-heapshots-smoke-test.html:
Source/WebCore:
- inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshot.prototype._getDominatedIndex): was moved closer to it's usage
(WebInspector.HeapSnapshot.prototype._calculateClassesRetainedSize): it was _buildAggregates' inner function forDominatedNodes.
it was:
a) extracted from _buildAggregates;
b) made non-recursive;
c) many getters were inlined;
d) subarray of dominating nodes were inlined too.
(WebInspector.HeapSnapshot.prototype._buildAggregates): many getters were inlined.
(WebInspector.HeapSnapshot.prototype.aggregates):
- 8:42 AM Changeset in webkit [113193] by
-
- 5 edits in trunk
Source/WebCore: Best clickable node might return non "clickable" node.
https://bugs.webkit.org/show_bug.cgi?id=83153
Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-04-04
Reviewed by Kenneth Rohde Christiansen.
Do not return non-clickable nodes as a best clickable node.
- page/EventHandler.cpp:
(WebCore::EventHandler::bestClickableNodeForTouchPoint):
LayoutTests: Best clickable node might return non "clickable" node.
https://bugs.webkit.org/show_bug.cgi?id=83153
Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-04-04
Reviewed by Kenneth Rohde Christiansen.
- touchadjustment/touch-inlines-expected.txt:
- touchadjustment/touch-inlines.html:
- 8:40 AM Changeset in webkit [113192] by
-
- 22 edits in trunk
Web Inspector: migrate from InspectorFrontendHost.saveAs to InspectorFrontendHost.save.
https://bugs.webkit.org/show_bug.cgi?id=83162
Reviewed by Yury Semikhatsky.
Source/WebCore:
This change adds Save item into the context menus for inspector. It also makes
saveAs parameter optional in the InspectorFrontendHost.save so that we could
skip the dialog for the paths that were already saved. Embedder tells the front-end
what urls were successfully saved so that front-end could issue subsequent save commands
for those files.
- English.lproj/localizedStrings.js:
- inspector/InspectorFrontendClient.h:
(InspectorFrontendClient):
- inspector/InspectorFrontendClientLocal.h:
(WebCore::InspectorFrontendClientLocal::canSave):
(WebCore::InspectorFrontendClientLocal::save):
- inspector/InspectorFrontendHost.cpp:
(WebCore::InspectorFrontendHost::canSave):
(WebCore::InspectorFrontendHost::save):
- inspector/InspectorFrontendHost.h:
(InspectorFrontendHost):
- inspector/InspectorFrontendHost.idl:
- inspector/front-end/InspectorFrontendHostStub.js:
(.WebInspector.InspectorFrontendHostStub.prototype.canSave):
- inspector/front-end/JavaScriptSourceFrame.js:
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._contextMenu):
(WebInspector.NetworkLogView.prototype._exportAll):
(WebInspector.NetworkLogView.prototype._exportResource):
- inspector/front-end/ResourceView.js:
- inspector/front-end/ResourcesPanel.js:
(WebInspector.FrameResourceTreeElement.prototype._appendSaveAsAction.doSave):
(WebInspector.FrameResourceTreeElement.prototype._appendSaveAsAction.save):
(WebInspector.FrameResourceTreeElement.prototype._appendSaveAsAction):
(WebInspector.ResourceRevisionTreeElement.prototype._handleContextMenuEvent.doSave):
(WebInspector.ResourceRevisionTreeElement.prototype._handleContextMenuEvent.save):
(WebInspector.ResourceRevisionTreeElement.prototype._handleContextMenuEvent):
- inspector/front-end/Settings.js:
- inspector/front-end/SourceFrame.js:
(WebInspector.TextViewerDelegateForSourceFrame.prototype.populateTextAreaContextMenu):
- inspector/front-end/TextViewer.js:
(WebInspector.TextViewer.prototype._contextMenu):
(WebInspector.TextViewer.prototype._commitEditing):
(WebInspector.TextViewerDelegate.prototype.populateTextAreaContextMenu):
- inspector/front-end/TimelineModel.js:
(WebInspector.TimelineModel.prototype.saveToFile):
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._registerShortcuts):
(WebInspector.TimelinePanel.prototype._contextMenu):
- inspector/front-end/inspector.js:
Source/WebKit/chromium:
- public/WebDevToolsFrontendClient.h:
- src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::canSave):
(WebKit::InspectorFrontendClientImpl::save):
- src/InspectorFrontendClientImpl.h:
(InspectorFrontendClientImpl):
- 8:35 AM Changeset in webkit [113191] by
-
- 1 edit in branches/subpixellayout/Source/WebCore/rendering/RenderInputSpeech.cpp
Cleaning up LayoutUnit usage in RenderInputSpeech::paintInputFieldSpeechButton. This method is only called from RenderTheme, so it arrives with an IntRect. We have to be careful to do proper pixel snapping within this method.
- 8:23 AM Changeset in webkit [113190] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: time dividers are incorrectly rendered on empty timeline grid
https://bugs.webkit.org/show_bug.cgi?id=83165
Reviewed by Pavel Feldman.
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkBaseCalculator.prototype.setDisplayWindow):
- inspector/front-end/TimelineGrid.js:
(WebInspector.TimelineGrid.prototype.updateDividers):
- 8:15 AM Changeset in webkit [113189] by
-
- 2 edits in trunk/Source/WebCore
[GTK] ASSERT in SocketStreamHandleSoup.cpp
https://bugs.webkit.org/show_bug.cgi?id=83123
Reviewed by Martin Robinson.
Do not try to reuse a GOwnPtr as calling outPtr() causes an
assertion if the pointer is already valid. Also do not try to
close the IOStream if it was not created.
This patch fixes
http/tests/websocket/tests/hybi/workers/worker-reload.html but I
am leaving it skipped until webkit.org/b/83124 is fixed.
- platform/network/soup/SocketStreamHandleSoup.cpp:
(WebCore::connectedCallback):
- 8:05 AM Changeset in webkit [113188] by
-
- 3 edits in trunk/LayoutTests
[Qt] Unreviewed gardening, skip failing tests to try to paint ARM and Mac bots green.
- platform/qt-arm/Skipped:
- platform/qt-mac/Skipped:
- 7:26 AM Changeset in webkit [113187] by
-
- 7 edits in trunk/Source/WebCore
Re-add variable names in CSS related headers to help understanding the meaning of them.
https://bugs.webkit.org/show_bug.cgi?id=83151
Reviewed by Andreas Kling.
r112952, r113031, r113042 removed variable names in some places but at the end it
was better before as it helps understanding what the variables represent. This patch
address this issue and add back the names where it makes sense.
No new tests : cosmetic changes, no behavior change here.
- css/CSSParser.h:
(CSSParser):
- css/StylePropertySet.h:
(StylePropertySet):
- dom/StyledElement.h:
(StyledElement):
- editing/EditingStyle.h:
(EditingStyle):
- editing/Editor.h:
(Editor):
- html/HTMLElement.h:
(HTMLElement):
- 7:11 AM Changeset in webkit [113186] by
-
- 3 edits in trunk/Tools
Unreviewed; update my email address once again in the committers
and watch list.
- Scripts/webkitpy/common/config/committers.py: Prefer my
webkit.org email over my FreeBSD.org one.
- Scripts/webkitpy/common/config/watchlist: Ditto.
- 7:06 AM Changeset in webkit [113185] by
-
- 2 edits in trunk/LayoutTests
Unreviewed. Layout Test fast/canvas/canvas-toDataURL-webp.html is crashing
https://bugs.webkit.org/show_bug.cgi?id=81735
Test expectations update. Fixed in http://crrev.com/129144.
- platform/chromium/test_expectations.txt:
- 6:52 AM Changeset in webkit [113184] by
-
- 33 edits in trunk
Implement animatedPathSegList support for SVGPathElement
https://bugs.webkit.org/show_bug.cgi?id=83140
Reviewed by Zoltan Herczeg.
Source/WebCore:
Add the last missing piece of animVal support: animations of the SVGPathElement's 'd' attribute
should be reflected in the 'animatedPathSegList' not the 'pathSegList'.
The SVGAnimatedPathAnimator is special as it doesn't operate on the SVGPathSegList types
directly, but on the SVGPathByteStreams for performance reasons. The SVGPathSegLists
are refcounted and exposed to JS, thus require lots of memory, compared to a simple
byte stream, which SVGPathByteStream is. Only build an 'animatedPathSegList' while
animating if its actually observed by the bindings, as this operation is heavy.
This marks the finish of the animVal patch series: no more string round trips during
animation. Previously paths were animated as byte streams, then converted to a String
passed to pathElement->setAttribute("d", "newString"), parsed again to a byte stream, etc.
A follow-up patch will remove the last crufts of direct setAttribute() animation.
Extend all existing animated SVGPathElement tests to cover animatedPathSegList.
- svg/SVGAnimatedColor.h:
(WebCore::SVGAnimatedColorAnimator::startAnimValAnimation):
(WebCore::SVGAnimatedColorAnimator::stopAnimValAnimation):
(WebCore::SVGAnimatedColorAnimator::resetAnimValToBaseVal):
(WebCore::SVGAnimatedColorAnimator::animValWillChange):
(WebCore::SVGAnimatedColorAnimator::animValDidChange):
(SVGAnimatedColorAnimator):
- svg/SVGAnimatedPath.cpp:
(WebCore::SVGAnimatedPathAnimator::constructFromString):
(WebCore::SVGAnimatedPathAnimator::startAnimValAnimation):
(WebCore):
(WebCore::SVGAnimatedPathAnimator::stopAnimValAnimation):
(WebCore::SVGAnimatedPathAnimator::resetAnimValToBaseVal):
(WebCore::SVGAnimatedPathAnimator::animValWillChange):
(WebCore::SVGAnimatedPathAnimator::animValDidChange):
(WebCore::SVGAnimatedPathAnimator::calculateAnimatedValue):
- svg/SVGAnimatedPath.h:
(SVGAnimatedPathAnimator):
- svg/SVGAnimatedType.cpp:
(WebCore::SVGAnimatedType::valueAsString):
(WebCore::SVGAnimatedType::setValueAsString):
(WebCore::SVGAnimatedType::supportsAnimVal):
- svg/SVGAnimatedTypeAnimator.h:
(SVGAnimatedTypeAnimator):
(WebCore::SVGAnimatedTypeAnimator::findAnimatedPropertiesForAttributeName):
- svg/SVGPathElement.cpp:
(WebCore::SVGPathElement::SVGPathElement):
(WebCore::SVGPathElement::getTotalLength):
(WebCore::SVGPathElement::getPointAtLength):
(WebCore::SVGPathElement::getPathSegAtLength):
(WebCore::SVGPathElement::parseAttribute):
(WebCore::SVGPathElement::svgAttributeChanged):
(WebCore::SVGPathElement::pathByteStream):
(WebCore):
(WebCore::SVGPathElement::lookupOrCreateDWrapper):
(WebCore::SVGPathElement::pathSegList):
(WebCore::SVGPathElement::animatedPathSegList):
(WebCore::SVGPathElement::pathSegListChanged):
- svg/SVGPathElement.h:
(WebCore):
(SVGPathElement):
(WebCore::SVGPathElement::isAnimValObserved):
- svg/SVGPathParserFactory.cpp:
(WebCore::SVGPathParserFactory::buildSVGPathByteStreamFromSVGPathSegList):
(WebCore::SVGPathParserFactory::buildSVGPathByteStreamFromString):
(WebCore::SVGPathParserFactory::buildAnimatedSVGPathByteStream):
- svg/SVGPathParserFactory.h:
(SVGPathParserFactory):
- svg/SVGPathSegWithContext.h:
- svg/properties/SVGAnimatedListPropertyTearOff.h:
(SVGAnimatedListPropertyTearOff):
(WebCore::SVGAnimatedListPropertyTearOff::baseVal):
(WebCore::SVGAnimatedListPropertyTearOff::animVal):
(WebCore::SVGAnimatedListPropertyTearOff::removeItemFromList):
(WebCore::SVGAnimatedListPropertyTearOff::detachListWrappers):
(WebCore::SVGAnimatedListPropertyTearOff::currentAnimatedValue):
(WebCore::SVGAnimatedListPropertyTearOff::animationStarted):
(WebCore::SVGAnimatedListPropertyTearOff::animationEnded):
(WebCore::SVGAnimatedListPropertyTearOff::synchronizeWrappersIfNeeded):
- svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:
(WebCore::SVGAnimatedPathSegListPropertyTearOff::baseVal):
(WebCore::SVGAnimatedPathSegListPropertyTearOff::animVal):
(WebCore::SVGAnimatedPathSegListPropertyTearOff::removeItemFromList):
(SVGAnimatedPathSegListPropertyTearOff):
(WebCore::SVGAnimatedPathSegListPropertyTearOff::animationStarted):
(WebCore::SVGAnimatedPathSegListPropertyTearOff::animationEnded):
(WebCore::SVGAnimatedPathSegListPropertyTearOff::animValDidChange):
(WebCore::SVGAnimatedPathSegListPropertyTearOff::animatedPathByteStream):
(WebCore::SVGAnimatedPathSegListPropertyTearOff::SVGAnimatedPathSegListPropertyTearOff):
- svg/properties/SVGAnimatedTransformListPropertyTearOff.h:
(WebCore::SVGAnimatedTransformListPropertyTearOff::baseVal):
(WebCore::SVGAnimatedTransformListPropertyTearOff::animVal):
- svg/properties/SVGListProperty.h:
(WebCore::SVGListProperty::setValuesAndWrappers):
(WebCore::SVGListProperty::SVGListProperty):
(WebCore::SVGListProperty::~SVGListProperty):
(SVGListProperty):
LayoutTests:
Update all tests animating the SVGPathElement's 'd' attribute to verify 'animatedPathSegList' now gets animated, not 'pathSegList'.
- svg/animations/animate-path-animation-Cc-Ss-expected.txt:
- svg/animations/animate-path-animation-Ll-Vv-Hh-expected.txt:
- svg/animations/animate-path-animation-Qq-Tt-expected.txt:
- svg/animations/animate-path-animation-cC-sS-inverse-expected.txt:
- svg/animations/animate-path-animation-lL-vV-hH-inverse-expected.txt:
- svg/animations/animate-path-animation-qQ-tT-inverse-expected.txt:
- svg/animations/animate-path-to-animation-expected.txt:
- svg/animations/script-tests/animate-path-animation-Cc-Ss.js:
(checkBaseVal):
(sample1):
(sample2):
(sample3):
(sample4):
- svg/animations/script-tests/animate-path-animation-Ll-Vv-Hh.js:
(checkBaseVal):
(sample1):
(sample2):
(sample3):
(sample4):
- svg/animations/script-tests/animate-path-animation-Qq-Tt.js:
(checkBaseVal):
(sample1):
(sample2):
(sample3):
(sample4):
- svg/animations/script-tests/animate-path-animation-cC-sS-inverse.js:
(checkBaseVal):
(sample1):
(sample2):
(sample3):
(sample4):
- svg/animations/script-tests/animate-path-animation-lL-vV-hH-inverse.js:
(checkBaseVal):
(sample1):
(sample2):
(sample3):
(sample4):
- svg/animations/script-tests/animate-path-animation-qQ-tT-inverse.js:
(checkBaseVal):
(sample1):
(sample2):
(sample3):
(sample4):
- svg/animations/script-tests/animate-path-to-animation.js:
(checkBaseVal):
(sample1):
(sample2):
(sample3):
- svg/animations/script-tests/svgpath-animation-1.js:
(checkBaseVal):
(sample1):
(sample2):
(sample3):
- svg/animations/script-tests/svgtransform-animation-1.js:
- svg/animations/svgpath-animation-1-expected.txt:
- 6:35 AM Changeset in webkit [113183] by
-
- 4 edits in trunk
[Qt][WK2] QtWebKit2 should support Page Visibility API
https://bugs.webkit.org/show_bug.cgi?id=81164
Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2012-04-04
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
Implementing the last bits needed for getting the expected
behavior for Page Visibility API, according to its spec.
The only missing part in Qt was a way to check whether
the view was exposed or not.
- UIProcess/qt/QtPageClient.cpp:
(QtPageClient::isViewVisible):
Tools:
Enabling Page Visiblity API for Qt WebKit2.
- qmake/mkspecs/features/features.prf:
- 6:20 AM Changeset in webkit [113182] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, GTK inspector gardening.
- platform/gtk/test_expectations.txt:
- 6:10 AM Changeset in webkit [113181] by
-
- 6 edits in trunk/Source/WebKit2
[WK2] Add Page Visibility API support
https://bugs.webkit.org/show_bug.cgi?id=81154
Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2012-04-04
Reviewed by Kenneth Rohde Christiansen.
Use WebPageProxy::viewStateDidChange to correctly define the page's
visibilityState and then set it to the WebProcess. The WebKit2's based
ports just need to implement the related PageClient functions in order
to get this API enabled and working properly.
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::initializeWebPage):
(WebKit::WebPageProxy::viewStateDidChange):
- WebProcess/WebPage/WebPage.cpp:
(WebKit):
(WebKit::WebPage::setVisibilityState):
- WebProcess/WebPage/WebPage.h:
(WebPage):
- WebProcess/WebPage/WebPage.messages.in:
- 6:04 AM Changeset in webkit [113180] by
-
- 2 edits in branches/subpixellayout/Source/WebCore/rendering
Cleaning jp RenderView changes. Reverting the print rect to an IntRect, and cleaning up a FIXME with hardcoded offsets.
- 5:47 AM Changeset in webkit [113179] by
-
- 3 edits2 adds in trunk
Best zoomable area does not balance intersection with target area.
https://bugs.webkit.org/show_bug.cgi?id=83148
Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-04-04
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Change the two step sort to simply picking the best quotient of touch intersection with target area.
Test: touchadjustment/zoom-fatfinger.html
- page/TouchAdjustment.cpp:
(WebCore::TouchAdjustment::distanceSquaredToTargetCenterLine):
(TouchAdjustment):
(WebCore::TouchAdjustment::zoomableIntersectionQuotient):
(WebCore::TouchAdjustment::findNodeWithLowestDistanceMetric):
(WebCore::findBestClickableCandidate):
(WebCore::findBestZoomableArea):
LayoutTests:
- touchadjustment/zoom-fatfinger-expected.txt: Added.
- touchadjustment/zoom-fatfinger.html: Added.
- 5:43 AM Changeset in webkit [113178] by
-
- 4 edits in trunk
[EFL][DRT] FrameloaderClientEfl needs to handle media content correctly
https://bugs.webkit.org/show_bug.cgi?id=83020
Patch by Dominik Röttsches <dominik.rottsches@linux.intel.com> on 2012-04-04
Reviewed by Hajime Morita.
Source/WebKit/efl:
Implementing handling of media content type and media documents
in the respective FrameLoaderClientEfl callbacks.
- WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::committedLoad): Cancel loading for media documents.
(WebCore::FrameLoaderClientEfl::canShowMIMEType): Let media content types through.
(WebCore):
(WebCore::FrameLoaderClientEfl::pluginWillHandleLoadError): Returning appropriate error type.
(WebCore::FrameLoaderClientEfl::shouldFallBack): Falling back as well for media handled by media player.
LayoutTests:
- platform/efl/Skipped: Unskipping those MediaDocument related cases which now pass.
- 5:41 AM Changeset in webkit [113177] by
-
- 8 edits in trunk
Web Inspector: make padding and client window width part of timeline calculator's state
https://bugs.webkit.org/show_bug.cgi?id=83122
Reviewed by Pavel Feldman.
Source/WebCore:
- preserve window width and padding within TimelineCalculator
- rely on calculator to add expansion arrow padding
- add TimelineCalculator::computePosition() for computing single position (not entire bar dimensions)
- inspector/front-end/MemoryStatistics.js:
(WebInspector.MemoryStatistics.prototype._refreshDividers):
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._updateDividersIfNeeded):
(WebInspector.NetworkLogView.prototype._reset):
(WebInspector.NetworkBaseCalculator.prototype.computePosition):
(WebInspector.NetworkBaseCalculator.prototype.formatTime):
(WebInspector.NetworkBaseCalculator.prototype.setDisplayWindow):
- inspector/front-end/TimelineGrid.js:
(WebInspector.TimelineGrid.prototype.updateDividers):
(WebInspector.TimelineGrid.prototype.addEventDividers):
- inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewPane.prototype._update):
(WebInspector.TimelineOverviewPane.prototype._reset):
(WebInspector.TimelineOverviewCalculator.prototype.computePosition):
(WebInspector.TimelineOverviewCalculator.prototype.setDisplayWindow):
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._updateEventDividers):
(WebInspector.TimelinePanel.prototype._refresh):
(WebInspector.TimelinePanel.prototype._refreshRecords):
(WebInspector.TimelineCalculator.prototype.computePosition):
(WebInspector.TimelineCalculator.prototype.computeBarGraphWindowPosition):
(WebInspector.TimelineCalculator.prototype.setDisplayWindow):
(WebInspector.TimelineRecordGraphRow.prototype.update):
(WebInspector.TimelineExpandableElement.prototype._update):
LayoutTests:
- re-enable 4 injspector tests skipped after previous landing attempt.
- platform/gtk/Skipped:
- 5:34 AM Changeset in webkit [113176] by
-
- 2 edits in trunk/Source/WebKit/chromium
WebSpeechRecognizer.h: add missing forward declaration
https://bugs.webkit.org/show_bug.cgi?id=83150
Reviewed by Tony Gentilcore.
Add missing forward declaration of WebSpeechRecognitionParams.
- public/WebSpeechRecognizer.h:
(WebKit):
- 5:32 AM Changeset in webkit [113175] by
-
- 3 edits in trunk/Source/WebKit2
[Qt] Further improvements of the tap gesture recognizer
https://bugs.webkit.org/show_bug.cgi?id=83149
Reviewed by Zoltan Herczeg.
Ignore single tap while finger is still pressed.
Some renaming to make the states more clear.
A pan further than the maxPanDistance can now invalidate
double-taps as well.
- UIProcess/qt/QtTapGestureRecognizer.cpp:
(WebKit::QtTapGestureRecognizer::QtTapGestureRecognizer):
(WebKit::QtTapGestureRecognizer::recognize):
(WebKit::QtTapGestureRecognizer::singleTapTimeout):
(WebKit::QtTapGestureRecognizer::tapAndHoldTimeout):
(WebKit::QtTapGestureRecognizer::reset):
- UIProcess/qt/QtTapGestureRecognizer.h:
- 5:31 AM Changeset in webkit [113174] by
-
- 2 edits in trunk/Source/WebCore
[FileSystem] Forward declare File in FileCallback.h
https://bugs.webkit.org/show_bug.cgi?id=83128
Reviewed by Kentaro Hara.
No new tests. Covered by existing tests.
- Modules/filesystem/FileCallback.h: forward declare File class to make
#include of "File.h" redundant.
(WebCore):
- 5:24 AM Changeset in webkit [113173] by
-
- 3 edits in trunk/Source/WebKit/efl
[EFL] Change ewk_settings_icon_database_icon_object_add to proper API name.
https://bugs.webkit.org/show_bug.cgi?id=82438
Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2012-04-04
Reviewed by Andreas Kling.
The purpose of ewk_settings_icon_database_icon_object_add is to get icon
for the given URL. This function doesn't add anything to database.
Documentation and API name are adjusted.
- ewk/ewk_settings.cpp:
(ewk_settings_icon_database_icon_object_get):
- ewk/ewk_settings.h:
- 5:21 AM Changeset in webkit [113172] by
-
- 20 edits2 deletes in trunk
[Qt][WK2] Make the WebView a subclass of Flickable
https://bugs.webkit.org/show_bug.cgi?id=83033
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit/qt:
Add needed dependency to quick-private for projects that include the WebView header.
- declarative/experimental/experimental.pri:
- declarative/public.pri:
Source/WebKit2:
Hitherto, the experiment of a QML WebView with an internal Flickable
instance showed that the approach of hiding the Flickable raises more
problems than it solves.
One set of problems arose because the internal Flickable was a separate
item which received and reacted on automatically synthesized mouse events
send by the canvas, this interfered with the gesture recognizers of the
WebView.
Other issues were related to orientation and the integration of the
WebView item with other QML items and components (like scroll indicators)
which require a larger set of the Flickable API or the Flickable object
itself (e.g. ScrollDecorator).
These disadvantages of an internal Flickable instance outweigh the
benefits of controlling the exposed API, therefore the experiment had
the conclusion that there is no way around the public inheritance from
QQuickFlickable.
This patch removes the QtFlickProvider class, inherits QQuickWebView
from QQuickFlickable and adjusts the viewport interaction engine and
the gesture recognizers to use the Flickable API of the WebView to
keep the same behaviour as before.
- Target.pri:
- UIProcess/API/qt/qquickwebpage.cpp:
(QQuickWebPage::QQuickWebPage):
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::QQuickWebViewPrivate):
(QQuickWebViewFlickablePrivate::initialize):
(QQuickWebViewFlickablePrivate::pageItemPos):
(QQuickWebViewFlickablePrivate::updateContentsSize):
(QQuickWebViewFlickablePrivate::onComponentComplete):
(QQuickWebViewFlickablePrivate::updateViewportSize):
(QQuickWebViewExperimental::useDefaultContentItemSize):
(QQuickWebViewExperimental::setUseDefaultContentItemSize):
(QQuickWebView::QQuickWebView):
(QQuickWebView::inputMethodQuery):
(QQuickWebView::geometryChanged):
(QQuickWebView::componentComplete):
(QQuickWebView::event):
(QQuickWebView::contentPos):
(QQuickWebView::setContentPos):
(QQuickWebView::handlePress):
(QQuickWebView::handleMove):
(QQuickWebView::handleRelease):
- UIProcess/API/qt/qquickwebview_p.h:
(WebKit):
- UIProcess/API/qt/qquickwebview_p_p.h:
(QQuickWebViewPrivate):
- UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp:
(tst_QQuickWebView::scrollRequest):
- UIProcess/API/qt/tests/tests.pri:
- UIProcess/qt/QtFlickProvider.cpp: Removed.
- UIProcess/qt/QtFlickProvider.h: Removed.
- UIProcess/qt/QtPanGestureRecognizer.cpp:
(WebKit::QtPanGestureRecognizer::recognize):
- UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::QtViewportInteractionEngine):
(WebKit::QtViewportInteractionEngine::setItemRectVisible):
(WebKit::QtViewportInteractionEngine::flickableMoveStarted):
(WebKit::QtViewportInteractionEngine::flickableMoveEnded):
(WebKit::QtViewportInteractionEngine::flickableMovingPositionUpdate):
(WebKit::QtViewportInteractionEngine::scaleAnimationStateChanged):
(WebKit::QtViewportInteractionEngine::wheelEvent):
(WebKit::QtViewportInteractionEngine::reset):
(WebKit::QtViewportInteractionEngine::scrollAnimationActive):
(WebKit::QtViewportInteractionEngine::panGestureActive):
(WebKit::QtViewportInteractionEngine::panGestureStarted):
(WebKit::QtViewportInteractionEngine::panGestureRequestUpdate):
(WebKit::QtViewportInteractionEngine::panGestureEnded):
(WebKit::QtViewportInteractionEngine::panGestureCancelled):
(WebKit::QtViewportInteractionEngine::cancelScrollAnimation):
(WebKit::QtViewportInteractionEngine::pinchGestureStarted):
(WebKit::QtViewportInteractionEngine::pinchGestureRequestUpdate):
(WebKit::QtViewportInteractionEngine::pinchGestureEnded):
(WebKit::QtViewportInteractionEngine::scaleContent):
- UIProcess/qt/QtViewportInteractionEngine.h:
(QtViewportInteractionEngine):
- UIProcess/qt/QtWebPageEventHandler.cpp:
(QtWebPageEventHandler::doneWithTouchEvent):
Tools:
Remove workaround in MiniBrowser and the ScrollIndicator
now that the WebView is a Flickable.
- MiniBrowser/qt/MiniBrowser.pro:
- MiniBrowser/qt/qml/BrowserWindow.qml:
- MiniBrowser/qt/qml/ScrollIndicator.qml:
- WebKitTestRunner/Target.pri:
- 5:19 AM Changeset in webkit [113171] by
-
- 2 edits in trunk/Tools
REGRESSION(r113144): It made run-webkit-tests always fail
https://bugs.webkit.org/show_bug.cgi?id=83142
Unreviewed trivial fix after r113144.
- Scripts/run-webkit-tests:
- 5:01 AM Changeset in webkit [113170] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] Unable to zoom to some areas.
https://bugs.webkit.org/show_bug.cgi?id=83144
Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-04-04
Reviewed by Kenneth Rohde Christiansen.
Remember to convert touch-area to touch-point radius.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::findZoomableAreaForPoint):
- 4:52 AM Changeset in webkit [113169] by
-
- 5 edits in trunk/Source/WebCore
Unreviewed, rolling out r113156.
http://trac.webkit.org/changeset/113156
https://bugs.webkit.org/show_bug.cgi?id=83146
Breaks inspector layout tests (Requested by pfeldman on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-04
- inspector/front-end/MemoryStatistics.js:
(WebInspector.MemoryStatistics.prototype._refreshDividers):
- inspector/front-end/TimelineGrid.js:
(WebInspector.TimelineGrid.prototype.updateDividers):
(WebInspector.TimelineGrid.prototype.addEventDividers):
- inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewPane.prototype._update):
(WebInspector.TimelineOverviewPane.prototype._reset):
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._updateEventDividers):
(WebInspector.TimelinePanel.prototype._refresh):
(WebInspector.TimelinePanel.prototype._refreshRecords):
(WebInspector.TimelinePanel.prototype.get timelinePaddingLeft):
(WebInspector.TimelineCalculator.prototype.computeBarGraphWindowPosition):
(WebInspector.TimelineRecordGraphRow.prototype.update):
(WebInspector.TimelineExpandableElement.prototype._update):
- 4:37 AM Changeset in webkit [113168] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening
https://bugs.webkit.org/show_bug.cgi?id=83057
New test flakey on Qt Linux Release introduced in r113086
Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-04-04
- platform/qt/Skipped: fast/dom/inline-event-attributes-release.html
- 4:19 AM Changeset in webkit [113167] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: front-end should accept raw web socket address for the remote connection.
https://bugs.webkit.org/show_bug.cgi?id=83134
Reviewed by Yury Semikhatsky.
Migrated from the /devtools/page web socket schema to the generic one where remote target address
can be specified as index.html?ws=localhost:9222/page1. Left the old host/page way for backwards
compatibility.
- inspector/front-end/inspector.js:
- 4:06 AM Changeset in webkit [113166] by
-
- 3 edits2 adds in trunk/Source/WebCore
Add localization functions for the calendar picker
https://bugs.webkit.org/show_bug.cgi?id=83129
Reviewed by Hajime Morita.
No behavior changes yet.
- WebCore.gypi: Add LocalizedCalendar.h and LocalizedCalendarICU.cpp.
- platform/LocalizedStrings.h: Add calendarTodayText() and calendarClearText().
- platform/text/LocalizedCalendar.h:
Added. This provides monthLabels(), weekDayShortLabels(), and firstDayOfWeek().
- platform/text/LocalizedCalendarICU.cpp: Added. ICU implementations of the above functions.
(WebCore::ScopedDateFormat): A wrapper for UDateFormat*.
(WebCore::ScopedDateFormat::ScopedDateFormat):
(WebCore::ScopedDateFormat::~ScopedDateFormat):
(WebCore::ScopedDateFormat::get):
(createFallbackMonthLabels): Creates fallback month labels in English.
(createLabelVector):
A helper for createMonthLabels() and createWeekDayShortLabels().
(createMonthLabels):
Creates month labels using createLabelVector() or createFallbackMonthLabels().
(WebCore::monthLabels):
(createFallbackWeekDayShortLabels): Creates fallback week labels in English.
(createWeekDayShortLabels):
Creates month labels using createLabelVector() or createFallbackWeekDayShortLabels().
(WebCore::weekDayShortLabels):
(getFirstDayOfWeek):
(WebCore::firstDayOfWeek):
- 4:00 AM Changeset in webkit [113165] by
-
- 3 edits in trunk/Source/WebKit2
[Qt] Improve the tap gesture recognizer
https://bugs.webkit.org/show_bug.cgi?id=83135
Reviewed by Simon Hausmann.
Clean up the code and make sure that the first single tap
event, as part of a double tap gesture, is ignored.
- UIProcess/qt/QtTapGestureRecognizer.cpp:
(WebKit::QtTapGestureRecognizer::withinDistance):
(WebKit):
(WebKit::QtTapGestureRecognizer::recognize):
(WebKit::QtTapGestureRecognizer::singleTapTimeout):
(WebKit::QtTapGestureRecognizer::tapAndHoldTimeout):
(WebKit::QtTapGestureRecognizer::reset):
- UIProcess/qt/QtTapGestureRecognizer.h:
(QtTapGestureRecognizer):
- 3:56 AM Changeset in webkit [113164] by
-
- 11 edits7 copies4 adds in trunk/Source
Speech JavaScript API: Plumbing for Chromium
https://bugs.webkit.org/show_bug.cgi?id=81667
Reviewed by Darin Fisher.
Source/WebCore:
SpeechGrammar::src() is called with a ScriptExecutionContext, because
the attribute setter needs it. Provide a src() method that doesn't
take a ScriptExecutionContext that can be used internally.
Rename SpeechRecognition::audioStartCallback(), etc. to use event style
names, i.e. didStartAudio(), etc.
Remove SpeechRecognitionClient::notifyVisibilityHidden(). The embedder
can keep track of the visibility.
Remove SpeechRecognitionClient::unregisterSpeechRecognition,
it is not needed.
No new tests, just minor tweaks.
- Modules/speech/SpeechGrammar.h:
(WebCore::SpeechGrammar::src):
- Modules/speech/SpeechRecognition.cpp:
(WebCore::SpeechRecognition::didStartAudio):
(WebCore::SpeechRecognition::didStartSound):
(WebCore::SpeechRecognition::didStartSpeech):
(WebCore::SpeechRecognition::didEndSpeech):
(WebCore::SpeechRecognition::didEndSound):
(WebCore):
(WebCore::SpeechRecognition::didEndAudio):
(WebCore::SpeechRecognition::didReceiveResult):
(WebCore::SpeechRecognition::didReceiveNoMatch):
(WebCore::SpeechRecognition::didDeleteResult):
(WebCore::SpeechRecognition::didReceiveError):
(WebCore::SpeechRecognition::didStart):
(WebCore::SpeechRecognition::didEnd):
- Modules/speech/SpeechRecognition.h:
(SpeechRecognition):
- Modules/speech/SpeechRecognitionClient.h:
(SpeechRecognitionClient):
- Modules/speech/SpeechRecognitionController.h:
Source/WebKit/chromium:
Add plumbing for speech recognition.
The implementer is expected to implement the WebSpeechRecognizer interface.
The start(), stop(), and abort() functions of that interface take a
WebSpeechRecognitionHandle argument, which identifies the object which has
requested the action, and a pointer to a WebSpeechRecognitionClient interface,
through which it should send back notifications on progress, errors, etc.
SpeechRecognitionClientProxy passes data between the WebCore and WebKit layers,
implementing the WebCore::SpeechRecognitionClient and WebKit::WebSpeechRecognizerClient
interfaces.
- WebKit.gyp:
- public/WebSpeechGrammar.h:
(WebCore):
(WebKit):
(WebSpeechGrammar):
(WebKit::WebSpeechGrammar::WebSpeechGrammar):
(WebKit::WebSpeechGrammar::~WebSpeechGrammar):
- public/WebSpeechRecognitionHandle.h: Added.
(WebCore):
(WebKit):
(WebSpeechRecognitionHandle):
(WebKit::WebSpeechRecognitionHandle::~WebSpeechRecognitionHandle):
(WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle):
(WebKit::WebSpeechRecognitionHandle::operator=):
(WebKit::operator==):
(WebKit::operator!=):
(WebKit::operator<):
- public/WebSpeechRecognitionParams.h:
(WebKit):
(WebSpeechRecognitionParams):
(WebKit::WebSpeechRecognitionParams::grammars):
(WebKit::WebSpeechRecognitionParams::language):
(WebKit::WebSpeechRecognitionParams::continuous):
- public/WebSpeechRecognitionResult.h: Added.
(WebCore):
(WebKit):
(WebSpeechRecognitionResult):
(WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult):
(WebKit::WebSpeechRecognitionResult::~WebSpeechRecognitionResult):
- public/WebSpeechRecognizer.h:
(WebKit):
(WebSpeechRecognizer):
(WebKit::WebSpeechRecognizer::start):
(WebKit::WebSpeechRecognizer::stop):
(WebKit::WebSpeechRecognizer::abort):
(WebKit::WebSpeechRecognizer::~WebSpeechRecognizer):
- public/WebSpeechRecognizerClient.h: Added.
(WebKit):
(WebSpeechRecognizerClient):
- public/WebViewClient.h:
(WebKit):
(WebViewClient):
(WebKit::WebViewClient::speechRecognizer):
- src/SpeechRecognitionClientProxy.cpp: Added.
(WebKit):
(WebKit::SpeechRecognitionClientProxy::~SpeechRecognitionClientProxy):
(WebKit::SpeechRecognitionClientProxy::create):
(WebKit::SpeechRecognitionClientProxy::start):
(WebKit::SpeechRecognitionClientProxy::stop):
(WebKit::SpeechRecognitionClientProxy::abort):
(WebKit::SpeechRecognitionClientProxy::didStartAudio):
(WebKit::SpeechRecognitionClientProxy::didStartSound):
(WebKit::SpeechRecognitionClientProxy::didStartSpeech):
(WebKit::SpeechRecognitionClientProxy::didEndSpeech):
(WebKit::SpeechRecognitionClientProxy::didEndSound):
(WebKit::SpeechRecognitionClientProxy::didEndAudio):
(WebKit::SpeechRecognitionClientProxy::didReceiveResult):
(WebKit::SpeechRecognitionClientProxy::didReceiveNoMatch):
(WebKit::SpeechRecognitionClientProxy::didDeleteResult):
(WebKit::SpeechRecognitionClientProxy::didReceiveError):
(WebKit::SpeechRecognitionClientProxy::didStart):
(WebKit::SpeechRecognitionClientProxy::didEnd):
(WebKit::SpeechRecognitionClientProxy::SpeechRecognitionClientProxy):
- src/SpeechRecognitionClientProxy.h: Added.
(WebKit):
(SpeechRecognitionClientProxy):
- src/WebSpeechGrammar.cpp: Added.
(WebKit):
(WebKit::WebSpeechGrammar::reset):
(WebKit::WebSpeechGrammar::WebSpeechGrammar):
(WebKit::WebSpeechGrammar::operator=):
(WebKit::WebSpeechGrammar::src):
(WebKit::WebSpeechGrammar::weight):
- src/WebSpeechRecognitionHandle.cpp: Added.
(WebKit):
(WebKit::WebSpeechRecognitionHandle::reset):
(WebKit::WebSpeechRecognitionHandle::assign):
(WebKit::WebSpeechRecognitionHandle::equals):
(WebKit::WebSpeechRecognitionHandle::lessThan):
(WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle):
(WebKit::WebSpeechRecognitionHandle::operator=):
(WebKit::WebSpeechRecognitionHandle::operator PassRefPtr<SpeechRecognition>):
- src/WebSpeechRecognitionParams.cpp: Added.
(WebKit):
(WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
- src/WebSpeechRecognitionResult.cpp: Added.
(WebKit):
(WebKit::WebSpeechRecognitionResult::assign):
(WebKit::WebSpeechRecognitionResult::reset):
(WebKit::WebSpeechRecognitionResult::operator PassRefPtr<WebCore::SpeechRecognitionResult>):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
- src/WebViewImpl.h:
(WebKit):
- 3:47 AM Changeset in webkit [113163] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, GTK inspector gardening.
- platform/gtk/test_expectations.txt:
- 3:37 AM Changeset in webkit [113162] by
-
- 3 edits in trunk/Source/WebCore
Switch baseline values to LayoutUnits in RenderTableSection.
https://bugs.webkit.org/show_bug.cgi?id=83017
Reviewed by Julien Chaffraix.
We initially intend to keep table layout on integers post switching the render tree to primarily
use sub-pixel precision. Baseline positions switch to sub-pixel units, and in table layout code are
combined with padding (also sub-pixel), which means we ideally won't truncate their values until
after they're added together. Converting baseline values in RenderTableSection to LayoutUnits.
No new tests. No change in behavior.
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::calcRowLogicalHeight):
(WebCore::RenderTableSection::layoutRows):
- rendering/RenderTableSection.h:
(RowStruct):
- 3:29 AM Changeset in webkit [113161] by
-
- 3 edits in trunk/Source/WebCore
[GTK] Scrolling doesn't work in WebKit2 since r110185
https://bugs.webkit.org/show_bug.cgi?id=81779
Patch by Zan Dobersek <zandobersek@gmail.com> on 2012-04-04
Reviewed by James Robinson.
Bring back functionality of the ScrollAnimatorNone for ports that
use a fallback timer for animation frames.
No new tests - only restoring previous functionality.
- platform/ScrollAnimatorNone.cpp:
(WebCore::ScrollAnimatorNone::ScrollAnimatorNone):
(WebCore::ScrollAnimatorNone::fireUpAnAnimation):
(WebCore):
(WebCore::ScrollAnimatorNone::animationTimerFired):
(WebCore::ScrollAnimatorNone::startNextTimer):
(WebCore::ScrollAnimatorNone::animationTimerActive):
(WebCore::ScrollAnimatorNone::stopAnimationTimerIfNeeded):
- platform/ScrollAnimatorNone.h:
(ScrollAnimatorNone):
- 3:27 AM Changeset in webkit [113160] by
-
- 3 edits in trunk/LayoutTests
Unreviewed, GTK inspector gardening.
- platform/gtk/Skipped:
- platform/gtk/test_expectations.txt:
- 3:26 AM Changeset in webkit [113159] by
-
- 4 edits in branches/subpixellayout/Source/WebCore
Coalesce extra pixel snapping in getRoundedBorderFor into a local variable, remove LayoutUnit flavors of adjustForAsboluteZoom, and use pixel snapped values throughout Element's DOM accessors.
- 3:13 AM Changeset in webkit [113158] by
-
- 2 edits2 adds in trunk/LayoutTests
[Qt] Unreviewed gardening. Skip a new _crashing_ test and unskip a non-existing test.
- 2:36 AM Changeset in webkit [113157] by
-
- 10 edits in trunk/Source/WebCore
Web Inspector: CodeGeneratorInspector.py: switch Inspector, Memory and Database domains to typed API
https://bugs.webkit.org/show_bug.cgi?id=82958
Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-04-02
Reviewed by Yury Semikhatsky.
Client code is switched to typed API (all InspectorObject and InspectorArray types are replaced with
generated types from TypeBuilder according to Inspector.json).
Missing array of InspectorValues specialization is added.
- inspector/CodeGeneratorInspector.py:
- inspector/InjectedScriptHost.cpp:
(WebCore::InjectedScriptHost::inspectImpl):
- inspector/InspectorAgent.cpp:
(WebCore::InspectorAgent::inspect):
- inspector/InspectorAgent.h:
(InspectorAgent):
- inspector/InspectorDatabaseAgent.cpp:
(WebCore):
(WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
- inspector/InspectorDatabaseAgent.h:
(InspectorDatabaseAgent):
- inspector/InspectorDatabaseResource.cpp:
(WebCore::InspectorDatabaseResource::bind):
- inspector/InspectorMemoryAgent.cpp:
(WebCore::InspectorMemoryAgent::getDOMNodeCount):
- inspector/InspectorMemoryAgent.h:
(InspectorMemoryAgent):
- 2:27 AM Changeset in webkit [113156] by
-
- 5 edits in trunk/Source/WebCore
Web Inspector: make padding and client window width part of timeline calculator's state
https://bugs.webkit.org/show_bug.cgi?id=83122
Reviewed by Pavel Feldman.
- preserve window width and padding within TimelineCalculator
- rely on calculator to add expansion arrow padding
- add TimelineCalculator::computePosition() for computing single position (not entire bar dimensions)
- inspector/front-end/MemoryStatistics.js:
(WebInspector.MemoryStatistics.prototype._refreshDividers):
- inspector/front-end/TimelineGrid.js:
(WebInspector.TimelineGrid.prototype.updateDividers):
- inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewPane.prototype._update):
(WebInspector.TimelineOverviewPane.prototype._reset):
(WebInspector.TimelineOverviewCalculator.prototype.computePosition):
(WebInspector.TimelineOverviewCalculator.prototype.setDisplayWindow):
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._updateEventDividers):
(WebInspector.TimelinePanel.prototype._refresh):
(WebInspector.TimelinePanel.prototype._refreshRecords):
(WebInspector.TimelineCalculator):
(WebInspector.TimelineCalculator.prototype.computePosition):
(WebInspector.TimelineCalculator.prototype.computeBarGraphWindowPosition):
(WebInspector.TimelineCalculator.prototype.setDisplayWindow):
(WebInspector.TimelineRecordGraphRow.prototype.update):
(WebInspector.TimelineExpandableElement.prototype._update):
- 2:18 AM WebKitGTK/WebKit2Roadmap edited by
- Add ShowModalDialog (diff)
- 2:15 AM WebKitGTK/WebKit2Roadmap edited by
- Add console message (diff)
- 2:13 AM WebKitGTK/WebKit2Roadmap edited by
- Add Cookies (diff)
- 2:12 AM Changeset in webkit [113155] by
-
- 1 edit1 add in trunk/LayoutTests
Unreviewed, GTK baseline for test added in r112816.
- platform/gtk/fast/text/international/text-spliced-font-expected.txt: Added.
- 2:10 AM WebKitGTK/WebKit2Roadmap edited by
- (diff)
- 2:09 AM WebKitGTK/WebKit2Roadmap edited by
- Add target version coloumn (diff)
- 2:05 AM Changeset in webkit [113154] by
-
- 21 edits in branches/chromium/1084/Source/WebCore/inspector/front-end
Merge 112992 - Web Inspector: "Pause on start" doesn't change checked state in workers panel
https://bugs.webkit.org/show_bug.cgi?id=82908
Reviewed by Yury Semikhatsky.
This change partially reverts logic that was introduced with r111551:
preventDefault was called beside each stopPropagation. As a result, default checkbox handler was not working.
Event.prototype.consume now receives preventDefault parameter that controls whether default action
should be prevented.
- inspector/front-end/AdvancedSearchController.js:
(WebInspector.SearchView.prototype._onKeyDown):
- inspector/front-end/CSSSelectorProfileView.js:
- inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleView.prototype._enterKeyPressed):
(WebInspector.ConsoleGroup.prototype._titleClicked):
- inspector/front-end/DataGrid.js:
(WebInspector.DataGrid.prototype._keyDown):
- inspector/front-end/DatabaseQueryView.js:
(WebInspector.DatabaseQueryView.prototype._enterKeyPressed):
- inspector/front-end/DetailedHeapshotView.js:
(WebInspector.DetailedHeapshotView.prototype._mouseDownInContentsGrid):
(WebInspector.DetailedHeapshotView.prototype._retainersHeaderDragging):
- inspector/front-end/Dialog.js:
(WebInspector.Dialog.prototype._onKeyDown):
- inspector/front-end/Drawer.js:
(WebInspector.Drawer.prototype._statusBarDragging):
- inspector/front-end/Object.js:
(WebInspector.Event.prototype.consume):
- inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.prototype._promptKeyDown):
- inspector/front-end/ProfileView.js:
- inspector/front-end/SearchController.js:
(WebInspector.SearchController.prototype._onKeyDown):
- inspector/front-end/SoftContextMenu.js:
(.WebInspector.SoftContextMenu.prototype.show):
(.WebInspector.SoftContextMenu.prototype._menuItemMouseDown):
(.WebInspector.SoftContextMenu.prototype._menuKeyDown):
(.WebInspector.SoftContextMenu.prototype._discardMenu):
- inspector/front-end/Spectrum.js:
(WebInspector.Spectrum.draggable.consume):
(WebInspector.Spectrum.prototype._onKeyDown):
- inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylesSidebarPane.muteEventListener):
(WebInspector.StylesSidebarPane):
(WebInspector.StylePropertiesSection.prototype._handleSelectorClick):
(WebInspector.StylePropertyTreeElement.prototype.updateTitle.):
(WebInspector.StylePropertyTreeElement.prototype):
- inspector/front-end/TextPrompt.js:
(WebInspector.TextPrompt.prototype.onKeyDown):
(WebInspector.TextPromptWithHistory.prototype.defaultKeyHandler):
(WebInspector.TextPrompt.SuggestBox.prototype._onItemMouseDown):
- inspector/front-end/TextViewer.js:
(WebInspector.TextViewer.prototype._handleKeyDown):
- inspector/front-end/UIUtils.js:
(WebInspector.startEditing):
- inspector/front-end/inspector.js:
(WebInspector.documentKeyDown):
- inspector/front-end/treeoutline.js:
(TreeOutline.prototype._treeKeyPress):
(TreeOutline.prototype._treeKeyDown):
(TreeOutline.prototype._searchInputKeyDown):
(TreeElement.prototype.selectOnMouseDown):
- inspector/front-end/utilities.js:
(Event.prototype.consume):
TBR=pfeldman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9968120
- 2:01 AM Changeset in webkit [113153] by
-
- 11 edits11 deletes in trunk/Source
Unreviewed, rolling out r113149.
http://trac.webkit.org/changeset/113149
https://bugs.webkit.org/show_bug.cgi?id=83126
for breaking Chromium builders (Requested by pfeldman on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-04
Source/WebCore:
- Modules/speech/SpeechGrammar.h:
- Modules/speech/SpeechRecognition.cpp:
(WebCore::SpeechRecognition::audioStartCallback):
(WebCore::SpeechRecognition::soundStartCallback):
(WebCore::SpeechRecognition::speechStartCallback):
(WebCore::SpeechRecognition::speechEndCallback):
(WebCore::SpeechRecognition::audioEndCallback):
(WebCore::SpeechRecognition::resultCallback):
(WebCore::SpeechRecognition::noMatchCallback):
(WebCore::SpeechRecognition::resultDeletedCallback):
(WebCore::SpeechRecognition::errorCallback):
(WebCore::SpeechRecognition::startCallback):
(WebCore::SpeechRecognition::endCallback):
- Modules/speech/SpeechRecognition.h:
(SpeechRecognition):
- Modules/speech/SpeechRecognitionClient.h:
(SpeechRecognitionClient):
- Modules/speech/SpeechRecognitionController.h:
(WebCore::SpeechRecognitionController::visibilityHidden):
(WebCore::SpeechRecognitionController::unregisterSpeechRecognition):
Source/WebKit/chromium:
- WebKit.gyp:
- public/WebSpeechGrammar.h: Removed.
- public/WebSpeechRecognitionHandle.h: Removed.
- public/WebSpeechRecognitionParams.h: Removed.
- public/WebSpeechRecognitionResult.h: Removed.
- public/WebSpeechRecognizer.h: Removed.
- public/WebSpeechRecognizerClient.h: Removed.
- public/WebViewClient.h:
(WebKit):
- src/SpeechRecognitionClientProxy.cpp: Removed.
- src/SpeechRecognitionClientProxy.h: Removed.
- src/WebSpeechGrammar.cpp: Removed.
- src/WebSpeechRecognitionHandle.cpp: Removed.
- src/WebSpeechRecognitionResult.cpp: Removed.
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
- src/WebViewImpl.h:
(WebKit):
- 1:56 AM WebKitGTK/WebKit2Roadmap edited by
- Update (diff)
- 1:52 AM Changeset in webkit [113152] by
-
- 1 edit15 adds in trunk/LayoutTests
Not reviewed: expectations updated for chromium.
- platform/chromium-linux/fast/forms/datalist/input-list-expected.png: Added.
- platform/chromium-linux/fast/forms/datalist/input-selectedoption-expected.png: Added.
- platform/chromium-mac-leopard/fast/forms/datalist/input-selectedoption-expected.png: Added.
- platform/chromium-mac/fast/forms/datalist/input-list-expected.png: Added.
- platform/chromium-mac/fast/forms/datalist/input-list-expected.txt: Added.
- platform/chromium-mac/fast/forms/datalist/input-selectedoption-expected.png: Added.
- platform/chromium-mac/fast/forms/datalist/input-selectedoption-expected.txt: Added.
- platform/chromium-win/fast/forms/datalist/input-list-expected.png: Added.
- platform/chromium-win/fast/forms/datalist/input-list-expected.txt: Added.
- platform/chromium-win/fast/forms/datalist/input-selectedoption-expected.png: Added.
- platform/chromium-win/fast/forms/datalist/input-selectedoption-expected.txt: Added.
- 1:47 AM Changeset in webkit [113151] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: event marks are missing in the timeline overview
https://bugs.webkit.org/show_bug.cgi?id=83043
Reviewed by Pavel Feldman.
- invoke overview event dividers update as part of overview update, not lower pane update;
- store raw records for event dividers within overview;
- moved createEventDividers to a class method of TimelinePresentationModel for reuse.
- ditto for forAllRecords
- inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewPane):
(WebInspector.TimelineOverviewPane.prototype._update):
(WebInspector.TimelineOverviewPane.prototype._updateCategoryStrips):
(WebInspector.TimelineOverviewPane.prototype._updateEventDividers):
(WebInspector.TimelineOverviewPane.prototype._onRecordAdded):
(WebInspector.TimelineOverviewPane.prototype._reset):
(WebInspector.HeapGraph.prototype.update):
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._updateEventDividers):
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline.addTimestampRecords):
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
- inspector/front-end/TimelinePresentationModel.js:
(WebInspector.TimelinePresentationModel.isEventDivider):
(WebInspector.TimelinePresentationModel.forAllRecords):
(WebInspector.TimelinePresentationModel.createEventDivider):
- 1:39 AM Changeset in webkit [113150] by
-
- 3 edits in trunk/LayoutTests
Unreviewed, update platform test expectations for worker-reload.html.
- platform/gtk/test_expectations.txt:
- platform/mac/test_expectations.txt:
- 1:34 AM Changeset in webkit [113149] by
-
- 11 edits7 copies4 adds in trunk/Source
Speech JavaScript API: Plumbing for Chromium
https://bugs.webkit.org/show_bug.cgi?id=81667
Reviewed by Darin Fisher.
Source/WebCore:
SpeechGrammar::src() is called with a ScriptExecutionContext, because
the attribute setter needs it. Provide a src() method that doesn't
take a ScriptExecutionContext that can be used internally.
Rename SpeechRecognition::audioStartCallback(), etc. to use event style
names, i.e. didStartAudio(), etc.
Remove SpeechRecognitionClient::notifyVisibilityHidden(). The embedder
can keep track of the visibility.
Remove SpeechRecognitionClient::unregisterSpeechRecognition,
it is not needed.
No new tests, just minor tweaks.
- Modules/speech/SpeechGrammar.h:
(WebCore::SpeechGrammar::src):
- Modules/speech/SpeechRecognition.cpp:
(WebCore::SpeechRecognition::didStartAudio):
(WebCore::SpeechRecognition::didStartSound):
(WebCore::SpeechRecognition::didStartSpeech):
(WebCore::SpeechRecognition::didEndSpeech):
(WebCore::SpeechRecognition::didEndSound):
(WebCore):
(WebCore::SpeechRecognition::didEndAudio):
(WebCore::SpeechRecognition::didReceiveResult):
(WebCore::SpeechRecognition::didReceiveNoMatch):
(WebCore::SpeechRecognition::didDeleteResult):
(WebCore::SpeechRecognition::didReceiveError):
(WebCore::SpeechRecognition::didStart):
(WebCore::SpeechRecognition::didEnd):
- Modules/speech/SpeechRecognition.h:
(SpeechRecognition):
- Modules/speech/SpeechRecognitionClient.h:
(SpeechRecognitionClient):
- Modules/speech/SpeechRecognitionController.h:
Source/WebKit/chromium:
Add plumbing for speech recognition.
The implementer is expected to implement the WebSpeechRecognizer interface.
The start(), stop(), and abort() functions of that interface take a
WebSpeechRecognitionHandle argument, which identifies the object which has
requested the action, and a pointer to a WebSpeechRecognitionClient interface,
through which it should send back notifications on progress, errors, etc.
SpeechRecognitionClientProxy passes data between the WebCore and WebKit layers,
implementing the WebCore::SpeechRecognitionClient and WebKit::WebSpeechRecognizerClient
interfaces.
- WebKit.gyp:
- public/WebSpeechGrammar.h:
(WebCore):
(WebKit):
(WebSpeechGrammar):
(WebKit::WebSpeechGrammar::WebSpeechGrammar):
(WebKit::WebSpeechGrammar::~WebSpeechGrammar):
- public/WebSpeechRecognitionHandle.h: Added.
(WebCore):
(WebKit):
(WebSpeechRecognitionHandle):
(WebKit::WebSpeechRecognitionHandle::~WebSpeechRecognitionHandle):
(WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle):
(WebKit::WebSpeechRecognitionHandle::operator=):
(WebKit::operator==):
(WebKit::operator!=):
(WebKit::operator<):
- public/WebSpeechRecognitionParams.h:
(WebKit):
(WebSpeechRecognitionParams):
(WebKit::WebSpeechRecognitionParams::grammars):
(WebKit::WebSpeechRecognitionParams::language):
(WebKit::WebSpeechRecognitionParams::continuous):
- public/WebSpeechRecognitionResult.h: Added.
(WebCore):
(WebKit):
(WebSpeechRecognitionResult):
(WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult):
(WebKit::WebSpeechRecognitionResult::~WebSpeechRecognitionResult):
- public/WebSpeechRecognizer.h:
(WebKit):
(WebSpeechRecognizer):
(WebKit::WebSpeechRecognizer::start):
(WebKit::WebSpeechRecognizer::stop):
(WebKit::WebSpeechRecognizer::abort):
(WebKit::WebSpeechRecognizer::~WebSpeechRecognizer):
- public/WebSpeechRecognizerClient.h: Added.
(WebKit):
(WebSpeechRecognizerClient):
- public/WebViewClient.h:
(WebKit):
(WebViewClient):
(WebKit::WebViewClient::speechRecognizer):
- src/SpeechRecognitionClientProxy.cpp: Added.
(WebKit):
(WebKit::SpeechRecognitionClientProxy::~SpeechRecognitionClientProxy):
(WebKit::SpeechRecognitionClientProxy::create):
(WebKit::SpeechRecognitionClientProxy::start):
(WebKit::SpeechRecognitionClientProxy::stop):
(WebKit::SpeechRecognitionClientProxy::abort):
(WebKit::SpeechRecognitionClientProxy::didStartAudio):
(WebKit::SpeechRecognitionClientProxy::didStartSound):
(WebKit::SpeechRecognitionClientProxy::didStartSpeech):
(WebKit::SpeechRecognitionClientProxy::didEndSpeech):
(WebKit::SpeechRecognitionClientProxy::didEndSound):
(WebKit::SpeechRecognitionClientProxy::didEndAudio):
(WebKit::SpeechRecognitionClientProxy::didReceiveResult):
(WebKit::SpeechRecognitionClientProxy::didReceiveNoMatch):
(WebKit::SpeechRecognitionClientProxy::didDeleteResult):
(WebKit::SpeechRecognitionClientProxy::didReceiveError):
(WebKit::SpeechRecognitionClientProxy::didStart):
(WebKit::SpeechRecognitionClientProxy::didEnd):
(WebKit::SpeechRecognitionClientProxy::SpeechRecognitionClientProxy):
- src/SpeechRecognitionClientProxy.h: Added.
(WebKit):
(SpeechRecognitionClientProxy):
- src/WebSpeechGrammar.cpp: Added.
(WebKit):
(WebKit::WebSpeechGrammar::reset):
(WebKit::WebSpeechGrammar::WebSpeechGrammar):
(WebKit::WebSpeechGrammar::operator=):
(WebKit::WebSpeechGrammar::src):
(WebKit::WebSpeechGrammar::weight):
- src/WebSpeechRecognitionHandle.cpp: Added.
(WebKit):
(WebKit::WebSpeechRecognitionHandle::reset):
(WebKit::WebSpeechRecognitionHandle::assign):
(WebKit::WebSpeechRecognitionHandle::equals):
(WebKit::WebSpeechRecognitionHandle::lessThan):
(WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle):
(WebKit::WebSpeechRecognitionHandle::operator=):
(WebKit::WebSpeechRecognitionHandle::operator PassRefPtr<SpeechRecognition>):
- src/WebSpeechRecognitionParams.cpp: Added.
(WebKit):
(WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
- src/WebSpeechRecognitionResult.cpp: Added.
(WebKit):
(WebKit::WebSpeechRecognitionResult::assign):
(WebKit::WebSpeechRecognitionResult::reset):
(WebKit::WebSpeechRecognitionResult::operator PassRefPtr<WebCore::SpeechRecognitionResult>):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
- src/WebViewImpl.h:
(WebKit):
- 1:03 AM Changeset in webkit [113148] by
-
- 3 edits in trunk/LayoutTests
Unreviewed, rebaseline after r113137 and skip some more flaky
inspector tests on GTK.
- fast/forms/label/labelable-elements-expected.txt:
- platform/gtk/test_expectations.txt:
- 12:37 AM WebKit Team edited by
- (diff)
- 12:30 AM Changeset in webkit [113147] by
-
- 18 edits in trunk/Source
Fix build break when CONTEXT_MENUS is disabled.
https://bugs.webkit.org/show_bug.cgi?id=82342
Patch by Mariusz Grzegorczyk <mariusz.g@samsung.com> on 2012-04-04
Reviewed by Andreas Kling.
Fixes build break in WebKit-Gtk, and WebKit-EFL ports when CONTEXT_MENUS macro is disabled.
Source/WebCore:
- page/ContextMenuClient.h:
- page/ContextMenuController.h:
- page/Page.cpp:
(WebCore::Page::PageClients::PageClients):
- page/Page.h:
(WebCore):
(PageClients):
- platform/ContextMenu.cpp:
- platform/ContextMenu.h:
- platform/ContextMenuItem.cpp:
- platform/ContextMenuItem.h:
- platform/efl/ContextMenuEfl.cpp:
- platform/efl/ContextMenuItemEfl.cpp:
- platform/gtk/ContextMenuGtk.cpp:
- platform/gtk/ContextMenuItemGtk.cpp:
Source/WebKit/gtk:
- WebCoreSupport/ContextMenuClientGtk.cpp:
- WebCoreSupport/ContextMenuClientGtk.h:
- webkit/webkitglobals.cpp:
(webkit_context_menu_item_get_action):
- webkit/webkitwebview.cpp:
(webkit_web_view_button_press_event):
(webkit_web_view_class_init):
(webkit_web_view_init):
- 12:17 AM Changeset in webkit [113146] by
-
- 2 edits in trunk/Source/WebKit2
Fixed some WebKit2 crashes seen on the buildbot after my last patch.
Reviewed by Beth Dakin.
- WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
(WebKit::NPRuntimeObjectMap::finalize): Don't try to get our value
out of the map, since Weak<T> returns NULL during finalization. Instead,
use the handle we've been passed for finalization.
- 12:11 AM Changeset in webkit [113145] by
-
- 1 edit1 copy1 add in trunk/LayoutTests
The baseline for this test is V8-specific. This patch moves the
baseline to the chromium directory and places the JSC result in the
cross-platform directory.
- http/tests/security/srcdoc-in-sandbox-cannot-access-parent-expected.txt: Replaced.
- platform/chromium/http/tests/security/srcdoc-in-sandbox-cannot-access-parent-expected.txt: Copied from LayoutTests/http/tests/security/srcdoc-in-sandbox-cannot-access-parent-expected.txt.