Timeline
Jun 14, 2012:
- 11:52 PM Changeset in webkit [120411] by
-
- 26 edits6 copies in trunk
Add color property to input type=range
https://bugs.webkit.org/show_bug.cgi?id=89067
Reviewed by Kent Tamura.
Source/WebCore:
Adding color property to input type=range in preparation for
supporting tick marks for datalist for input type=range.
- css/html.css:
(input[type="range"]): Setting color property for input type=range.
This will set the color of tick mark when we implement <datalist>.
- css/themeChromiumLinux.css:
(input[type=range]):
- css/themeWin.css:
(input[type="range"]):
LayoutTests:
- fast/dom/HTMLInputElement/input-slider-update-styled-expected.txt:
- fast/repaint/slider-thumb-float-expected.txt:
- platform/chromium-linux/fast/dom/HTMLInputElement/input-slider-update-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/dom/HTMLInputElement/input-slider-update-expected.txt.
- platform/chromium-linux/fast/dom/HTMLInputElement/input-slider-update-styled-expected.txt: Copied from LayoutTests/fast/dom/HTMLInputElement/input-slider-update-styled-expected.txt.
- platform/chromium-linux/fast/forms/box-shadow-override-expected.txt:
- platform/chromium-linux/fast/forms/input-appearance-height-expected.txt:
- platform/chromium-linux/fast/forms/range/slider-thumb-stylability-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/range/slider-thumb-stylability-expected.txt.
- platform/chromium-linux/fast/repaint/slider-thumb-drag-release-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/repaint/slider-thumb-drag-release-expected.txt.
- platform/chromium-linux/fast/repaint/slider-thumb-float-expected.txt: Copied from LayoutTests/fast/repaint/slider-thumb-float-expected.txt.
- platform/chromium-mac/fast/forms/box-shadow-override-expected.txt:
- platform/chromium-mac/fast/forms/input-appearance-height-expected.txt:
- platform/chromium-mac/fast/forms/range/input-appearance-range-expected.txt:
- platform/chromium-win/fast/dom/HTMLInputElement/input-slider-update-expected.txt:
- platform/chromium-win/fast/forms/box-shadow-override-expected.txt:
- platform/chromium-win/fast/forms/input-appearance-height-expected.txt:
- platform/chromium-win/fast/forms/range/input-appearance-range-expected.txt:
- platform/chromium-win/fast/forms/range/range-thumb-height-percentage-expected.txt:
- platform/chromium-win/fast/forms/range/slider-padding-expected.txt:
- platform/chromium-win/fast/forms/range/slider-thumb-shared-style-expected.txt:
- platform/chromium-win/fast/forms/range/slider-thumb-stylability-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/range/slider-thumb-stylability-expected.txt.
- platform/chromium-win/fast/repaint/slider-thumb-drag-release-expected.txt:
- platform/mac/fast/dom/HTMLInputElement/input-slider-update-expected.txt:
- platform/mac/fast/forms/range/range-thumb-height-percentage-expected.txt:
- platform/mac/fast/forms/range/slider-padding-expected.txt:
- platform/mac/fast/forms/range/slider-thumb-shared-style-expected.txt:
- platform/mac/fast/forms/range/slider-thumb-stylability-expected.txt:
- platform/mac/fast/repaint/slider-thumb-drag-release-expected.txt:
- 11:38 PM Changeset in webkit [120410] by
-
- 8 edits in trunk/Source
Support file extensions in HTMLInputElement::accept
https://bugs.webkit.org/show_bug.cgi?id=88298
Reviewed by Hajime Morita.
Source/WebCore:
The WHATWG specification added file extensions supoprt for
HTMLInputElement::accept recently.
In the WebCore FileChooser interface, we rejected invalid MIME type
strings in HTMLInputElement::acceptMIMETypes(), and platform file
choosers don't expect that it containts file extensions. So, this patch
introduces additional member "acceptFileExtensions" to
FileChooserSettings, and it contains only file extensions specified by
an accept attribute.
- html/FileInputType.cpp:
Sets HTMLInputElement::acceptFileExtensions() to
FileChooserSettings::acceptFileExtensions.
(WebCore::FileInputType::handleDOMActivateEvent):
(WebCore::FileInputType::receiveDropForDirectoryUpload):
- html/HTMLInputElement.cpp:
(WebCore::isValidFileExtension): Added.
(WebCore::parseAcceptAttribute):
Common part for acceptMIMETyps() and acceptFileExtensions().
(WebCore::HTMLInputElement::acceptMIMETypes):
Uses parseAcceptAttribute() with isValidMIMEType().
(WebCore::HTMLInputElement::acceptFileExtensions):
Added. Uses parseAcceptAttribute() with isValidFileExtension().
- html/HTMLInputElement.h:
(HTMLInputElement): Add acceptFileExtensions().
- platform/FileChooser.h:
(FileChooserSettings): Add acceptFileExtensions and acceptTypes().
- platform/FileChooser.cpp:
(WebCore::FileChooserSettings::acceptTypes): Added.
Source/WebKit/chromium:
- src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::runOpenPanel):
Use FileChooserSettings::acceptTypes() to get both of MIME types and file extensions.
- 11:35 PM Changeset in webkit [120409] by
-
- 1 edit1 delete in trunk/LayoutTests
Unreviewed rebaseline for mac chromium following r120403.
- platform/chromium-mac/tables/mozilla/bugs/bug55527-expected.txt: Removed.
- 11:33 PM Changeset in webkit [120408] by
-
- 4 edits in trunk/Source/WebKit/chromium
Remove support for counterValueForElementById from chromium port
https://bugs.webkit.org/show_bug.cgi?id=88851
Reviewed by Adam Barth.
Moved the counterValueForElementById from LayoutTestCotroller to Internals so
remove the old platform specific implementations as it exclusively tests WebCore functionality.
- public/WebFrame.h:
(WebFrame):
- src/WebFrameImpl.cpp:
(WebKit):
- src/WebFrameImpl.h:
(WebFrameImpl):
- 11:23 PM Changeset in webkit [120407] by
-
- 5 edits in trunk/LayoutTests
Use testRunner instead of layoutTestController in battery status and canvas tests
https://bugs.webkit.org/show_bug.cgi?id=88761
Reviewed by Tony Chang.
- batterystatus/resources/event-after-navigation-new.html:
- batterystatus/script-tests/event-after-navigation.js:
- canvas/philip/tests.js:
(_addTest.endTest):
(_addTest.window.onload):
(_addTest):
- canvas/philip/tests/2d.text-custom-font-load-crash.html:
- 11:18 PM Changeset in webkit [120406] by
-
- 1 edit2 deletes in trunk/Source/WebCore
[chromium] Remove unused CanvasLayerChromium.h/cpp from the tree
https://bugs.webkit.org/show_bug.cgi?id=89152
Patch by James Robinson <jamesr@chromium.org> on 2012-06-14
Reviewed by Adrienne Walker.
These files have been unused and not in the build system since r119769
- platform/graphics/chromium/CanvasLayerChromium.cpp: Removed.
- platform/graphics/chromium/CanvasLayerChromium.h: Removed.
- 11:17 PM Changeset in webkit [120405] by
-
- 2 edits in trunk/LayoutTests
Cast paddings to int in RenderTableCell
https://bugs.webkit.org/show_bug.cgi?id=88918
Patch by Emil A Eklund <eae@chromium.org> on 2012-06-14
Reviewed by Levi Weintraub.
Add test ensuring that table cells does not wrap when using fractional
paddings.
- fast/sub-pixel/table-cells-with-padding-do-not-wrap-expected.txt: Added.
- fast/sub-pixel/table-cells-with-padding-do-not-wrap.html: Added.
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png:
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt:
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png:
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt:
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png:
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt:
- platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug89315-expected.png:
- platform/chromium-win/tables/mozilla_expected_failures/bugs/bug89315-expected.txt:
- platform/chromium/TestExpectations:
- 11:16 PM Changeset in webkit [120404] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Selection - Crash when manipulating selection by dragging handle
https://bugs.webkit.org/show_bug.cgi?id=89160
RIMBUG:164970
Avoid to set position in shadow tree to the new selection's base. It
crashes when setting a shadow position to a selection' base.
Patch by Sean Wang <Xuewen.Wang@torchmobile.com.cn> on 2012-06-14
Reviewed by Antonio Gomes.
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::visiblePositionForPointIgnoringClipping):
- 11:13 PM LayoutUnit edited by
- (diff)
- 11:07 PM Changeset in webkit [120403] by
-
- 12 edits2 adds in trunk
Cast paddings to int in RenderTableCell
https://bugs.webkit.org/show_bug.cgi?id=88918
Reviewed by Levi Weintraub.
Source/WebCore:
Table layout uses integers throughout yet the TableCell paddingLeft/
Right/Top/Bottom methods returns LayoutUnits. This causes inconsistent
rounding as some call sites cast the numbers to ints before doing
computation and others do computation before casting.
By changing the methods to always cast the padding values to int we
ensure consistent padding calculations.
Ideally we'd change the type of the return value for the methods but as
they are overriden that would likely cause more confusion.
Test: fast/sub-pixel/table-cells-with-padding-do-not-wrap.html
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paddingTop):
(WebCore::RenderTableCell::paddingBottom):
(WebCore::RenderTableCell::paddingLeft):
(WebCore::RenderTableCell::paddingRight):
(WebCore::RenderTableCell::paddingBefore):
(WebCore::RenderTableCell::paddingAfter):
LayoutTests:
Add test ensuring that table cells does not wrap when using fractional
paddings.
- fast/sub-pixel/table-cells-with-padding-do-not-wrap-expected.txt: Added.
- fast/sub-pixel/table-cells-with-padding-do-not-wrap.html: Added.
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png:
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt:
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png:
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt:
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png:
- platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt:
- platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug89315-expected.png:
- platform/chromium-win/tables/mozilla_expected_failures/bugs/bug89315-expected.txt:
- platform/chromium/TestExpectations:
- 10:55 PM Changeset in webkit [120402] by
-
- 2 edits in trunk/Source/WebCore
[Chromium] Check the result of FontCache::getCachedFontPlatformData()
https://bugs.webkit.org/show_bug.cgi?id=89141
Reviewed by Kent Tamura.
The value of FontCache::getCachedFontPlatformData() could be invalid,
so we should check the value before use it.
No new tests. No new functionality.
- platform/graphics/skia/FontCacheSkia.cpp:
(WebCore::FontCache::getFontDataForCharacters):
- 10:53 PM Changeset in webkit [120401] by
-
- 6 edits in trunk
Fix framebuffer completeness test
https://bugs.webkit.org/show_bug.cgi?id=89127
Patch by Gregg Tavares <gman@google.com> on 2012-06-14
Reviewed by Kenneth Russell.
No new tests just fixing failing tests.
- html/canvas/WebGLFramebuffer.cpp:
(WebCore::WebGLFramebuffer::initializeAttachments):
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::isTexInternalFormatColorBufferCombinationValid):
- platform/graphics/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::getClearBitsByAttachmentType):
(WebCore):
(WebCore::GraphicsContext3D::getClearBitsByFormat):
(WebCore::GraphicsContext3D::getChannelBitsByFormat):
- platform/graphics/GraphicsContext3D.h:
- 10:29 PM Changeset in webkit [120400] by
-
- 2 edits in trunk/LayoutTests
Unreviewed expectation update.
- Marked cross-domain-message-event-dispatch.html and track-cue-rendering-snap-to-lines-not-set.html
- platform/chromium/TestExpectations:
- 10:24 PM Changeset in webkit [120399] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] empty plugin cause browser hang
https://bugs.webkit.org/show_bug.cgi?id=89091
Reviewed by Rob Buis.
Add check before clean pluginView in FrameLoaderBlackBerry in case
it didn't have any content.
RIM PR# 165336
Reviewed internally by George Staikos
- WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::finishedLoading):
- 9:59 PM Changeset in webkit [120398] by
-
- 2 edits in trunk/Source/WebCore
[chromium] Make TiledLayerChromium robust to unexpected null tiles
https://bugs.webkit.org/show_bug.cgi?id=89143
Reviewed by James Robinson.
Although there shouldn't ever be null tiles in the map, it appears to
be occurring frequently enough to show up in crash reports. In the
short term, be robust to this so the tiler doesn't crash. This should
eventually be reverted.
- platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::pushPropertiesTo):
(WebCore::TiledLayerChromium::setLayerTreeHost):
(WebCore::TiledLayerChromium::invalidateRect):
(WebCore::TiledLayerChromium::updateTiles):
(WebCore::TiledLayerChromium::resetUpdateState):
- 9:34 PM Changeset in webkit [120397] by
-
- 12 edits4 adds in trunk
Validate form state strings in FormController::setStateForNewFormElements()
https://bugs.webkit.org/show_bug.cgi?id=88768
Reviewed by Hajime Morita.
.:
- Source/autotools/symbols.filter: Expose some symbols used by Internals.cpp.
Source/WebCore:
Reject invalid form state vectors. This state vectors are generated by
WebKit itself. However it can be invalid because
- Serialized state vectors can be corrupted
- A future version of WebKit might change the format
So we had better reject unexpected state vectors as possible.
Test: fast/forms/state-restore-broken-state.html
- WebCore.exp.in: Expose some symbols used by Internals.cpp.
- html/FormController.cpp:
(WebCore::isNotFormControlTypeCharacter): A helper for state validation.
(WebCore::FormController::setStateForNewFormElements):
Reject state vectors of which size is not a multiple of 3, or a type name is invalid.
- testing/Internals.cpp:
(WebCore::Internals::formControlStateOfPreviousHistoryItem):
Returns a form state vector of the previous document.
(WebCore::Internals::setFormControlStateOfPreviousHistoryItem):
Sets a form state vector for the previous document.
- testing/Internals.h: Declare new functions.
- testing/Internals.idl: ditto.
Source/WebKit2:
- win/WebKit2.def: Expose some symbols used by Internals.cpp.
- win/WebKit2CFLite.def: ditto.
LayoutTests:
- fast/forms/resources/state-restore-broken-state-1.html: Added.
- fast/forms/resources/state-restore-broken-state-2.html: Added.
- fast/forms/state-restore-broken-state-expected.txt: Added.
- fast/forms/state-restore-broken-state.html: Added.
- 9:21 PM Changeset in webkit [120396] by
-
- 10 edits in trunk
Unreviewed, rolling out r120393.
http://trac.webkit.org/changeset/120393
https://bugs.webkit.org/show_bug.cgi?id=89163
breaks cr-mac build (Requested by morrita on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-14
Source/WebCore:
- WebCore.gyp/WebCore.gyp:
- platform/image-decoders/ImageDecoder.h:
(ImageFrame):
(ImageDecoder):
- platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
(turboSwizzled):
(WebCore::JPEGImageReader::JPEGImageReader):
(WebCore::JPEGImageReader::close):
(WebCore::JPEGImageReader::decode):
(JPEGImageReader):
(WebCore::JPEGImageDecoder::outputScanlines):
- platform/image-decoders/png/PNGImageDecoder.cpp:
(WebCore::PNGImageReader::PNGImageReader):
(WebCore::PNGImageReader::close):
(WebCore::PNGImageReader::currentBufferSize):
(PNGImageReader):
(WebCore::PNGImageReader::decodingSizeOnly):
(WebCore::PNGImageReader::interlaceBuffer):
(WebCore::PNGImageReader::hasAlpha):
(WebCore::PNGImageReader::setHasAlpha):
(WebCore::PNGImageDecoder::headerAvailable):
(WebCore::PNGImageDecoder::rowAvailable):
- platform/image-decoders/skia/ImageDecoderSkia.cpp:
(WebCore):
(WebCore::resolveColorSpace):
(WebCore::createColorSpace):
(WebCore::ImageFrame::setColorProfile):
(WebCore::ImageFrame::setStatus):
Source/WTF:
- wtf/Platform.h:
LayoutTests:
- platform/chromium/TestExpectations:
- 9:17 PM Changeset in webkit [120395] by
-
- 4 edits in trunk/Source/WebCore
RenderLayer subtrees without any self-painting layer shouldn't be walked during painting
https://bugs.webkit.org/show_bug.cgi?id=88888
Reviewed by Simon Fraser.
Performance optimization, covered by existing tests.
The gist of this change is to add a has-self-painting-layer-descendant flag (including an
invalidation logic) that is used to avoid walking subtrees without any self-painting layer.
On http://dglazkov.github.com/performance-tests/biggrid.html with a 100,000 rows
by 100 columns table, it brings the paint time during scrolling from ~45ms to ~6ms
on my machine. The test case is a pathologic example here but the optimization should
apply in other cases.
The new update logic piggy-backs on top of the existing updateVisibilityStatus() one that
got repurposed and renamed as part of this change.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::RenderLayer):
(WebCore::RenderLayer::addChild):
(WebCore::RenderLayer::removeChild):
(WebCore::RenderLayer::styleChanged):
These functions were updated to dirty / set the new flag.
(WebCore::RenderLayer::dirtyAncestorChainHasSelfPaintingLayerDescendantStatus):
(WebCore::RenderLayer::setAncestorChainHasSelfPaintingLayerDescendant):
Added those functions to handle setting / invalidating the new flag.
(WebCore::RenderLayer::updateSelfPaintingLayerAfterStyleChange):
Added this function to handle style update.
(WebCore::RenderLayer::paintLayer):
(WebCore::RenderLayer::paintLayerContentsAndReflection):
(WebCore::RenderLayer::paintLayerContents):
(WebCore::RenderLayer::paintList):
Changed this logic to bail out if we have no self-painting descendants. This is what
is giving the performance improvement. Also added some performance ASSERTs to ensure
the methods are not called when they shouldn't.
(WebCore::RenderLayer::updateDescendantDependentFlags):
Renamed from updateVisibilityStatus to account for the new usage.
(WebCore::RenderLayer::updateLayerPositions):
(WebCore::RenderLayer::updateLayerPositionsAfterScroll):
(WebCore::RenderLayer::collectLayers):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
Updated after updateVisibilityStatus rename.
- rendering/RenderLayer.h:
(WebCore::RenderLayer::hasSelfPaintingLayerDescendant):
Added the declaration of the new functions as well as the new flag and dirty bit.
- 8:06 PM Changeset in webkit [120394] by
-
- 5 edits in trunk
[Chromium-Android] Initialize font rendering in DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=89133
Reviewed by Adam Barth.
Source/WebKit/chromium:
- src/linuxish/WebFontRendering.cpp:
(WebKit::WebFontRendering::setSubpixelPositioning): Now calls WebFontInfo::setSubpixelPositioning to avoid API users from calling both and simplify platform differences at call sites.
Tools:
- DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::reset):
(LayoutTestController::setTextSubpixelPositioning):
- DumpRenderTree/chromium/TestShellAndroid.cpp:
(platformInit):
- 7:53 PM Changeset in webkit [120393] by
-
- 9 edits in trunk
Source/WebCore: [chromium] Add iccjpeg and qcms to chromium port
Reviewed by Adam Barth.
Covered by existing layout tests which will be rebaselined.
- WebCore.gyp/WebCore.gyp: Add qcms to the build.
- platform/image-decoders/ImageDecoder.h: (WebCore::ImageDecoder::qcmsOutputDeviceProfile): Return an sRGB profile. On OSX, return the default RGB profile. Add FIXME to use the user's monitor profile and verify that profile for other platforms.
- platform/image-decoders/jpeg/JPEGImageDecoder.cpp: (turboSwizzled): For libjpeg-turbo, JCS_EXT_BGRA and JCS_EXT_RGBA are the two known output color spaces for which the decoder uses a data swizzle. (colorSpaceHasAlpha): JPEG's have no alpha in the output color space. For libjpeg-turbo, alpha may be present in the swizzled output color space.
(WebCore::JPEGImageReader::JPEGImageReader):
(WebCore::JPEGImageReader::close):
(WebCore::JPEGImageReader::decode): For QCMSLIB, create the color transform
to use during decoding, and ensure we switch to inputing RGBA data to qcms
even if the desired output data is BGRA: outputScanlines() sends BGRA data
to the frame buffer following color correction if needed.
(JPEGImageReader):
(WebCore::JPEGImageReader::colorTransform): qcms color transform getter.
(WebCore::JPEGImageReader::createColorTransform): Create color transform.
Release the existing transform (if any) and assign to the color transform
created from the color profile data.
(WebCore::JPEGImageDecoder::outputScanlines): Minor style fix. Apply color
transform to each decoded image row.
- platform/image-decoders/png/PNGImageDecoder.cpp: (WebCore::PNGImageReader::PNGImageReader): (WebCore::PNGImageReader::close): (WebCore::PNGImageReader::currentBufferSize): Move this adjacent to other setters and getters. (WebCore::PNGImageReader::decodingSizeOnly): Ditto. (WebCore::PNGImageReader::setHasAlpha): Ditto. (WebCore::PNGImageReader::hasAlpha): Ditto. (WebCore::PNGImageReader::interlaceBuffer): Ditto. (WebCore::PNGImageReader::createRowBuffer): Creates a temporary row buffer, used when a color transform is applied to the decoded image pixels. (WebCore::PNGImageReader::rowBuffer): Return the temporary row buffer. (WebCore::PNGImageReader::colorTransform): qcms color transform getter. (WebCore::PNGImageReader::createColorTransform): Create color transform. Release the existing transform (if any) and assign to the color transform created from the color profile data. (WebCore::PNGImageDecoder::headerAvailable): For QCMSLIB, create the color transform to use for decoding. Clear m_colorProfile (not used anymore). (WebCore::PNGImageDecoder::rowAvailable): Create temporary row buffer if a color transform is needed for decoding. Apply color transform to each decoded image row.
- platform/image-decoders/skia/ImageDecoderSkia.cpp: (WebCore::ImageFrame::setColorProfile): Old method of colorProfiles is no longer used. Add a FIXME to remove the old implementation. (WebCore::ImageFrame::setStatus): Remove old color correction code.
Patch by Tony Payne <tpayne@chromium.org> on 2012-06-14
Source/WTF: [chromium] Add iccjpeg and qcms to chromium port.
https://bugs.webkit.org/show_bug.cgi?id=81974
Patch by Tony Payne <tpayne@chromium.org> on 2012-06-14
- wtf/Platform.h: Add Chromium USE defines for ICCJPEG and QCMSLIB
to each Chromium platform, excluding Android.
Reviewed by Adam Barth.
- 7:50 PM Changeset in webkit [120392] by
-
- 10 edits3 deletes in trunk
Unreviewed, rolling out r120384.
http://trac.webkit.org/changeset/120384
https://bugs.webkit.org/show_bug.cgi?id=89157
breaks create-blob-url-from-data-url.html (Requested by
morrita on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-14
Source/WebCore:
- fileapi/Blob.cpp:
(WebCore::Blob::Blob):
- fileapi/BlobURL.cpp:
(WebCore::BlobURL::createBlobURL):
- fileapi/BlobURL.h:
(BlobURL):
- fileapi/FileReaderLoader.cpp:
(WebCore::FileReaderLoader::start):
- fileapi/ThreadableBlobRegistry.cpp:
(WebCore):
(WebCore::ThreadableBlobRegistry::registerBlobURL):
(WebCore::ThreadableBlobRegistry::unregisterBlobURL):
- fileapi/ThreadableBlobRegistry.h:
(WebCore):
(ThreadableBlobRegistry):
- html/DOMURL.cpp:
(WebCore::DOMURL::createObjectURL):
- page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::create):
LayoutTests:
- fast/files/file-reader-file-url-expected.txt: Removed.
- fast/files/file-reader-file-url.html: Removed.
- fast/files/resources/file-reader-file-url-iframe.html: Removed.
- 7:46 PM Changeset in webkit [120391] by
-
- 2 edits1 add in trunk/Source/WebKit/chromium
[chromium] Port IFrameRedirectTest.Test from test_shell_tests to webkit_unit_tests
https://bugs.webkit.org/show_bug.cgi?id=89132
Reviewed by Adam Barth.
This test is currently in src/webkit/glue/iframe_redirect_unittest.cc
and uses test_shell's layoutTestController. Moving this will make
it easier to get rid of layoutTestController in test_shell.
- tests/WebFrameTest.cpp:
(WebKit::TEST_F):
(WebKit):
- tests/data/iframe_redirect.html: Added.
- 7:25 PM Changeset in webkit [120390] by
-
- 1 edit2 adds in trunk/Source/WebCore
[Forms] Copy RenderTextControlSingleLine.{cpp,h} to RenderSearchFiled.{cpp,h}
https://bugs.webkit.org/show_bug.cgi?id=89155
Reviewed by Kent Tamura.
This patch copies RenderTextControlSingleLine.cpp and .h into RenderSearchField.cpp
and .h with just "cp" code. New files aren't compiled until bug 88980.
No new tests. This patch doesn't change behavior.
- rendering/RenderSearchField.cpp: Added.
(WebCore::RenderTextControlInnerBlock::positionForPoint):
(WebCore::RenderTextControlSingleLine::RenderTextControlSingleLine):
(WebCore::RenderTextControlSingleLine::~RenderTextControlSingleLine):
(WebCore::RenderTextControlSingleLine::containerElement):
(WebCore::RenderTextControlSingleLine::innerBlockElement):
(WebCore::RenderTextControlSingleLine::innerSpinButtonElement):
(WebCore::RenderTextControlSingleLine::resultsButtonElement):
(WebCore::RenderTextControlSingleLine::cancelButtonElement):
(WebCore::RenderTextControlSingleLine::textBaseStyle):
(WebCore::RenderTextControlSingleLine::addSearchResult):
(WebCore::RenderTextControlSingleLine::showPopup):
(WebCore::RenderTextControlSingleLine::hidePopup):
(WebCore::RenderTextControlSingleLine::paint):
(WebCore::RenderTextControlSingleLine::layout):
(WebCore::RenderTextControlSingleLine::nodeAtPoint):
(WebCore::RenderTextControlSingleLine::styleDidChange):
(WebCore::RenderTextControlSingleLine::capsLockStateMayHaveChanged):
(WebCore::RenderTextControlSingleLine::hasControlClip):
(WebCore::RenderTextControlSingleLine::controlClipRect):
(WebCore::RenderTextControlSingleLine::getAvgCharWidth):
(WebCore::RenderTextControlSingleLine::preferredContentWidth):
(WebCore::RenderTextControlSingleLine::computeControlHeight):
(WebCore::RenderTextControlSingleLine::updateFromElement):
(WebCore::RenderTextControlSingleLine::createInnerTextStyle):
(WebCore::RenderTextControlSingleLine::createInnerBlockStyle):
(WebCore::RenderTextControlSingleLine::updateCancelButtonVisibility):
(WebCore::RenderTextControlSingleLine::visibilityForCancelButton):
(WebCore::RenderTextControlSingleLine::textShouldBeTruncated):
(WebCore::RenderTextControlSingleLine::autosaveName):
(WebCore::RenderTextControlSingleLine::valueChanged):
(WebCore::RenderTextControlSingleLine::itemText):
(WebCore::RenderTextControlSingleLine::itemLabel):
(WebCore::RenderTextControlSingleLine::itemIcon):
(WebCore::RenderTextControlSingleLine::itemIsEnabled):
(WebCore::RenderTextControlSingleLine::itemStyle):
(WebCore::RenderTextControlSingleLine::menuStyle):
(WebCore::RenderTextControlSingleLine::clientInsetLeft):
(WebCore::RenderTextControlSingleLine::clientInsetRight):
(WebCore::RenderTextControlSingleLine::clientPaddingLeft):
(WebCore::RenderTextControlSingleLine::clientPaddingRight):
(WebCore::RenderTextControlSingleLine::listSize):
(WebCore::RenderTextControlSingleLine::selectedIndex):
(WebCore::RenderTextControlSingleLine::popupDidHide):
(WebCore::RenderTextControlSingleLine::itemIsSeparator):
(WebCore::RenderTextControlSingleLine::itemIsLabel):
(WebCore::RenderTextControlSingleLine::itemIsSelected):
(WebCore::RenderTextControlSingleLine::setTextFromItem):
(WebCore::RenderTextControlSingleLine::fontSelector):
(WebCore::RenderTextControlSingleLine::hostWindow):
(WebCore::RenderTextControlSingleLine::autoscroll):
(WebCore::RenderTextControlSingleLine::scrollWidth):
(WebCore::RenderTextControlSingleLine::scrollHeight):
(WebCore::RenderTextControlSingleLine::scrollLeft):
(WebCore::RenderTextControlSingleLine::scrollTop):
(WebCore::RenderTextControlSingleLine::setScrollLeft):
(WebCore::RenderTextControlSingleLine::setScrollTop):
(WebCore::RenderTextControlSingleLine::scroll):
(WebCore::RenderTextControlSingleLine::logicalScroll):
(WebCore::RenderTextControlSingleLine::createScrollbar):
(WebCore::RenderTextControlSingleLine::inputElement):
- rendering/RenderSearchField.h: Added.
(RenderTextControlSingleLine):
(WebCore::RenderTextControlSingleLine::popupIsVisible):
(WebCore::RenderTextControlSingleLine::isTextField):
(WebCore::toRenderTextControlSingleLine):
(RenderTextControlInnerBlock):
(WebCore::RenderTextControlInnerBlock::RenderTextControlInnerBlock):
(WebCore::RenderTextControlInnerBlock::hasLineIfEmpty):
- 7:11 PM Changeset in webkit [120389] by
-
- 4 edits in trunk/Source/WebCore
[JSC/V8] "DOMString[]" for function return values should not be null
https://bugs.webkit.org/show_bug.cgi?id=89151
Reviewed by Kentaro Hara.
jsArray and v8Array are used for "DOMString[]", not "DOMString[]?". So
we should not return JavaScript null object.
No new tests. We have no plan to use this code in production code for
now. It will be used for window.internals functions.
- bindings/js/JSDOMBinding.cpp:
(WebCore::jsArray): For null input, returns an empty array, not null.
- bindings/v8/V8Binding.cpp:
(WebCore::v8Array): Implement DOMStringList -> JavaScript array conversion.
Like jsArray(), we don't return null object.
- bindings/v8/V8Binding.h:
(WebCore): Declare v8Array().
- 7:04 PM Changeset in webkit [120388] by
-
- 5 edits1 copy in trunk
Disable click/dbl-click on MediaDocument for Chromium. Fix layout test for all platforms.
https://bugs.webkit.org/show_bug.cgi?id=89129
Source/WebCore:
As titled, click-to-pause and double-click-to-play behavior are unwanted on Chromium. A
long standing issue (~3 years) has been to disable this feature.
Patch by Dale Curtis <dalecurtis@chromium.org> on 2012-06-14
Reviewed by Eric Carlson.
Uses existing click/double-click test.
- html/MediaDocument.cpp:
(WebCore::MediaDocument::defaultEventHandler):
LayoutTests:
Fixes layout test to actually test what it says it tests. Previously it was
testing the opposite behavior and passing because MediaDocument auto-plays.
Additionally failing one half of the test would still allow you to pass the
other half. Both issues have been fixed.
Updates the test expectations for Chromium to reflect a failure.
Patch by Dale Curtis <dalecurtis@chromium.org> on 2012-06-14
Reviewed by Eric Carlson.
- media/video-click-dblckick-standalone-expected.txt:
- media/video-click-dblckick-standalone.html:
- platform/chromium/media/video-click-dblckick-standalone-expected.txt: Copied from LayoutTests/media/video-click-dblckick-standalone-expected.txt.
- 6:54 PM ScalesAndZooms edited by
- (diff)
- 6:45 PM Changeset in webkit [120387] by
-
- 6 edits in trunk/LayoutTests
Unreviewed. Skip the failed test due to r120384 for future investigation.
- platform/chromium/TestExpectations:
- platform/efl/Skipped:
- platform/gtk/TestExpectations:
- platform/mac/Skipped:
- platform/qt/Skipped:
- 6:32 PM Changeset in webkit [120386] by
-
- 2 edits in trunk/Tools
[EFL] [DRT] Reset the WebAudio setting on DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=88622
Patch by Dongwoo Im <dw.im@samsung.com> on 2012-06-14
Reviewed by Philippe Normand.
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp: Reset the setting of the Web Audio feature as default.
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
- 6:26 PM Changeset in webkit [120385] by
-
- 2 edits in trunk/Tools
[Chromium-Android] Should retry a few times when failed to start DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=89124
Reviewed by Dirk Pranke.
- Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidDriver._start):
(ChromiumAndroidDriver):
(ChromiumAndroidDriver._start_once):
- 5:57 PM Changeset in webkit [120384] by
-
- 10 edits3 adds in trunk
FileReader is dysfunctional in documents with "null" origin string
https://bugs.webkit.org/show_bug.cgi?id=78648
Reviewed by Adam Barth.
Source/WebCore:
The fix is to keep in-memory map from blob URL to SecurityOrigin for the
unique origin case.
Test: fast/files/file-reader-file-url.html
- fileapi/Blob.cpp:
(WebCore::Blob::Blob):
- fileapi/BlobURL.cpp:
(WebCore::BlobURL::getOrigin): Return the origin string embeded in the blob URL.
(WebCore):
(WebCore::BlobURL::createBlobURL): Remove the check for null origin string since it is handled now.
- fileapi/BlobURL.h:
(BlobURL):
- fileapi/FileReaderLoader.cpp:
(WebCore::FileReaderLoader::start):
- fileapi/ThreadableBlobRegistry.cpp:
(WebCore):
(WebCore::originMap): Thread-specific in-memory map from the blob URL to the origin.
(WebCore::ThreadableBlobRegistry::registerBlobURL): Add the map from the blob URL to the origin.
(WebCore::ThreadableBlobRegistry::unregisterBlobURL): Remove the map for the unregistered blob URL.
(WebCore::ThreadableBlobRegistry::cachedOrigin): Retrieve the origin associated with the blob URL.
- fileapi/ThreadableBlobRegistry.h:
(WebCore):
(ThreadableBlobRegistry):
- html/DOMURL.cpp:
(WebCore::DOMURL::createObjectURL):
- page/SecurityOrigin.cpp:
(WebCore::cachedOrigin): Return the cached origin for the blob URL if it exists.
(WebCore):
(WebCore::SecurityOrigin::create): Call cachedOrigin to get the cached origin first.
LayoutTests:
- fast/files/file-reader-file-url-expected.txt: Added.
- fast/files/file-reader-file-url.html: Added.
- fast/files/resources/file-reader-file-url-iframe.html: Added.
- 5:56 PM Changeset in webkit [120383] by
-
- 1 edit4 adds in trunk/LayoutTests
Add test cases for header/footer elements' AXRoleDescription
https://bugs.webkit.org/show_bug.cgi?id=88911
Header and footer elements change their accessibility roles depending
on the elements which contain them. Specifically, they are described
as "banner" or "footer" in the general case, and fall back to
generic "group" role descriptions when contained in either article or
section elements. This patch simply tests that existing behavior on
Mac.
Patch by Mike West <mkwst@chromium.org> on 2012-06-14
Reviewed by Chris Fleizach.
- platform/mac/accessibility/footer-expected.txt: Added.
- platform/mac/accessibility/footer.html: Added.
- platform/mac/accessibility/header-expected.txt: Added.
- platform/mac/accessibility/header.html: Added.
- 5:51 PM Changeset in webkit [120382] by
-
- 3 edits in trunk/Source/WebCore
[CMAKE] Move JSDeprecatedPeerConnectionCustom.cpp from CMakeLists.txt to UseJSC.cmake
https://bugs.webkit.org/show_bug.cgi?id=89015
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-06-14
Reviewed by Antonio Gomes.
Include JSDeprecatedPeerConnectionCustom.cpp in UseJSC.cmake
instead of CMakeLists.txt.
No change in functionality so no new tests.
- CMakeLists.txt:
- UseJSC.cmake:
- 5:43 PM Changeset in webkit [120381] by
-
- 5 edits in trunk/Source/WebKit/chromium
[Chromium] Sub-pixel text rendering is incorrectly used for WebView with transparent background.
https://bugs.webkit.org/show_bug.cgi?id=89033
Patch by David Reveman <reveman@chromium.org> on 2012-06-14
Reviewed by James Robinson.
Add canvas background argument to PageWidgetDelegate::paint and call
PlatformCanvasSkia::setDrawingToImageBuffer to ensure that sub-pixel
rendering is only used when WebView has opaque background.
- src/PageWidgetDelegate.cpp:
(WebKit::PageWidgetDelegate::paint):
- src/PageWidgetDelegate.h:
- src/WebPagePopupImpl.cpp:
(WebKit::WebPagePopupImpl::paint):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::paint):
- 5:35 PM Changeset in webkit [120380] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] CCLayerTreeHostCommonTest.verifyHitTestingForSingleLayer failing in debug
https://bugs.webkit.org/show_bug.cgi?id=89065
Reviewed by James Robinson.
A debug assertion was being triggered in the hit-testing unit
tests because I accidentally forgot to set the
DebugScopedSetImplThread for the tests.
This patch also re-enables the disabled broken test.
- tests/CCLayerTreeHostCommonTest.cpp:
- 5:12 PM Changeset in webkit [120379] by
-
- 6 edits in trunk/Source
[Chromium] Add setAutoHint() and setUseBitmaps() in WebFontRendering
https://bugs.webkit.org/show_bug.cgi?id=89014
Reviewed by James Robinson.
Source/WebCore:
No new tests because of no change of functionality.
- platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp:
(WebCore):
(WebCore::FontPlatformData::setAutoHint):
(WebCore::FontPlatformData::setUseBitmaps):
(WebCore::FontPlatformData::setAntiAlias):
(WebCore::FontPlatformData::setupPaint):
- platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.h:
(FontPlatformData):
Source/WebKit/chromium:
- public/linuxish/WebFontRendering.h:
(WebFontRendering):
- src/linuxish/WebFontRendering.cpp:
(WebKit):
(WebKit::WebFontRendering::setAutoHint):
(WebKit::WebFontRendering::setUseBitmaps):
(WebKit::WebFontRendering::setAntiAlias):
- 5:06 PM Changeset in webkit [120378] by
-
- 2 edits in branches/safari-536-branch/Source/WebCore
Merged r120364 -> <rdar://problem/11629106>
- 5:03 PM Changeset in webkit [120377] by
-
- 2 edits in branches/safari-536-branch/Source/WebKit2
Merged r120329 -> <rdar://problem/11449702>
- 5:03 PM Changeset in webkit [120376] by
-
- 7 edits in trunk/Source/WebKit2
DrawingArea: Painting is being resumed while the view is not visible
https://bugs.webkit.org/show_bug.cgi?id=88940
<rdar://problem/11652545>
Reviewed by Dean Jackson.
Using requestAnimationFrame and the fullscreen API on a DrawingArea-backed window would cause
rAF to permanently suspend animations after entering full-screen mode, because of the following:
- JavaScript causes fullscreen transition to start.
- Painting (and rAF) are suspended.
- The page changes size.
- DrawingAreaProxyImpl::sizeDidChange() calls DrawingAreaImpl::updateBackingStoreState, which calls DrawingAreaImpl::resumePainting.
- DrawingAreaImpl::resumePainting resumes painting, but does *not* resume rAF, because windowIsVisible is (legitimately) false.
- The view becomes visible, windowIsVisible is updated to true.
- visibilityDidChange() calls resumePainting again, but this time it early exits because painting is not suspended.
Notice that because of the early exit in 4, rAF is never resumed.
To solve this and prevent any further bugs caused by these unnecessary calls to resume/suspendPainting,
temporarily stop sending SuspendPainting/ResumePainting messages from DrawingAreaProxyImpl::visibilityDidChange
during the window animations that occur while entering and exiting full-screen.
- UIProcess/API/mac/WKViewInternal.h:
- UIProcess/API/mac/WKView.mm:
(-[WKView setAutomaticallySuspendAndResumePainting:]):
(-[WKView automaticallySuspendAndResumePainting]):
- UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::visibilityDidChange):
- UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::setShouldSuspendAndResumePainting):
(WebKit::WebPageProxy::shouldSuspendAndResumePainting):
- UIProcess/mac/WKFullScreenWindowController.mm:
(-[WKFullScreenWindowController enterFullScreen:]):
(-[WKFullScreenWindowController _startEnterFullScreenAnimationWithDuration:]):
- 4:59 PM Changeset in webkit [120375] by
-
- 2 edits in trunk/LayoutTests
Fix Chromium test expectation after r120371.
- platform/chromium/TestExpectations:
- 4:54 PM Changeset in webkit [120374] by
-
- 2 edits in trunk/Tools
Update webpagereplay to 1.1.2
https://bugs.webkit.org/show_bug.cgi?id=89118
This includes the following patch which avoids pkg_resources import errors:
http://code.google.com/p/web-page-replay/source/detail?r=476
Reviewed by Dirk Pranke.
- Scripts/webkitpy/thirdparty/init.py:
(AutoinstallImportHook._install_webpagereplay):
- 4:53 PM Changeset in webkit [120373] by
-
- 2 edits in trunk/Source/WebKit/blackberry
Always convert touch events to mouse events if the
meta-tag TouchEventMode::PureWithMouseConversion is set.
Minor style fix.
https://bugs.webkit.org/show_bug.cgi?id=89115
Patch by Genevieve Mak <gmak@rim.com> on 2012-06-14
Reviewed by Antonio Gomes.
Reviewed Internally by Antonio Gomes.
- WebKitSupport/TouchEventHandler.cpp:
(BlackBerry::WebKit::TouchEventHandler::touchEventCancel):
(BlackBerry::WebKit::TouchEventHandler::handleTouchPoint):
- 4:39 PM Changeset in webkit [120372] by
-
- 2 edits in trunk/LayoutTests
Unreviewed update of chromium TestExpectations to mark hybi/workers/close.html as failing.
- platform/chromium/TestExpectations:
- 4:28 PM Changeset in webkit [120371] by
-
- 13 edits in trunk
Get rid of FAIL test expectation
https://bugs.webkit.org/show_bug.cgi?id=89137
Reviewed by Dirk Pranke.
Tools:
- Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
(ResultSummaryTest.test_summarized_results_wontfix):
- Scripts/webkitpy/layout_tests/controllers/test_expectations_editor_unittest.py:
- Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
(JSONLayoutResultsGenerator):
- Scripts/webkitpy/layout_tests/models/test_expectations.py:
(result_was_expected):
(suffixes_for_expectations):
(TestExpectationsModel._add_test):
(TestExpectations):
(TestExpectations.get_rebaselining_failures):
(TestExpectations.remove_configuration_from_test):
- Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
(FunctionsTest.test_result_was_expected):
(FunctionsTest.test_suffixes_for_expectations):
(TestExpectationSerializerTests.test_parsed_expectations_string):
- Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
(test_test_expectations):
- Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
(TestExpectationsTestCase.test_valid_expectations):
LayoutTests:
- platform/chromium/TestExpectations:
- platform/efl/TestExpectations:
- platform/mac/TestExpectations:
- platform/qt/TestExpectations:
- 4:18 PM Changeset in webkit [120370] by
-
- 5 edits in trunk/Tools
webkitpy: remove DummyOptions and clean up the code in Port.get_option() and Port.set_option_default()
https://bugs.webkit.org/show_bug.cgi?id=89135
Reviewed by Ryosuke Niwa.
This patch is just some minor cleanup and simplification. There
should be no functional changes here.
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.init):
(Port.get_option):
(Port.set_option_default):
- Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
(ChromiumWinTest.test_setup_environ_for_server_register_cygwin):
- Scripts/webkitpy/style/checkers/test_expectations.py:
(TestExpectationsChecker._determine_port_from_expectations_path):
- Scripts/webkitpy/tool/mocktool.py:
(MockOptions.ensure_value):
- 4:09 PM Changeset in webkit [120369] by
-
- 9 edits in trunk/Source
[EFL] Move cursor related code from WidgetEfl to ewk_view and EflScreenUtilities.
https://bugs.webkit.org/show_bug.cgi?id=88803
Reviewed by Chang Shu.
Because WebProcess can not control cursor,
setCursor should be passed to ChromeClient like other ports.
Source/WebCore:
- platform/Widget.h:
(Widget):
- platform/efl/EflScreenUtilities.cpp:
(WebCore::applyFallbackCursor): Moved from WidgetEfl.cpp.
(WebCore):
(WebCore::isUsingEcoreX): Moved from WidgetEfl.cpp.
- platform/efl/EflScreenUtilities.h:
(WebCore):
- platform/efl/WidgetEfl.cpp: Removes cursor related codes.
(WebCore::WidgetPrivate::WidgetPrivate):
(WebCore::Widget::~Widget):
(WebCore::Widget::setCursor): Redirect to HostWindow.
(WebCore::Widget::setEvasObject):
Source/WebKit/efl:
- WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::setCursor):
- ewk/ewk_view.cpp:
(_Ewk_View_Private_Data):
(_ewk_view_priv_new): Check whether ecore_x can be used.
(_ewk_view_priv_del):
(_ewk_view_smart_add):
Change order of initialization to use base structure in _ewk_view_priv_new.
(ewk_view_cursor_set): Moved from Widget::applyCursor.
- ewk/ewk_view_private.h:
(WebCore):
- 4:00 PM Changeset in webkit [120368] by
-
- 2 edits in trunk/Source/WTF
[BlackBerry] Implement computeRAMSize for QNX
https://bugs.webkit.org/show_bug.cgi?id=89110
Patch by Yong Li <yoli@rim.com> on 2012-06-14
Reviewed by Rob Buis.
- wtf/RAMSize.cpp:
(WTF::computeRAMSize):
- 3:38 PM Changeset in webkit [120367] by
-
- 19 edits in trunk
Radio node lists do not get updated when inserted back into a document
https://bugs.webkit.org/show_bug.cgi?id=88825
Reviewed by Darin Adler.
Source/WebCore:
The bug was caused by RadioNodeList's m_node not being adjusted back to a document after
it was removed from the document and inserted back. While we could be doing this adjustment again
when the HTMLFormElement is inserted back into the document, this whole approach is fragile
because adds a maintenance burden on root elements of RadioNodeList.
Change the approach to the problem instead and detect when m_node is detached from the document.
Now RadioNodeList and LabelsNodeList will always use its root element as m_node and
DynamicSubtreeNodeList's node() will then determine whether it should use its document or not based
on the flag (rootedAtDocument) passed by the constructor of the node list and m_node->inDocument().
Also invalidate node lists rooted at the document level regardless where the DOM mutation took place.
- dom/ClassNodeList.cpp:
(WebCore::ClassNodeList::~ClassNodeList):
- dom/Document.cpp:
(WebCore::Document::registerDynamicSubtreeNodeList): Moved from Node.
(WebCore::Document::unregisterDynamicSubtreeNodeList): Ditto.
- dom/Document.h:
(Document):
- dom/DynamicNodeList.cpp:
(WebCore::DynamicSubtreeNodeList::DynamicSubtreeNodeList): Takes DynamicNodeListRootType which tell us
whether node() should return m_node's document by default or not.
(WebCore::DynamicSubtreeNodeList::length): Refactor code to avoid node() multiple times.
(WebCore::DynamicSubtreeNodeList::itemForwardsFromCurrent): Ditto.
(WebCore::DynamicSubtreeNodeList::itemBackwardsFromCurrent): Ditto.
(WebCore::DynamicNodeList::itemWithName): Ditto.
- dom/DynamicNodeList.h:
(WebCore::DynamicNodeList::DynamicNodeList):
(WebCore::DynamicNodeList::node): Returns m_node->document() if m_node is still in the document and
the node list was rooted at document.
(WebCore::DynamicNodeList::Caches::Caches):
(Caches):
(DynamicNodeList):
(DynamicSubtreeNodeList):
- dom/NameNodeList.cpp:
(WebCore::NameNodeList::~NameNodeList):
- dom/Node.cpp:
(WebCore):
(WebCore::Node::invalidateNodeListsCacheAfterAttributeChanged): Invalidate m_listsInvalidatedAtDocument
at document instead of trying to invalidate it on every ancestor we traverse.
(WebCore::Node::invalidateNodeListsCacheAfterChildrenChanged): Ditto.
(WebCore::NodeListsNodeData::invalidateCachesForDocument): Extracted from
invalidateCachesThatDependOnAttributes.
(WebCore::NodeListsNodeData::invalidateCachesThatDependOnAttributes):
(WebCore::Node::radioNodeList):
- dom/Node.h:
(Node):
- dom/NodeRareData.h:
(NodeListsNodeData):
- dom/TagNodeList.cpp:
(WebCore::TagNodeList::~TagNodeList):
- html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::removedFrom):
- html/LabelsNodeList.cpp:
(WebCore::LabelsNodeList::LabelsNodeList):
- html/RadioNodeList.cpp:
(WebCore::RadioNodeList::RadioNodeList): Takes Element* first since that's the order we use elsewhere.
- html/RadioNodeList.h:
(WebCore::RadioNodeList::create):
(RadioNodeList):
LayoutTests:
Add a test case to an existing test.
- fast/forms/radionodelist-whose-form-element-detached-from-domtree-expected.txt:
- fast/forms/radionodelist-whose-form-element-detached-from-domtree.html:
- 3:33 PM Changeset in webkit [120366] by
-
- 3 edits in trunk/Source/WebCore
Fix bit packing of StyleRareInheritedData on Windows
https://bugs.webkit.org/show_bug.cgi?id=89112
Reviewed by Ryosuke Niwa.
On my machine (64 bit Chromium Linux), StyleRareInheritedData is 168 bytes.
No new tests, added a compile assert to ensure correctness going forward.
- rendering/style/StyleRareInheritedData.cpp:
(SameSizeAsStyleRareInheritedData):
(WebCore):
- rendering/style/StyleRareInheritedData.h:
(StyleRareInheritedData):
- 3:24 PM Changeset in webkit [120365] by
-
- 49 edits8 copies in branches/safari-536-branch
Merged r120357 -> <rdar://problem/11033898>
- 3:21 PM Changeset in webkit [120364] by
-
- 2 edits in trunk/Source/WebCore
Crashes below IconDatabase::performPendingRetainAndReleaseOperations().
<http://webkit.org/b/88846>
<rdar://problem/11629106>
Reviewed by Brady Eidson.
Put isolatedCopy() strings in the retain/release operation queues to make sure it's safe
for secondary threads to ref/deref them in performPendingRetainAndReleaseOperations().
Also added assertions as appropriate.
- loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::retainIconForPageURL):
(WebCore::IconDatabase::releaseIconForPageURL):
(WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
- 3:00 PM Changeset in webkit [120363] by
-
- 5 edits in trunk/Source/WebKit/chromium
[chromium/linux] Drop deprecated WebFontRenderStyle::useSubpixel
https://bugs.webkit.org/show_bug.cgi?id=88263
Patch by Daniel Erat <derat@chromium.org> on 2012-06-14
Reviewed by Adam Barth.
This removes the useSubpixel member, which was replaced by
useSubpixelRendering. Chrome has been updated to set only the
useSubpixelRendering field.
No test updates since the existing behavior shouldn't change.
- public/linux/WebFontInfo.h:
(WebFontInfo):
- public/linux/WebFontRenderStyle.h:
- src/linux/WebFontInfo.cpp:
(WebKit::WebFontInfo::renderStyleForStrike):
- src/linux/WebFontRenderStyle.cpp:
(WebKit::WebFontRenderStyle::toFontRenderStyle):
(WebKit::WebFontRenderStyle::setDefaults):
- 2:45 PM Changeset in webkit [120362] by
-
- 4 edits in trunk/Source
[chromium] For hit testing in CCLayerTreeHostCommon, need to check that the transform is invertible before inverting it.
https://bugs.webkit.org/show_bug.cgi?id=89049
Reviewed by Adrienne Walker.
Source/WebCore:
Unit test added to CCLayerTreeHostCommonTest.cpp:
CCLayerTreeHostCommonTest.verifyHitTestingForUninvertibleTransform
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::pointHitsRect):
Source/WebKit/chromium:
- tests/CCLayerTreeHostCommonTest.cpp:
- 2:15 PM Changeset in webkit [120361] by
-
- 3 edits in trunk/Source/WebCore
The whole world rebuilds when you touch any IDL file
https://bugs.webkit.org/show_bug.cgi?id=89125
Reviewed by Sam Weinig.
No new tests; this only changes the build system and its dependencies.
- bindings/scripts/preprocess-idls.pl: Optionally generate the
dependencies for supplemental IDLs in Makefile format.
- DerivedSources.make: Use the new feature of preprocess-idls.pl to generate
the correct IDL dependencies created by Supplemental, then include it. This way,
we avoid the situation where every bindings file implicitly depends on every single
IDL file in the project.
- 1:41 PM Changeset in webkit [120360] by
-
- 45 edits3 adds in trunk
[chromium] Certain settings in CCSettings could be global
https://bugs.webkit.org/show_bug.cgi?id=88384
Patch by Ian Vollick <vollick@chromium.org> on 2012-06-14
Reviewed by James Robinson.
Source/Platform:
- chromium/public/WebLayerTreeView.h:
(WebCore):
(WebKit::WebLayerTreeView::Settings::Settings):
(Settings):
Source/WebCore:
No new tests. No new functionality.
- WebCore.gypi:
- page/Settings.cpp:
(WebCore::Settings::Settings):
- page/Settings.h:
(Settings):
- platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::createTextureUpdaterIfNeeded):
- platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::addAnimation):
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::initialize):
- platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::updateTileSizeAndTilingOption):
- platform/graphics/chromium/cc/CCDebugRectHistory.cpp:
(WebCore::CCDebugRectHistory::enabled):
(WebCore::CCDebugRectHistory::saveDebugRectsForCurrentFrame):
- platform/graphics/chromium/cc/CCDebugRectHistory.h:
(WebCore):
(CCDebugRectHistory):
- platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
(WebCore::CCHeadsUpDisplay::enabled):
(WebCore::CCHeadsUpDisplay::showPlatformLayerTree):
(WebCore::CCHeadsUpDisplay::showDebugRects):
(WebCore::CCHeadsUpDisplay::draw):
(WebCore::CCHeadsUpDisplay::drawHudContents):
(WebCore::CCHeadsUpDisplay::drawDebugRects):
- platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
(WebCore):
(CCHeadsUpDisplay):
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::create):
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::animateLayers):
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore::CCLayerTreeSettings::CCLayerTreeSettings):
(CCLayerTreeSettings):
(CCLayerTreeHost):
(WebCore::CCLayerTreeHost::settings):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::create):
(WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
(WebCore::CCLayerTreeHostImpl::calculateRenderSurfaceLayerList):
(WebCore::CCLayerTreeHostImpl::animateLayers):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(CCLayerTreeHostImpl):
- platform/graphics/chromium/cc/CCRenderer.h:
(CCRendererClient):
(WebCore::CCRenderer::settings):
- platform/graphics/chromium/cc/CCSettings.cpp: Added.
(WebCore):
(WebCore::CCSettings::perTilePaintingEnabled):
(WebCore::CCSettings::setPerTilePaintingEnabled):
(WebCore::CCSettings::partialSwapEnabled):
(WebCore::CCSettings::setPartialSwapEnabled):
(WebCore::CCSettings::acceleratedAnimationEnabled):
(WebCore::CCSettings::setAcceleratedAnimationEnabled):
(WebCore::CCSettings::reset):
- platform/graphics/chromium/cc/CCSettings.h: Added.
(WebCore):
(CCSettings):
- testing/InternalSettings.cpp:
- testing/InternalSettings.h:
(InternalSettings):
Source/WebKit/chromium:
- WebKit.gypi:
- public/WebCompositor.h:
(WebCompositor):
- public/WebSettings.h:
- src/WebCompositorImpl.cpp:
(WebKit::WebCompositor::shutdown):
(WebKit):
(WebKit::WebCompositor::setPerTilePaintingEnabled):
(WebKit::WebCompositor::setPartialSwapEnabled):
(WebKit::WebCompositor::setAcceleratedAnimationEnabled):
- src/WebLayerTreeView.cpp:
(WebKit):
(WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
- src/WebSettingsImpl.cpp:
- src/WebSettingsImpl.h:
(WebSettingsImpl):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
- tests/CCLayerTreeHostImplTest.cpp:
- tests/CCLayerTreeHostTest.cpp:
(WTF):
(CCLayerTreeHostTestShortlived1):
(WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
(WTF::CCLayerTreeHostTestShortlived1::beginTest):
(WTF::CCLayerTreeHostTestShortlived1::afterTest):
- tests/CCTestCommon.h: Added.
(WebKitTests):
(CCScopedSettings):
(WebKitTests::CCScopedSettings::CCScopedSettings):
(WebKitTests::CCScopedSettings::~CCScopedSettings):
- tests/CCThreadedTest.cpp:
(WebKitTests::MockLayerTreeHostImpl::create):
(WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
(WebKitTests::MockLayerTreeHost::create):
(WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
(WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
(WebKitTests::CCThreadedTest::runTest):
- tests/CCThreadedTest.h:
(CCThreadedTest):
(MockLayerTreeHostImpl):
- tests/GraphicsLayerChromiumTest.cpp:
(WebKitTests::MockLayerTreeHost::create):
(WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
(WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
(WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
- tests/LayerChromiumTest.cpp:
- tests/LayerRendererChromiumTest.cpp:
(LayerRendererChromiumTest):
(TEST_F):
(TEST):
- tests/TextureLayerChromiumTest.cpp:
- tests/TiledLayerChromiumTest.cpp:
- tests/TreeSynchronizerTest.cpp:
(WebKitTests::TEST):
Tools:
- DumpRenderTree/chromium/TestShell.cpp:
(TestShell::TestShell):
(TestShell::resetWebSettings):
(TestShell::setPerTilePaintingEnabled):
- DumpRenderTree/chromium/TestShell.h:
(TestShell):
- DumpRenderTree/chromium/WebPreferences.cpp:
(WebPreferences::reset):
(WebPreferences::applyTo):
- DumpRenderTree/chromium/WebPreferences.h:
(WebPreferences):
- 1:36 PM Changeset in webkit [120359] by
-
- 12 edits1 copy2 deletes in trunk/Source
2012-06-14 Alejandro G. Castro <alex@igalia.com>
[GTK] Add TextureMapper ImageBuffer support as a fallback from the hardware accelerated path
https://bugs.webkit.org/show_bug.cgi?id=73634
Add the new graphics layer client that uses cairo to render the
composition. The cairo transformations do not support perspective
so in perspective cases we have just a representation not the real
perspective transformation.
This patch adds a new implementation of already tested cases.
Reviewed by Martin Robinson.
- GNUmakefile.am:
- WebCoreSupport/AcceleratedCompositingContext.h: (AcceleratedCompositingContext):
- WebCoreSupport/AcceleratedCompositingContextCairo.cpp: Added.
- WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::invalidateWidgetRect): We need to invalidate the widget in this case because we do not directly render to a texture but to the widget surface. (WebKit::ChromeClient::paint): We can not render here, we have to invalidate and wait for the widget rendering.
- webkit/webkitwebview.cpp: (webkit_web_view_draw): In this case the renderLayersToWindow requires the graphics context used to render in the window. (webkit_web_view_realize): Small cleanup of the priv variable definition.
2012-06-14 Alejandro G. Castro <alex@igalia.com>
[GTK] Add TextureMapper ImageBuffer support as a fallback from the hardware accelerated path
https://bugs.webkit.org/show_bug.cgi?id=73634
Remove the TextureMapperCairo classes, now we use
TextureMapperImageBuffer to implement the software fallback. Add
implementation for the 3D transformations in the 2D cairo graphics
context.
Reviewed by Martin Robinson.
This patch adds a new implementation of already tested cases.
- GNUmakefile.list.am:
- platform/graphics/cairo/GraphicsContext3DPrivate.cpp: (WebCore): (WebCore::GraphicsContext3DPrivate::paintToTextureMapper): Required for compilation when WebGL is enabled.
- platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::get3DTransform): (WebCore::GraphicsContext::concat3DTransform): (WebCore::GraphicsContext::set3DTransform):
- platform/graphics/cairo/TextureMapperCairo.cpp: Removed.
- platform/graphics/cairo/TextureMapperCairo.h: Removed.
- platform/graphics/texmap/TextureMapperImageBuffer.cpp: (WebCore::BitmapTextureImageBuffer::updateContents):
- 1:23 PM Changeset in webkit [120358] by
-
- 2 edits in trunk/Tools
Unreviewed, rolling out r120352.
http://trac.webkit.org/changeset/120352
https://bugs.webkit.org/show_bug.cgi?id=89120
It seems something is still wrong with it :/ (Requested by
Ossy on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-14
- BuildSlaveSupport/build.webkit.org-config/master.cfg:
(Factory.init):
(BuildFactory.init):
(TestFactory.init):
(BuildAndTestFactory.init):
(BuildAndPerfTestFactory.init):
(BuildAndPerfTestWebKit2Factory.init):
(DownloadAndPerfTestFactory.init):
(DownloadAndPerfTestWebKit2Factory.init):
- 1:22 PM Changeset in webkit [120357] by
-
- 49 edits8 adds in trunk
Mark text with text alternative with blue underline.
https://bugs.webkit.org/show_bug.cgi?id=83047
Reviewed by Enrica Casucci.
Tests: platform/mac/editing/input/edit-dictated-text-with-alternative.html
platform/mac/editing/input/insert-dictated-text.html
This patch implements visual indication on dictated text with alternatives, and provides UI
to show alternative text on OS X. Majority of the changes is for generalizing existing AlternativeTextController
class to handle dictation alternatives. The two new classes, AlternativeTextUIController and
TextAlternativeWithRange, are used by both WebKit and WK2. So WebCore seems to be the natural place
for them.
- WebCore.exp.in:
- WebCore.xcodeproj/project.pbxproj:
- editing/AlternativeTextController.cpp: Expanded exising class interface to support dictation alternatives.
(DictationAlternativeDetails): Marker detail class for dictation alternative mark.
(WebCore::DictationAlternativeDetails::create):
(WebCore::DictationAlternativeDetails::dictationContext):
(WebCore::DictationAlternativeDetails::DictationAlternativeDetails):
(WebCore::markerTypesForAppliedDictationAlternative):
(WebCore::AlternativeTextController::applyAlternativeTextToRange): Generalized existing applyAlternativeTextToRange() to handle dictation alternatives.
(WebCore::AlternativeTextController::timerFired): Expanded existing code to handle dictation alternatives.
(WebCore::AlternativeTextController::handleAlternativeTextUIResult): Expanded existing code to handle dictation alternatives.
(WebCore::AlternativeTextController::respondToChangedSelection): Moved part of the function into respondToMarkerAtEndOfWord() to improve readability.
(WebCore::AlternativeTextController::shouldStartTimerFor):
(WebCore::AlternativeTextController::respondToMarkerAtEndOfWord):
(WebCore::AlternativeTextController::markerDescriptionForAppliedAlternativeText):
(WebCore::AlternativeTextController::removeDictationAlternativesForMarker):
(WebCore::AlternativeTextController::dictationAlternativesForMarker):
(WebCore::AlternativeTextController::applyDictationAlternative):
- editing/AlternativeTextController.h:
- editing/Editor.cpp:
(WebCore::Editor::notifyComponentsOnChangedSelection): Renamed existing respondToChangedSelection() function to avoid naming collision.
(WebCore::Editor::appliedEditing):
(WebCore::Editor::unappliedEditing):
(WebCore::Editor::reappliedEditing):
(WebCore::Editor::updateMarkersForWordsAffectedByEditing):
(WebCore::Editor::changeSelectionAfterCommand):
(WebCore::Editor::respondToChangedSelection):
(WebCore::Editor::dictationAlternativesForMarker):
(WebCore::Editor::applyDictationAlternativelternative):
- editing/Editor.h:
- editing/FrameSelection.h:
- editing/mac/AlternativeTextUIController.h: Added. WK1 and WK2 use this class to keep track of text alternatives objects.
(AlternativeTextUIController):
(WebCore::AlternativeTextUIController::AlternativeTextUIController):
(AlernativeTextContextController):
(WebCore::AlternativeTextUIController::AlernativeTextContextController::AlernativeTextContextController):
- editing/mac/AlternativeTextUIController.mm: Added.
(WebCore::AlternativeTextUIController::AlernativeTextContextController::addAlternatives):
(WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
(WebCore::AlternativeTextUIController::AlernativeTextContextController::removeAlternativesForContext):
(WebCore::AlternativeTextUIController::AlernativeTextContextController::clear):
(WebCore::AlternativeTextUIController::addAlternatives):
(WebCore::AlternativeTextUIController::alternativesForContext):
(WebCore::AlternativeTextUIController::clear):
(WebCore::AlternativeTextUIController::showAlternatives):
(WebCore::AlternativeTextUIController::handleAcceptedAlternative):
(WebCore::AlternativeTextUIController::dismissAlternatives):
(WebCore::AlternativeTextUIController::removeAlternatives):
- editing/mac/TextAlternativeWithRange.h: Added. A simple struct to make it easier to pass around a pair of text alternatives object and range.
- editing/mac/TextAlternativeWithRange.mm: Added.
(WebCore::TextAlternativeWithRange::TextAlternativeWithRange):
(WebCore::collectDictationTextAlternatives):
- page/AlternativeTextClient.h:
- page/ContextMenuController.cpp: Added code to show alternative dictated text in context menu.
(WebCore::ContextMenuController::contextMenuItemSelected):
(WebCore::ContextMenuController::populate):
(WebCore::ContextMenuController::checkOrEnableIfNeeded):
- platform/ContextMenuItem.h:
- rendering/HitTestResult.cpp:
(WebCore::HitTestResult::dictationAlternatives):
- rendering/HitTestResult.h:
- rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::paintDocumentMarker):
Changes in WebKit include implementation of new functions declared in AlternativeTextClient,
and logic for calling Editor::insertDictatedText() instead of Editor::insertText() when there's
alternatives attached to the input string.
- WebCoreSupport/CorrectionPanel.mm:
(correctionIndicatorType):
(CorrectionPanel::handleAcceptedReplacement):
- WebCoreSupport/WebAlternativeTextClient.h:
(WebAlternativeTextClient):
- WebCoreSupport/WebAlternativeTextClient.mm:
(WebAlternativeTextClient::showCorrectionAlternative):
(WebAlternativeTextClient::dismissAlternative):
(WebAlternativeTextClient::dismissAlternativeSoon):
(WebAlternativeTextClient::recordAutocorrectionResponse):
(WebAlternativeTextClient::removeDictationAlternatives):
(WebAlternativeTextClient::showDictationAlternativeUI):
(WebAlternativeTextClient::dismissDictationAlternativeUI):
(WebAlternativeTextClient::dictationAlternatives):
- WebView/WebHTMLView.mm:
(-[WebHTMLView validAttributesForMarkedText]):
(-[WebHTMLView insertText:]):
- WebView/WebView.mm:
(-[WebView handleAcceptedAlternativeText:]):
(-[WebView _getWebCoreDictationAlternatives:fromTextAlternatives:]):
(-[WebView _showDictationAlternativeUI:WebCore::forDictationContext:]):
(-[WebView _dismissDictationAlternativeUI]):
(-[WebView _removeDictationAlternatives:]):
(-[WebView _dictationAlternatives:]):
- WebView/WebViewData.h:
- WebView/WebViewData.mm:
(-[WebViewPrivate init]):
- WebView/WebViewInternal.h:
- WebView/WebViewPrivate.h:
Changes in WebKit2 include implementation of new functions declared in AlternativeTextClient,
and logic for calling Editor::insertDictatedText() instead of Editor::insertText() when there's
alternatives attached to the input string.
- Shared/API/c/WKContextMenuItemTypes.h:
- Shared/API/c/WKSharedAPICast.h:
- Shared/WebCoreArgumentCoders.cpp:
- Shared/WebCoreArgumentCoders.h:
- UIProcess/API/mac/PageClientImpl.h:
- UIProcess/API/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::PageClientImpl):
(WebKit::PageClientImpl::pageClosed):
(WebKit::PageClientImpl::addDictationAlternatives):
(WebKit::PageClientImpl::removeDictationAlternatives):
(WebKit::PageClientImpl::showDictationAlternativeUI):
(WebKit::PageClientImpl::dictationAlternatives):
(WebKit::PageClientImpl::dismissDictationAlternativeUI):
- UIProcess/API/mac/WKView.mm:
(-[WKView insertText:replacementRange:]):
(-[WKView validAttributesForMarkedText]):
(-[WKView handleAcceptedAlternativeText:]):
- UIProcess/API/mac/WKViewInternal.h:
- UIProcess/PageClient.h:
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::showDictationAlternativeUI):
(WebKit::WebPageProxy::dismissDictationAlternativeUI):
(WebKit::WebPageProxy::removeDictationAlternatives):
(WebKit::WebPageProxy::dictationAlternatives):
- UIProcess/WebPageProxy.h:
- UIProcess/WebPageProxy.messages.in:
- UIProcess/mac/CorrectionPanel.mm:
(correctionIndicatorType):
(WebKit::CorrectionPanel::handleAcceptedReplacement):
- UIProcess/mac/WebPageProxyMac.mm:
(WebKit::WebPageProxy::insertDictatedText):
- WebProcess/WebCoreSupport/WebAlternativeTextClient.h:
(WebAlternativeTextClient):
- WebProcess/WebCoreSupport/mac/WebAlternativeTextClient.cpp:
(WebKit::WebAlternativeTextClient::showCorrectionAlternative):
(WebKit::WebAlternativeTextClient::dismissAlternative):
(WebKit::WebAlternativeTextClient::dismissAlternativeSoon):
(WebKit::WebAlternativeTextClient::recordAutocorrectionResponse):
(WebKit::WebAlternativeTextClient::removeDictationAlternatives):
(WebKit::WebAlternativeTextClient::showDictationAlternativeUI):
(WebKit::WebAlternativeTextClient::dismissDictationAlternativeUI):
(WebKit::WebAlternativeTextClient::dictationAlternatives):
- WebProcess/WebPage/WebPage.h:
- WebProcess/WebPage/WebPage.messages.in:
- WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::insertDictatedText):
- platform/mac-lion/Skipped:
- platform/mac-snowleopard/Skipped:
- platform/mac/editing/input/edit-dictated-text-with-alternative-expected.txt: Added.
- platform/mac/editing/input/edit-dictated-text-with-alternative.html: Added.
- platform/mac/editing/input/insert-dictated-text-expected.txt: Added.
- platform/mac/editing/input/insert-dictated-text.html: Added.
- DumpRenderTree/mac/TextInputController.m:
(+[TextInputController isSelectorExcludedFromWebScript:]):
(+[TextInputController webScriptNameForSelector:]):
(-[TextInputController dictatedStringWithPrimaryString:alternative:alternativeOffset:alternativeLength:]):
- 1:18 PM Changeset in webkit [120356] by
-
- 4 edits in trunk/Source/WTF
ARMv7 should support spinlocks
https://bugs.webkit.org/show_bug.cgi?id=88957
Reviewed by Darin Adler.
More info @ http://infocenter.arm.com/help/topic/
com.arm.doc.genc007826/Barrier_Litmus_Tests_and_Cookbook_A08.pdf
- wtf/Atomics.h:
(WTF::memoryBarrierAfterLock):
(WTF::memoryBarrierBeforeUnlock): Added memory barrier primitives since
ARMv7 has a weakly ordered memory model.
- wtf/Platform.h: Enabled compare-and-swap on Windows so our spinlock
implementation would continue working on Windows.
- wtf/TCSpinLock.h:
(TCMalloc_SpinLock::Lock):
(TCMalloc_SpinLock::Unlock):
(TCMalloc_SpinLock): Use our compare-and-swap helper function to avoid
rewriting it in assembly here.
Added memory barriers since ARMv7 needs them.
Removed PPC support because our helper function doesn't support PPC.
- 1:15 PM Changeset in webkit [120355] by
-
- 2 edits in trunk/Tools
Unreviewed, rolling out r120353.
http://trac.webkit.org/changeset/120353
https://bugs.webkit.org/show_bug.cgi?id=89119
It seems we still need this workaround (Requested by Ossy on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-14
- BuildSlaveSupport/build.webkit.org-config/master.cfg:
(loadBuilderConfig):
- 1:08 PM Changeset in webkit [120354] by
-
- 3 edits2 adds in trunk
Change RenderTableSection::calcRowLogicalHeight to round rather than floor height
https://bugs.webkit.org/show_bug.cgi?id=88813
Reviewed by Julien Chaffraix.
Source/WebCore:
Change RenderTableSection::calcRowLogicalHeight to round the
logicalHeight instead of flooring it. This matches our rounding logic
elsewhere and results in table rows better matching the expected height.
Test: fast/sub-pixel/table-rows-have-stable-height.html
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::calcRowLogicalHeight):
LayoutTests:
Add new test ensuring that rows are laid out the desired height when
given a height that maps to a device pixel value.
- fast/sub-pixel/table-rows-have-stable-height-expected.txt: Added.
- fast/sub-pixel/table-rows-have-stable-height.html: Added.
- 1:02 PM Changeset in webkit [120353] by
-
- 2 edits in trunk/Tools
master.cfg cleanup, remove unnecessary workaround
https://bugs.webkit.org/show_bug.cgi?id=88994
Reviewed by Lucas Forschler.
- BuildSlaveSupport/build.webkit.org-config/master.cfg:
(loadBuilderConfig):
- 1:02 PM Changeset in webkit [120352] by
-
- 2 edits in trunk/Tools
master.cfg cleanup, pass BuildStep instances instead of BuildStep subclasses
https://bugs.webkit.org/show_bug.cgi?id=89001
Reviewed by Lucas Forschler.
- BuildSlaveSupport/build.webkit.org-config/master.cfg:
(Factory.init):
(BuildFactory.init):
(TestFactory.init):
(BuildAndTestFactory.init):
(BuildAndPerfTestFactory.init):
(BuildAndPerfTestWebKit2Factory.init):
(DownloadAndPerfTestFactory.init):
(DownloadAndPerfTestWebKit2Factory.init):
- 1:02 PM Changeset in webkit [120351] by
-
- 2 edits in trunk/Tools
Unhide login form on the build.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=88981
Reviewed by Lucas Forschler.
- BuildSlaveSupport/build.webkit.org-config/public_html/default.css:
- 12:52 PM Changeset in webkit [120350] by
-
- 133 edits98 adds in trunk
[Gtk] Add support in DumpRenderTree for tracking repaints
https://bugs.webkit.org/show_bug.cgi?id=87658
Reviewed by Martin Robinson.
Source/WebKit/gtk:
Add methods to the DumpRenderTreeSupport class for controlling the
status of repaint tracking along with retreiving and resetting the
tracked repaints.
- WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
(DumpRenderTreeSupportGtk::setTracksRepaints):
(DumpRenderTreeSupportGtk::isTrackingRepaints):
(DumpRenderTreeSupportGtk::trackedRepaintRects):
(DumpRenderTreeSupportGtk::resetTrackedRepaints):
- WebCoreSupport/DumpRenderTreeSupportGtk.h:
(DumpRenderTreeSupportGtk):
Tools:
Reimplement the displayWebView method in DumpRenderTree - force a
repaint before starting tracking repaints and resetting them.
When gathering pixel output from a web view, if tracking repaints,
paint an overlay over the output with the overlay being clear in the
areas where the repaints occurred.
- DumpRenderTree/gtk/DumpRenderTree.cpp:
(displayWebView):
(resetDefaultsToConsistentValues):
- DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
(paintOverlay):
(fillRepaintOverlayIntoContext):
(createBitmapContextFromWebView):
LayoutTests:
Update pixel baselines for all the tests in fast/repaint now that the
Gtk's DumpRenderTree properly tracks the repaint rects and displays
an appropriate overlay in the pixel results for such tests.
- platform/gtk/fast/repaint/4774354-expected.png:
- platform/gtk/fast/repaint/4776765-expected.png:
- platform/gtk/fast/repaint/absolute-position-change-containing-block-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-new-in-block-expected.png.
- platform/gtk/fast/repaint/absolute-position-changed-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-visibility-expected.png.
- platform/gtk/fast/repaint/absolute-position-moved-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/background-clip-text-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png.
- platform/gtk/fast/repaint/background-generated-expected.png:
- platform/gtk/fast/repaint/background-misaligned-expected.png:
- platform/gtk/fast/repaint/background-scaling-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/clip-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/backgroundSizeRepaint-expected.png:
- platform/gtk/fast/repaint/block-layout-inline-children-float-positioned-expected.png: Added.
- platform/gtk/fast/repaint/block-layout-inline-children-replaced-expected.png: Added.
- platform/gtk/fast/repaint/block-no-inflow-children-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/slider-thumb-drag-release-expected.png.
- platform/gtk/fast/repaint/block-selection-gap-in-composited-layer-expected.png:
- platform/gtk/fast/repaint/block-selection-gap-in-table-cell-expected.png:
- platform/gtk/fast/repaint/block-selection-gap-stale-cache-2-expected.png:
- platform/gtk/fast/repaint/block-selection-gap-stale-cache-expected.png:
- platform/gtk/fast/repaint/body-background-image-expected.png:
- platform/gtk/fast/repaint/border-fit-lines-expected.png:
- platform/gtk/fast/repaint/border-radius-repaint-expected.png:
- platform/gtk/fast/repaint/border-repaint-glitch-expected.png:
- platform/gtk/fast/repaint/box-shadow-dynamic-expected.png:
- platform/gtk/fast/repaint/box-shadow-h-expected.png:
- platform/gtk/fast/repaint/box-shadow-v-expected.png:
- platform/gtk/fast/repaint/bugzilla-3509-expected.png:
- platform/gtk/fast/repaint/bugzilla-5699-expected.png:
- platform/gtk/fast/repaint/bugzilla-6278-expected.png:
- platform/gtk/fast/repaint/bugzilla-6388-expected.png:
- platform/gtk/fast/repaint/bugzilla-6473-expected.png:
- platform/gtk/fast/repaint/bugzilla-7235-expected.png:
- platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png:
- platform/gtk/fast/repaint/canvas-putImageData-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png.
- platform/gtk/fast/repaint/caret-outside-block-expected.png:
- platform/gtk/fast/repaint/change-transform-expected.png:
- platform/gtk/fast/repaint/clip-with-layout-delta-expected.png:
- platform/gtk/fast/repaint/clipped-relative-expected.png:
- platform/gtk/fast/repaint/containing-block-position-change-expected.png:
- platform/gtk/fast/repaint/content-into-overflow-expected.png:
- platform/gtk/fast/repaint/continuation-after-outline-expected.png:
- platform/gtk/fast/repaint/control-clip-expected.png:
- platform/gtk/fast/repaint/create-layer-repaint-expected.png:
- platform/gtk/fast/repaint/delete-into-nested-block-expected.png:
- platform/gtk/fast/repaint/dynamic-table-vertical-alignment-change-expected.png:
- platform/gtk/fast/repaint/erase-overflow-expected.png:
- platform/gtk/fast/repaint/fixed-after-scroll-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/fixed-and-absolute-position-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/fixed-child-move-after-scroll-expected.png: Added.
- platform/gtk/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.png: Added.
- platform/gtk/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.png: Added.
- platform/gtk/fast/repaint/fixed-expected.png:
- platform/gtk/fast/repaint/fixed-in-page-scale-expected.png: Added.
- platform/gtk/fast/repaint/fixed-move-after-keyboard-scroll-expected.png: Added.
- platform/gtk/fast/repaint/fixed-move-after-scroll-expected.png: Added.
- platform/gtk/fast/repaint/fixed-position-transparency-with-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png.
- platform/gtk/fast/repaint/fixed-right-bottom-in-page-scale-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/slider-thumb-drag-release-expected.png.
- platform/gtk/fast/repaint/fixed-right-in-page-scale-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/fixed-scale-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/fixed-scroll-simple-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-section-overflow-expected.png.
- platform/gtk/fast/repaint/fixed-table-cell-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/fixed-table-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/fixed-table-overflow-zindex-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/fixed-to-relative-position-with-absolute-child-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/fixed-tranformed-expected.png: Added.
- platform/gtk/fast/repaint/flexible-box-overflow-expected.png:
- platform/gtk/fast/repaint/flexible-box-overflow-horizontal-expected.png:
- platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png:
- platform/gtk/fast/repaint/float-move-during-layout-expected.png:
- platform/gtk/fast/repaint/float-new-in-block-expected.png:
- platform/gtk/fast/repaint/float-overflow-expected.png: Added.
- platform/gtk/fast/repaint/float-overflow-right-expected.png: Added.
- platform/gtk/fast/repaint/focus-layers-expected.png:
- platform/gtk/fast/repaint/gradients-em-stops-repaint-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/iframe-scroll-repaint-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/intermediate-layout-position-clip-expected.png.
- platform/gtk/fast/repaint/inline-block-overflow-expected.png:
- platform/gtk/fast/repaint/inline-block-resize-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/inline-color-change-expected.png:
- platform/gtk/fast/repaint/inline-horizontal-bt-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.png.
- platform/gtk/fast/repaint/inline-outline-repaint-expected.png:
- platform/gtk/fast/repaint/inline-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.png.
- platform/gtk/fast/repaint/inline-relative-positioned-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png.
- platform/gtk/fast/repaint/inline-vertical-lr-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-in-composited-layer-expected.png.
- platform/gtk/fast/repaint/inline-vertical-rl-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png.
- platform/gtk/fast/repaint/intermediate-layout-position-clip-expected.png:
- platform/gtk/fast/repaint/intermediate-layout-position-expected.png:
- platform/gtk/fast/repaint/invisible-objects-expected.png:
- platform/gtk/fast/repaint/japanese-rl-selection-clear-expected.png: Added.
- platform/gtk/fast/repaint/japanese-rl-selection-repaint-expected.png: Added.
- platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Added.
- platform/gtk/fast/repaint/layer-child-outline-expected.png:
- platform/gtk/fast/repaint/layer-full-repaint-expected.png:
- platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.png:
- platform/gtk/fast/repaint/layer-outline-expected.png:
- platform/gtk/fast/repaint/layer-outline-horizontal-expected.png:
- platform/gtk/fast/repaint/layer-visibility-expected.png:
- platform/gtk/fast/repaint/layout-state-only-positioned-expected.png:
- platform/gtk/fast/repaint/layout-state-relative-expected.png:
- platform/gtk/fast/repaint/layout-state-scrolloffset-expected.png: Added.
- platform/gtk/fast/repaint/layout-state-scrolloffset2-expected.png: Added.
- platform/gtk/fast/repaint/layout-state-scrolloffset3-expected.png: Added.
- platform/gtk/fast/repaint/line-flow-with-floats-1-expected.png:
- platform/gtk/fast/repaint/line-flow-with-floats-10-expected.png:
- platform/gtk/fast/repaint/line-flow-with-floats-2-expected.png:
- platform/gtk/fast/repaint/line-flow-with-floats-3-expected.png:
- platform/gtk/fast/repaint/line-flow-with-floats-4-expected.png:
- platform/gtk/fast/repaint/line-flow-with-floats-5-expected.png:
- platform/gtk/fast/repaint/line-flow-with-floats-6-expected.png:
- platform/gtk/fast/repaint/line-flow-with-floats-7-expected.png:
- platform/gtk/fast/repaint/line-flow-with-floats-8-expected.png:
- platform/gtk/fast/repaint/line-flow-with-floats-9-expected.png:
- platform/gtk/fast/repaint/line-flow-with-floats-in-regions-expected.png: Added.
- platform/gtk/fast/repaint/line-in-scrolled-clipped-block-expected.png:
- platform/gtk/fast/repaint/line-overflow-expected.png:
- platform/gtk/fast/repaint/lines-with-layout-delta-expected.png:
- platform/gtk/fast/repaint/list-marker-2-expected.png:
- platform/gtk/fast/repaint/list-marker-expected.png:
- platform/gtk/fast/repaint/make-children-non-inline-expected.png:
- platform/gtk/fast/repaint/moving-shadow-on-container-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-in-composited-layer-expected.png.
- platform/gtk/fast/repaint/moving-shadow-on-path-expected.png: Added.
- platform/gtk/fast/repaint/multicol-repaint-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/slider-thumb-drag-release-expected.png.
- platform/gtk/fast/repaint/nested-iframe-scroll-inner-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/intermediate-layout-position-expected.png.
- platform/gtk/fast/repaint/nested-iframe-scroll-outer-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-in-table-cell-expected.png.
- platform/gtk/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.png:
- platform/gtk/fast/repaint/opacity-change-on-overflow-float-expected.png:
- platform/gtk/fast/repaint/outline-child-repaint-expected.png:
- platform/gtk/fast/repaint/outline-inset-expected.png:
- platform/gtk/fast/repaint/outline-repaint-glitch-expected.png:
- platform/gtk/fast/repaint/outline-shrinking-expected.png:
- platform/gtk/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/overflow-clip-subtree-layout-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-in-composited-layer-expected.png.
- platform/gtk/fast/repaint/overflow-delete-line-expected.png:
- platform/gtk/fast/repaint/overflow-flipped-writing-mode-block-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-full-repaint-expected.png.
- platform/gtk/fast/repaint/overflow-flipped-writing-mode-table-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/overflow-hidden-in-overflow-hidden-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/overflow-hide-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.png.
- platform/gtk/fast/repaint/overflow-into-content-expected.png:
- platform/gtk/fast/repaint/overflow-outline-repaint-expected.png:
- platform/gtk/fast/repaint/overflow-scroll-body-appear-expected.png:
- platform/gtk/fast/repaint/overflow-scroll-delete-expected.png:
- platform/gtk/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/overflow-show-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-row-expected.png.
- platform/gtk/fast/repaint/reflection-redraw-expected.png:
- platform/gtk/fast/repaint/reflection-repaint-test-expected.png:
- platform/gtk/fast/repaint/region-painting-invalidation-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-new-in-block-expected.png.
- platform/gtk/fast/repaint/region-painting-via-layout-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png.
- platform/gtk/fast/repaint/rel-positioned-inline-with-overflow-expected.png:
- platform/gtk/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png:
- platform/gtk/fast/repaint/repaint-across-writing-mode-boundary-expected.png: Added.
- platform/gtk/fast/repaint/repaint-during-scroll-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-new-in-block-expected.png.
- platform/gtk/fast/repaint/repaint-resized-overflow-expected.png:
- platform/gtk/fast/repaint/repaint-svg-after-style-change-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-col-background-expected.png.
- platform/gtk/fast/repaint/scale-page-shrink-expected.png:
- platform/gtk/fast/repaint/scroll-absolute-layer-with-reflection-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-new-in-block-expected.png.
- platform/gtk/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/scroll-fixed-layer-with-reflection-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/erase-overflow-expected.png.
- platform/gtk/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/layer-visibility-expected.png.
- platform/gtk/fast/repaint/scroll-fixed-reflected-layer-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/erase-overflow-expected.png.
- platform/gtk/fast/repaint/scroll-in-clipped-layer-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/scroll-in-fixed-layer-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-outer-border-expected.png.
- platform/gtk/fast/repaint/scroll-in-transformed-layer-expected.png: Added.
- platform/gtk/fast/repaint/scroll-inside-table-cell-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/continuation-after-outline-expected.png.
- platform/gtk/fast/repaint/scroll-relative-table-inside-table-cell-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-in-composited-layer-expected.png.
- platform/gtk/fast/repaint/scroll-with-transformed-parent-layer-expected.png: Added.
- platform/gtk/fast/repaint/search-field-cancel-expected.png:
- platform/gtk/fast/repaint/select-option-background-color-expected.png: Added.
- platform/gtk/fast/repaint/selected-replaced-expected.png:
- platform/gtk/fast/repaint/selection-after-delete-expected.png:
- platform/gtk/fast/repaint/selection-after-remove-expected.png:
- platform/gtk/fast/repaint/selection-clear-expected.png:
- platform/gtk/fast/repaint/selection-gap-overflow-scroll-2-expected.png: Added.
- platform/gtk/fast/repaint/selection-gap-overflow-scroll-expected.png:
- platform/gtk/fast/repaint/selection-rl-expected.png: Added.
- platform/gtk/fast/repaint/shadow-multiple-horizontal-expected.png:
- platform/gtk/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
- platform/gtk/fast/repaint/shadow-multiple-strict-vertical-expected.png:
- platform/gtk/fast/repaint/shadow-multiple-vertical-expected.png:
- platform/gtk/fast/repaint/slider-thumb-drag-release-expected.png:
- platform/gtk/fast/repaint/slider-thumb-float-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/clip-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/stacked-diacritics-expected.png: Added.
- platform/gtk/fast/repaint/static-to-positioned-expected.png:
- platform/gtk/fast/repaint/subtree-layoutstate-transform-expected.png:
- platform/gtk/fast/repaint/subtree-root-clip-2-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-col-background-expected.png.
- platform/gtk/fast/repaint/subtree-root-clip-3-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/subtree-root-clip-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-col-background-expected.png.
- platform/gtk/fast/repaint/subtree-root-skipped-expected.png:
- platform/gtk/fast/repaint/svg-layout-root-style-attr-update-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png.
- platform/gtk/fast/repaint/table-cell-collapsed-border-expected.png:
- platform/gtk/fast/repaint/table-cell-move-expected.png:
- platform/gtk/fast/repaint/table-cell-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/clip-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/table-col-background-expected.png:
- platform/gtk/fast/repaint/table-collapsed-border-expected.png:
- platform/gtk/fast/repaint/table-extra-bottom-grow-expected.png:
- platform/gtk/fast/repaint/table-hover-on-link-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/intermediate-layout-position-clip-expected.png.
- platform/gtk/fast/repaint/table-outer-border-expected.png:
- platform/gtk/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png.
- platform/gtk/fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/selection-clear-expected.png.
- platform/gtk/fast/repaint/table-row-expected.png:
- platform/gtk/fast/repaint/table-section-overflow-expected.png:
- platform/gtk/fast/repaint/table-section-repaint-expected.png:
- platform/gtk/fast/repaint/table-two-pass-layout-overpaint-expected.png:
- platform/gtk/fast/repaint/table-writing-modes-h-expected.png: Added.
- platform/gtk/fast/repaint/table-writing-modes-v-expected.png: Added.
- platform/gtk/fast/repaint/text-append-dirty-lines-expected.png:
- platform/gtk/fast/repaint/text-emphasis-h-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/continuation-after-outline-expected.png.
- platform/gtk/fast/repaint/text-emphasis-v-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/text-in-relative-positioned-inline-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png.
- platform/gtk/fast/repaint/text-selection-rect-in-overflow-2-expected.png:
- platform/gtk/fast/repaint/text-selection-rect-in-overflow-expected.png:
- platform/gtk/fast/repaint/text-shadow-expected.png:
- platform/gtk/fast/repaint/text-shadow-horizontal-expected.png:
- platform/gtk/fast/repaint/textarea-set-disabled-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
- platform/gtk/fast/repaint/trailing-floats-root-line-box-overflow-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-row-expected.png.
- platform/gtk/fast/repaint/transform-absolute-child-expected.png:
- platform/gtk/fast/repaint/transform-absolute-in-positioned-container-expected.png:
- platform/gtk/fast/repaint/transform-disable-layoutstate-expected.png:
- platform/gtk/fast/repaint/transform-layout-repaint-expected.png:
- platform/gtk/fast/repaint/transform-relative-position-expected.png:
- platform/gtk/fast/repaint/transform-repaint-descendants-expected.png:
- platform/gtk/fast/repaint/transform-replaced-shadows-expected.png:
- platform/gtk/fast/repaint/transform-rotate-and-remove-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/table-col-background-expected.png.
- platform/gtk/fast/repaint/transform-translate-expected.png:
- platform/gtk/fast/repaint/view-background-from-body-1-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/block-selection-gap-stale-cache-expected.png.
- platform/gtk/fast/repaint/view-background-from-body-2-expected.png: Copied from LayoutTests/platform/gtk/fast/repaint/invisible-objects-expected.png.
- 12:43 PM Changeset in webkit [120349] by
-
- 3 edits in trunk/Tools
new-run-webkit-tests doesn't find similar platform tests for a keyword
https://bugs.webkit.org/show_bug.cgi?id=37956
Reviewed by Ryosuke Niwa.
This patches adds support for NRWT so that if you type
"new-run-webkit-tests foo" it will run all the tests in foo as
well as platform/foo for all of the platforms that are normally
searched (this only applies to directories, not to individual tests).
- Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager.collect_tests):
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.tests):
(Port):
(Port._expanded_paths):
- Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(MainTest.test_no_http_tests):
(MainTest):
(MainTest.test_platform_tests_are_found):
- 12:40 PM Changeset in webkit [120348] by
-
- 5 edits in trunk/Tools
NRWT should honor --skipped=[default|ignore|only], like ORWT does
https://bugs.webkit.org/show_bug.cgi?id=66308
Reviewed by Ryosuke Niwa.
This patch adds support for ORWT's --skipped=(default|ignore|only)
flag and cleans up the interaction between that and --ignore.
Individual tests (but not directories) explicitly listed on the
command line will always be run regardless of what is passed
for --skipped and --ignore.
This patch also changes the "found" and "running" log messages
since it wasn't clear how the skipped tests were included in those numbers.
- Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager.init):
(Manager.collect_tests):
(Manager.prepare_lists_and_print_output):
- Scripts/webkitpy/layout_tests/port/test.py:
- Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(_set_up_derived_options):
(parse_args):
- Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(MainTest.test_ignore_flag):
(MainTest):
(MainTest.test_skipped_flag):
- 12:24 PM Changeset in webkit [120347] by
-
- 8 edits in trunk/Source/WebCore
Web Inspector: Remove devtoolsInjectedScript hidden property
https://bugs.webkit.org/show_bug.cgi?id=89087
We use the devtoolsInjectedScript hidden property to reference a InjectedScript object
for a given ScriptState, but we also have the same reference in the InjectedScriptManager's
hash maps. Just use the hash maps and remove the hidden property from the global object.
Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-06-14
Reviewed by Pavel Feldman.
- bindings/js/JSDOMGlobalObject.cpp:
(WebCore::JSDOMGlobalObject::visitChildren):
- bindings/js/JSDOMGlobalObject.h:
(JSDOMGlobalObject):
- bindings/js/JSInjectedScriptManager.cpp:
(WebCore::InjectedScriptManager::createInjectedScript):
- bindings/v8/V8HiddenPropertyName.h:
(WebCore):
- bindings/v8/custom/V8InjectedScriptManager.cpp:
- inspector/InjectedScriptManager.cpp:
(WebCore::InjectedScriptManager::discardInjectedScripts):
(WebCore::InjectedScriptManager::discardInjectedScriptsFor):
(WebCore::InjectedScriptManager::injectedScriptFor):
(WebCore):
(WebCore::InjectedScriptManager::wrapWebGLRenderingContextForInstrumentation):
- inspector/InjectedScriptManager.h:
(InjectedScriptManager):
- 11:54 AM Changeset in webkit [120346] by
-
- 36 edits3 adds1 delete in trunk/Source
[chromium] Move opaque rectangle tracking logic out of compositor core
https://bugs.webkit.org/show_bug.cgi?id=89031
Patch by James Robinson <jamesr@chromium.org> on 2012-06-14
Reviewed by Adrienne Walker.
Source/WebCore:
This moves the opaque paint tracking logic from the compositor (specifically CanvasLayerTextureUpdater) out to a
dedicated class used by GraphicsLayerChromium for GraphicsContext-painted content. This changes the interface
exposed by the compositor to pass a SkCanvas and let the user fill in an opaque rect if needed. Callers that are
using GraphicsContext to paint can instantiate a PlatformContextSkia / GraphicsContext around this SkCanvas if
they choose to, or use some other strategy, or not fill it in at all. This avoids creating extra wrapper classes
if the eventual caller is going to use the underlying SkCanvas anyway (such as WebContentLayer) and breaks the
dependency from the compositor code on GraphicsContext / PlatformContextSkia.
OpaqueRectTrackingContentLayerDelegate is a helper class that wraps a ContentLayerDelegate implementation with
PlatformContextSkia's opaque region tracking logic.
- WebCore.gypi:
- platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.cpp:
(WebCore::BitmapCanvasLayerTextureUpdater::BitmapCanvasLayerTextureUpdater):
(WebCore::BitmapCanvasLayerTextureUpdater::prepareToUpdate):
(WebCore::BitmapCanvasLayerTextureUpdater::updateTextureRect):
(WebCore::BitmapCanvasLayerTextureUpdater::setOpaque):
- platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h:
(WebCore):
(BitmapCanvasLayerTextureUpdater):
- platform/graphics/chromium/CanvasLayerTextureUpdater.cpp:
(WebCore::CanvasLayerTextureUpdater::paintContents):
- platform/graphics/chromium/CanvasLayerTextureUpdater.h:
(WebCore):
(CanvasLayerTextureUpdater):
- platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerPainter::paint):
- platform/graphics/chromium/ContentLayerChromium.h:
(ContentLayerDelegate):
(WebCore):
- platform/graphics/chromium/GraphicsLayerChromium.cpp:
(WebCore::GraphicsLayerChromium::GraphicsLayerChromium):
(WebCore::GraphicsLayerChromium::paint):
- platform/graphics/chromium/GraphicsLayerChromium.h:
(GraphicsLayerChromium):
- platform/graphics/chromium/LayerPainterChromium.h:
(LayerPainterChromium):
- platform/graphics/chromium/LinkHighlight.cpp:
(WebCore::LinkHighlight::paintContents):
- platform/graphics/chromium/LinkHighlight.h:
(LinkHighlight):
- platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp: Added.
(WebCore):
(WebCore::OpaqueRectTrackingContentLayerDelegate::OpaqueRectTrackingContentLayerDelegate):
(WebCore::OpaqueRectTrackingContentLayerDelegate::~OpaqueRectTrackingContentLayerDelegate):
(WebCore::OpaqueRectTrackingContentLayerDelegate::paintContents):
- platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.h: Added.
(WebCore):
(GraphicsContextPainter):
(WebCore::GraphicsContextPainter::~GraphicsContextPainter):
(OpaqueRectTrackingContentLayerDelegate):
(WebCore::OpaqueRectTrackingContentLayerDelegate::setOpaque):
- platform/graphics/chromium/PlatformCanvas.cpp:
(WebCore::PlatformCanvas::Painter::Painter):
- platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.cpp:
(WebCore::SkPictureCanvasLayerTextureUpdater::prepareToUpdate):
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore):
Source/WebKit/chromium:
Moves the grayscale/subpixel AA text decision into NonCompositedContentHost and removes one layer of indirection
betwen NCCH and WVI that existed only for historical reasons.
Ports the opaque rect tracking tests that were in LayerTextureUpdaterTest to
OpaquerectTrackingContentLayerDelegateTest to reflect the move in responsibilities.
- WebKit.gypi:
- src/NonCompositedContentHost.cpp:
(WebKit::NonCompositedContentHost::NonCompositedContentHost):
(WebKit::NonCompositedContentHost::setOpaque):
(WebKit::NonCompositedContentHost::paintContents):
- src/NonCompositedContentHost.h:
(WebCore):
(WebKit):
(WebKit::NonCompositedContentHost::create):
(NonCompositedContentHost):
- src/WebContentLayerImpl.cpp:
(WebKit::WebContentLayerImpl::paintContents):
- src/WebContentLayerImpl.h:
(WebContentLayerImpl):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::paintRootLayer):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
- src/WebViewImpl.h:
(WebViewImpl):
- tests/CCLayerTreeHostTest.cpp:
(WTF::TestOpacityChangeLayerDelegate::paintContents):
(WTF::MockContentLayerDelegate::paintContents):
- tests/LayerChromiumTest.cpp:
- tests/LayerTextureUpdaterTest.cpp: Removed.
- tests/OpaqueRectTrackingContentLayerDelegateTest.cpp: Added.
(WebCore):
(PaintCallback):
(TestLayerPainterChromium):
(WebCore::TestLayerPainterChromium::TestLayerPainterChromium):
(WebCore::PaintFillAlpha::operator()):
(WebCore::PaintFillPartialOpaque::PaintFillPartialOpaque):
(PaintFillPartialOpaque):
(WebCore::PaintFillPartialOpaque::operator()):
(OpaqueRectTrackingContentLayerDelegateTest):
(WebCore::OpaqueRectTrackingContentLayerDelegateTest::OpaqueRectTrackingContentLayerDelegateTest):
(WebCore::OpaqueRectTrackingContentLayerDelegateTest::skCanvas):
(WebCore::OpaqueRectTrackingContentLayerDelegateTest::canvasRect):
(WebCore::TEST_F):
- 11:37 AM Changeset in webkit [120345] by
-
- 10 edits in trunk/LayoutTests
Rebaseline some Mac results after r120246.
- platform/mac/media/audio-controls-rendering-expected.txt:
- platform/mac/media/controls-after-reload-expected.txt:
- platform/mac/media/controls-strict-expected.txt:
- platform/mac/media/video-colorspace-yuv420-expected.txt:
- platform/mac/media/video-colorspace-yuv422-expected.txt:
- platform/mac/media/video-controls-rendering-expected.txt:
- platform/mac/media/video-display-toggle-expected.txt:
- platform/mac/media/video-no-audio-expected.txt:
- platform/mac/media/video-playing-and-pause-expected.txt:
- 11:33 AM Changeset in webkit [120344] by
-
- 5 edits3 adds in trunk
[Chromium] webkitImageSmoothingEnabled canvas property does not work on redraw
https://bugs.webkit.org/show_bug.cgi?id=89018
Patch by Justin Novosad <junov@chromium.org> on 2012-06-14
Reviewed by Stephen White.
Source/WebCore:
Test: fast/canvas/canvas-imageSmoothingEnabled-repaint.html
When an accelerated canvas layer prepares its texture for the
compositor, it must send a notification to skia to invalidate texture
proprties that are cached by skia, since the compositor may modify them.
The use case this fixes is when a canvas to canvas copy is performed
with webkitImageSmoothingEnabled=false on the destination canvas.
The backing texture of the source canvas will be set to "nearest"
filtering by skia in order to perform the copy. Then, the compositor
sets filtering back to "linear" when the source canvas is drawn.
Skia is designed to only update GL attributes when required, so errors
occur when the skia-side GL state cache is out of sync.
- platform/graphics/chromium/Canvas2DLayerBridge.cpp:
(WebCore::Canvas2DLayerBridge::prepareTexture):
Source/WebKit/chromium:
Rolling chromium DEPS to 141884
- DEPS:
LayoutTests:
New layout test that verifies that disabling image smoothing on a 2d
canvas continues to work after multiple paint cycles.
- fast/canvas/canvas-imageSmoothingEnabled-repaint-expected.txt: Added.
- fast/canvas/canvas-imageSmoothingEnabled-repaint.html: Added.
- fast/canvas/script-tests/canvas-imageSmoothingEnabled-repaint.js: Added.
(draw):
(testResult):
(TestControllerPaint):
(BrowserPaint):
(onLoadHandler):
- 11:23 AM Changeset in webkit [120343] by
-
- 2 edits in trunk/LayoutTests
[svg] SVGResources applied to Text with Incorrect Transformations in non-CG Implementations
https://bugs.webkit.org/show_bug.cgi?id=64966
Unreviewed suppression of crashing tests:
svg/batik/text/textDecoration.svg
svg/batik/text/textEffect3.svg
- platform/chromium/TestExpectations:
- 11:06 AM Changeset in webkit [120342] by
-
- 3 edits in trunk/Tools
new-run-webkit-websocketserver must handle TLS related arguments
https://bugs.webkit.org/show_bug.cgi?id=89079
Reviewed by Dirk Pranke.
PyWebSocket class must accept private_key, certificate, and
ca_certificate arguments and pass them to launching pywebsocket.
Also add ca_certificate handling to new-run-webkit-websocketserver.
- Scripts/new-run-webkit-websocketserver:
(main):
- Scripts/webkitpy/layout_tests/servers/websocket_server.py:
(PyWebSocket.init):
(PyWebSocket._prepare_config):
- 11:02 AM Changeset in webkit [120341] by
-
- 4 edits in trunk
2012-06-14 Jon Honeycutt <jhoneycutt@apple.com>
Fix some failing tests on Windows by resetting the page scale factor
between tests.
https://bugs.webkit.org/show_bug.cgi?id=89078
Reviewed by Dirk Pranke.
WebCore:
- testing/Internals.cpp: (WebCore::Internals::reset): Set the scale factor to 1.0.
LayoutTests:
Unskip some now-passing tests.
https://bugs.webkit.org/show_bug.cgi?id=89078
- platform/win/Skipped:
- 10:45 AM Changeset in webkit [120340] by
-
- 17 edits in trunk/Source
Register fixed position layers with ScrollingCoordinator
https://bugs.webkit.org/show_bug.cgi?id=78864
Patch by Sami Kyostila <skyostil@chromium.org> on 2012-06-14
Reviewed by James Robinson.
This patch makes ScrollingCoordinator aware of page elements that are
either fixed positioned directly or through their ancestors and that
also have their own composited backing layers. This allows the
ScrollingCoordinator implementation to potentially enable fast
scrolling even if there are fixed elements on the page, because the
compositor can automatically reposition the fixed element layers after
scrolling.
Since fixed position layers need to be explicitly supported by the
ScrollingCoordinator implementation, we add a new
supportsFixedPositionLayers() query for checking this.
- page/FrameView.cpp:
(WebCore::FrameView::FrameView):
(WebCore::FrameView::useSlowRepaints):
(WebCore::FrameView::addFixedObject):
(WebCore::FrameView::removeFixedObject):
- page/FrameView.h:
(FrameView):
(WebCore::FrameView::fixedObjects):
(WebCore::FrameView::hasFixedObjects):
- page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::frameViewFixedObjectsDidChange):
(WebCore::ScrollingCoordinator::hasNonLayerFixedObjects):
(WebCore):
(WebCore::ScrollingCoordinator::updateShouldUpdateScrollLayerPositionOnMainThread):
(WebCore::ScrollingCoordinator::setLayerIsContainerForFixedPosition):
(WebCore::ScrollingCoordinator::setLayerIsFixedToContainerLayer):
- page/scrolling/ScrollingCoordinator.h:
(ScrollingCoordinator):
- page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:
(WebCore::ScrollingCoordinator::setLayerIsContainerForFixedPosition):
(WebCore):
(WebCore::ScrollingCoordinator::setLayerIsFixedToContainerLayer):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::willBeDestroyed):
(WebCore::RenderBox::styleWillChange):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateBacking):
(WebCore):
(WebCore::RenderLayerCompositor::fixedPositionedByAncestor):
(WebCore::RenderLayerCompositor::ensureRootLayer):
- rendering/RenderLayerCompositor.h:
- 10:42 AM Changeset in webkit [120339] by
-
- 4 edits4 adds in trunk
[CFNetwork] XMLHttpRequest incorrectly returns cached responses even when there is a Vary header field
https://bugs.webkit.org/show_bug.cgi?id=88925
Reviewed by David Kilzer.
Test: http/tests/cache/xhr-vary-header.html
- platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::willCacheResponse): Don't cache the response at all if there is a Vary header field. CFNetwork won't look at it if we allowed the response cached.
- platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::createNSURLConnection): [NSURLResponse copy] is mutable in practice, but we should be nice, and use -mutableCopy. (-[WebCoreResourceHandleAsDelegate connection:willCacheResponse:]): Same fix as in CFNet code.
- 10:06 AM Changeset in webkit [120338] by
-
- 8 edits1 move10 deletes in trunk/Source/WebCore
Web Inspector: use CSS gradients instead of images for timeline bars, checkboxes & bullets
https://bugs.webkit.org/show_bug.cgi?id=89024
Reviewed by Pavel Feldman.
This brings a bunch of UI changes to the way Timeline bars and related controls are rendered:
- introduce new color palette for categories;
- replace images used to render timeline bars, list bullets and categories checkboxes with CSS gradients;
- "flatten" timeline bars
- make square list bullets, sharpen corners for lower pane bars;
- make links on the list sidebar grey
- add more space between categories checkboxes, make labels lighter.
- WebCore.gypi: Remove old images, add tickMark.png.
- inspector/front-end/Images/timelineBarBlue.png: Removed.
- inspector/front-end/Images/timelineBarDarkGreen.png: Removed.
- inspector/front-end/Images/timelineBarGray.png: Removed.
- inspector/front-end/Images/timelineBarGreen.png: Removed.
- inspector/front-end/Images/timelineBarLightPurple.png: Removed.
- inspector/front-end/Images/timelineBarOrange.png: Removed.
- inspector/front-end/Images/timelineBarPurple.png: Removed.
- inspector/front-end/Images/timelineBarRed.png: Removed.
- inspector/front-end/Images/timelineBarYellow.png: Removed.
- inspector/front-end/Images/timelineCheckmarks.png: Removed.
- inspector/front-end/Images/timelineDots.png: Removed.
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype.wasShown):
(WebInspector.TimelinePanel.prototype._closeRecordDetails): Fixed trailing spaces;
(WebInspector.TimelinePanel.prototype._injectCategoryStyles): Inject generated styles for categories, if necessary.
- inspector/front-end/TimelinePresentationModel.js:
(WebInspector.TimelinePresentationModel.categories):
(WebInspector.TimelinePresentationModel.createFillStyle):
(WebInspector.TimelinePresentationModel.createStyleRuleForCategory):
- inspector/front-end/WebKit.qrc: Remove old images, add tickMark.png
- inspector/front-end/inspector.css:
(.sidebar-tree-section):
- inspector/front-end/timelinePanel.css:
(#timeline-container .webkit-html-resource-link):
(.timeline-category-statusbar-item):
(.timeline-category-statusbar-item .timeline-category-checkbox):
(.timeline-category-statusbar-item .timeline-category-checkbox:checked::before):
(.timeline-tree-item):
(.timeline-tree-item .timeline-tree-icon):
(.timeline-graph-bar):
(.timeline-graph-bar.with-children):
(.timeline-graph-bar.cpu):
(.timeline-aggregated-category):
- inspector/front-end/utilities.js:
(Object.values): Return an array of object field's values.
- 10:00 AM Changeset in webkit [120337] by
-
- 5 edits in trunk/Source/WebCore
Change mute button and volume slider behaviour for new Chromium video controls.
https://bugs.webkit.org/show_bug.cgi?id=88743
Patch by Silvia Pfeiffer <silviapf@chromium.org> on 2012-06-14
Reviewed by Eric Carlson.
No new tests, final patch will contain the rebaselined tests.
The Chrome video controls are receiving a visual update. This patch makes the mute button and
the volume slider interact with each other. When the user mutes the video through clicking the
mute button, the volume slider animates to 0% volume. Upon unmute, the previous volume level
is restored. Further, when the user drags the volume slider thumb or clicks on the slider and
the video is muted, the video unmutes and sets the volume to the user's chosen level.
- html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlVolumeSliderElement::MediaControlVolumeSliderElement):
Add a member field to the volume slider to allow user interaction to unmute the video.
(WebCore::MediaControlVolumeSliderElement::defaultEventHandler):
Add the logic to unmute the video if the m_clearMutedOnUserInteraction member field is true.
(WebCore::MediaControlVolumeSliderElement::setClearMutedOnUserInteraction):
Add a member function to change the value of the m_clearMutedOnUserInteraction member field.
- html/shadow/MediaControlElements.h:
(MediaControlVolumeSliderElement):
Add the setClearMutedOnUserInteraction member function and the m_clearMutedOnUserInteraction member field.
- html/shadow/MediaControlRootElementChromium.cpp:
(WebCore::MediaControlRootElementChromium::create):
Activate unmute on user interaction on the Chromium video volume slider.
(WebCore::MediaControlRootElementChromium::changedMute):
Add logic to set volume slider to 0 when muted and reset to volume when unmuted.
- rendering/RenderMediaControlsChromium.cpp:
(WebCore::paintMediaVolumeSlider):
Add logic to paint the volume slider active area as 0 when muted.
- 9:58 AM Changeset in webkit [120336] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: Breakpoints should not be set when UISourceCode content is diverged from VM version of the script.
https://bugs.webkit.org/show_bug.cgi?id=89109
Reviewed by Pavel Feldman.
- inspector/front-end/BreakpointManager.js:
(WebInspector.BreakpointManager.Breakpoint.prototype._updateBreakpoint):
- inspector/front-end/JavaScriptSource.js:
(WebInspector.JavaScriptSource.prototype.isDivergedFromVM):
(WebInspector.JavaScriptSource.prototype.workingCopyCommitted):
- 9:57 AM Changeset in webkit [120335] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: DebuggerModel should support setting breakpoints without script by sourceURL only.
https://bugs.webkit.org/show_bug.cgi?id=88988
Reviewed by Pavel Feldman.
This change allows setting all saved breakpoints in debugger model by url before the site
with corresponding scripts was loaded (allows breaking in onload handler on first load).
This change also simplifies implementation of snippets debugging.
- inspector/front-end/BreakpointManager.js:
- inspector/front-end/DebuggerModel.js:
(WebInspector.DebuggerModel.prototype.setBreakpointByScriptLocation):
- 9:53 AM Changeset in webkit [120334] by
-
- 2 edits in trunk/LayoutTests
[GTK] Update TestExpectations with tests crashing in 64bits Debug build
https://bugs.webkit.org/show_bug.cgi?id=89105
Unreviewed gardening.
Mark svg/batik/text/textDecoration.svg and
svg/batik/text/textEffect3.svg as crashing in DEBUG.
Patch by Simon Pena <Simon Pena> on 2012-06-14
- platform/gtk/TestExpectations:
- 9:53 AM Changeset in webkit [120333] by
-
- 2 edits in trunk/LayoutTests
[GTK] Update TestExpectations with non-passing tests
https://bugs.webkit.org/show_bug.cgi?id=89100
Unreviewed gardening.
Mark plugins/plugin-initiate-popup-window.html as flaky and
svg/transforms/transformed-text-fill-pattern.html as failing.
Patch by Simon Pena <Simon Pena> on 2012-06-14
- platform/gtk/TestExpectations:
- 9:49 AM Changeset in webkit [120332] by
-
- 2 edits in trunk/Tools
Unreviewed. Update my email.
- Scripts/webkitpy/common/config/committers.py:
- 9:49 AM Changeset in webkit [120331] by
-
- 7 edits in trunk/Source/WebCore
Web Inspector: refactor settings screen to move user agent and experiments out of general tab.
https://bugs.webkit.org/show_bug.cgi?id=89101
Reviewed by Vsevolod Vlasov.
See image attached to the bug.
- English.lproj/localizedStrings.js:
- inspector/front-end/SettingsScreen.js:
(WebInspector.SettingsScreen.prototype.selectTab):
(WebInspector.SettingsScreen.prototype._tabSelected):
(WebInspector.SettingsScreen.prototype.set wasShown):
(WebInspector.SettingsScreen.prototype.willHide):
(WebInspector.SettingsTab):
(WebInspector.SettingsTab.prototype._appendSection):
(WebInspector.SettingsTab.prototype._createCustomSetting):
(WebInspector.GenericSettingsTab):
(WebInspector.GenericSettingsTab.prototype._showPaintRectsChanged):
(WebInspector.GenericSettingsTab.prototype.get _updateScriptDisabledCheckbox):
(WebInspector.GenericSettingsTab.prototype._javaScriptDisabledChanged):
(WebInspector.UserAgentSettingsTab):
(WebInspector.UserAgentSettingsTab.prototype._createUserAgentSelectRowElement.get const):
(WebInspector.UserAgentSettingsTab.prototype._createUserAgentSelectRowElement.textDoubleClicked):
(WebInspector.UserAgentSettingsTab.prototype._createUserAgentSelectRowElement.textChanged):
(WebInspector.UserAgentSettingsTab.prototype._createUserAgentSelectRowElement.set checkboxClicked):
(WebInspector.UserAgentSettingsTab.prototype._createDeviceMetricsElement):
(WebInspector.ExperimentsSettingsTab):
(WebInspector.ExperimentsSettingsTab.prototype._createExperimentsWarningSubsection):
(WebInspector.ExperimentsSettingsTab.prototype._createExperimentCheckbox.listener):
(WebInspector.ExperimentsSettingsTab.prototype._createExperimentCheckbox):
- inspector/front-end/ShortcutsScreen.js:
- inspector/front-end/TabbedPane.js:
(WebInspector.TabbedPane.prototype.get headerContentsElement):
- inspector/front-end/helpScreen.css:
(.settings-tab.help-container):
(.settings-tab .help-block):
(.help-content fieldset):
(#settings-screen .tabbed-pane-header-tabs):
(#settings-screen .tabbed-pane-header-tab):
- 9:44 AM Changeset in webkit [120330] by
-
- 2 edits in trunk/LayoutTests
[Qt] New css3/flexbox/flexitem.html fails
https://bugs.webkit.org/show_bug.cgi?id=88963
Reviewed by Hajime Morita.
- css3/flexbox/flexitem.html: The height of the alt text was taller
than the height of the missing image placeholder graphic on Qt. To
get the same results, force the font size to something small.
The test still fails on Qt so leaving it in the Skipped file for now.
- 8:52 AM Changeset in webkit [120329] by
-
- 2 edits in trunk/Source/WebKit2
Chinese IM receives incorrect/duplicated key events in text fields in webpages in Safari.
<http://webkit.org/b/89048>
<rdar://problem/11449702>
Reviewed by Darin Adler.
Send the DidReceiveEvent message with the DispatchMessageEvenWhenWaitingForSyncReply flag
for keyboard events. This ensures that it always arrives before the corresponding synchronous
InterpretQueuedKeyEvent message.
The problem was that we relied on DidReceiveEvent / InterpretQueuedKeyEvent always arriving in
the same order they were sent. This was not always true, since DidReceiveEvent (async) would
get deferred during an unrelated waitForSyncReply() whereas InterpretQueuedKeyEvent (sync)
gets dispatched right away.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::keyEvent):
- 8:39 AM Changeset in webkit [120328] by
-
- 3 edits in trunk/Source/WebCore
Worker tear-down can re-enter JSC during GC finalization pt. 2
https://bugs.webkit.org/show_bug.cgi?id=88601
Reviewed by David Levin.
No new tests. Current regression tests are sufficient.
- workers/WorkerMessagingProxy.cpp:
(WebCore::WorkerMessagingProxy::WorkerMessagingProxy):
(WebCore::WorkerMessagingProxy::workerObjectDestroyed): We clear the m_workerObject here because
we don't want anybody else trying to send messages to the Worker now that it has been destroyed.
We also queue the asynchronous task for the various other cleanup that still needs to be done.
This allows us to avoid the problem of re-entrant JS code execution during GC.
(WebCore):
(WebCore::WorkerMessagingProxy::workerObjectDestroyedInternal): Here we set m_mayBeDestroyed to true.
This is the point after which deleting the WorkerMessagingProxy in workerContextDestroyedInternal()
is okay. It could happen during this function call if the worker thread has been shutdown already, or
it could be called later after we shut down the worker thread.
(WebCore::WorkerMessagingProxy::workerContextDestroyedInternal): We check m_mayBeDestroyed here
instead of checking m_workerObject. This change effectively orthogonalizes the roles that m_workerObject
was filling. Since we were eagerly clearing m_workerObject, but we wanted to asynchronously call
workerObjectDestroyed(), we needed to make sure we didn't accidentally try to delete the WorkerMessagingProxy
twice (once from destroying the Worker and once from destroying the WorkerContext). This boolean field
should fix that issue--we set it lazily like we wanted to do without being in danger of causing use-after-free
issues with m_workerObject.
- workers/WorkerMessagingProxy.h: Added the new field and function.
(WorkerMessagingProxy):
- 8:34 AM Changeset in webkit [120327] by
-
- 4 edits in trunk
Web Inspector: Selector list start position is not extracted for style rules inside @media rules
https://bugs.webkit.org/show_bug.cgi?id=89094
Reviewed by Pavel Feldman.
Source/WebCore:
Selector list start is now marked inside the "ruleset" rule rather than separately, before its invocation(s).
- css/CSSGrammar.y:
LayoutTests:
- inspector/audits/audits-panel-functional.html:
- 7:57 AM Changeset in webkit [120326] by
-
- 5 edits in trunk/Source/WebCore
[chromium] Fix race condition where animations start, finish and are deleted on the composite thread, all before the start even arrives on the main thread.
https://bugs.webkit.org/show_bug.cgi?id=88439
Patch by Eric Penner <epenner@google.com> on 2012-06-14
Reviewed by James Robinson.
Scheduling behavior covered by existing tests.
- platform/graphics/chromium/cc/CCActiveAnimation.cpp:
(WebCore::CCActiveAnimation::isFinishedAt):
- platform/graphics/chromium/cc/CCActiveAnimation.h:
(WebCore::CCActiveAnimation::isFinished):
- platform/graphics/chromium/cc/CCLayerAnimationController.cpp:
(WebCore::CCLayerAnimationController::suspendAnimations):
(WebCore::CCLayerAnimationController::pushAnimationUpdatesTo):
(WebCore::CCLayerAnimationController::animate):
(WebCore::CCLayerAnimationController::hasActiveAnimation):
(WebCore):
(WebCore::CCLayerAnimationController::markAnimationsForDeletion):
(WebCore::CCLayerAnimationController::purgeAnimationsMarkedForDeletion):
- platform/graphics/chromium/cc/CCLayerAnimationController.h:
(CCLayerAnimationController):
- 7:44 AM Changeset in webkit [120325] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: ConsoleView.evaluateUsingTextPrompt should evaluate without command line API.
https://bugs.webkit.org/show_bug.cgi?id=89096
Reviewed by Pavel Feldman.
- inspector/front-end/ConsoleView.js:
- 7:35 AM Changeset in webkit [120324] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] Unreviewed, build fix for Mac 10.5
- src/WebDevToolsAgentImpl.cpp:
(WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
- 7:15 AM Changeset in webkit [120323] by
-
- 15 edits in trunk/LayoutTests
[EFL] Tests rebaselining after r120167, r120246
https://bugs.webkit.org/show_bug.cgi?id=89069
Unreviewed EFL gardening after r120246 and r120167, updating baselines.
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-06-14
- platform/efl/fast/layers/video-layer-expected.txt:
- platform/efl/http/tests/misc/location-replace-crossdomain-expected.txt:
- platform/efl/media/audio-controls-rendering-expected.txt:
- platform/efl/media/audio-repaint-expected.txt:
- platform/efl/media/controls-after-reload-expected.txt:
- platform/efl/media/controls-strict-expected.txt:
- platform/efl/media/controls-styling-expected.txt:
- platform/efl/media/controls-without-preload-expected.txt:
- platform/efl/media/media-controls-clone-expected.txt:
- platform/efl/media/media-document-audio-repaint-expected.txt:
- platform/efl/media/video-controls-rendering-expected.txt:
- platform/efl/media/video-display-toggle-expected.txt:
- platform/efl/media/video-empty-source-expected.txt:
- platform/efl/media/video-zoom-controls-expected.txt:
- 7:01 AM Changeset in webkit [120322] by
-
- 10 edits in trunk/Source/WebCore
Update the time display of the new Chromium media controls.
https://bugs.webkit.org/show_bug.cgi?id=88724
Patch by Silvia Pfeiffer <silviapf@chromium.org> on 2012-06-14
Reviewed by Eric Carlson.
No new tests, final patch will contain the rebaselined tests.
The Chrome video controls are receiving a visual update. This patch changes
the format of the time digits that are displayed. They are different for media
files of different duration. For non-autoplaying videos, the duration is shown
before playback is started.
- css/mediaControlsChromium.css:
(audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display):
Format the new duration display the same as the current time display.
- html/shadow/MediaControlRootElementChromium.cpp:
(WebCore::MediaControlRootElementChromium::MediaControlRootElementChromium):
Add a member field for the duration display.
(WebCore::MediaControlRootElementChromium::create):
Add an element for the duration display and initially hide the current time display.
(WebCore::MediaControlRootElementChromium::setMediaController):
Add the duration display to the controller.
(WebCore::MediaControlRootElementChromium::reset):
Add reset functionality for the duration display.
(WebCore::MediaControlRootElementChromium::playbackStarted):
Show the current time display and hide the duration display upon playback start.
(WebCore::MediaControlRootElementChromium::updateTimeDisplay):
Show the current time display and hide the duration display when current time is non-zero.
- html/shadow/MediaControlRootElementChromium.h:
(WebCore):
Add the MediaControlTimeRemainingDisplayElement which provides use with the duration display.
(MediaControlRootElementChromium):
Add a duration member field, reusing the existing MediaControlTimeRemainingDisplayElement.
- rendering/RenderMediaControlsChromium.cpp:
(WebCore::formatChromiumMediaControlsTime):
Formats a given time under the condition of a given duration.
(WebCore::RenderMediaControlsChromium::formatMediaControlsTime):
When formatting a single time, assume it to also provide the duration conditions.
(WebCore::RenderMediaControlsChromium::formatMediaControlsCurrentTime):
Format the current time given the duration.
(WebCore::RenderMediaControlsChromium::formatMediaControlsRemainingTime):
Format the remaining time from the current time given the duration.
- rendering/RenderMediaControlsChromium.h:
(RenderMediaControlsChromium):
Declare the time formatting member functions.
- rendering/RenderThemeChromiumMac.h:
(RenderThemeChromiumMac):
Declare the time formatting member functions for Chromium on the Mac.
- rendering/RenderThemeChromiumMac.mm:
(WebCore::RenderThemeChromiumMac::formatMediaControlsTime):
(WebCore::RenderThemeChromiumMac::formatMediaControlsCurrentTime):
(WebCore::RenderThemeChromiumMac::formatMediaControlsRemainingTime):
Call the time formatting member functions of RenderMediaControlsChromium on the Mac.
- rendering/RenderThemeChromiumSkia.cpp:
(WebCore::formatMediaControlsTime):
(WebCore::formatMediaControlsCurrentTime):
(WebCore::formatMediaControlsRemainingTime):
Call the time formatting member functions of RenderMediaControlsChromium on Skia.
- rendering/RenderThemeChromiumSkia.h:
(RenderThemeChromiumSkia):
Declare the time formatting member functions for Chromium Skia.
- 6:58 AM Changeset in webkit [120321] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, test rebaseline after r120317.
- inspector/styles/override-screen-size-expected.txt:
- 6:54 AM Changeset in webkit [120320] by
-
- 2 edits in trunk/LayoutTests
[GTK] Mark fast/forms/text-input-event.html as flaky in TestExpectations
https://bugs.webkit.org/show_bug.cgi?id=89085
Unreviewed gardening. Mark test as flaky.
Patch by Simon Pena <Simon Pena> on 2012-06-14
- platform/gtk/TestExpectations:
- 6:52 AM Changeset in webkit [120319] by
-
- 20 edits1 delete in trunk/LayoutTests
[svg] SVGResources applied to Text with Incorrect Transformations in non-CG Implementations
https://bugs.webkit.org/show_bug.cgi?id=64966
Unreviewed Chromium test expectations update.
Bug fixed by Dominik Röttsches.
- platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
- platform/chromium-linux/svg/custom/js-late-gradient-and-object-creation-expected.png:
- platform/chromium-linux/svg/custom/js-late-gradient-creation-expected.png:
- platform/chromium-linux/svg/custom/js-late-pattern-creation-expected.png:
- platform/chromium-linux/svg/custom/text-rotated-gradient-expected.png:
- platform/chromium-mac-leopard/svg/custom/js-late-gradient-and-object-creation-expected.png:
- platform/chromium-mac-leopard/svg/custom/js-late-gradient-creation-expected.png:
- platform/chromium-mac-snowleopard/svg/custom/js-late-gradient-creation-expected.png: Removed.
- platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
- platform/chromium-mac/svg/custom/js-late-gradient-and-object-creation-expected.png:
- platform/chromium-mac/svg/custom/js-late-gradient-creation-expected.png:
- platform/chromium-mac/svg/custom/js-late-pattern-creation-expected.png:
- platform/chromium-mac/svg/custom/text-rotated-gradient-expected.png:
- platform/chromium-win-vista/svg/custom/js-late-gradient-and-object-creation-expected.png:
- platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
- platform/chromium-win/svg/custom/js-late-gradient-and-object-creation-expected.png:
- platform/chromium-win/svg/custom/js-late-gradient-creation-expected.png:
- platform/chromium-win/svg/custom/js-late-pattern-creation-expected.png:
- platform/chromium-win/svg/custom/text-rotated-gradient-expected.png:
- platform/chromium/TestExpectations:
- 6:26 AM Changeset in webkit [120318] by
-
- 13 edits in trunk/Source
Web Inspector: Refactor message loop instrumentation.
https://bugs.webkit.org/show_bug.cgi?id=88978
Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-06-14
Reviewed by Pavel Feldman.
1) Remove "messageLoop" term
2) Reuse WebThread::TaskObserver interface
3) Move implementation (from embedder) to platform code.
Source/Platform:
- chromium/public/WebThread.h:
(TaskObserver): add "willProcessTask" method.
Source/WebCore:
- inspector/InspectorClient.h:
(WebCore::InspectorClient::startMainThreadMonitoring): Renamed method.
(WebCore::InspectorClient::stopMainThreadMonitoring): Ditto.
- inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::start):
(WebCore::InspectorTimelineAgent::stop):
Source/WebKit/chromium:
- public/WebDevToolsAgent.h:
(WebDevToolsAgent):
- public/WebDevToolsAgentClient.h:
(WebDevToolsAgentClient):
(WebKit::WebDevToolsAgentClient::startMainThreadMonitoring): Renamed medthod.
(WebKit::WebDevToolsAgentClient::stopMainThreadMonitoring): Ditto.
- src/InspectorClientImpl.cpp:
(WebKit::InspectorClientImpl::startMainThreadMonitoring): Ditto.
(WebKit::InspectorClientImpl::stopMainThreadMonitoring): Ditto.
- src/InspectorClientImpl.h:
(InspectorClientImpl):
- src/WebDevToolsAgentImpl.cpp:
(WebKit::WebDevToolsAgentImpl::startMainThreadMonitoring): Use platform threading.
(WebKit::WebDevToolsAgentImpl::stopMainThreadMonitoring): Ditto.
(WebKit::WebDevToolsAgentImpl::willProcessTask): Renamed medthod.
(WebKit::WebDevToolsAgentImpl::didProcessTask): Ditto.
- src/WebDevToolsAgentImpl.h:
(WebDevToolsAgentImpl):
- src/WebKit.cpp:
- 6:05 AM Changeset in webkit [120317] by
-
- 5 edits in trunk
Web Inspector: [Device Metrics] "Fit window" results in duplicate rescaling in WebDevToolsAgentImpl::autoZoomPageToFitWidth()
https://bugs.webkit.org/show_bug.cgi?id=89092
Reviewed by Pavel Feldman.
Source/WebKit/chromium:
Do not apply the sizeRatio after it has been applied in scaledEmulatedFrameSize().
- src/WebDevToolsAgentImpl.cpp:
(WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
(WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
LayoutTests:
- platform/chromium/inspector/styles/device-metrics-fit-window-expected.txt:
- platform/chromium/inspector/styles/device-metrics-fit-window.html:
- 5:51 AM Changeset in webkit [120316] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening after r120314.
- platform/qt/Skipped: skip svg/transforms/transformed-text-fill-gradient.html
- 5:40 AM Changeset in webkit [120315] by
-
- 9 edits in trunk/Tools
Update pywebsocket to 0.7.6 from 0.7.4
https://bugs.webkit.org/show_bug.cgi?id=88975
Reviewed by Kent Tamura.
This new version of pywebsocket introduce following features.
- Allow handlers to send a close frame with empty body in response of
a client initiated closing handshake
- Implement perframe compression extension
- Support client certificate authentication
- Scripts/webkitpy/thirdparty/mod_pywebsocket/COPYING:
- Scripts/webkitpy/thirdparty/mod_pywebsocket/_stream_hybi.py:
(_create_control_frame):
(Stream._receive_frame):
(Stream.send_message):
(Stream.receive_message):
(Stream._send_closing_handshake):
(Stream.close_connection):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/common.py:
(ExtensionParsingException):
(ExtensionParsingException.init):
(_parse_extension_param):
(_parse_extension):
(parse_extensions):
(format_extension):
(format_extensions):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/extensions.py:
(_parse_compression_method):
(_create_accepted_method_desc):
(PerFrameCompressionExtensionProcessor):
(PerFrameCompressionExtensionProcessor.init):
(PerFrameCompressionExtensionProcessor._lookup_compression_processor):
(PerFrameCompressionExtensionProcessor._get_compression_processor_response):
(PerFrameCompressionExtensionProcessor.get_extension_response):
(PerFrameCompressionExtensionProcessor.setup_stream_options):
(PerFrameCompressionExtensionProcessor.get_compression_processor):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/_base.py:
(parse_token_list):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/hybi.py:
(Handshaker._parse_extensions):
(Handshaker._send_handshake):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/standalone.py:
(WebSocketServer._create_sockets):
(_get_logger_from_class):
(_configure_logging):
(_build_option_parser):
(_main.if):
- Scripts/webkitpy/thirdparty/mod_pywebsocket/util.py:
(RepeatedXorMasker.mask):
- 5:18 AM Changeset in webkit [120314] by
-
- 10 edits4 adds in trunk
[svg] SVGResources applied to Text with Incorrect Transformations in non-CG Implementations
https://bugs.webkit.org/show_bug.cgi?id=64966
Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-06-14
Reviewed by Nikolas Zimmermann.
Source/WebCore:
SVGInlineTextBox::paintTextWithShadows for non-CG implementations resets the scale aspect
of the currently applied CTM. This leads to patterns and gradients being incorrectly downscaled.
This way of resetting the CTM and drawing fonts "natively" scaled was introduced
in r77485 to fix a number of issues with SVG font scaling.
Unfortunately, this breaks scaling of patterns and gradients. To fix it,
we need to push the transformation back into the pattern/gradient space transformation.
Tests: svg/transforms/transformed-text-fill-gradient.html
svg/transforms/transformed-text-fill-pattern.html
- rendering/svg/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::computeNewScaledFontForStyle): Moving the scaling factor calculation out into SVGRenderingContext.
- rendering/svg/RenderSVGResourceContainer.cpp:
(WebCore::RenderSVGResourceContainer::shouldTransformOnTextPainting): Reusing the scaling factor calculation from SVGRenderingContext.
(WebCore):
- rendering/svg/RenderSVGResourceContainer.h:
(RenderSVGResourceContainer):
- rendering/svg/RenderSVGResourceGradient.cpp:
(WebCore::RenderSVGResourceGradient::applyResource): If needed, push down transformation into gradient space.
- rendering/svg/RenderSVGResourcePattern.cpp:
(WebCore::RenderSVGResourcePattern::applyResource): If needed, push transformation into pattern space.
- rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::calculateScreenFontSizeScalingFactor): Common scaling factor calculation for RenderSVGInlineText and RenderSVGResourceContainer.
- rendering/svg/SVGRenderingContext.h:
(SVGRenderingContext):
LayoutTests:
For Pattern: RefTest that compare a scaled rectangle with a scaled block of Ahem characters.
The pattern or gradient should scale in the same way for the text and the rectangle.
This approach needs a clipping path hack to work around micro gaps between Ahem characters
due to rounding.
For Gradient: Scaling text at two different scale factors and adjusting font size to yield the same effective text size.
Gradient fill should be identical in both cases.
- platform/chromium/TestExpectations: Added 3 tests that need rebaselining for text gradient fills.
- svg/transforms/transformed-text-fill-gradient-expected.html: Added.
- svg/transforms/transformed-text-fill-gradient.html: Added.
- svg/transforms/transformed-text-fill-pattern-expected.html: Added.
- svg/transforms/transformed-text-fill-pattern.html: Added.
- 4:53 AM Changeset in webkit [120313] by
-
- 24 edits in trunk/Source/WebCore
[Form] Replace InputNumber type to Decimal type and drop InputNumber
https://bugs.webkit.org/show_bug.cgi?id=88746
Reviewed by Kent Tamura.
This patch removes InputNumber introduced by r119540 by replacing
InputNumber type to Decimal type and changing convertDoubleToDecimal
and convertDecimalToDouble to Decimal::fromDouble and
Decimal::toDouble, respectively.
No new tests. This patch doesn't change behavior.
- html/BaseDateAndTimeInputType.cpp:
(WebCore::BaseDateAndTimeInputType::setValueAsDecimal):
(WebCore::BaseDateAndTimeInputType::defaultValueForStepUp):
(WebCore::BaseDateAndTimeInputType::parseToNumber):
(WebCore::BaseDateAndTimeInputType::serialize):
(WebCore::BaseDateAndTimeInputType::serializeWithComponents):
(WebCore::BaseDateAndTimeInputType::serializeWithMilliseconds):
- html/BaseDateAndTimeInputType.h:
(BaseDateAndTimeInputType):
- html/DateInputType.cpp:
(WebCore::DateInputType::createStepRange):
- html/DateTimeInputType.cpp:
(WebCore::DateTimeInputType::defaultValueForStepUp):
(WebCore::DateTimeInputType::createStepRange):
- html/DateTimeInputType.h:
(DateTimeInputType):
- html/DateTimeLocalInputType.cpp:
(WebCore::DateTimeLocalInputType::createStepRange):
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::getAllowedValueStep):
- html/HTMLInputElement.h:
(HTMLInputElement):
- html/InputType.cpp:
(WebCore::InputType::setValueAsDouble):
(WebCore::InputType::setValueAsDecimal):
(WebCore::InputType::rangeUnderflow):
(WebCore::InputType::rangeOverflow):
(WebCore::InputType::defaultValueForStepUp):
(WebCore::InputType::minimum):
(WebCore::InputType::maximum):
(WebCore::InputType::isInRange):
(WebCore::InputType::isOutOfRange):
(WebCore::InputType::stepMismatch):
(WebCore::InputType::validationMessage):
(WebCore::InputType::parseToNumber):
(WebCore::InputType::parseToNumberOrNaN):
(WebCore::InputType::serialize):
(WebCore::InputType::applyStep):
(WebCore::InputType::getAllowedValueStep):
(WebCore::InputType::stepUpFromRenderer):
- html/InputType.h:
(InputType):
- html/MonthInputType.cpp:
(WebCore::MonthInputType::defaultValueForStepUp):
(WebCore::MonthInputType::createStepRange):
(WebCore::MonthInputType::parseToNumber):
- html/MonthInputType.h:
(MonthInputType):
- html/NumberInputType.cpp:
(WebCore::NumberInputType::setValueAsDecimal):
(WebCore::NumberInputType::createStepRange):
(WebCore::NumberInputType::parseToNumber):
(WebCore::NumberInputType::serialize):
- html/NumberInputType.h:
(NumberInputType):
- html/RangeInputType.cpp:
(WebCore::ensureMaximum):
(WebCore::RangeInputType::setValueAsDecimal):
(WebCore::RangeInputType::createStepRange):
(WebCore::RangeInputType::handleKeydownEvent):
(WebCore::RangeInputType::parseToNumber):
(WebCore::RangeInputType::serialize):
(WebCore::RangeInputType::sanitizeValue):
- html/RangeInputType.h:
(RangeInputType):
- html/StepRange.cpp:
(WebCore::StepRange::StepRange):
(WebCore::StepRange::acceptableError):
(WebCore::StepRange::alignValueForStep):
(WebCore::StepRange::clampValue):
(WebCore::StepRange::parseStep):
(WebCore::StepRange::roundByStep):
(WebCore::StepRange::stepMismatch):
- html/StepRange.h:
(WebCore::StepRange::StepDescription::defaultValue):
(StepRange):
(WebCore::StepRange::maximum):
(WebCore::StepRange::minimum):
(WebCore::StepRange::step):
(WebCore::StepRange::stepBase):
(WebCore::StepRange::defaultValue):
(WebCore::StepRange::proportionFromValue):
(WebCore::StepRange::valueFromProportion):
- html/TimeInputType.cpp:
(WebCore::TimeInputType::defaultValueForStepUp):
(WebCore::TimeInputType::createStepRange):
- html/TimeInputType.h:
(TimeInputType):
- html/WeekInputType.cpp:
(WebCore::WeekInputType::createStepRange):
- html/shadow/CalendarPickerElement.cpp:
(WebCore::CalendarPickerElement::writeDocument):
- html/shadow/SliderThumbElement.cpp:
(WebCore::sliderPosition):
(WebCore::RenderSliderThumb::layout):
(WebCore::SliderThumbElement::setPositionFromPoint):
- 3:57 AM Changeset in webkit [120312] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium][Forms] We should remove ENABLE_INPUT_TYPE_TIME=0 and so on to allows us to override them by ~/.gyp/include.gypi
https://bugs.webkit.org/show_bug.cgi?id=89062
Reviewed by Kent Tamura.
This patch removes ENABLE_INPUT_TYPE_*=0 from default entry of feature_defines to
allows us overriding by ~/.gyp/include.gypi
- features.gypi: Remove ENABLE_INPUT_TYPE_DATETIME=0, ENABLE_INPUT_TYPE_DATETIMELOCAL=0,
and so on.
- 3:34 AM Changeset in webkit [120311] by
-
- 6 edits in trunk
Web Inspector: Implement ExtensionPanel.show() method
https://bugs.webkit.org/show_bug.cgi?id=88473
Source/WebCore:
Implemented ExtensionPanel.show() API method to allow extension
developers to show their panel when needed.
Patch by Jan Keromnes <janx@linux.com> on 2012-06-14
Reviewed by Pavel Feldman.
Tests for this method are in:
LayoutTests/inspector/extensions/extensions-panel.html
- inspector/front-end/ExtensionAPI.js:
(defineCommonExtensionSymbols):
(injectedExtensionAPI.ExtensionPanelImpl.prototype.createStatusBarButton):
(injectedExtensionAPI.ExtensionPanelImpl.prototype.show):
- inspector/front-end/ExtensionServer.js:
(WebInspector.ExtensionServer):
(WebInspector.ExtensionServer.prototype._onShowPanel):
LayoutTests:
Add output for ExtensionPanel callbacks, and use ExtensionPanel.show()
to show the panel. Fix expected.
Patch by Jan Keromnes <janx@linux.com> on 2012-06-14
Reviewed by Pavel Feldman.
- inspector/extensions/extensions-panel-expected.txt:
- inspector/extensions/extensions-panel.html:
- 3:31 AM Changeset in webkit [120310] by
-
- 2 edits in trunk/Tools
[Qt] Remove USE(QT_IMAGE_DECODER) macro, since we don't use it anymore
Reviewed by Noam Rosenthal.
- qmake/mkspecs/features/features.prf:
- 3:27 AM Changeset in webkit [120309] by
-
- 3 edits in trunk/Source/WebCore
Fix a typo in r120304.
https://bugs.webkit.org/show_bug.cgi?id=89070
- bindings/scripts/CodeGeneratorV8.pm:
(NativeToJSValue):
- bindings/scripts/test/V8/V8TestObj.cpp:
- 3:20 AM Changeset in webkit [120308] by
-
- 8 edits in trunk
Add dpcm to css3-images image-resolution
https://bugs.webkit.org/show_bug.cgi?id=85442
Patch by David Barr <davidbarr@chromium.org> on 2012-06-14
Reviewed by Tony Chang.
Source/WebCore:
The css3-images module is at candidate recommendation.
http://www.w3.org/TR/2012/CR-css3-images-20120417/#the-image-resolution
No new tests; extended fast/css/image-resolution/image-resolution.html
- css/CSSGrammar.y: Add DPCM token and unary term.
- css/CSSParser.cpp: Extend range of units accepted for resolution and tokenize "dpcm".
(WebCore::CSSParser::validUnit): Accept CSSPrimitiveValue::CSS_DPCM.
(WebCore::CSSParser::createPrimitiveNumericValue): Accept CSSPrimitiveValue::CSS_DPCM.
(WebCore::unitFromString): Map "dpcm" to CSSPrimitiveValue::CSS_DPCM.
(WebCore::CSSParser::parseValidPrimitive): Accept CSSPrimitiveValue::CSS_DPCM.
(WebCore::CSSParser::detectNumberToken): Map "dpcm" to CSSPrimitiveValue::CSS_DPCM.
- css/CSSPrimitiveValue.cpp: Add CSSPrimitiveValue::CSS_DPCM as a numeric unit.
(WebCore::isValidCSSUnitTypeForDoubleConversion): Accept CSSPrimitiveValue::CSS_DPCM.
(WebCore::unitCategory): Map CSSPrimitiveValue::CSS_DPCM to CSSPrimitiveValue::UResolution.
(WebCore::conversionToCanonicalUnitsScaleFactor): Scale CSSPrimitiveValue::CSS_DPCM to CSSPrimitiveValue::CSS_DPPX.
(WebCore::CSSPrimitiveValue::customCssText): Format CSSPrimitiveValue::CSS_DPCM as "<num>dpcm".
(WebCore::CSSPrimitiveValue::cloneForCSSOM): Accept CSSPrimitiveValue::CSS_DPCM as numeric unit.
- css/CSSPrimitiveValue.h: Add CSSPrimitiveValue::CSS_DPCM.
LayoutTests:
- fast/css/image-resolution/image-resolution-expected.txt:
- fast/css/image-resolution/image-resolution.html:
- 3:16 AM Changeset in webkit [120307] by
-
- 1 edit in branches/chromium/1132/Source/WebCore/inspector/front-end/DebuggerPresentationModel.js
Merge 120214 - Web Inspector: Errors when pending console messages are attached to JavaScriptSourceFrame.
https://bugs.webkit.org/show_bug.cgi?id=88712
Reviewed by Pavel Feldman.
- inspector/front-end/PresentationConsoleMessageHelper.js:
(WebInspector.PresentationConsoleMessageHelper):
(WebInspector.PresentationConsoleMessageHelper.prototype._addPendingConsoleMessage):
(WebInspector.PresentationConsoleMessageHelper.prototype._parsedScriptSource):
TBR=vsevik@chromium.org
BUG=132449
---All lines above this line become the description.
---Repository Root: /home/vsevik/webkit_merges/drover_120214_1132/1132
---Paths in this changelist (120214):
---Paths modified but not in any changelist:
! Source/WebCore/inspector/front-end/PresentationConsoleMessageHelper.js
Review URL: https://chromiumcodereview.appspot.com/10548044
- 3:13 AM Changeset in webkit [120306] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: REGRESSION HeapProfiler can't remove heap snapshot from the list if Dominators view has been opened.
https://bugs.webkit.org/show_bug.cgi?id=89080
There was no dispose method on artificial ShowMoreDataGrid node.
Reviewed by Pavel Feldman.
- inspector/front-end/ShowMoreDataGridNode.js:
(WebInspector.ShowMoreDataGridNode.prototype.nodeHeight):
(WebInspector.ShowMoreDataGridNode.prototype.dispose):
- 3:10 AM Changeset in webkit [120305] by
-
- 8 edits2 adds in trunk/Source/WebKit2
[GTK] Add input methods submenu item to the default context menu for editable content
https://bugs.webkit.org/show_bug.cgi?id=80600
Reviewed by Martin Robinson.
- GNUmakefile.am: Add new files to compilation.
- UIProcess/API/gtk/WebKitContextMenuClient.cpp: Added.
(getContextMenuFromProposedMenu): Call webkitWebViewContextMenu().
(attachContextMenuClientToView): Add implementation for
getContextMenuFromProposedMenu callback.
- UIProcess/API/gtk/WebKitContextMenuClient.h: Added.
- UIProcess/API/gtk/WebKitWebView.cpp:
(webkitWebViewConstructed): Attach context menu client to view.
(webkitWebViewCreateAndAppendDefaultMenuItems): Helper function to
add default context menu items to the new context menu items vector.
(webkitWebViewShouldShowInputMethodsMenu): Helper function to
check whether to show the input methods submenu according to the
gtk-show-input-method-menu GTK+ setting.
(webkitWebViewCreateAndAppendInputMethodsMenuItem): Helper
function to add input methods submenu to the new context menu
items vector.
(webkitWebViewContextMenu): Create a new context menu items vector
containing default items and input methods submenu in case of
editable content. The active content menu is populated using that
new vector.
- UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseSetActiveContextMenu): Set the active context menu.
(webkitWebViewBaseGetActiveContextMenu): Get the active context menu.
- UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
- UIProcess/API/gtk/WebKitWebViewPrivate.h:
- UIProcess/gtk/WebContextMenuProxyGtk.cpp:
(WebKit::WebContextMenuProxyGtk::append): Helper method to add a
new item to the context menu.
(WebKit::WebContextMenuProxyGtk::populate): Add items to the
context menu.
(WebKit::WebContextMenuProxyGtk::showContextMenu): Populate the
menu with the given items and popup the menu if it's not empty.
(WebKit::WebContextMenuProxyGtk::hideContextMenu): Get the GtkMenu
from the WebCore ContextMenu to popdown it.
(WebKit::WebContextMenuProxyGtk::WebContextMenuProxyGtk): Call
webkitWebViewBaseSetActiveContextMenu() to set the menu as the current
active one for the view.
(WebKit::WebContextMenuProxyGtk::~WebContextMenuProxyGtk): Call
webkitWebViewBaseSetActiveContextMenu() with NULL to reset the
current active context of the view. GtkMenu is destroyed by
WebCore ContextMenu in its destructor.
- UIProcess/gtk/WebContextMenuProxyGtk.h:
- 2:59 AM Changeset in webkit [120304] by
-
- 9 edits in trunk/Source/WebCore
[JSC/V8] Improve DOMString[] support
https://bugs.webkit.org/show_bug.cgi?id=89070
Reviewed by Kentaro Hara.
Tests: new test case in TestObj.idl
- bindings/js/JSDOMBinding.cpp:
(WebCore::jsArray): Implement jsArray() for DOMStringList.
- bindings/js/JSDOMBinding.h: Declare jsArray() for DOMStringList.
- bindings/scripts/CodeGeneratorJS.pm:
(NativeToJSValue): Avoid to include JSDOMString.h and DOMString.h.
- bindings/scripts/CodeGeneratorV8.pm:
(GetNativeType): Move a check for DOMString[] because it's a RefPtr type
and we'd like to avoid to generate RefPtr<DOMString[]>
(%non_wrapper_types): DOMString[] is not a wrapper type. This is needed
to avoid to generate unnecessary custom function template.
(NativeToJSValue): Avoid to include V8DOMString.h and DOMString.h.
- bindings/scripts/test/TestObj.idl: Add non-overload function using DOMString[].
- bindings/scripts/test/JS/JSTestObj.cpp: Update expectation.
- bindings/scripts/test/JS/JSTestObj.h: ditto.
- bindings/scripts/test/V8/V8TestObj.cpp: ditto.
- 2:56 AM Changeset in webkit [120303] by
-
- 3 edits2 adds in trunk
LocaleToScriptMappingDefault.cpp should also do what scriptCodeForFontSelection does in LocaleToScriptMappingICU.cpp
https://bugs.webkit.org/show_bug.cgi?id=88845
Patch by Matt Falkenhagen <falken@chromium.org> on 2012-06-14
Reviewed by Kent Tamura.
Source/WebCore:
Test: fast/text/international/jpan-script-equivalence.html
- platform/text/LocaleToScriptMappingDefault.cpp:
(WebCore::scriptNameToCode):
LayoutTests:
- fast/text/international/jpan-script-equivalence-expected.html: Added.
- fast/text/international/jpan-script-equivalence.html: Added.
- 2:52 AM Changeset in webkit [120302] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: render dock-to-right icon in status bar.
https://bugs.webkit.org/show_bug.cgi?id=89040
Reviewed by Vsevolod Vlasov.
Today we render dock to bottom icon for both actions (dock to bottom and dock to right).
- inspector/front-end/Images/statusbarButtonGlyphs.png:
- inspector/front-end/inspector.css:
(button.dock-status-bar-item.status-bar-item.toggled-undock .glyph):
(button.dock-status-bar-item.status-bar-item.toggled-bottom .glyph):
(button.dock-status-bar-item.status-bar-item.toggled-right .glyph):
- inspector/front-end/inspector.js:
(WebInspector._createGlobalStatusBarItems):
(WebInspector._installDockToRight.listener):
(windowLoaded):
(WebInspector.setDockingUnavailable):
- 2:43 AM Changeset in webkit [120301] by
-
- 19 edits4 adds in trunk
[WK2] Add implementation for registerIntentService in WebFrameLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=88399
Patch by Christophe Dumez <Christophe Dumez> on 2012-06-14
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
Add implementation for registerIntentService() in
WebFrameLoaderClient.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Shared/API/c/WKBase.h:
- Shared/APIClientTraits.h:
- Shared/APIObject.h:
- Shared/IntentServiceInfo.cpp: Added.
(WebKit):
(WebKit::IntentServiceInfo::encode):
(WebKit::IntentServiceInfo::decode):
- Shared/IntentServiceInfo.h: Added.
(CoreIPC):
(WebKit):
(IntentServiceInfo):
- Target.pri:
- UIProcess/API/C/WKAPICast.h:
(WebKit):
- UIProcess/API/C/WKPage.h:
- UIProcess/API/gtk/WebKitLoaderClient.cpp:
(attachLoaderClientToView):
- UIProcess/WebIntentServiceInfo.cpp: Added.
(WebKit):
(WebKit::WebIntentServiceInfo::WebIntentServiceInfo):
- UIProcess/WebIntentServiceInfo.h: Added.
(WebKit):
(WebIntentServiceInfo):
(WebKit::WebIntentServiceInfo::create):
(WebKit::WebIntentServiceInfo::~WebIntentServiceInfo):
(WebKit::WebIntentServiceInfo::action):
(WebKit::WebIntentServiceInfo::payloadType):
(WebKit::WebIntentServiceInfo::href):
(WebKit::WebIntentServiceInfo::title):
(WebKit::WebIntentServiceInfo::disposition):
(WebKit::WebIntentServiceInfo::type):
- UIProcess/WebLoaderClient.cpp:
(WebKit):
(WebKit::WebLoaderClient::registerIntentServiceForFrame):
- UIProcess/WebLoaderClient.h:
(WebKit):
(WebLoaderClient):
- UIProcess/WebPageProxy.cpp:
(WebKit):
(WebKit::WebPageProxy::registerIntentServiceForFrame):
- UIProcess/WebPageProxy.h:
(WebKit):
(WebPageProxy):
- UIProcess/WebPageProxy.messages.in:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit):
(WebKit::WebFrameLoaderClient::registerIntentService):
- WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
(WebFrameLoaderClient):
Tools:
Update initialization of WKPageLoaderClient.
- MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController awakeFromNib]):
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):
- 2:32 AM Changeset in webkit [120300] by
-
- 4 edits1 add in trunk
[Blackberry] add a new Api named setAllowNotification
https://bugs.webkit.org/show_bug.cgi?id=88950
Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-06-14
Reviewed by Antonio Gomes.
.:
Add a new API named setAllowNotification in webpage class to
let client set those allowed domains into notifications.
Test case:
- ManualTests/blackberry/notification.html: Added.
Source/WebKit/blackberry:
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::setAllowNotification):
(WebKit):
- Api/WebPage.h:
- 2:31 AM Changeset in webkit [120299] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: clear execution live before the text edit.
https://bugs.webkit.org/show_bug.cgi?id=89016
Reviewed by Vsevolod Vlasov.
Otherwise we can't remove them after committing the edit.
- inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.beforeTextChanged):
(WebInspector.JavaScriptSourceFrame.prototype.clearExecutionLine):
- 2:25 AM Changeset in webkit [120298] by
-
- 5 edits in trunk/Source
Remove the const keyword from MediaPlayerPrivate::enterFullscreen()
https://bugs.webkit.org/show_bug.cgi?id=89044
Patch by Min Qin <qinmin@google.com> on 2012-06-14
Reviewed by Adam Barth.
Source/WebCore:
enterFullscreen() and exitFullscreen() could both modify the player state.
This change reverts the change we made in r120213.
Just function declaration change, no test needed.
- platform/graphics/MediaPlayerPrivate.h:
(WebCore::MediaPlayerPrivateInterface::enterFullscreen):
Source/WebKit/chromium:
enterFullscreen() should be treated similarly as exitFullscreen() as it could alter the player state.
This reverts the change from r120213.
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::enterFullscreen):
- src/WebMediaPlayerClientImpl.h:
(WebMediaPlayerClientImpl):
- 1:40 AM Changeset in webkit [120297] by
-
- 9 edits in trunk/Source/WebKit2
[WK2] Add WKHitTestResultIsContentEditable()
https://bugs.webkit.org/show_bug.cgi?id=80597
Reviewed by Martin Robinson.
- Shared/WebHitTestResult.cpp:
(WebKit::WebHitTestResult::Data::encode): Encode isContentEditable.
(WebKit::WebHitTestResult::Data::decode): Decode isContentEditable.
- Shared/WebHitTestResult.h:
(Data): Add isContentEditable.
(WebKit::WebHitTestResult::Data::Data): Initialize
isContentEditable.
(WebKit::WebHitTestResult::isContentEditable): Returns whether
hit test result target is editable content.
- UIProcess/API/C/WKHitTestResult.cpp:
(WKHitTestResultIsContentEditable): C API to get whether hit test
result target is editable content.
- UIProcess/API/C/WKHitTestResult.h:
- UIProcess/API/gtk/WebKitHitTestResult.cpp:
(webkitHitTestResultCreate): Add
WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE flags to the context if
hit test result target is editable content.
(webkit_hit_test_result_context_is_editable): Returns TRUE if
WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE flags is present in
context.
- UIProcess/API/gtk/WebKitHitTestResult.h:
- UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbols.
- UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
(testWebViewMouseTarget): Add tests for
WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE.
- 1:31 AM Changeset in webkit [120296] by
-
- 7 edits in trunk
el.getAttribute('type') returns 'null' when setting el.type to null
https://bugs.webkit.org/show_bug.cgi?id=89030
Patch by Edaena Salinas Jasso <edaena@apple.com> on 2012-06-14
Reviewed by Alexey Proskuryakov.
Source/WebCore:
Test: fast/dom/HTMLButtonElement/change-type.html
- html/HTMLButtonElement.cpp:
(WebCore::HTMLButtonElement::setType): Changed parameter to be AtomicString to
address an unrelated review comment from bug 14439 for slightly better performance.
- html/HTMLButtonElement.h:
(HTMLButtonElement): Changed parameter to be AtomicString to address an unrelated
review comment from bug 14439 for slightly better performance.
- html/HTMLButtonElement.idl: Specified TreatNullAs NullString for the type attribute.
LayoutTests:
- fast/dom/HTMLButtonElement/change-type-expected.txt: Updated the expected output
so that it matches the null return type of getAttribute('type').
- fast/dom/HTMLButtonElement/change-type.html: Change test of getAttribute('type')
to be null instead of 'null'. Addressed and unrelated review comment from bug 14439
about how 'undefined' is specified in the shouldBe function.
- 1:06 AM Changeset in webkit [120295] by
-
- 20 edits in trunk
IndexedDB: Creating a transaction from within a transaction callback should fail
https://bugs.webkit.org/show_bug.cgi?id=80547
Patch by Alec Flett <alecflett@chromium.org> on 2012-06-14
Reviewed by Tony Chang.
Source/WebCore:
Prevent creation of a transaction, via IDBDatabase.transaction()
or IDBDatabase.setVersion(), from inside a setVersion()
transaction, as per spec. Update many tests to deal with this.
Test restructuring uncovered some inconsistencies in transaction
mode handling. So also do some minor cleanup in the way the
transaction mode is passed between the frontend and backend
transaction objects, and add additional asserts.
- Modules/indexeddb/IDBCursor.cpp:
(WebCore::IDBCursor::update):
- Modules/indexeddb/IDBCursorBackendImpl.cpp:
(WebCore::IDBCursorBackendImpl::update):
- Modules/indexeddb/IDBDatabase.cpp:
(WebCore::IDBDatabase::setVersion):
(WebCore::IDBDatabase::transaction):
- Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
(WebCore::IDBObjectStoreBackendImpl::putInternal):
- Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::onSuccess):
- Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::create):
(WebCore::IDBTransaction::IDBTransaction):
(WebCore::IDBTransaction::stringToMode):
(WebCore::IDBTransaction::modeToString):
- Modules/indexeddb/IDBTransaction.h:
(IDBTransaction):
LayoutTests:
- storage/indexeddb/cursor-update-expected.txt:
- storage/indexeddb/database-basics-expected.txt:
- storage/indexeddb/mozilla/cursor-update-updates-indexes-expected.txt:
- storage/indexeddb/mozilla/resources/cursor-update-updates-indexes.js:
(setupObjectStoreAndCreateIndexAndAdd.transaction.oncomplete):
(setupObjectStoreAndCreateIndexAndAdd):
- storage/indexeddb/mozilla/resources/object-store-remove-values.js:
(createObjectStore):
(finalCheck):
- storage/indexeddb/mozilla/resources/remove-objectstore.js:
(createAndPopulateObjectStore):
(postSetVersion2.request.onsuccess):
(postSetVersion2):
(deleteSecondObjectStore):
- storage/indexeddb/resources/cursor-update.js:
(openBasicCursor):
(keyCursor):
(testReadOnly):
(attemptUpdate):
- storage/indexeddb/resources/database-basics.js:
(openSuccess.request.onsuccess):
(openSuccess):
(setVersionSuccess.request.onsuccess):
(setVersionSuccess):
(createObjectStore):
- storage/indexeddb/resources/version-change-exclusive.js:
(test):
- storage/indexeddb/version-change-exclusive-expected.txt:
- 1:00 AM Changeset in webkit [120294] by
-
- 7 edits in trunk
[EFL] [DRT] Implement setDomainRelaxationForbiddenForURLScheme in EFL DRT
https://bugs.webkit.org/show_bug.cgi?id=84577
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-06-14
Reviewed by Ryosuke Niwa.
Source/WebKit/efl:
Add missing implementation setDomainRelaxationForbiddenForURLScheme to
EFL's DumpRenderTreeSupport to allow disabling domain relaxation.
- WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::setDomainRelaxationForbiddenForURLScheme):
- WebCoreSupport/DumpRenderTreeSupportEfl.h:
Tools:
Add missing implementation setDomainRelaxationForbiddenForURLScheme to EFL's
LayoutTestController.
- DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
LayoutTests:
Unskip http/tests/security/setDomainRelaxationForbiddenForURLScheme.html
- platform/efl/Skipped:
- 12:52 AM Changeset in webkit [120293] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening. Updating baseline after r120257.
Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-06-14
- fast/table/max-width-integer-overflow-expected.txt:
- 12:36 AM Changeset in webkit [120292] by
-
- 4 edits in trunk/Source/WebKit/chromium
[chromium] Rename WebFrameClient::userAgent() to better reflect what it does
https://bugs.webkit.org/show_bug.cgi?id=89028
Patch by Dan Alcantara <dfalcantara@chromium.org> on 2012-06-14
Reviewed by Adam Barth.
Renames WebFrameClient::userAgent() to userAgentOverride() and makes it return
the user agent override string directly.
- public/WebFrameClient.h:
(WebFrameClient):
(WebKit::WebFrameClient::userAgentOverride):
- src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::userAgent):
- tests/FrameLoaderClientImplTest.cpp:
- 12:22 AM Changeset in webkit [120291] by
-
- 8 edits in trunk
[WebSocket] WebSocket object in Worker Context should fire error event when it fails connection.
https://bugs.webkit.org/show_bug.cgi?id=88744
Patch by Li Yin <li.yin@intel.com> on 2012-06-14
Reviewed by Kent Tamura.
Source/WebCore:
Spec:http://dev.w3.org/html5/websockets/#feedback-from-the-protocol
The behavior of firing error event in Document has been implemented in Committed r117944.
WebSocket in WorkerContext is also required to fire error event.
Test: http/tests/websocket/tests/hybi/workers/close.html
- Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageError):
(WebCore):
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageErrorCallback):
- Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
(ThreadableWebSocketChannelClientWrapper):
- Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
(WebCore::workerContextDidReceiveMessageError):
(WebCore):
(WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessageError):
- Modules/websockets/WorkerThreadableWebSocketChannel.h:
(Peer):
LayoutTests:
- http/tests/websocket/tests/hybi/workers/close-expected.txt:
- http/tests/websocket/tests/hybi/workers/resources/close.js:
(testPassed):
(runCodeTest.else.ws.onerror):
(runCodeTest):
(runReasonTest.else.ws.onerror):
(runReasonTest):
- 12:04 AM Changeset in webkit [120290] by
-
- 2 edits in trunk/Source/WebKit2
[WK2] Fix client interface size for WKPageLoaderClient.
https://bugs.webkit.org/show_bug.cgi?id=88764
Reviewed by Anders Carlsson.
Fixes offset of WKPageLoaderClient for version 0 by adding didDetectXSSForFrame.
The offset should be off the first new callback that was added in the new version.
- Shared/APIClientTraits.cpp:
(WebKit):
Jun 13, 2012:
- 11:56 PM Changeset in webkit [120289] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed build fix attempt for r120285
- Modules/filesystem/DOMFileSystemBase.cpp:
(WebCore):
- 11:54 PM Changeset in webkit [120288] by
-
- 13 edits in trunk/Source/WebCore
Unreviewed expectation update.
- bindings/scripts/test/V8/V8Float64Array.cpp:
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
- bindings/scripts/test/V8/V8TestException.cpp:
- bindings/scripts/test/V8/V8TestInterface.cpp:
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
- bindings/scripts/test/V8/V8TestNode.cpp:
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::V8TestObj::installPerContextProperties):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
- 11:47 PM Changeset in webkit [120287] by
-
- 15 edits1 add in trunk/LayoutTests
Unreviewed GTK gardening after r120246 and r120257, updating baselines.
- platform/gtk/fast/hidpi/video-controls-in-hidpi-expected.txt:
- platform/gtk/fast/layers/video-layer-expected.txt:
- platform/gtk/fast/table/max-width-integer-overflow-expected.txt: Added.
- platform/gtk/media/audio-controls-rendering-expected.txt:
- platform/gtk/media/audio-repaint-expected.txt:
- platform/gtk/media/controls-strict-expected.txt:
- platform/gtk/media/controls-styling-expected.txt:
- platform/gtk/media/controls-without-preload-expected.txt:
- platform/gtk/media/media-controls-clone-expected.txt:
- platform/gtk/media/media-document-audio-repaint-expected.txt:
- platform/gtk/media/video-controls-rendering-expected.txt:
- platform/gtk/media/video-empty-source-expected.txt:
- platform/gtk/media/video-no-audio-expected.txt:
- platform/gtk/media/video-volume-slider-expected.txt:
- platform/gtk/media/video-zoom-controls-expected.txt:
- 11:43 PM Changeset in webkit [120286] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed: Update expectations
https://bugs.webkit.org/show_bug.cgi?id=88949
http/tests/media/media-source/video-media-source-add-and-remove-ids.html
is passing on canary bots but producing text diffs on the WebKit
waterfall. As noted in the bug, I believe the text diffs are
timing-related.
- platform/chromium/TestExpectations:
- 11:41 PM Changeset in webkit [120285] by
-
- 9 edits1 delete in trunk/Source
Move isolated file system code out of chromium-specific directory
https://bugs.webkit.org/show_bug.cgi?id=88997
Reviewed by Adam Barth.
The code does not need to be chromium-specific. Any platforms that
have file system implementation and manage mappings from file system
id to a set of files should share the code.
No new tests as this has no functional/behavioral changes.
- Modules/filesystem/DOMFileSystem.cpp:
(WebCore::DOMFileSystem::createIsolatedFileSystem):
(WebCore):
- Modules/filesystem/DOMFileSystem.h:
(DOMFileSystem):
- Modules/filesystem/DOMFileSystemBase.h:
(DOMFileSystemBase):
- Modules/filesystem/FileSystemType.h:
- Modules/filesystem/chromium/DOMFileSystemChromium.cpp:
- Modules/filesystem/chromium/DOMFileSystemChromium.h: Removed.
- Modules/filesystem/chromium/DraggedIsolatedFileSystem.cpp:
(WebCore::DraggedIsolatedFileSystem::getDOMFileSystem):
- WebCore.gypi:
- 11:31 PM Changeset in webkit [120284] by
-
- 3 edits in trunk/Source/WebKit/chromium
[Chromium] Add WebDocument.images
https://bugs.webkit.org/show_bug.cgi?id=88837
Patch by Jesse Greenwald <jgreenwald@google.com> on 2012-06-13
Reviewed by Adam Barth.
This method is needed on Android to support the existing
WebView.documentHasImages Java API.
- public/WebDocument.h:
(WebDocument):
- src/WebDocument.cpp:
(WebKit::WebDocument::images):
(WebKit):
- 11:30 PM Changeset in webkit [120283] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed: Disable verifyHitTestingForSingleLayer.
https://bugs.webkit.org/show_bug.cgi?id=89065
It is failing on canary debug bots.
- tests/CCLayerTreeHostCommonTest.cpp:
- 11:17 PM Changeset in webkit [120282] by
-
- 13 edits in trunk/Source/WebCore
File::lastModifiedDate should use NaN or separate boolean flag for null Date value
https://bugs.webkit.org/show_bug.cgi?id=87826
Reviewed by Kent Tamura.
Test: http/tests/local/fileapi/file-last-modified-after-delete.html
- fileapi/File.cpp:
(WebCore::File::File):
(WebCore::File::captureSnapshot):
(WebCore::File::lastModifiedDate):
(WebCore::File::lastModifiedDateForBinding): Removed.
- fileapi/File.h:
(File):
- fileapi/File.idl:
- platform/FileMetadata.h:
(WebCore::FileMetadata::FileMetadata):
- platform/FileSystem.h:
- platform/FileStream.cpp:
(WebCore::FileStream::getSize):
- platform/chromium/support/WebHTTPBody.cpp:
(WebKit::WebHTTPBody::elementAt):
- platform/network/BlobData.h:
(WebCore::BlobDataItem::doNotCheckFileChange): Removed.
- platform/network/BlobData.cpp:
- platform/network/cf/FormDataStreamCFNet.cpp:
(WebCore::advanceCurrentStream):
- platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::blobIsOutOfDate):
- 10:59 PM Changeset in webkit [120281] by
-
- 2 edits in trunk/Source/WebCore
Fix CMake build with SMOOTH_SCROLLING enabled
https://bugs.webkit.org/show_bug.cgi?id=89032
Reviewed by Antonio Gomes.
SMOOTH_SCROLLING pulls in ScrollAnimatorNone.cpp, which has
dependencies on platform/ActivePlatformGestureAnimation.cpp and
platform/TouchpadFlingPlatformGestureCurve.cpp
- CMakeLists.txt:
- 10:22 PM Changeset in webkit [120280] by
-
- 5 edits in trunk
Source/WebCore: Touched CSSPropertyNames.in to trigger a proper rebuild
[CSS Regions] Adding feature defines for CSS Regions & exclusions for Windows
https://bugs.webkit.org/show_bug.cgi?id=88645
Patch by Mihai Balan <mibalan@adobe.com> on 2012-06-13
Reviewed by Sam Weinig.
Previous work on #87442 added feature defines to allow proper disabling of CSS Regions and
exclusions (previously even with the feature disabled, parsing still worked). However, the
feature defines were enabled on Mac only - they were broken on Windows. This
patch adds the feature defines to (re)enable regions and exclusions on Windows.
- css/CSSPropertyNames.in: Touched to trigger a proper rebuild. Incremental builds were broken on Windows.
WebKitLibraries: Fix for #88645 - enabling regions on Windows
[CSS Regions] Adding feature defines for CSS Regions & exclusions for Windows
https://bugs.webkit.org/show_bug.cgi?id=88645
Patch by Mihai Balan <mibalan@adobe.com> on 2012-06-13
Reviewed by Sam Weinig.
Previous work on #87442 added feature defines to allow proper disabling of CSS Regions and
exclusions (previously even with the feature disabled, parsing still worked). However, the
feature defines were enabled on Mac only - they were broken on Windows. This
patch adds the feature defines to (re)enable regions and exclusions on Windows.
- win/tools/vsprops/FeatureDefines.vsprops: Added default value for ENABLE_CSS_EXCLUSIONS and ENABLE_CSS_REGIONS
- win/tools/vsprops/FeatureDefinesCairo.vsprops: ditto
- 10:10 PM Changeset in webkit [120279] by
-
- 11 edits in trunk/Source/WebCore
make sure headers are included only once per file
https://bugs.webkit.org/show_bug.cgi?id=88931
Patch by Arnaud Renevier <arno@renevier.net> on 2012-06-13
Reviewed by Darin Adler.
- Modules/indexeddb/IDBDatabase.cpp:
- WebCorePrefix.h:
- bindings/js/JSHTMLAllCollectionCustom.cpp:
- bindings/v8/V8Utilities.cpp:
- bindings/v8/custom/V8LocationCustom.cpp:
- bridge/NP_jsobject.cpp:
- editing/Editor.cpp:
- html/HTMLMediaElement.cpp:
- platform/graphics/cairo/PlatformContextCairo.cpp:
- rendering/InlineFlowBox.cpp:
- 9:37 PM Changeset in webkit [120278] by
-
- 19 edits4 copies in trunk
[WK2] Add implementation for dispatchIntent in WebFrameLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=88340
Patch by Christophe Dumez <Christophe Dumez> on 2012-06-13
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
Add implementation for dispatchIntent() in WebFrameLoaderClient.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Shared/API/c/WKBase.h:
- Shared/APIClientTraits.h:
- Shared/APIObject.h:
- Shared/IntentData.cpp: Added.
(WebKit):
(WebKit::IntentData::encode):
(WebKit::IntentData::decode):
- Shared/IntentData.h: Added.
(CoreIPC):
(WebKit):
(IntentData):
- Target.pri:
- UIProcess/API/C/WKAPICast.h:
(WebKit):
- UIProcess/API/C/WKPage.h:
- UIProcess/API/gtk/WebKitLoaderClient.cpp:
(attachLoaderClientToView):
- UIProcess/WebIntentData.cpp: Added.
(WebKit):
(WebKit::WebIntentData::WebIntentData):
(WebKit::WebIntentData::data):
- UIProcess/WebIntentData.h: Added.
(WebKit):
(WebIntentData):
(WebKit::WebIntentData::create):
(WebKit::WebIntentData::~WebIntentData):
(WebKit::WebIntentData::action):
(WebKit::WebIntentData::payloadType):
(WebKit::WebIntentData::extras):
(WebKit::WebIntentData::suggestions):
(WebKit::WebIntentData::type):
- UIProcess/WebLoaderClient.cpp:
(WebKit):
(WebKit::WebLoaderClient::didReceiveIntentForFrame):
- UIProcess/WebLoaderClient.h:
(WebKit):
(WebLoaderClient):
- UIProcess/WebPageProxy.cpp:
(WebKit):
(WebKit::WebPageProxy::didReceiveIntentForFrame):
- UIProcess/WebPageProxy.h:
(WebKit):
(WebPageProxy):
- UIProcess/WebPageProxy.messages.in:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchIntent):
Tools:
Update initialization of WKPageLoaderClient.
- MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController awakeFromNib]):
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):
- 9:19 PM Changeset in webkit [120277] by
-
- 2 edits in trunk/Source/WebKit2
Rename _swapView:with: to _replaceView:with:
https://bugs.webkit.org/show_bug.cgi?id=89037
Reviewed by Darin Adler.
_swapView:with: is a misnomer - after calling it, the first view is no longer
contained within the view hierarchy. "Replace" is a more accurate term.
- UIProcess/mac/WKFullScreenWindowController.mm:
(-[WKFullScreenWindowController enterFullScreen:]):
(-[WKFullScreenWindowController finishedExitFullScreenAnimation:]):
(-[WKFullScreenWindowController _replaceView:with:]):
- 9:18 PM Changeset in webkit [120276] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed typo fix.
- platform/RefCountedSupplement.h:
- 9:12 PM Changeset in webkit [120275] by
-
- 42 edits3 deletes in trunk
Unreviewed, rolling out r120268.
http://trac.webkit.org/changeset/120268
https://bugs.webkit.org/show_bug.cgi?id=89060
WebCompositor::setPerTilePaintingEnabled hits an assertion in
DEBUG (Requested by dominicc|work on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-13
Source/Platform:
- chromium/public/WebLayerTreeView.h:
(WebCore):
(WebKit::WebLayerTreeView::Settings::Settings):
(Settings):
Source/WebCore:
- WebCore.gypi:
- page/Settings.cpp:
(WebCore::Settings::Settings):
- page/Settings.h:
(WebCore::Settings::setPerTileDrawingEnabled):
(WebCore::Settings::perTileDrawingEnabled):
(Settings):
(WebCore::Settings::setPartialSwapEnabled):
(WebCore::Settings::partialSwapEnabled):
(WebCore::Settings::setThreadedAnimationEnabled):
(WebCore::Settings::threadedAnimationEnabled):
- platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::createTextureUpdaterIfNeeded):
- platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::addAnimation):
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::initialize):
- platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::updateTileSizeAndTilingOption):
- platform/graphics/chromium/cc/CCDebugRectHistory.cpp:
(WebCore::CCDebugRectHistory::enabled):
(WebCore::CCDebugRectHistory::saveDebugRectsForCurrentFrame):
- platform/graphics/chromium/cc/CCDebugRectHistory.h:
(WebCore):
(CCDebugRectHistory):
- platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
(WebCore::CCHeadsUpDisplay::enabled):
(WebCore::CCHeadsUpDisplay::showPlatformLayerTree):
(WebCore::CCHeadsUpDisplay::showDebugRects):
(WebCore::CCHeadsUpDisplay::draw):
(WebCore::CCHeadsUpDisplay::drawHudContents):
(WebCore::CCHeadsUpDisplay::drawDebugRects):
- platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
(WebCore):
(CCHeadsUpDisplay):
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::create):
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::animateLayers):
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore::CCSettings::CCSettings):
(CCSettings):
(CCLayerTreeHost):
(WebCore::CCLayerTreeHost::settings):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::create):
(WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
(WebCore::CCLayerTreeHostImpl::calculateRenderSurfaceLayerList):
(WebCore::CCLayerTreeHostImpl::animateLayers):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(CCLayerTreeHostImpl):
- platform/graphics/chromium/cc/CCRenderer.h:
(CCRendererClient):
(WebCore::CCRenderer::settings):
- platform/graphics/chromium/cc/CCSettings.cpp: Removed.
- platform/graphics/chromium/cc/CCSettings.h: Removed.
- testing/InternalSettings.cpp:
(WebCore::InternalSettings::setPerTileDrawingEnabled):
(WebCore):
- testing/InternalSettings.h:
(InternalSettings):
Source/WebKit/chromium:
- WebKit.gypi:
- public/WebCompositor.h:
(WebCompositor):
- public/WebSettings.h:
- src/WebCompositorImpl.cpp:
(WebKit::WebCompositor::shutdown):
- src/WebLayerTreeView.cpp:
(WebKit::WebLayerTreeView::Settings::operator CCSettings):
- src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setPerTilePaintingEnabled):
(WebKit):
(WebKit::WebSettingsImpl::setPartialSwapEnabled):
(WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
- src/WebSettingsImpl.h:
(WebSettingsImpl):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
- tests/CCLayerTreeHostImplTest.cpp:
- tests/CCLayerTreeHostTest.cpp:
- tests/CCTestCommon.h: Removed.
- tests/CCThreadedTest.cpp:
(WebKitTests::MockLayerTreeHostImpl::create):
(WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
(WebKitTests::MockLayerTreeHost::create):
(WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
(WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
(WebKitTests::CCThreadedTest::runTest):
- tests/CCThreadedTest.h:
(CCThreadedTest):
(MockLayerTreeHostImpl):
- tests/GraphicsLayerChromiumTest.cpp:
(WebKitTests::MockLayerTreeHost::create):
(WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
(WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
(WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
- tests/LayerChromiumTest.cpp:
- tests/LayerRendererChromiumTest.cpp:
(LayerRendererChromiumTest):
(TEST_F):
(TEST):
- tests/TextureLayerChromiumTest.cpp:
- tests/TiledLayerChromiumTest.cpp:
- tests/TreeSynchronizerTest.cpp:
(WebKitTests::TEST):
Tools:
- DumpRenderTree/chromium/WebPreferences.cpp:
(WebPreferences::applyTo):
- 9:08 PM Changeset in webkit [120274] by
-
- 4 edits in trunk/Source/WebKit/chromium
[chromium] Add WebFrame::replaceMisspelledRange
https://bugs.webkit.org/show_bug.cgi?id=88618
Reviewed by Kent Tamura.
This change adds WebFrame::replaceMisspelledRange, which replaces the range of a
misspelled marker with text so Chromium can use it for replacing misspelled
words with suggetions.
- public/WebFrame.h:
(WebFrame):
- src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::replaceMisspelledRange):
(WebKit):
- src/WebFrameImpl.h:
(WebFrameImpl):
- 8:57 PM Changeset in webkit [120273] by
-
- 2 edits4 adds in trunk/LayoutTests
[Chromium] Unreviewed: Add rebaseline and update expectations.
https://bugs.webkit.org/show_bug.cgi?id=87356
Patch by Eric Uhrhane <ericu@chromium.org>
- platform/chromium/fast/files/read-blob-async-expected.txt: Added.
- platform/chromium/fast/files/workers/worker-read-blob-async-expected.txt: Added.
- platform/chromium/fast/files/workers/worker-read-blob-sync-expected.txt: Added.
- 8:47 PM Changeset in webkit [120272] by
-
- 2 edits in trunk/Tools
REGRESSION (r120252): run-webkit-tests on Mac fails
https://bugs.webkit.org/show_bug.cgi?id=89057
Reviewed by Dan Bernstein.
get_option will happily return None (the default only kicks in if
the option is actually *not set*). We should instead check get_option's
return value and default to "x86_64" architecture ourselves.
- Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.init):
- 8:40 PM Changeset in webkit [120271] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed: Rebaseline for Mac
Rebaselining after r119893. There was a rebasline in r120221 but
it failed on Chromium WebKit waterfall and canaries after that, so
trying again.
- platform/chromium-mac/fast/borders/border-antialiasing-expected.png:
- 8:28 PM Changeset in webkit [120270] by
-
- 3 edits1 copy1 move2 adds in trunk/Source/WebKit/chromium
[Chromium] Let Android and Linux share WebFontRendering decl/impl.
https://bugs.webkit.org/show_bug.cgi?id=88802
Reviewed by Adam Barth.
- WebKit.gyp:
- public/linux/WebFontRendering.h: Temporarily forwards to the new file under linuxish.
- public/linuxish: Added.
- public/linuxish/WebFontRendering.h: Copied from chromium/public/linux/WebFontRendering.h.
- src/linux/WebFontRendering.cpp: Removed.
- src/linuxish: Added.
- src/linuxish/WebFontRendering.cpp: Copied from chromium/src/linux/WebFontRendering.cpp.
- 8:22 PM Changeset in webkit [120269] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Unreviewed: Update expectations
https://bugs.webkit.org/show_bug.cgi?id=88949
http/tests/media/media-source/video-media-source-add-and-remove-ids.html
is flakily hitting an ASSERT on Chromium canaries.
- platform/chromium/TestExpectations:
- 8:15 PM Changeset in webkit [120268] by
-
- 42 edits3 adds in trunk
[chromium] Certain settings in CCSettings could be global
https://bugs.webkit.org/show_bug.cgi?id=88384
Patch by Ian Vollick <vollick@chromium.org> on 2012-06-13
Reviewed by James Robinson.
Source/Platform:
- chromium/public/WebLayerTreeView.h:
(WebCore):
(WebKit::WebLayerTreeView::Settings::Settings):
(Settings):
Source/WebCore:
No new tests. No new functionality.
- WebCore.gypi:
- page/Settings.cpp:
(WebCore::Settings::Settings):
- page/Settings.h:
(Settings):
- platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::createTextureUpdaterIfNeeded):
- platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::addAnimation):
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::initialize):
- platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::updateTileSizeAndTilingOption):
- platform/graphics/chromium/cc/CCDebugRectHistory.cpp:
(WebCore::CCDebugRectHistory::enabled):
(WebCore::CCDebugRectHistory::saveDebugRectsForCurrentFrame):
- platform/graphics/chromium/cc/CCDebugRectHistory.h:
(WebCore):
(CCDebugRectHistory):
- platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
(WebCore::CCHeadsUpDisplay::enabled):
(WebCore::CCHeadsUpDisplay::showPlatformLayerTree):
(WebCore::CCHeadsUpDisplay::showDebugRects):
(WebCore::CCHeadsUpDisplay::draw):
(WebCore::CCHeadsUpDisplay::drawHudContents):
(WebCore::CCHeadsUpDisplay::drawDebugRects):
- platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
(WebCore):
(CCHeadsUpDisplay):
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::create):
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::animateLayers):
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore::CCLayerTreeSettings::CCLayerTreeSettings):
(CCLayerTreeSettings):
(CCLayerTreeHost):
(WebCore::CCLayerTreeHost::settings):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::create):
(WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
(WebCore::CCLayerTreeHostImpl::calculateRenderSurfaceLayerList):
(WebCore::CCLayerTreeHostImpl::animateLayers):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(CCLayerTreeHostImpl):
- platform/graphics/chromium/cc/CCRenderer.h:
(CCRendererClient):
(WebCore::CCRenderer::settings):
- platform/graphics/chromium/cc/CCSettings.cpp: Added.
(WebCore):
(WebCore::CCSettings::perTilePaintingEnabled):
(WebCore::CCSettings::setPerTilePaintingEnabled):
(WebCore::CCSettings::partialSwapEnabled):
(WebCore::CCSettings::setPartialSwapEnabled):
(WebCore::CCSettings::acceleratedAnimationEnabled):
(WebCore::CCSettings::setAcceleratedAnimationEnabled):
(WebCore::CCSettings::reset):
- platform/graphics/chromium/cc/CCSettings.h: Added.
(WebCore):
(CCSettings):
- testing/InternalSettings.cpp:
- testing/InternalSettings.h:
(InternalSettings):
Source/WebKit/chromium:
- WebKit.gypi:
- public/WebCompositor.h:
(WebCompositor):
- public/WebSettings.h:
- src/WebCompositorImpl.cpp:
(WebKit::WebCompositor::shutdown):
(WebKit):
(WebKit::WebCompositor::setPerTilePaintingEnabled):
(WebKit::WebCompositor::setPartialSwapEnabled):
(WebKit::WebCompositor::setAcceleratedAnimationEnabled):
- src/WebLayerTreeView.cpp:
(WebKit):
(WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
- src/WebSettingsImpl.cpp:
- src/WebSettingsImpl.h:
(WebSettingsImpl):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
- tests/CCLayerTreeHostImplTest.cpp:
- tests/CCLayerTreeHostTest.cpp:
(WTF):
(CCLayerTreeHostTestShortlived1):
(WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
(WTF::CCLayerTreeHostTestShortlived1::beginTest):
(WTF::CCLayerTreeHostTestShortlived1::afterTest):
- tests/CCTestCommon.h: Added.
(WebKitTests):
(CCScopedSettings):
(WebKitTests::CCScopedSettings::CCScopedSettings):
(WebKitTests::CCScopedSettings::~CCScopedSettings):
- tests/CCThreadedTest.cpp:
(WebKitTests::MockLayerTreeHostImpl::create):
(WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
(WebKitTests::MockLayerTreeHost::create):
(WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
(WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
(WebKitTests::CCThreadedTest::runTest):
- tests/CCThreadedTest.h:
(CCThreadedTest):
(MockLayerTreeHostImpl):
- tests/GraphicsLayerChromiumTest.cpp:
(WebKitTests::MockLayerTreeHost::create):
(WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
(WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
(WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
- tests/LayerChromiumTest.cpp:
- tests/LayerRendererChromiumTest.cpp:
(LayerRendererChromiumTest):
(TEST_F):
(TEST):
- tests/TextureLayerChromiumTest.cpp:
- tests/TiledLayerChromiumTest.cpp:
- tests/TreeSynchronizerTest.cpp:
(WebKitTests::TEST):
Tools:
- DumpRenderTree/chromium/WebPreferences.cpp:
(WebPreferences::applyTo):
- 7:36 PM Changeset in webkit [120267] by
-
- 4 edits in trunk/Source
[BlackBerry] Apply New Style and JS for Select Popup
https://bugs.webkit.org/show_bug.cgi?id=89020
Patch by Crystal Zhang <haizhang@rim.com> on 2012-06-13
Reviewed by Rob Buis.
PR 162854
Source/WebCore:
Use new python script for data generating, as the old one is too simple and problematic.
- PlatformBlackBerry.cmake:
Source/WebKit/blackberry:
Use new styled CSS files for select popup, also remove most JS functions
to a separate JS file, only pass the parameters to JS, and use new python
script for data generating, as the old one is too simple and problematic.
- WebCoreSupport/SelectPopupClient.cpp:
(WebCore::SelectPopupClient::generateHTML):
- 7:27 PM Changeset in webkit [120266] by
-
- 6 edits in trunk/Source
[chromium] Assert if iterating an invalid RenderSurfaceLayerList, where a layer in the list has no RenderSurface
https://bugs.webkit.org/show_bug.cgi?id=89004
Reviewed by Adrienne Walker.
Source/WebCore:
A RenderSurfaceLayerList expects that all layers in the list own a
RenderSurface. If an invalid RSLL is iterated over, the
CCLayerIterator class will now ASSERT in debug mode, as well as
considering the list empty in release mode.
We will be adding code to CCLayerTreeHostImpl to save a RSLL across
frames, so adding a clearRenderSurfaces() method with a FIXME comment
to make it clear that we should clear the RSLL when we remove
RenderSurfaces from the layers in the saved RSLL.
- platform/graphics/chromium/cc/CCLayerIterator.h:
(WebCore::CCLayerIterator::CCLayerIterator):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::~CCLayerTreeHostImpl):
(WebCore::CCLayerTreeHostImpl::initializeLayerRenderer):
(WebCore::clearRenderSurfacesOnCCLayerImplRecursive):
(WebCore::CCLayerTreeHostImpl::clearRenderSurfaces):
(WebCore):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(CCLayerTreeHostImpl):
Source/WebKit/chromium:
- tests/CCLayerIteratorTest.cpp:
- 7:03 PM Changeset in webkit [120265] by
-
- 4 edits in trunk/Source/WebCore
Remove redundant code from RenderView and RenderBlock
https://bugs.webkit.org/show_bug.cgi?id=89019
Reviewed by Abhishek Arya.
As pointed out in https://bugs.webkit.org/show_bug.cgi?id=83981#c7 , RenderView::insertFixedPositionedObject()
is redundant and should be removed.
No new tests.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::insertPositionedObject):
(WebCore::RenderBlock::removePositionedObject):
- rendering/RenderView.cpp:
(WebCore):
- rendering/RenderView.h:
(RenderView):
- 5:40 PM Changeset in webkit [120264] by
-
- 2 edits in trunk/LayoutTests
Address some feedbacks in layout test
https://bugs.webkit.org/show_bug.cgi?id=88909
Patch by Min Qin <qinmin@google.com> on 2012-06-13
Reviewed by Eric Carlson.
Fixed some comments in https://bugs.webkit.org/show_bug.cgi?id=88897.
Reduced the timeout to 100 ms and fixed the function definition.
- media/no-autoplay-with-user-gesture-requirement.html:
- 5:38 PM Changeset in webkit [120263] by
-
- 9 edits2 adds in trunk/Source/WebCore
[chromium] Create a CCStreamVideoDrawQuad used for StreamTexture video output
https://bugs.webkit.org/show_bug.cgi?id=88826
Reviewed by Adrienne Walker.
Remove the matrix from the CCVideoDrawQuad, and create a new quad
specifically for StreamTexture video decoder output. This quad
contains only the fields needed for display - textureId and the
matrix to be applied to texture coords.
Removes the (0, 0, 1, 1) "transform" from the shader used for these
quads, as it was a no-op.
No new tests, no change in behaviour.
- WebCore.gypi:
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::drawQuad):
(WebCore::LayerRendererChromium::drawStreamVideoQuad):
(WebCore::LayerRendererChromium::drawVideoQuad):
- platform/graphics/chromium/LayerRendererChromium.h:
(WebCore):
(LayerRendererChromium):
- platform/graphics/chromium/ShaderChromium.cpp:
(WebCore::VertexShaderVideoTransform::VertexShaderVideoTransform):
(WebCore::VertexShaderVideoTransform::init):
(WebCore::VertexShaderVideoTransform::getShaderString):
- platform/graphics/chromium/ShaderChromium.h:
(VertexShaderVideoTransform):
- platform/graphics/chromium/cc/CCDrawQuad.cpp:
(WebCore::CCDrawQuad::toStreamVideoDrawQuad):
(WebCore):
- platform/graphics/chromium/cc/CCDrawQuad.h:
(WebCore):
(CCDrawQuad):
- platform/graphics/chromium/cc/CCStreamVideoDrawQuad.cpp: Added.
(WebCore):
(WebCore::CCStreamVideoDrawQuad::create):
(WebCore::CCStreamVideoDrawQuad::CCStreamVideoDrawQuad):
- platform/graphics/chromium/cc/CCStreamVideoDrawQuad.h: Added.
(WebCore):
(CCStreamVideoDrawQuad):
(WebCore::CCStreamVideoDrawQuad::textureId):
(WebCore::CCStreamVideoDrawQuad::matrix):
- platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
(WebCore::CCVideoLayerImpl::appendQuads):
- 5:13 PM Changeset in webkit [120262] by
-
- 14 edits1 copy2 adds in trunk/Source
[GTK] Add an accelerated compositing implementation for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=86037
Reviewed by Alejandro G. Castro.
Source/WebCore:
No new tests. These changes are covered by the compositing tests, which
we will gradually try to turn on for the bots.
Add a new GLContext method for getting to current default framebuffer size, which
is quite useful for preventing composited content quivering while resizing.
- platform/graphics/cairo/GLContext.h:
- platform/graphics/glx/GLContextGLX.cpp:
(WebCore::GLContextGLX::defaultFrameBufferSize): Added this implementation for X11
which asks the X server for the window size.
- platform/graphics/glx/GLContextGLX.h:
Source/WebKit2:
Add an implementation of LayerTreeHost for GTK+ that uses TextureMapperGL.
Later this implementation will fall back to using the ImageBuffer TextureMapper.
- GNUmakefile.am: Add new files to the compilation.
- Shared/LayerTreeContext.h:
(LayerTreeContext): The GTK+ version of the LayerTreeContext just holds window handle.
- Shared/gtk/LayerTreeContextGtk.cpp: Copied from Source/WebKit2/WebProcess/WebPage/LayerTreeHost.cpp.
- WebProcess/WebPage/gtk/LayerTreeHostGtk.h: Added.
- WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp: Added.
Add this LayerTreeHost implementation that just creates a GL context from the widget X11 window ID.
Later implementations might find a more cross-platform solution.
- WebProcess/WebPage/gtk/WebPageGtk.cpp:
(WebKit::WebPage::platformInitialize): Initialize the native window handle to be zero.
(WebKit::WebPage::widgetMapped): When mapping the widget, try to get the native window
handle and send it to the WebProcess.
- 5:04 PM Changeset in webkit [120261] by
-
- 7 edits in trunk/Source
[chromium] Implement hit-testing for impl-side input handling in accelerated compositor
https://bugs.webkit.org/show_bug.cgi?id=88972
Reviewed by Adrienne Walker.
Source/WebCore:
The original hit testing code by Sami Kyostila.
This patch implements a simple impl-side hit-testing helper
function. At this time, the main motivation for this is so that
composited scrollable layers can be scrolled by the impl thread --
and a prerequisite for that is the ability to hit-test on the impl
thread, to determine where the scrolling action should be applied.
To implement the actual hit test, it's possible to compute the hit
test in two equivalent ways: (a) inverse-project the point into
local space, or (b) forward-transform the rect to screen space
It's not obvious which one would perform better, or which one
would be more robust to w < 0 homogeneous clipping issues. For
this patch, we simply opt for the inverse-projection approach.
10 unit tests added to CCLayerTreeHostCommonTest.cpp:
CCLayerTreeHostCommonTest.verifyHitTestingForEmptyLayerList
CCLayerTreeHostCommonTest.verifyHitTestingForSingleLayer
CCLayerTreeHostCommonTest.verifyHitTestingForSinglePositionedLayer
CCLayerTreeHostCommonTest.verifyHitTestingForSingleRotatedLayer
CCLayerTreeHostCommonTest.verifyHitTestingForSinglePerspectiveLayer
CCLayerTreeHostCommonTest.verifyHitTestingForSingleLayerWithScaledContents
CCLayerTreeHostCommonTest.verifyHitTestingForSimpleClippedLayer
CCLayerTreeHostCommonTest.verifyHitTestingForMultiClippedRotatedLayer
CCLayerTreeHostCommonTest.verifyHitTestingForMultipleLayers
CCLayerTreeHostCommonTest.verifyHitTestingForMultipleLayerLists
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::pointHitsRect):
(WebCore):
(WebCore::pointIsClippedBySurfaceOrClipRect):
(WebCore::CCLayerTreeHostCommon::findLayerThatIsHitByPoint):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.h:
(CCLayerTreeHostCommon):
- platform/graphics/chromium/cc/CCMathUtil.cpp:
(WebCore::projectHomogeneousPoint):
(WebCore::mapHomogeneousPoint):
(WebCore::CCMathUtil::mapClippedRect):
(WebCore::CCMathUtil::projectClippedRect):
(WebCore::CCMathUtil::mapClippedQuad):
(WebCore::CCMathUtil::mapQuad):
(WebCore::CCMathUtil::projectPoint):
(WebCore):
- platform/graphics/chromium/cc/CCMathUtil.h:
(WebCore):
(CCMathUtil):
Source/WebKit/chromium:
- tests/CCLayerTreeHostCommonTest.cpp:
- 4:50 PM WebKitGTK/WebKit2Roadmap edited by
- (diff)
- 4:47 PM WebKitGTK/WebKit2Roadmap edited by
- (diff)
- 4:40 PM Changeset in webkit [120260] by
-
- 13 edits1 add in trunk/Source/WebCore
Need customized toDOMStringList for IndexedDB JSC binding.
https://bugs.webkit.org/show_bug.cgi?id=87965
Reviewed by Kentaro Hara.
IndexedDB database interface uses DOMStringList as the input parameter.
The generated toDOMStringList() can't convert an JSArray of Strings to
native DOMStringList. We need a custom function to do this.
Because this patch adds one new file (JSDOMStringList.cpp), all build systems
are updated accordingly to pick up this file.
Tests: Corresponding bindings/scripts/test/JS files have been updated accordingly.
- GNUmakefile.list.am:
- Target.pri:
- UseJSC.cmake:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSBindingsAllInOne.cpp:
- bindings/js/JSDOMStringListCustom.cpp: Added.
(WebCore):
(WebCore::toDOMStringList):
- bindings/scripts/CodeGeneratorJS.pm:
(IndexGetterReturnsStrings):
(GenerateHeader):
(GetNativeType):
(GetNativeTypeForCallbacks):
(JSValueToNative):
- bindings/scripts/test/JS/JSTestCallback.cpp:
(WebCore::JSTestCallback::callbackWithStringList):
- bindings/scripts/test/JS/JSTestCallback.h:
(JSTestCallback):
- bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod6):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod7):
- dom/DOMStringList.idl:
- 4:33 PM Changeset in webkit [120259] by
-
- 4 edits in branches/safari-536-branch/Source
Versioning.
- 4:30 PM Changeset in webkit [120258] by
-
- 1 copy in tags/Safari-536.18
New Tag.
- 4:30 PM Changeset in webkit [120257] by
-
- 6 edits6 adds in trunk
Padding and borders can cause integer overflow in block layouts
https://bugs.webkit.org/show_bug.cgi?id=88820
<rdar://problem/11328762>
Reviewed by Tony Chang.
Source/WebCore:
Tests: fast/block/block-size-integer-overflow.html
fast/flexbox/box-size-integer-overflow.html
fast/table/table-size-integer-overflow.html
- rendering/AutoTableLayout.cpp: Decreased max int.
(WebCore::AutoTableLayout::computePreferredLogicalWidths):
- rendering/FixedTableLayout.cpp: Use shared constant.
(WebCore::FixedTableLayout::computePreferredLogicalWidths):
- rendering/RenderBlock.cpp: Removed unused constant.
- rendering/TableLayout.h: Add shared constant.
(TableLayout):
LayoutTests:
- fast/block/block-size-integer-overflow-expected.txt: Added.
- fast/block/block-size-integer-overflow.html: Added.
- fast/flexbox/box-size-integer-overflow-expected.txt: Added.
- fast/flexbox/box-size-integer-overflow.html: Added.
- fast/table/table-size-integer-overflow-expected.txt: Added.
- fast/table/table-size-integer-overflow.html: Added.
- 4:25 PM Changeset in webkit [120256] by
-
- 4 edits in trunk/Source/WTF
make sure headers are included only once per file
https://bugs.webkit.org/show_bug.cgi?id=88929
Patch by Arnaud Renevier <arno@renevier.net> on 2012-06-13
Reviewed by Kentaro Hara.
- wtf/FastMalloc.cpp:
- wtf/MathExtras.h:
- wtf/OSAllocator.h:
- 4:07 PM Changeset in webkit [120255] by
-
- 6 edits in trunk
Refactor WebGLFramebuffer to handle texture attachments
https://bugs.webkit.org/show_bug.cgi?id=88697
Patch by Gregg Tavares <gman@google.com> on 2012-06-13
Reviewed by Adrienne Walker.
In order to add support for depth textures WebGLFramebuffer
needed to be refactored to handle textures as attachments.
No new tests as no new functionality.
- html/canvas/WebGLFramebuffer.cpp:
(WebCore::WebGLFramebuffer::WebGLAttachment::WebGLAttachment):
(WebCore):
(WebCore::WebGLFramebuffer::WebGLAttachment::~WebGLAttachment):
(WebCore::WebGLFramebuffer::WebGLFramebuffer):
(WebCore::WebGLFramebuffer::setAttachmentForBoundFramebuffer):
(WebCore::WebGLFramebuffer::attach):
(WebCore::WebGLFramebuffer::getAttachmentObject):
(WebCore::WebGLFramebuffer::getAttachment):
(WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
(WebCore::WebGLFramebuffer::getColorBufferWidth):
(WebCore::WebGLFramebuffer::getColorBufferHeight):
(WebCore::WebGLFramebuffer::getColorBufferFormat):
(WebCore::WebGLFramebuffer::checkStatus):
(WebCore::WebGLFramebuffer::onAccess):
(WebCore::WebGLFramebuffer::hasStencilBuffer):
(WebCore::WebGLFramebuffer::deleteObjectImpl):
(WebCore::WebGLFramebuffer::initializeAttachments):
- html/canvas/WebGLFramebuffer.h:
(WebGLAttachment):
(WebGLFramebuffer):
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::framebufferRenderbuffer):
(WebCore::WebGLRenderingContext::reattachDepthStencilAttachments):
(WebCore::WebGLRenderingContext::framebufferTexture2D):
(WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter):
- html/canvas/WebGLRenderingContext.h:
(WebGLRenderingContext):
- 3:58 PM Changeset in webkit [120254] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] Crash when WebViewImpl::setIsTransparent is called before the WebLayerTreeView has been initialized.
https://bugs.webkit.org/show_bug.cgi?id=89013
Patch by David Reveman <reveman@chromium.org> on 2012-06-13
Reviewed by James Robinson.
Add !m_layerTreeView.isNull() check to WebViewImpl::setIsTransparent.
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setIsTransparent):
- 3:55 PM Changeset in webkit [120253] by
-
- 2 edits1 add in trunk/LayoutTests
Unreviewed, expectations changes.
- platform/chromium-win/http/tests/misc/location-replace-crossdomain-expected.txt:
- platform/chromium/fast/events/constructors/speech-recognition-error-constructor-expected.txt: Added.
- 3:37 PM Changeset in webkit [120252] by
-
- 7 edits in trunk/Tools
new-run-webkit-tests does not support --32-bit like ORWT did
https://bugs.webkit.org/show_bug.cgi?id=71634
Reviewed by Ojan Vafai.
This patch adds support for 32-bit apple mac builds, adding the
--32-bit flag for compatibility with ORWT and fixing the port
architecture() definition to actually return the correct values.
- Scripts/webkitpy/layout_tests/port/apple.py:
(ApplePort._generate_all_test_configurations):
- Scripts/webkitpy/layout_tests/port/factory.py:
(port_options):
- Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort):
(MacPort.init):
(MacPort._build_driver_flags):
(MacPort.setup_environ_for_server):
- Scripts/webkitpy/layout_tests/port/mac_unittest.py:
(test_sample_process_throws_exception):
(test_32bit):
(test_32bit.run_script):
(test_64bit):
(test_64bit.run_script):
- Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitPort._build_driver):
(WebKitPort._build_driver_flags):
- Scripts/webkitpy/layout_tests/port/win.py:
(WinPort):
- 2:59 PM Changeset in webkit [120251] by
-
- 2 edits in trunk/Source/WebCore
Remove return statement in void method
https://bugs.webkit.org/show_bug.cgi?id=88998
Patch by Konrad Piascik <kpiascik@rim.com> on 2012-06-13
Reviewed by Andreas Kling
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::collectStyleForAttribute):
- 2:44 PM Changeset in webkit [120250] by
-
- 13 edits1 add in trunk/Source
Implement the simple constructors WTFURL's KURL
https://bugs.webkit.org/show_bug.cgi?id=85724
Reviewed by Adam Barth.
Source/WebCore:
This patch implement the correct initialization of KURL from an absolute URL.
The URL correctness is also relaxed in order to have KURLWTFURL works similarily to KURL.
- platform/KURLWTFURL.cpp:
(WebCore::KURL::KURL):
(WebCore::KURL::isValid):
(WebCore::KURL::string):
(WebCore::KURL::protocol):
(WebCore::KURL::host):
(WebCore::KURL::port): Fix a bug where invalidPortNumber was returned if no port was defined.
(WebCore::KURL::hasFragmentIdentifier):
(WebCore::KURL::fragmentIdentifier):
(WebCore::KURL::protocolIs):
(WebCore::KURL::removeFragmentIdentifier):
(WebCore):
(WebCore::KURL::print):
- platform/cf/KURLCFNet.cpp:
(WebCore::KURL::KURL):
(WebCore::KURL::createCFURL):
(WebCore):
- platform/mac/KURLMac.mm:
(WebCore::KURL::KURL):
(WebCore::KURL::createCFURL):
(WebCore):
Use the code of KURL to make the conversion from WTFURL to NSURL.
Source/WTF:
This patch extends WTFURL with:
-support basic debugging using print() methods
-parsing in the incomming string character set (8bits or 16bits)
-add a function for parsing of relative URL (but no implementation yet)
- WTF.xcodeproj/project.pbxproj:
- wtf/text/WTFString.h:
(String):
- wtf/url/api/ParsedURL.cpp:
(WTF::ParsedURL::ParsedURL):
(WTF):
(WTF::ParsedURL::hasFragment): Add this method to query the framgent availability without
allocating a new String.
(WTF::ParsedURL::withoutFragment): This method is added to implement KURL::removeFragmentIdentifier() and
the parsing of empty relative URL (where we return the base without fragment).
(WTF::ParsedURL::print):
- wtf/url/api/ParsedURL.h:
(ParsedURL):
(WTF::ParsedURL::spec):
- wtf/url/api/URLString.h:
(URLString):
- wtf/url/src/URLParser.h:
(WTF):
(URLParser):
(WTF::URLParser::parseURLWithBase):
- wtf/url/src/URLSegments.cpp:
(WTF::URLSegments::length):
(WTF::URLSegments::charactersBefore):
- wtf/url/src/URLSegments.h:
(URLSegments):
Change the boolean argument includeDelimiter in favor of an enum to improve readability.
- 2:35 PM Changeset in webkit [120249] by
-
- 8 edits in trunk/Tools
Remove webkitpy code to support legacy test_expectations.txt files
https://bugs.webkit.org/show_bug.cgi?id=89038
Reviewed by Dirk Pranke.
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.path_to_test_expectations_file):
(Port.expectations_dict):
- Scripts/webkitpy/layout_tests/port/base_unittest.py:
(PortTest.test_uses_test_expectations_file):
- Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
(WebKitPortTest.test_path_to_test_expectations_file):
(test_test_expectations):
- Scripts/webkitpy/style/checker.py:
(CheckerDispatcher.should_skip_without_warning):
(CheckerDispatcher._create_checker):
- Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
(TestExpectationsTestCase._expect_port_for_expectations_path):
- Scripts/webkitpy/tool/steps/commit.py:
(Commit._check_test_expectations):
- Scripts/webkitpy/tool/steps/commit_unittest.py:
(CommitTest.test_check_test_expectations):
- 2:09 PM Changeset in webkit [120248] by
-
- 7 edits in trunk
Remove duplicate webkitpointerlockchange events when unlocking.
https://bugs.webkit.org/show_bug.cgi?id=88917
Reviewed by Dimitri Glazkov.
Source/WebCore:
Subsequent patches adding the new API for entering and exiting
pointer lock would be burdened by handling multiple change events
when the lock target is changed. This change introduces
temporary code to suppress duplicate change events.
Existing tests simplified by removing the duplicate change events.
- page/PointerLockController.cpp:
(WebCore::PointerLockController::requestPointerLock):
(WebCore::PointerLockController::didLosePointerLock):
- page/PointerLockController.h:
(PointerLockController):
LayoutTests:
Part of a series of refactoring changes to update pointer lock API to
the fullscreen locking style. https://bugs.webkit.org/show_bug.cgi?id=84402
Tests simplified by removing the duplicate change events.
- pointer-lock/lock-already-locked-expected.txt:
- pointer-lock/pointerlockchange-pointerlockerror-events-expected.txt:
- pointer-lock/pointerlockchange-pointerlockerror-events.html:
- 2:07 PM Changeset in webkit [120247] by
-
- 6 edits in trunk/Tools
nrwt: remove port.test_expectations() and port.test_expectations_overrides()
https://bugs.webkit.org/show_bug.cgi?id=88948
Reviewed by Ojan Vafai.
In the final patch of this run, we remove the
test_expectations() and test_expectation_overrides() methods
from the Port class - callers must now use just
expectations_dict().
Note that support for the cascade in new-run-webkit-tests is
complete but only Chromium uses it; webkit-patch
rebaseline-expectations still does not support updating entries
in any file other than the first expectations file, however.
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.path_to_test_expectations_file):
(Port.uses_test_expectations_file):
(Port.expectations_files):
- Scripts/webkitpy/layout_tests/port/base_unittest.py:
(PortTest.test_additional_expectations):
- Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
(ChromiumPortTest.test_expectations_files):
- Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
(TestGoogleChromePort.test_get_google_chrome_port):
- Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
(test_test_expectations):
(test_legacy_test_expectations):
- 2:01 PM Changeset in webkit [120246] by
-
- 4 edits in trunk/Source/WebCore
Update range sliders rendering for volume and playback position of new Chrome video controls.
https://bugs.webkit.org/show_bug.cgi?id=88623
Patch by Silvia Pfeiffer <silviapf@chromium.org> on 2012-06-13
Reviewed by Eric Carlson.
No new tests, final patch will contain the rebaselined tests.
The Chrome video controls are receiving a visual update. This patch contains updates to the
rendering of the range sliders for the playback position and the volume. This includes the
creation of a shadowPseudoId to be able to style the range sliders via CSS, the rendering
of the slider background and the highlighted ranges.
- css/mediaControlsChromium.css:
(input[type="range"]::-webkit-media-slider-container):
Adjust the styling of the slider container backgrounds.
(input[type="range"]::-webkit-media-slider-thumb):
Adjust the styling of the slider thumbs.
- html/shadow/SliderThumbElement.cpp:
(WebCore::sliderThumbShadowPseudoId):
Add an accessor function for the slider thumb shadowPseudoId.
(WebCore::mediaSliderThumbShadowPseudoId):
Add an accessor function for the media slider thumb shadowPseudoId.
(WebCore::SliderThumbElement::shadowPseudoId):
Add a different CSS pseudo-class name to the media slider thumbs.
(WebCore::TrackLimiterElement::shadowPseudoId):
Add a different CSS pseudo-class name to the media slider thumbs.
(WebCore::SliderContainerElement::shadowPseudoId):
Add a different CSS pseudo-class name to the media slider background container.
- rendering/RenderMediaControlsChromium.cpp:
(WebCore::paintRoundedSliderBackground):
Add function to draw rounded background of sliders in a dark color.
(WebCore::paintSliderRangeHighlight):
Add function to draw a highlighted grey region on the sliders, which is rounded only at
its ends.
(WebCore::paintMediaSlider):
Update the background and buffered range renderings on the playback position slider by making
use of the new helper functions.
(WebCore::paintMediaVolumeSlider):
Update the background and buffered range renderings on the volume slider by making
use of the new helper functions.
- 1:56 PM Changeset in webkit [120245] by
-
- 2 edits2 adds in trunk/Source/WebCore
[BlackBerry] Update Select Popup's styling
https://bugs.webkit.org/show_bug.cgi?id=89005
Patch by Christopher Hutten-Czapski <chutten@rim.com> on 2012-06-13
Reviewed by Rob Buis.
Add in some nicely-styled CSS and JS for the BlackBerry port's <select>
- Resources/blackberry/popupControlBlackBerry.css:
(body):
(.popup-area):
(.popup-area>:first-child):
(.popup-buttons):
(.popup-button-divider):
(.popup-button):
(.popup-button:active):
(.popup-button:first-child:active):
(.popup-button:last-child:active):
(.popup-button:only-child:active):
- Resources/blackberry/selectControlBlackBerry.css: Added.
(.select-area):
(.select-area:last-child):
(.option):
(.optgroup:last-child):
(.selected):
(.optgroup):
(.optgroup .option):
- Resources/blackberry/selectControlBlackBerry.js: Added.
- 1:53 PM Changeset in webkit [120244] by
-
- 66 edits6 adds in trunk
DFG should be able to set watchpoints on global variables
https://bugs.webkit.org/show_bug.cgi?id=88692
Source/JavaScriptCore:
Reviewed by Geoffrey Garen.
Rolling back in after fixing Windows build issues, and implementing
branchTest8 for the Qt port's strange assemblers.
This implements global variable constant folding by allowing the optimizing
compiler to set a "watchpoint" on globals that it wishes to constant fold.
If the watchpoint fires, then an OSR exit is forced by overwriting the
machine code that the optimizing compiler generated with a jump.
As such, this patch is adding quite a bit of stuff:
- Jump replacement on those hardware targets supported by the optimizing JIT. It is now possible to patch in a jump instruction over any recorded watchpoint label. The jump must be "local" in the sense that it must be within the range of the largest jump distance supported by a one instruction jump.
- WatchpointSets and Watchpoints. A Watchpoint is a doubly-linked list node that records the location where a jump must be inserted and the destination to which it should jump. Watchpoints can be added to a WatchpointSet. The WatchpointSet can be fired all at once, which plants all jumps. WatchpointSet also remembers if it had ever been invalidated, which allows for monotonicity: we typically don't want to optimize using watchpoints on something for which watchpoints had previously fired. The act of notifying a WatchpointSet has a trivial fast path in case no Watchpoints are registered (one-byte load+branch).
- SpeculativeJIT::speculationWatchpoint(). It's like speculationCheck(), except that you don't have to emit branches. But, you need to know what WatchpointSet to add the resulting Watchpoint to. Not everything that you could write a speculationCheck() for will have a WatchpointSet that would get notified if the condition you were speculating against became invalid.
- SymbolTableEntry now has the ability to refer to a WatchpointSet. It can do so without incurring any space overhead for those entries that don't have WatchpointSets.
- The bytecode generator infers all global function variables to be watchable, and makes all stores perform the WatchpointSet's write check, and marks all loads as being potentially watchable (i.e. you can compile them to a watchpoint and a constant).
Put together, this allows for fully sleazy inlining of calls to globally
declared functions. The inline prologue will no longer contain the load of
the function, or any checks of the function you're calling. I.e. it's
pretty much like the kind of inlining you would see in Java or C++.
Furthermore, the watchpointing functionality is built to be fairly general,
and should allow setting watchpoints on all sorts of interesting things
in the future.
The sleazy inlining means that we will now sometimes inline in code paths
that have never executed. Previously, to inline we would have either had
to have executed the call (to read the call's inline cache) or have
executed the method check (to read the method check's inline cache). Now,
we might inline when the callee is a watched global variable. This
revealed some humorous bugs. First, constant folding disagreed with CFA
over what kinds of operations can clobber (example: code path A is dead
but stores a String into variable X, all other code paths store 0 into
X, and then you do CompareEq(X, 0) - CFA will say that this is a non-
clobbering constant, but constant folding thought it was clobbering
because it saw the String prediction). Second, inlining would crash if
the inline callee had not been compiled. This patch fixes both bugs,
since otherwise run-javascriptcore-tests would report regressions.
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- Target.pri:
- assembler/ARMv7Assembler.h:
(ARMv7Assembler):
(JSC::ARMv7Assembler::ARMv7Assembler):
(JSC::ARMv7Assembler::labelForWatchpoint):
(JSC::ARMv7Assembler::label):
(JSC::ARMv7Assembler::replaceWithJump):
(JSC::ARMv7Assembler::maxJumpReplacementSize):
- assembler/AbstractMacroAssembler.h:
(JSC):
(AbstractMacroAssembler):
(Label):
(JSC::AbstractMacroAssembler::watchpointLabel):
(JSC::AbstractMacroAssembler::readPointer):
- assembler/AssemblerBuffer.h:
- assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::branchTest8):
(MacroAssemblerARM):
(JSC::MacroAssemblerARM::replaceWithJump):
(JSC::MacroAssemblerARM::maxJumpReplacementSize):
- assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::load8Signed):
(JSC::MacroAssemblerARMv7::load16Signed):
(MacroAssemblerARMv7):
(JSC::MacroAssemblerARMv7::replaceWithJump):
(JSC::MacroAssemblerARMv7::maxJumpReplacementSize):
(JSC::MacroAssemblerARMv7::branchTest8):
(JSC::MacroAssemblerARMv7::jump):
(JSC::MacroAssemblerARMv7::makeBranch):
- assembler/MacroAssemblerMIPS.h:
(JSC::MacroAssemblerMIPS::branchTest8):
(MacroAssemblerMIPS):
(JSC::MacroAssemblerMIPS::replaceWithJump):
(JSC::MacroAssemblerMIPS::maxJumpReplacementSize):
- assembler/MacroAssemblerSH4.h:
(JSC::MacroAssemblerSH4::branchTest8):
(MacroAssemblerSH4):
(JSC::MacroAssemblerSH4::replaceWithJump):
(JSC::MacroAssemblerSH4::maxJumpReplacementSize):
- assembler/MacroAssemblerX86.h:
(MacroAssemblerX86):
(JSC::MacroAssemblerX86::branchTest8):
- assembler/MacroAssemblerX86Common.h:
(JSC::MacroAssemblerX86Common::replaceWithJump):
(MacroAssemblerX86Common):
(JSC::MacroAssemblerX86Common::maxJumpReplacementSize):
- assembler/MacroAssemblerX86_64.h:
(MacroAssemblerX86_64):
(JSC::MacroAssemblerX86_64::branchTest8):
- assembler/X86Assembler.h:
(JSC::X86Assembler::X86Assembler):
(X86Assembler):
(JSC::X86Assembler::cmpb_im):
(JSC::X86Assembler::testb_im):
(JSC::X86Assembler::labelForWatchpoint):
(JSC::X86Assembler::label):
(JSC::X86Assembler::replaceWithJump):
(JSC::X86Assembler::maxJumpReplacementSize):
(JSC::X86Assembler::X86InstructionFormatter::memoryModRM):
- bytecode/CodeBlock.cpp:
(JSC):
(JSC::CodeBlock::printGetByIdCacheStatus):
(JSC::CodeBlock::dump):
- bytecode/CodeBlock.h:
(JSC::CodeBlock::appendOSRExit):
(JSC::CodeBlock::appendSpeculationRecovery):
(CodeBlock):
(JSC::CodeBlock::appendWatchpoint):
(JSC::CodeBlock::numberOfWatchpoints):
(JSC::CodeBlock::watchpoint):
(DFGData):
- bytecode/DFGExitProfile.h:
(JSC::DFG::exitKindToString):
(JSC::DFG::exitKindIsCountable):
- bytecode/GetByIdStatus.cpp:
(JSC::GetByIdStatus::computeForChain):
- bytecode/Instruction.h:
(Instruction):
(JSC::Instruction::Instruction):
- bytecode/Opcode.h:
(JSC):
(JSC::padOpcodeName):
- bytecode/Watchpoint.cpp: Added.
(JSC):
(JSC::Watchpoint::~Watchpoint):
(JSC::Watchpoint::correctLabels):
(JSC::Watchpoint::fire):
(JSC::WatchpointSet::WatchpointSet):
(JSC::WatchpointSet::~WatchpointSet):
(JSC::WatchpointSet::add):
(JSC::WatchpointSet::notifyWriteSlow):
(JSC::WatchpointSet::fireAllWatchpoints):
- bytecode/Watchpoint.h: Added.
(JSC):
(Watchpoint):
(JSC::Watchpoint::Watchpoint):
(JSC::Watchpoint::setDestination):
(WatchpointSet):
(JSC::WatchpointSet::isStillValid):
(JSC::WatchpointSet::hasBeenInvalidated):
(JSC::WatchpointSet::startWatching):
(JSC::WatchpointSet::notifyWrite):
(JSC::WatchpointSet::addressOfIsWatched):
- bytecompiler/BytecodeGenerator.cpp:
(JSC::ResolveResult::checkValidity):
(JSC::BytecodeGenerator::addGlobalVar):
(JSC::BytecodeGenerator::BytecodeGenerator):
(JSC::BytecodeGenerator::resolve):
(JSC::BytecodeGenerator::emitResolve):
(JSC::BytecodeGenerator::emitResolveWithBase):
(JSC::BytecodeGenerator::emitResolveWithThis):
(JSC::BytecodeGenerator::emitGetStaticVar):
(JSC::BytecodeGenerator::emitPutStaticVar):
- bytecompiler/BytecodeGenerator.h:
(BytecodeGenerator):
- bytecompiler/NodesCodegen.cpp:
(JSC::FunctionCallResolveNode::emitBytecode):
(JSC::PostfixResolveNode::emitBytecode):
(JSC::PrefixResolveNode::emitBytecode):
(JSC::ReadModifyResolveNode::emitBytecode):
(JSC::AssignResolveNode::emitBytecode):
(JSC::ConstDeclNode::emitCodeSingle):
- dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
(JSC::DFG::AbstractState::clobberStructures):
- dfg/DFGAbstractState.h:
(AbstractState):
(JSC::DFG::AbstractState::didClobber):
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleInlining):
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGCCallHelpers.h:
(CCallHelpers):
(JSC::DFG::CCallHelpers::setupArguments):
- dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::globalVarWatchpointElimination):
(CSEPhase):
(JSC::DFG::CSEPhase::globalVarStoreElimination):
(JSC::DFG::CSEPhase::performNodeCSE):
- dfg/DFGCapabilities.h:
(JSC::DFG::canCompileOpcode):
- dfg/DFGConstantFoldingPhase.cpp:
(JSC::DFG::ConstantFoldingPhase::run):
- dfg/DFGCorrectableJumpPoint.h:
(JSC::DFG::CorrectableJumpPoint::isSet):
(CorrectableJumpPoint):
- dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::linkOSRExits):
(JSC::DFG::JITCompiler::link):
- dfg/DFGNode.h:
(JSC::DFG::Node::hasIdentifierNumberForCheck):
(Node):
(JSC::DFG::Node::identifierNumberForCheck):
(JSC::DFG::Node::hasRegisterPointer):
- dfg/DFGNodeType.h:
(DFG):
- dfg/DFGOSRExit.cpp:
(JSC::DFG::OSRExit::OSRExit):
- dfg/DFGOSRExit.h:
(OSRExit):
- dfg/DFGOperations.cpp:
- dfg/DFGOperations.h:
- dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
- dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):
(JSC::DFG::SpeculativeJIT::appendCall):
(SpeculativeJIT):
(JSC::DFG::SpeculativeJIT::speculationWatchpoint):
- dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
- jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
(JSC::JIT::privateCompileSlowCases):
- jit/JIT.h:
- jit/JITPropertyAccess.cpp:
(JSC::JIT::emit_op_put_global_var_check):
(JSC):
(JSC::JIT::emitSlow_op_put_global_var_check):
- jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emit_op_put_global_var_check):
(JSC):
(JSC::JIT::emitSlow_op_put_global_var_check):
- jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
(JSC):
- jit/JITStubs.h:
- llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
(LLInt):
- llint/LLIntSlowPaths.h:
(LLInt):
- llint/LowLevelInterpreter32_64.asm:
- llint/LowLevelInterpreter64.asm:
- runtime/JSObject.cpp:
(JSC::JSObject::removeDirect):
- runtime/JSObject.h:
(JSObject):
- runtime/JSSymbolTableObject.h:
(JSC::symbolTableGet):
(JSC::symbolTablePut):
(JSC::symbolTablePutWithAttributes):
- runtime/SymbolTable.cpp: Added.
(JSC):
(JSC::SymbolTableEntry::copySlow):
(JSC::SymbolTableEntry::freeFatEntrySlow):
(JSC::SymbolTableEntry::couldBeWatched):
(JSC::SymbolTableEntry::attemptToWatch):
(JSC::SymbolTableEntry::addressOfIsWatched):
(JSC::SymbolTableEntry::addWatchpoint):
(JSC::SymbolTableEntry::notifyWriteSlow):
(JSC::SymbolTableEntry::inflateSlow):
- runtime/SymbolTable.h:
(JSC):
(SymbolTableEntry):
(Fast):
(JSC::SymbolTableEntry::Fast::Fast):
(JSC::SymbolTableEntry::Fast::isNull):
(JSC::SymbolTableEntry::Fast::getIndex):
(JSC::SymbolTableEntry::Fast::isReadOnly):
(JSC::SymbolTableEntry::Fast::getAttributes):
(JSC::SymbolTableEntry::Fast::isFat):
(JSC::SymbolTableEntry::SymbolTableEntry):
(JSC::SymbolTableEntry::~SymbolTableEntry):
(JSC::SymbolTableEntry::operator=):
(JSC::SymbolTableEntry::isNull):
(JSC::SymbolTableEntry::getIndex):
(JSC::SymbolTableEntry::getFast):
(JSC::SymbolTableEntry::getAttributes):
(JSC::SymbolTableEntry::isReadOnly):
(JSC::SymbolTableEntry::watchpointSet):
(JSC::SymbolTableEntry::notifyWrite):
(FatEntry):
(JSC::SymbolTableEntry::FatEntry::FatEntry):
(JSC::SymbolTableEntry::isFat):
(JSC::SymbolTableEntry::fatEntry):
(JSC::SymbolTableEntry::inflate):
(JSC::SymbolTableEntry::bits):
(JSC::SymbolTableEntry::freeFatEntry):
(JSC::SymbolTableEntry::pack):
(JSC::SymbolTableEntry::isValidIndex):
Source/WTF:
Reviewed by Geoffrey Garen.
Added ability to set the inline capacity of segmented vectors.
Also added the ability ot ASSERT_NOT_REACHED() without having to
propagate NO_RETURN macros, which would be a show-stopper for code
that is conditionally unreachable.
- wtf/Assertions.h:
(UNREACHABLE_FOR_PLATFORM):
- wtf/SegmentedVector.h:
(WTF):
(SegmentedVectorIterator):
(WTF::SegmentedVectorIterator::operator=):
(WTF::SegmentedVectorIterator::SegmentedVectorIterator):
(SegmentedVector):
LayoutTests:
Rubber stamped by Geoffrey Garen.
Added a test for watchpoints. Also updated the jsc-test-list to include the latest
tests.
- fast/js/dfg-call-function-hit-watchpoint-expected.txt: Added.
- fast/js/dfg-call-function-hit-watchpoint.html: Added.
- fast/js/jsc-test-list:
- fast/js/script-tests/dfg-call-function-hit-watchpoint.js: Added.
(foo):
(bar):
(.foo):
- 1:43 PM Changeset in webkit [120243] by
-
- 3 edits in trunk/Tools
nrwt: implement the actual cascade of TestExpectations
https://bugs.webkit.org/show_bug.cgi?id=88947
Reviewed by Ojan Vafai.
This change implements the actual cascade by removing the
concept of 'overrides' from the TestExpectations object and
parsing each file separately.
There is an actual semantic change in this patch, in that
setting an expectation on a directory in one file will override
the expectations on any individual tests set in prior files. The
test_overridesdirectory() unit test verifies this.
Otherwise, this patch mostly consists of deleting code :).
- Scripts/webkitpy/layout_tests/models/test_expectations.py:
(TestExpectationsModel.init):
(TestExpectationsModel.add_expectation_line):
(TestExpectationsModel._add_test):
(TestExpectationsModel._already_seen_better_match):
(TestExpectations.init):
(TestExpectations._add_expectations):
- Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
(test_overridesdirectory):
- 1:37 PM Changeset in webkit [120242] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening after r120228, fix an incorrect test expectation.
- platform/gtk/TestExpectations:
- 1:29 PM Changeset in webkit [120241] by
-
- 8 edits4 adds in trunk
[V8] IndexedDB: Cursor value modifications should be preserved until cursor iterates
https://bugs.webkit.org/show_bug.cgi?id=83526
Patch by Alec Flett <alecflett@chromium.org> on 2012-06-13
Reviewed by Kentaro Hara.
Source/WebCore:
Cache the 'value' attribute of IDBCursorWithValue with policy
determined by IDBCursor.cpp, to follow spec behavior of keeping a
consistent script object until the cursor advances. See
http://www.w3.org/TR/IndexedDB/#widl-IDBCursorWithValueSync-value
for details.
Test: storage/indexeddb/cursor-value.html
- Modules/indexeddb/IDBCursor.cpp:
(WebCore::IDBCursor::IDBCursor):
(WebCore::IDBCursor::value):
(WebCore::IDBCursor::setValueReady):
- Modules/indexeddb/IDBCursor.h:
(IDBCursor):
(WebCore::IDBCursor::valueIsDirty):
- Modules/indexeddb/IDBCursorWithValue.idl:
- WebCore.gypi:
- bindings/v8/IDBCustomBindings.cpp: Added.
(WebCore):
(WebCore::V8IDBCursorWithValue::valueAccessorGetter):
LayoutTests:
- storage/indexeddb/cursor-value-expected.txt: Added.
- storage/indexeddb/cursor-value.html: Added.
- storage/indexeddb/resources/cursor-value.js: Added.
(openDatabase.request.onsuccess.request.onsuccess):
(openDatabase.request.onsuccess):
(openDatabase):
(testCursor.request.onsuccess):
(testCursor):
(ensureModificationsNotPersisted.request.onsuccess):
(ensureModificationsNotPersisted):
- 1:14 PM Changeset in webkit [120240] by
-
- 6 edits in trunk/Tools
webkitpy: update callers to use port.expectation_dict() instead of test_expectations() and test_expectations_overrides()
https://bugs.webkit.org/show_bug.cgi?id=88946
Reviewed by Ojan Vafai.
In preparation for fully supporting cascading expectations files
and removing the 'overrides' concept.
There should be no functional changes in this patch.
- Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
(ManagerTest.test_update_summary_with_result):
(ResultSummaryTest.get_result_summary):
- Scripts/webkitpy/layout_tests/models/test_expectations.py:
(TestExpectations.init):
- Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
(parse_exp):
(SkippedTests.check):
(RemoveConfigurationsTest.test_remove):
(test_remove_line):
- Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(LintTest.test_all_configurations.FakePort.init):
(LintTest.test_all_configurations.FakePort.expectations_dict):
(LintTest.test_lint_test_fileserrors):
- Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
(test_overrides_are_included_correctly):
- 1:04 PM Changeset in webkit [120239] by
-
- 2 edits in trunk/Source/WebCore
Code cleanup from bug 88881 to share the SliderVerticalPart code.
https://bugs.webkit.org/show_bug.cgi?id=88930
Patch by Silvia Pfeiffer <silviapf@chromium.org> on 2012-06-13
Reviewed by Eric Carlson.
No new tests - this is just code cleanup.
- html/shadow/SliderThumbElement.cpp:
(WebCore::hasVerticalAppearance):
Avoid having two ifdef-ed returns in the code depending on ENABLE(VIDEO).
- 12:46 PM Changeset in webkit [120238] by
-
- 2 edits in trunk/Tools
webkitpy: rework the TestExpectations style checker in preparation for the cascade
https://bugs.webkit.org/show_bug.cgi?id=88945
Reviewed by Ojan Vafai.
This patch changes the style checker to call the
TestExpectations parser directly and be oblivious as to what the
port's actual expectations are.
- Scripts/webkitpy/style/checkers/test_expectations.py:
(TestExpectationsChecker.init):
(TestExpectationsChecker.check_test_expectations):
- 12:45 PM Changeset in webkit [120237] by
-
- 2 edits1 move1 add1 delete in trunk/LayoutTests
REGRESSION(r120108): It made http/tests/loading/gmail-assert-on-load.html fail
https://bugs.webkit.org/show_bug.cgi?id=88923
Patch by Shrey Banga <banga@chromium.org> on 2012-06-13
Reviewed by Csaba Osztrogonác.
- http/tests/loading/gmail-assert-on-load-expected.txt: Removed.
- http/tests/misc/gmail-assert-on-load-expected.txt: Added.
- http/tests/misc/gmail-assert-on-load.html: Renamed from LayoutTests/http/tests/loading/gmail-assert-on-load.html.
All tests in http/tests/loading dump frame load events, which are not
consistent or relevant for this test. So it had to be moved out of
http/tests/loading.
- platform/qt/Skipped: This test can be unskipped now
- 12:40 PM Changeset in webkit [120236] by
-
- 11 edits in trunk/Tools
nrwt: restructure the port classes to handle multiple expectations files
https://bugs.webkit.org/show_bug.cgi?id=88944
Reviewed by Ojan Vafai.
This patch restructures the Port classes so that each port
returns a list of TestExpectations files to be used (in a new, public,
expectations_files() method), and the base implementation rolls them
up into the ordered expectations_dict(), which becomes a public
method.
port.path_to_test_expectations_file(), port.test_expectations(),
and port.test_expectations_overrides() are then reimplemented as
wrappers around port.expectations_dict().
port.test_expectations() and port.test_expectations_overrides()
will eventually be removed when the cascade is fully completed,
and port.path_to_test_expectations_file() will be removed when
the rebaselining tool supports the cascade
(expectations_files() may also become private at that point).
There should be no functional changes in this patch, but a bunch
of custom logic gets deleted!
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.expectations_dict):
(Port):
(Port.expectations_files):
(Port.test_expectations):
(Port.test_expectations_overrides):
- Scripts/webkitpy/layout_tests/port/base_unittest.py:
(PortTest.test_additional_expectations):
(PortTest.test_uses_test_expectations_file):
- Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumPort.all_baseline_variants):
(ChromiumPort.expectations_files):
- Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
(ChromiumPortTest.test_overrides_and_builder_names):
- Scripts/webkitpy/layout_tests/port/google_chrome.py:
(_expectations_files):
(GoogleChromeLinux32Port.expectations_files):
(GoogleChromeLinux64Port.expectations_files):
(GoogleChromeMacPort.expectations_files):
(GoogleChromeWinPort.expectations_files):
- Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
(TestGoogleChromePort._verify_expectations_overrides):
- Scripts/webkitpy/layout_tests/port/port_testcase.py:
(PortTestCase.test_expectations_ordering):
- Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitPort._skipped_file_search_paths):
- Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
(TestRebaseline.test_rebaseline_updates_expectations_file_noop):
(test_rebaseline_updates_expectations_file):
(test_rebaseline_does_not_include_overrides):
(test_rebaseline_expectations):
(test_overrides_are_included_correctly):
- 12:28 PM Changeset in webkit [120235] by
-
- 3 edits in trunk/Tools
[WinCairo] Update URL of WinCairoRequirements.zip download.
https://bugs.webkit.org/show_bug.cgi?id=89009
Reviewed by Martin Robinson.
- Tools/Scripts/update-webkit-dependency: Put fallback code
to download a "last update" time from servers that don't properly
report Last-Modified in their HTTP header.
- Tools/Scripts/update-webkit-wincairo-libs: Change download link
for the WinCairo build requirements bundle.
- 12:21 PM Changeset in webkit [120234] by
-
- 2 edits in trunk/Source/WebCore
[chromium mac] Don't include things in subframeworks of
ApplicationServices.framework.
A CoreText #include (with quotes instead of brackets, even) sprung up
in r120506, bug 69826.
https://bugs.webkit.org/show_bug.cgi?id=88569
Patch by Mark Mentovai <mark@chromium.org> on 2012-06-13
Reviewed by Stephen White.
No new tests.
- platform/graphics/harfbuzz/ng/HarfBuzzFaceCoreText.cpp:
- 12:09 PM Changeset in webkit [120233] by
-
- 2 edits in trunk/Source/WebKit2
[Qt][WK2] ASSERT(m_rawAttributes.initialScale > 0) in QtViewportHandler::initialRect()
https://bugs.webkit.org/show_bug.cgi?id=89026
Reviewed by Csaba Osztrogonác.
Only act on viewport attribute changes if the layout size is valid.
- UIProcess/qt/QtViewportHandler.cpp:
(WebKit::QtViewportHandler::setInitialScaleIfNeeded):
(WebKit::QtViewportHandler::viewportAttributesChanged):
- 12:08 PM Changeset in webkit [120232] by
-
- 3 edits in trunk/LayoutTests
REGRESSION (r120204-r120206): 37 fast/profiler tests failing on GTK Linux 64-bit Release
https://bugs.webkit.org/show_bug.cgi?id=89006
Patch by Vineet Chaudhary <Vineet> on 2012-06-13
Reviewed by Enrica Casucci.
- fast/profiler/nested-start-and-stop-profiler-expected.txt:
- fast/profiler/resources/profiler-test-JS-resources.js:
(printProfileNodeWithoutTime): change childern to children()
- 12:00 PM Changeset in webkit [120231] by
-
- 2 edits in trunk/Source/WebKit2
[WinCairo] Build fix after Windows export definition file change.
- win/WebKit2CFLite.def: Add missing symbol exports.
- 11:50 AM Changeset in webkit [120230] by
-
- 5 edits in trunk/Tools
nrwt: preliminary cleanup before supporting cascading expectations files
https://bugs.webkit.org/show_bug.cgi?id=88942
Reviewed by Ojan Vafai.
This change just prepares the TestExpectations parser to get filenames
along with the expectations, and improves the warning messages so that
they contain the filenames along with the line numbers.
There should be no functional changes in this patch.
- Scripts/webkitpy/layout_tests/controllers/test_expectations_editor_unittest.py:
(TestExpectationEditorTests.make_parsed_expectation_lines):
- Scripts/webkitpy/layout_tests/models/test_expectations.py:
(TestExpectationParser.parse):
(TestExpectationParser.expectation_for_skipped_test):
(TestExpectationParser._tokenize):
(TestExpectationParser._tokenize_list):
(TestExpectationLine):
(TestExpectationsModel.init):
(TestExpectationsModel._already_seen_better_match):
(TestExpectations.init):
(TestExpectations._shorten_filename):
(TestExpectations._report_warnings):
(TestExpectations._add_skipped_tests):
- Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
(TestExpectationParserTests._tokenize):
(TestExpectationParserTests.test_tokenize_blank):
(TestExpectationParserTests.test_tokenize_missing_colon):
(TestExpectationParserTests.test_tokenize_extra_colon):
(TestExpectationParserTests.test_tokenize_empty_comment):
(TestExpectationParserTests.test_tokenize_comment):
(TestExpectationParserTests.test_tokenize_missing_equal):
(TestExpectationParserTests.test_tokenize_extra_equal):
(TestExpectationParserTests.test_tokenize_valid):
(TestExpectationParserTests.test_tokenize_valid_with_comment):
(TestExpectationParserTests.test_tokenize_valid_with_multiple_modifiers):
(TestExpectationParserTests.test_parse_empty_string):
(TestExpectationSerializerTests._tokenize):
(TestExpectationSerializerTests.assert_round_trip):
(TestExpectationSerializerTests.assert_list_round_trip):
- Scripts/webkitpy/tool/servers/gardeningserver.py:
(GardeningExpectationsUpdater.update_expectations):
- 11:45 AM Changeset in webkit [120229] by
-
- 4 edits in trunk/Source/WebCore
Removing an extra HandleScope in V8Proxy::evaluateInIsolatedWorld
https://bugs.webkit.org/show_bug.cgi?id=88451
Patch by Eriq Augustine <eaugusti@chromium.org> on 2012-06-13
Reviewed by Adam Barth.
Any values retuned by the evaluation will get destroyed with the extra
HandleScope.
I was unable to cause a test failure, however this feature is tested by:
platform/chromium/http/tests/misc/execute-and-return-value.html
- bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::evaluateInIsolatedWorld):
- 11:21 AM Changeset in webkit [120228] by
-
- 8 edits in trunk
[Gtk] Enable link prefetch support in the developer builds
https://bugs.webkit.org/show_bug.cgi?id=89011
Reviewed by Martin Robinson.
.:
Rather export an automake conditional than define a preprocessor
macro for enabling link prefetch support.
- configure.ac:
Source/WebCore:
Handle the ENABLE_LINK_PREFETCH conditional in standard way.
No new tests - covered by existing link prefetch tests.
- GNUmakefile.am:
Tools:
Enable the link prefetch support for Gtk by default in developer
builds.
- Scripts/webkitperl/FeatureList.pm:
LayoutTests:
Remove expectations for link prefetch tests that now pass and
recategorise a few failures that now fail due to missing
dumpResourceResponseMIMETypes implementation in DumpRenderTree.
- platform/gtk/TestExpectations:
- 11:11 AM Changeset in webkit [120227] by
-
- 2 edits in branches/chromium/1132/Source/WebKit/chromium
Merge 120219 - [Chromium] WebFrameImpl::find doesn't work for searching from a selection.
https://bugs.webkit.org/show_bug.cgi?id=88885
Patch by Martin Kosiba <mkosiba@google.com> on 2012-06-13
Reviewed by Adam Barth.
Remember the active match not just until the seatchText changes but for the entire find session.
- src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::find):
(WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
TBR=commit-queue@webkit.org
Review URL: https://chromiumcodereview.appspot.com/10541145
- 11:04 AM Changeset in webkit [120226] by
-
- 3 edits1 add2 deletes in trunk/Source/WebKit/chromium
Unreviewed, rolling out r120220.
http://trac.webkit.org/changeset/120220
https://bugs.webkit.org/show_bug.cgi?id=89021
The patch broke build Chromium Win Release (Requested by
wangxianzhu on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-13
- WebKit.gyp:
- public/linux/WebFontRendering.h:
(WebKit):
(WebFontRendering):
- public/linuxish/WebFontRendering.h: Removed.
- src/linux/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp.
(WebKit):
(WebKit::WebFontRendering::setHinting):
(WebKit::WebFontRendering::setAntiAlias):
(WebKit::WebFontRendering::setSubpixelGlyphs):
(WebKit::WebFontRendering::setSubpixelRendering):
(WebKit::WebFontRendering::setSubpixelPositioning):
(WebKit::WebFontRendering::setLCDOrder):
(WebKit::WebFontRendering::setLCDOrientation):
- 10:56 AM Changeset in webkit [120225] by
-
- 2 edits in trunk/LayoutTests
Unreviewed flakiness removal.
- platform/chromium/TestExpectations:
The test was improved as bug 52064 (which was fixed some time ago). The test isn't showing
up as flaky anymore so removing it.
- 10:36 AM Changeset in webkit [120224] by
-
- 16 edits in trunk/Source
Rename currentDeviceMotion to lastMotion in DeviceMotionClient
https://bugs.webkit.org/show_bug.cgi?id=88854
Patch by Amy Ousterhout <aousterh@chromium.org> on 2012-06-13
Reviewed by Adam Barth.
Rename the function currentDeviceMotion to lastMotion in DeviceMotionClient.
This makes it consistent with the similar function lastOrientation in DeviceOrientationClient.
Source/WebCore:
Just a rename, so does not require any new tests.
- dom/DeviceMotionClient.h:
(DeviceMotionClient):
- dom/DeviceMotionController.cpp:
(WebCore::DeviceMotionController::timerFired):
(WebCore::DeviceMotionController::addListener):
- loader/EmptyClients.h:
(WebCore::EmptyDeviceMotionClient::lastMotion):
- platform/qt/DeviceMotionClientQt.cpp:
(WebCore::DeviceMotionClientQt::lastMotion):
- platform/qt/DeviceMotionClientQt.h:
(DeviceMotionClientQt):
- platform/qt/DeviceMotionProviderQt.h:
(WebCore::DeviceMotionProviderQt::lastMotion):
Source/WebKit/blackberry:
- WebCoreSupport/DeviceMotionClientBlackBerry.cpp:
(DeviceMotionClientBlackBerry::lastMotion):
(DeviceMotionClientBlackBerry::onMotion):
- WebCoreSupport/DeviceMotionClientBlackBerry.h:
(DeviceMotionClientBlackBerry):
Source/WebKit/efl:
- WebCoreSupport/DeviceMotionClientEfl.cpp:
(WebCore::DeviceMotionClientEfl::lastMotion):
- WebCoreSupport/DeviceMotionClientEfl.h:
(DeviceMotionClientEfl):
Source/WebKit/gtk:
- WebCoreSupport/DeviceMotionClientGtk.cpp:
(WebKit::DeviceMotionClientGtk::lastMotion):
- WebCoreSupport/DeviceMotionClientGtk.h:
(DeviceMotionClientGtk):
- 10:32 AM Changeset in webkit [120223] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: Breakpoint's _uiLocationRemoved() method is never called.
https://bugs.webkit.org/show_bug.cgi?id=89003
Reviewed by Pavel Feldman.
- inspector/front-end/BreakpointManager.js:
(WebInspector.BreakpointManager.prototype.breakpointLocationsForUISourceCode):
(WebInspector.BreakpointManager.Breakpoint):
(WebInspector.BreakpointManager.Breakpoint.prototype._locationUpdated):
(WebInspector.BreakpointManager.Breakpoint.prototype._resetLocations):
(WebInspector.BreakpointManager.Breakpoint.prototype._fakeBreakpointAtPrimaryLocation):
- inspector/front-end/FileSystemModel.js: Drive by compilation fix.
(WebInspector.FileSystemModel):
- 10:30 AM Changeset in webkit [120222] by
-
- 5 edits3 adds in trunk
IndexedDB: Add tests, an assert, and some comments around open/close/setVersion call sequencing
https://bugs.webkit.org/show_bug.cgi?id=88829
Reviewed by Tony Chang.
Source/WebCore:
Test: storage/indexeddb/three-setversion-calls.html
- Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::processPendingCalls):
LayoutTests:
- storage/indexeddb/factory-deletedatabase-interactions-expected.txt:
- storage/indexeddb/resources/factory-deletedatabase-interactions.js:
(Connection.this.open.req.onsuccess.that.handle.onversionchange):
(Connection.this.open.req.onsuccess):
(Connection.this.open):
(test3):
(test4.runSteps.):
(test4):
(test4.):
- storage/indexeddb/resources/three-setversion-calls.js: Added.
(test):
(openDBConnection):
(successHandler.return.trans.oncomplete):
(openSuccess1.deleteRequest.onsuccess):
(openSuccess1):
- storage/indexeddb/three-setversion-calls-expected.txt: Added.
- storage/indexeddb/three-setversion-calls.html: Added.
- 10:24 AM Changeset in webkit [120221] by
-
- 16 edits14 adds8 deletes in trunk/LayoutTests
Unreviewed Chromium test expectation update after r119893.
- fast/multicol/nested-columns-expected.txt: Added.
- fast/multicol/vertical-lr/nested-columns-expected.txt: Added.
- platform/chromium-linux-x86/fast/borders: Removed.
- platform/chromium-linux-x86/fast/multicol/vertical-rl: Added.
- platform/chromium-linux-x86/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
- platform/chromium-linux/fast/borders/border-antialiasing-expected.png:
- platform/chromium-linux/fast/multicol/nested-columns-expected.png:
- platform/chromium-linux/fast/multicol/vertical-lr/nested-columns-expected.png:
- platform/chromium-linux/fast/multicol/vertical-rl/nested-columns-expected.png:
- platform/chromium-linux/fast/sub-pixel/file-upload-control-at-fractional-offset-expected.png: Added.
- platform/chromium-linux/fast/sub-pixel/file-upload-control-at-fractional-offset-expected.txt: Added.
- platform/chromium-mac-leopard/fast/borders/border-antialiasing-expected.png:
- platform/chromium-mac-leopard/fast/multicol/nested-columns-expected.png:
- platform/chromium-mac-leopard/fast/sub-pixel/file-upload-control-at-fractional-offset-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/sub-pixel/file-upload-control-at-fractional-offset-expected.txt: Removed.
- platform/chromium-mac/fast/borders/border-antialiasing-expected.png:
- platform/chromium-mac/fast/multicol/nested-columns-expected.png:
- platform/chromium-mac/fast/multicol/vertical-lr/nested-columns-expected.png:
- platform/chromium-mac/fast/multicol/vertical-rl/nested-columns-expected.png:
- platform/chromium-mac/fast/sub-pixel/file-upload-control-at-fractional-offset-expected.png: Added.
- platform/chromium-mac/fast/sub-pixel/file-upload-control-at-fractional-offset-expected.txt: Added.
- platform/chromium-win-vista/fast/borders: Removed.
- platform/chromium-win-vista/fast/multicol: Added.
- platform/chromium-win-vista/fast/multicol/vertical-rl: Added.
- platform/chromium-win-vista/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
- platform/chromium-win-xp/fast/borders: Removed.
- platform/chromium-win/fast/borders/border-antialiasing-expected.png:
- platform/chromium-win/fast/multicol/nested-columns-expected.png:
- platform/chromium-win/fast/multicol/vertical-lr/nested-columns-expected.png:
- platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.png:
- platform/chromium-win/fast/sub-pixel/file-upload-control-at-fractional-offset-expected.png: Added.
- platform/chromium-win/fast/sub-pixel/file-upload-control-at-fractional-offset-expected.txt: Added.
- platform/chromium/TestExpectations:
- platform/efl/fast/multicol/nested-columns-expected.txt: Removed.
- platform/efl/fast/multicol/vertical-lr/nested-columns-expected.txt: Removed.
- platform/gtk/fast/multicol/nested-columns-expected.txt: Removed.
- platform/gtk/fast/multicol/vertical-lr/nested-columns-expected.txt: Removed.
- 10:09 AM Changeset in webkit [120220] by
-
- 3 edits1 copy1 move2 adds in trunk/Source/WebKit/chromium
[Chromium] Let Android and Linux share WebFontRendering decl/impl.
https://bugs.webkit.org/show_bug.cgi?id=88802
Reviewed by Adam Barth.
- WebKit.gyp:
- public/linux/WebFontRendering.h: Temporarily forwards to the new file under linuxish.
- public/linuxish: Added.
- public/linuxish/WebFontRendering.h: Copied from chromium/public/linux/WebFontRendering.h.
- src/linux/WebFontRendering.cpp: Removed.
- src/linuxish: Added.
- src/linuxish/WebFontRendering.cpp: Copied from chromium/src/linux/WebFontRendering.cpp.
- 9:41 AM Changeset in webkit [120219] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] WebFrameImpl::find doesn't work for searching from a selection.
https://bugs.webkit.org/show_bug.cgi?id=88885
Patch by Martin Kosiba <mkosiba@google.com> on 2012-06-13
Reviewed by Adam Barth.
Remember the active match not just until the seatchText changes but for the entire find session.
- src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::find):
(WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
- 9:38 AM Changeset in webkit [120218] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] Fixed visible content rect lost during page-load
https://bugs.webkit.org/show_bug.cgi?id=88991
Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-06-13
Reviewed by Kenneth Rohde Christiansen.
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
- 9:26 AM Changeset in webkit [120217] by
-
- 2 edits in trunk/Tools
Update buildbot master in autoinstaller to match build.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=88992
Reviewed by Adam Barth.
- Scripts/webkitpy/thirdparty/init.py:
(AutoinstallImportHook._install_buildbot):
- 9:16 AM Changeset in webkit [120216] by
-
- 2 edits in trunk/LayoutTests
Skip the isolated world tests for Gtk - the infrastructure is missing
and they take too long to fail by timing out, lengthening the bot cycles.
Rubber-stamped by Philippe Normand.
- platform/gtk/TestExpectations:
- 9:13 AM Changeset in webkit [120215] by
-
- 19 edits4 deletes in trunk
Unreviewed, rolling out r120209.
http://trac.webkit.org/changeset/120209
https://bugs.webkit.org/show_bug.cgi?id=89007
Broke the WebKit2 mac build. (Requested by andersca on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-13
Source/WebKit2:
- CMakeLists.txt:
- GNUmakefile.list.am:
- Shared/API/c/WKBase.h:
- Shared/APIClientTraits.h:
- Shared/APIObject.h:
- Shared/IntentData.cpp: Removed.
- Shared/IntentData.h: Removed.
- Target.pri:
- UIProcess/API/C/WKAPICast.h:
(WebKit):
- UIProcess/API/C/WKPage.h:
- UIProcess/API/gtk/WebKitLoaderClient.cpp:
(attachLoaderClientToView):
- UIProcess/WebIntentData.cpp: Removed.
- UIProcess/WebIntentData.h: Removed.
- UIProcess/WebLoaderClient.cpp:
- UIProcess/WebLoaderClient.h:
(WebKit):
(WebLoaderClient):
- UIProcess/WebPageProxy.cpp:
- UIProcess/WebPageProxy.h:
(WebKit):
(WebPageProxy):
- UIProcess/WebPageProxy.messages.in:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchIntent):
Tools:
- MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController awakeFromNib]):
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):
- 8:35 AM Changeset in webkit [120214] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Errors when pending console messages are attached to JavaScriptSourceFrame.
https://bugs.webkit.org/show_bug.cgi?id=88712
Reviewed by Pavel Feldman.
- inspector/front-end/PresentationConsoleMessageHelper.js:
(WebInspector.PresentationConsoleMessageHelper):
(WebInspector.PresentationConsoleMessageHelper.prototype._addPendingConsoleMessage):
(WebInspector.PresentationConsoleMessageHelper.prototype._parsedScriptSource):
- 8:29 AM Changeset in webkit [120213] by
-
- 3 edits in trunk/Source/WebKit/chromium
[Chromium] Fix Clang build with USE(NATIVE_FULLSCREEN_VIDEO)=1
https://bugs.webkit.org/show_bug.cgi?id=88987
Reviewed by Simon Hausmann.
The enterFullscreen method is declared as const by MediaPlayerPrivateInterface,
so this one should be declared as such as well.
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::enterFullscreen):
- src/WebMediaPlayerClientImpl.h:
(WebMediaPlayerClientImpl):
- 8:15 AM Changeset in webkit [120212] by
-
- 2 edits in trunk/Tools
check-webkit-style needs to respect Qt API coding style
https://bugs.webkit.org/show_bug.cgi?id=88995
Reviewed by Csaba Osztrogonác.
Add -whitespace/declaration exception to Qt API files.
- Scripts/webkitpy/style/checker.py:
- 8:14 AM Changeset in webkit [120211] by
-
- 9 edits in trunk/Source/WebKit2
Web Inspector: add a way to get the remote inspector url for a given page.
https://bugs.webkit.org/show_bug.cgi?id=88902
Reviewed by Jocelyn Turcotte.
Expose the remote inspector url for a given page in the API. If you want
to create a web view and load directly the inspector for the page you want to inspect,
it helps to get the url as it is impossible to figure it out from the API layer.
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewExperimental::remoteInspectorUrl):
- UIProcess/API/qt/qquickwebview_p.h:
- UIProcess/InspectorServer/WebInspectorServer.cpp:
(WebKit):
(WebKit::WebInspectorServer::inspectorUrlForPageID):
- UIProcess/InspectorServer/WebInspectorServer.h:
(WebInspectorServer):
- UIProcess/InspectorServer/WebSocketServer.cpp:
(WebKit::WebSocketServer::WebSocketServer):
(WebKit::WebSocketServer::listen):
(WebKit::WebSocketServer::close):
- UIProcess/InspectorServer/WebSocketServer.h:
(WebKit::WebSocketServer::bindAddress):
(WebKit::WebSocketServer::port):
(WebKit::WebSocketServer::serverState):
(WebSocketServer):
- UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp:
(WebKit::remoteInspectorPagePath):
(WebKit):
(WebKit::WebInspectorServer::inspectorUrlForPageID):
(WebKit::WebInspectorServer::buildPageList):
- UIProcess/WebInspectorProxy.h:
(WebKit::WebInspectorProxy::remoteInspectionPageID):
- 8:07 AM Changeset in webkit [120210] by
-
- 9 edits in trunk/LayoutTests
Unreviewed GTK gardening after r120100, r120167, r120173 and r120181.
- fast/events/constructors/speech-recognition-error-constructor-expected.txt:
- platform/gtk/editing/pasteboard/4641033-expected.txt:
- platform/gtk/editing/selection/mixed-editability-1-expected.txt:
- platform/gtk/editing/selection/paragraph-granularity-expected.txt:
- platform/gtk/editing/selection/triple-click-in-pre-expected.txt:
- platform/gtk/editing/selection/word-granularity-expected.txt:
- platform/gtk/fast/multicol/span/clone-flexbox-expected.txt:
- platform/gtk/http/tests/misc/location-replace-crossdomain-expected.txt:
- 8:05 AM Changeset in webkit [120209] by
-
- 19 edits4 copies in trunk
[WK2] Add implementation for dispatchIntent in WebFrameLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=88340
Patch by Christophe Dumez <Christophe Dumez> on 2012-06-13
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
Add implementation for dispatchIntent() in WebFrameLoaderClient.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Shared/API/c/WKBase.h:
- Shared/APIClientTraits.h:
- Shared/APIObject.h:
- Shared/IntentData.cpp: Added.
(WebKit):
(WebKit::IntentData::encode):
(WebKit::IntentData::decode):
- Shared/IntentData.h: Added.
(CoreIPC):
(WebKit):
(IntentData):
- Target.pri:
- UIProcess/API/C/WKAPICast.h:
(WebKit):
- UIProcess/API/C/WKPage.h:
- UIProcess/API/gtk/WebKitLoaderClient.cpp:
(attachLoaderClientToView):
- UIProcess/WebIntentData.cpp: Added.
(WebKit):
(WebKit::WebIntentData::WebIntentData):
(WebKit::WebIntentData::data):
- UIProcess/WebIntentData.h: Added.
(WebKit):
(WebIntentData):
(WebKit::WebIntentData::create):
(WebKit::WebIntentData::~WebIntentData):
(WebKit::WebIntentData::action):
(WebKit::WebIntentData::payloadType):
(WebKit::WebIntentData::extras):
(WebKit::WebIntentData::suggestions):
(WebKit::WebIntentData::type):
- UIProcess/WebLoaderClient.cpp:
(WebKit):
(WebKit::WebLoaderClient::didReceiveIntentForFrame):
- UIProcess/WebLoaderClient.h:
(WebKit):
(WebLoaderClient):
- UIProcess/WebPageProxy.cpp:
(WebKit):
(WebKit::WebPageProxy::didReceiveIntentForFrame):
- UIProcess/WebPageProxy.h:
(WebKit):
(WebPageProxy):
- UIProcess/WebPageProxy.messages.in:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchIntent):
Tools:
Update initialization of WKPageLoaderClient.
- MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController awakeFromNib]):
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):
- 8:03 AM Changeset in webkit [120208] by
-
- 4 edits3 adds in trunk
Web Inspector: Support user attributes in DOMNode
https://bugs.webkit.org/show_bug.cgi?id=88706
Reviewed by Pavel Feldman.
Source/WebCore:
This change allows clients to store arbitrary properties on DOMNodes and know if there are descendants
(and how many of them) having a certain property set.
Test: inspector/elements/user-attributes.html
- inspector/front-end/DOMAgent.js:
(WebInspector.DOMNode.prototype._removeChild):
(WebInspector.DOMNode.prototype._updateChildUserPropertyCountsOnRemoval):
(WebInspector.DOMNode.prototype._updateDescendantUserPropertyCount):
(WebInspector.DOMNode.prototype.setUserProperty):
(WebInspector.DOMNode.prototype.removeUserProperty):
(WebInspector.DOMNode.prototype.getUserProperty):
(WebInspector.DOMNode.prototype.descendantUserPropertyCount):
LayoutTests:
- http/tests/inspector/elements-test.js:
(initialize_ElementTest.InspectorTest.dumpElementsTree.dumpMap):
(initialize_ElementTest.InspectorTest.dumpElementsTree.userPropertyDataDump):
(initialize_ElementTest.InspectorTest.dumpElementsTree.print):
(initialize_ElementTest.InspectorTest.dumpElementsTree):
- inspector/elements/resources/user-properties.js: Added.
(test.step0):
(test.step1):
(test.step2):
(test):
- inspector/elements/user-properties-expected.txt: Added.
- inspector/elements/user-properties.html: Added.
- 8:01 AM Changeset in webkit [120207] by
-
- 3 edits in trunk/Tools
[Qt] Handle multiple held buttons in touch mocking.
https://bugs.webkit.org/show_bug.cgi?id=88865
Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-06-13
Reviewed by Kenneth Rohde Christiansen.
Add handling for multiple held mouse-buttons in the appropiate places.
To do this last-pos and start-pos are now also read from the last recorded
touch-point instead from object-global variables.
- MiniBrowser/qt/MiniBrowserApplication.cpp:
(MiniBrowserApplication::notify):
(MiniBrowserApplication::updateTouchPoint):
- MiniBrowser/qt/MiniBrowserApplication.h:
(MiniBrowserApplication):
- 7:40 AM Changeset in webkit [120206] by
-
- 19 edits in trunk
REGRESSION:Bindings sequence<T> in Console.idl, Internals.idl and ScriptProfileNode.idl should be T[]
https://bugs.webkit.org/show_bug.cgi?id=84863
Patch by Vineet Chaudhary <vineet.chaudhary@motorola.com> on 2012-06-13
Reviewed by Kentaro Hara.
With reference to http://www.w3.org/TR/WebIDL/#idl-sequence
"Sequences must not be used as the type of an attribute, constant or exception field."
So we should use T[] instead of sequence<T>.
Source/WebCore:
Tests: bindings/scripts/test/TestObj.idl
fast/harness/user-preferred-language.html
inspector/profiler/cpu-profiler-profiling-without-inspector.html
media/track/track-language-preference.html
- bindings/scripts/CodeGenerator.pm:
(GetSequenceType): Getter for getting sequence type.
(GetArrayType): Getter for getting array type.
(AssertNotSequenceType): Check sequences must not be used as the type of an attribute,
constant or exception field.
- bindings/scripts/CodeGeneratorCPP.pm:
(SkipFunction): Exclude bindings code for type sequence.
(SkipAttribute): Check for sequences must not be used as the type of an attribute,
constant or exception field.
(AddIncludesForType): Exclude header inclusion code for type array/sequence.
- bindings/scripts/CodeGeneratorGObject.pm:
(SkipAttribute): Check for sequences must not be used as the type of an attribute,
constant or exception field.
(SkipFunction): Exclude bindings code for type sequence.
- bindings/scripts/CodeGeneratorJS.pm:
(AddIncludesForType): Exclude header inclusion code for type array/sequence.
(GenerateImplementation): Check for sequences must not be used as the type of an attribute,
constant or exception field.
(GetNativeType):
(JSValueToNative):
(NativeToJSValue):
- bindings/scripts/CodeGeneratorObjC.pm:
(SkipFunction): Exclude bindings code for type sequence.
(SkipAttribute): Exclude bindings code for type array.
(AddForwardDeclarationsForType):
(AddIncludesForType):
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateNormalAttrGetter):
(GetNativeType):
(JSValueToNative):
(CreateCustomSignature):
(NativeToJSValue):
- bindings/scripts/test/JS/JSTestObj.cpp: Updated code from run-bindings-tests.
(WebCore):
(WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg):
- bindings/scripts/test/JS/JSTestObj.h: Updated code from run-bindings-tests.
(WebCore):
- bindings/scripts/test/TestObj.idl: Tests.
- bindings/scripts/test/V8/V8TestObj.cpp: Updated code from run-bindings-tests.
(TestObjV8Internal):
(WebCore::TestObjV8Internal::methodWithSequenceArgCallback):
(WebCore):
- inspector/ScriptProfileNode.idl: Using sequence<T> for children().
- page/Console.idl: Using Array[T] for profiles attribute.
- testing/Internals.idl: Using sequence<T> for userPreferredLanguages().
LayoutTests:
- fast/harness/user-preferred-language.html: Using getter and setter
for userPreferredLanguages.
- inspector/profiler/cpu-profiler-profiling-without-inspector.html:
Use ScriptProfileNode.children as function.
- media/track/track-language-preference-expected.txt:
- media/track/track-language-preference.html: Using setter for
userPreferredLanguages.
- 7:39 AM Changeset in webkit [120205] by
-
- 4 edits2 adds in trunk/Source/WebKit2
[Qt][WK2] Scanning plugins blocks the UI for a long time
https://bugs.webkit.org/show_bug.cgi?id=88535
Reviewed by Simon Hausmann.
Implement a persistent cache for the meta data of plugins.
This way the UI process will not block for too long when
it's time to scan the plugins (except the first time).
The cache is a json file stored in a standard hidden cache
directory.
- Shared/qt/QtDefaultDataLocation.cpp: Added.
(WebKit):
(WebKit::defaultDataLocation):
- Shared/qt/QtDefaultDataLocation.h: Added.
(WebKit):
Added a common helper for the path we use to
put stuff into.
- Target.pri:
- UIProcess/Plugins/qt/PluginProcessProxyQt.cpp:
(WebKit::cacheFile):
(WebKit):
(WebKit::readMetaDataFromCacheFile):
(WebKit::writeToCacheFile):
(WebKit::appendToCacheFile):
(WebKit::tryReadPluginMetaDataFromCacheFile):
(WebKit::PluginProcessProxy::scanPlugin):
- UIProcess/qt/WebContextQt.cpp:
- 7:37 AM Changeset in webkit [120204] by
-
- 7 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
Rebaseline updated tests to green Qt bots.
Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-06-13
- platform/qt/editing/pasteboard/4641033-expected.txt:
- platform/qt/editing/selection/mixed-editability-1-expected.txt:
- platform/qt/editing/selection/paragraph-granularity-expected.txt:
- platform/qt/editing/selection/triple-click-in-pre-expected.txt:
- platform/qt/editing/selection/word-granularity-expected.txt:
- platform/qt/http/tests/misc/location-replace-crossdomain-expected.txt:
- 7:27 AM Changeset in webkit [120203] by
-
- 2 edits in trunk/Tools
[Qt] Make it possible to disable -Werror in production builds
Reviewed by Tor Arne Vestbø.
Don't do -Werror if build-webkit is called with --qmakearg=CONFIG+=production_build,
something qt5.git's qtwebkit.pri will soon do.
- qmake/mkspecs/features/unix/default_post.prf:
- 7:22 AM Changeset in webkit [120202] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] Do not set contents pos to the current position
https://bugs.webkit.org/show_bug.cgi?id=88990
Reviewed by Laszlo Gombos.
This is basically an optimization but it also solves flickering
in some cases.
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebView::setContentPos):
- 7:08 AM Changeset in webkit [120201] by
-
- 3 edits1 add in trunk/LayoutTests
[EFL][DRT] Gardening for a greener bot
https://bugs.webkit.org/show_bug.cgi?id=88971
Unreviewed, EFL gardening.
Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-06-13
- platform/efl/TestExpectations:
- platform/efl/fast/multicol/span/clone-flexbox-expected.txt: rebaselined after r120100.
- platform/efl/http/tests/loading/gmail-assert-on-load-expected.txt: Added, we print more verbosely.
- 6:54 AM Changeset in webkit [120200] by
-
- 3 edits in trunk/LayoutTests
[GTK][EFL] Skip http/tests/misc/redirect-to-about-blank.html
https://bugs.webkit.org/show_bug.cgi?id=88962
Unreviewed gardening. Skip http/tests/misc/redirect-to-about-blank.html
for both EFL and GTK ports. The test is failing after r120145.
Patch by Christophe Dumez <Christophe Dumez> on 2012-06-13
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- 6:51 AM Changeset in webkit [120199] by
-
- 2 edits in trunk/Tools
[EFL] Store and compare md5sum of jhbuild files to trigger cleaning Dependencies
https://bugs.webkit.org/show_bug.cgi?id=85790
Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-06-13
Reviewed by Gustavo Noronha Silva.
Add md5 checks for jhbuild configuration for EFL, reusing the gtk jhbuild related
code in webkitdirs.pm.
- Scripts/webkitdirs.pm:
(jhbuildConfigurationChanged):
(saveJhbuildMd5):
(cleanJhbuild):
(buildAutotoolsProject):
(generateBuildSystemFromCMakeProject):
- 6:51 AM Changeset in webkit [120198] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening, clean up the crashing tests, either removing
their expectations completely or expanding them to avoid false 'newly-passing'
reports. Also split some expectations as some tests are failing differently in
debug and release builds.
- platform/gtk/TestExpectations:
- 6:46 AM Changeset in webkit [120197] by
-
- 2 edits2 copies in branches/chromium/1132
Merge 117928 - REGRESSION r110315: Event handler throws TypeError for an input element with name="arguments"
https://bugs.webkit.org/show_bug.cgi?id=86991
Reviewed by Ojan Vafai.
Source/WebCore:
Original Chromium bug: http://code.google.com/p/chromium/issues/detail?id=128723
Consider the following html:
<html><body><form>
<input type="hidden" name="arguments"></input>
<div onclick="onclicked()" id="divInsideForm">Click here</div>
</form></body>
<script>
function onclicked() {
alert("onclicked");
}
</script>
</html>
If we click "Click here", JavaScript throws "Uncaught TypeError: undefined has no properties".
This is a regression caused by r110315. V8LazyEventListener should not use
'arguments' to retrieve the execution contexts, since 'arguments' can be
shadowed by JavaScript.
This patch changes V8LazyEventListener so that it retrieves contexts
by this[2], this[1] and this[0].
Test: fast/forms/form-input-named-arguments.html
- bindings/v8/V8LazyEventListener.cpp:
(WebCore::V8LazyEventListener::prepareListenerObject):
LayoutTests:
The added test checks whether an event handler is successfully invoked
for an input element with name="arguments".
- fast/forms/form-input-named-arguments-expected.txt: Added.
- fast/forms/form-input-named-arguments.html: Added.
TBR=haraken@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10532125
- 6:37 AM Changeset in webkit [120196] by
-
- 11 edits in trunk/Source
[Qt] Remove dependency to QtScript for the Qt 5 build
https://bugs.webkit.org/show_bug.cgi?id=88993
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Replace the use of QScriptEngine::ValueOwnership with an enum local
to the class where it is used (QtInstance).
- Target.pri:
- bindings/js/ScriptControllerQt.cpp:
(WebCore::ScriptController::createScriptInstanceForWidget):
- bridge/qt/qt_instance.cpp:
(JSC::Bindings::QtInstance::QtInstance):
(JSC::Bindings::QtInstance::~QtInstance):
(JSC::Bindings::QtInstance::getQtInstance):
- bridge/qt/qt_instance.h:
(QtInstance):
(JSC::Bindings::QtInstance::create):
- bridge/qt/qt_runtime.cpp:
(JSC::Bindings::convertQVariantToValue):
- bridge/qt/qt_runtime_qt4.cpp:
(JSC::Bindings::convertQVariantToValue):
Source/WebKit/qt:
When building against Qt 5, replace the use of QScriptEngine::ValueOwnership with
a (compatible) QWebFrame::ValueOwnership enum.
- Api/qwebframe.cpp:
(qtSenderCallback):
(QWebFrame::addToJavaScriptWindowObject):
- Api/qwebframe.h:
- tests/qobjectbridge/tst_qobjectbridge.cpp:
(tst_QObjectBridge::arrayObjectEnumerable):
(tst_QObjectBridge::ownership):
(tst_QObjectBridge::qObjectWrapperWithSameIdentity):
- 6:11 AM Changeset in webkit [120195] by
-
- 4 edits in trunk/Source/WebCore
[Qt] Save a JSGlobalContextRef instead of a JSContextRef in QtConnectionObject
https://bugs.webkit.org/show_bug.cgi?id=88905
Make QtConnectionObject use JSContextGetGlobalContext and store the
JSGlobalContextRef. Previous code was working but saving JSContextRef was wrong in terms of
API.
There's an assumption that JSGlobalContextRef will outlive the connection objects, and
because of it no JSGlobalContextRetain/Release calls were added.
Reviewed by Noam Rosenthal.
- bridge/qt/qt_runtime.cpp:
(JSC::Bindings::QtRuntimeConnectionMethod::call):
(JSC::Bindings::QtConnectionObject::QtConnectionObject):
- bridge/qt/qt_runtime.h:
(QtConnectionObject):
- bridge/qt/qt_runtime_qt4.cpp:
(JSC::Bindings::QtRuntimeConnectionMethod::call):
(JSC::Bindings::QtConnectionObject::QtConnectionObject):
- 6:04 AM Changeset in webkit [120194] by
-
- 8 edits in trunk
Add dpi to css3-images image-resolution
https://bugs.webkit.org/show_bug.cgi?id=85439
Patch by David Barr <davidbarr@chromium.org> on 2012-06-13
Reviewed by Tony Chang.
Source/WebCore:
No new tests; extended fast/css/image-resolution/image-resolution.html
- css/CSSGrammar.y:
- css/CSSParser.cpp:
(WebCore::CSSParser::validUnit):
(WebCore::CSSParser::createPrimitiveNumericValue):
(WebCore::unitFromString):
(WebCore::CSSParser::parseValidPrimitive):
(WebCore::CSSParser::detectNumberToken):
- css/CSSPrimitiveValue.cpp:
(WebCore::isValidCSSUnitTypeForDoubleConversion):
(WebCore::unitCategory):
(WebCore::conversionToCanonicalUnitsScaleFactor):
(WebCore::CSSPrimitiveValue::customCssText):
(WebCore::CSSPrimitiveValue::cloneForCSSOM):
- css/CSSPrimitiveValue.h:
LayoutTests:
- fast/css/image-resolution/image-resolution-expected.txt:
- fast/css/image-resolution/image-resolution.html:
- 5:52 AM Changeset in webkit [120193] by
-
- 7 edits3 adds in trunk
[Qt] Add configure test for zlib and set WTF_USE_ZLIB if found
https://bugs.webkit.org/show_bug.cgi?id=88763
Tools:
Add configure test for zlib and set WTF_USE_ZLIB if found to enable websocket
extension.
Reviewed by Simon Hausmann.
- qmake/config.tests/libzlib: Added.
- qmake/config.tests/libzlib/libzlib.cpp: Added.
(main):
- qmake/config.tests/libzlib/libzlib.pro: Added.
- qmake/mkspecs/features/features.prf:
- qmake/sync.profile:
LayoutTests:
Move failed websocket extension test case to qt-4.8 after enable it in qt5
Reviewed by Simon Hausmann.
- platform/qt-4.8/Skipped:
- platform/qt/Skipped:
- 5:48 AM Changeset in webkit [120192] by
-
- 2 edits in trunk/LayoutTests
[EFL] http/tests/xmlhttprequest/origin-exact-matching.html can be unskipped
https://bugs.webkit.org/show_bug.cgi?id=88960
Unreviewed EFL gardening.
http/tests/xmlhttprequest/origin-exact-matching.html can be
unskipped after r120107.
Patch by Christophe Dumez <Christophe Dumez> on 2012-06-13
- platform/efl/TestExpectations:
- 5:41 AM Changeset in webkit [120191] by
-
- 6 edits in trunk
FileAPI: type should be converted to be lower case in Blob constructor.
https://bugs.webkit.org/show_bug.cgi?id=88696
Patch by Li Yin <li.yin@intel.com> on 2012-06-13
Reviewed by Kentaro Hara.
Source/WebCore:
Spec: http://dev.w3.org/2006/webapi/FileAPI/#dfn-BlobPropertyBag
Spec: http://dev.w3.org/2006/webapi/FileAPI/#attributes-blob
The ASCII-encoded string in lower case representing the media type of the Blob.
Test: fast/files/blob-constructor.html
- bindings/js/JSBlobCustom.cpp:
(WebCore::JSBlobConstructor::constructJSBlob):
- bindings/v8/custom/V8BlobCustom.cpp:
(WebCore::V8Blob::constructorCallback):
LayoutTests:
Spec: http://dev.w3.org/2006/webapi/FileAPI/#dfn-BlobPropertyBag
Add sub-test to track changing upper case into lower case of type in Blob constructor.
- fast/files/blob-constructor-expected.txt:
- fast/files/script-tests/blob-constructor.js:
- 5:34 AM Changeset in webkit [120190] by
-
- 27 edits in trunk/LayoutTests
Fonts, fullscreen, gamepad, and html5lib tests should use testRunner instead of layoutTestController
https://bugs.webkit.org/show_bug.cgi?id=88959
Reviewed by Darin Adler.
- fonts/valid-standard-font.html:
- fullscreen/anonymous-block-merge-crash.html:
- fullscreen/full-screen-element-stack.html:
- fullscreen/full-screen-frameset.html:
- fullscreen/full-screen-iframe-zIndex.html:
- fullscreen/full-screen-keyboard-disabled.html:
- fullscreen/full-screen-keyboard-enabled.html:
- fullscreen/full-screen-remove-ancestor-during-transition.html:
- fullscreen/full-screen-remove-sibling.html:
- fullscreen/full-screen-render-inline.html:
- fullscreen/full-screen-request-rejected.html:
- fullscreen/full-screen-request-removed.html:
- fullscreen/full-screen-restrictions.html:
- fullscreen/full-screen-stacking-context.html:
- fullscreen/full-screen-test.js:
(runWithKeyDown):
(endTest):
- fullscreen/full-screen-zIndex-after.html:
- fullscreen/full-screen-zIndex.html:
- fullscreen/non-ancestor-iframe.html:
- fullscreen/parent-flow-inline-with-block-child.html:
- fullscreen/video-controls-override.html:
- html5lib/resources/runner.js:
(run):
- html5lib/webkit-resumer.html:
- platform/gtk/fonts/custom-font-missing-glyphs.html:
- platform/gtk/fonts/font-face-with-complex-text.html:
- platform/gtk/fonts/font-family-fallback.html:
- platform/gtk/fonts/synthetic-oblique-positioning.html:
- 5:31 AM Changeset in webkit [120189] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening. Skip new failing tests.
- platform/qt/Skipped:
- 5:28 AM Changeset in webkit [120188] by
-
- 12 edits6 adds in trunk
[BlackBerry] Enable MEDIA_STREAM by default
https://bugs.webkit.org/show_bug.cgi?id=88849
Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2012-06-13
Reviewed by Antonio Gomes.
.:
- Source/cmake/OptionsBlackBerry.cmake:
- Source/cmakeconfig.h.cmake:
Source/WebCore:
Covered by existing test cases.
- CMakeLists.txt:
- PlatformBlackBerry.cmake:
- platform/mediastream/blackberry/DeprecatedPeerConnectionHandler.cpp: Added.
(WebCore):
(WebCore::DeprecatedPeerConnectionHandler::create):
(WebCore::DeprecatedPeerConnectionHandler::DeprecatedPeerConnectionHandler):
(WebCore::DeprecatedPeerConnectionHandler::~DeprecatedPeerConnectionHandler):
(WebCore::DeprecatedPeerConnectionHandler::produceInitialOffer):
(WebCore::DeprecatedPeerConnectionHandler::handleInitialOffer):
(WebCore::DeprecatedPeerConnectionHandler::processSDP):
(WebCore::DeprecatedPeerConnectionHandler::processPendingStreams):
(WebCore::DeprecatedPeerConnectionHandler::sendDataStreamMessage):
(WebCore::DeprecatedPeerConnectionHandler::stop):
- platform/mediastream/blackberry/MediaStreamCenterBlackBerry.cpp: Added.
(WebCore):
(WebCore::MediaStreamCenter::instance):
(WebCore::MediaStreamCenterBlackBerry::MediaStreamCenterBlackBerry):
(WebCore::MediaStreamCenterBlackBerry::~MediaStreamCenterBlackBerry):
(WebCore::MediaStreamCenterBlackBerry::queryMediaStreamSources):
(WebCore::MediaStreamCenterBlackBerry::didSetMediaStreamTrackEnabled):
(WebCore::MediaStreamCenterBlackBerry::didStopLocalMediaStream):
(WebCore::MediaStreamCenterBlackBerry::didCreateMediaStream):
(WebCore::MediaStreamCenterBlackBerry::constructSDP):
- platform/mediastream/blackberry/MediaStreamCenterBlackBerry.h: Added.
(WebCore):
(MediaStreamCenterBlackBerry):
Source/WebKit:
- PlatformBlackBerry.cmake:
Source/WebKit/blackberry:
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):
- WebCoreSupport/UserMediaClientImpl.cpp: Added.
(WebCore):
(WebCore::UserMediaClientImpl::UserMediaClientImpl):
(WebCore::UserMediaClientImpl::~UserMediaClientImpl):
(WebCore::UserMediaClientImpl::pageDestroyed):
(WebCore::UserMediaClientImpl::requestUserMedia):
(WebCore::UserMediaClientImpl::cancelUserMediaRequest):
- WebCoreSupport/UserMediaClientImpl.h: Added.
(WebKit):
(WebCore):
(UserMediaClientImpl):
Tools:
- Scripts/webkitperl/FeatureList.pm:
- 5:23 AM WebInspector edited by
- remove spam (diff)
- 5:04 AM Changeset in webkit [120187] by
-
- 2 edits in trunk/LayoutTests
Unreviewed gardening. Removed some tests passing in all the GTK
bots from the test expectations file.
- platform/gtk/TestExpectations:
- 4:51 AM Changeset in webkit [120186] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: working copy should be committed even if domain binding returns error.
https://bugs.webkit.org/show_bug.cgi?id=88884
Reviewed by Vsevolod Vlasov.
Committing working copy is about saving file. It should always succeed.
- inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype.commitWorkingCopy):
- 4:45 AM Changeset in webkit [120185] by
-
- 1 edit in trunk/Source/WebCore/ChangeLog
Web Inspector: show revisions of all modified files in local modifications view
https://bugs.webkit.org/show_bug.cgi?id=88864
Reviewed by Vsevolod Vlasov.
This change allows all local modifications to be seen in a single view. View is now
singleton, listening to all revisions being added. Revert captions were reworked
(see the screenshot).
- English.lproj/localizedStrings.js:
- inspector/front-end/Resource.js:
- inspector/front-end/RevisionHistoryView.js:
(WebInspector.RevisionHistoryView.populateRevisions):
(WebInspector.RevisionHistoryView):
(WebInspector.RevisionHistoryView.showHistory):
(WebInspector.RevisionHistoryView.reset):
(WebInspector.RevisionHistoryView.prototype._createResourceItem.clearHistory):
(WebInspector.RevisionHistoryView.prototype._createResourceItem):
(WebInspector.RevisionHistoryView.prototype._revisionAdded.get if):
(WebInspector.RevisionHistoryView.prototype._revisionAdded):
(WebInspector.RevisionHistoryView.prototype._revealResource.get if):
(WebInspector.RevisionHistoryView.prototype._revealResource):
(WebInspector.RevisionHistoryView.prototype._reset):
(WebInspector.RevisionHistoryTreeElement):
(WebInspector.RevisionHistoryTreeElement.prototype.onattach):
(WebInspector.RevisionHistoryTreeElement.prototype.oncollapse):
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._reset):
(WebInspector.ScriptsPanel.prototype._editorSelected):
- inspector/front-end/revisionHistory.css:
(.revision-history-link-row):
(.revision-history-drawer li.revision-history-revision):
- 4:38 AM Changeset in webkit [120184] by
-
- 5 edits in trunk/Source/WebCore
Web Inspector: Make "Go to source and line" possible with "go to file" dialog
https://bugs.webkit.org/show_bug.cgi?id=88740
Reviewed by Vsevolod Vlasov.
Selection dialog now allows search query rewrite and uses line number
suffix to go to a particular line.
- inspector/front-end/FilteredItemSelectionDialog.js:
(WebInspector.FilteredItemSelectionDialog.prototype.onEnter):
(WebInspector.FilteredItemSelectionDialog.prototype._createSearchRegExp):
(WebInspector.SelectionDialogContentProvider.prototype.selectItem):
(WebInspector.SelectionDialogContentProvider.prototype.rewriteQuery):
(WebInspector.JavaScriptOutlineDialog.prototype.selectItem):
(WebInspector.JavaScriptOutlineDialog.prototype.rewriteQuery):
(WebInspector.OpenResourceDialog.prototype.selectItem):
(WebInspector.OpenResourceDialog.prototype.rewriteQuery):
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype.showUISourceCode):
- inspector/front-end/StylesPanel.js:
(WebInspector.StyleSheetOutlineDialog.prototype.selectItem):
(WebInspector.StyleSheetOutlineDialog.prototype.rewriteQuery):
- 4:31 AM Changeset in webkit [120183] by
-
- 3 edits in trunk/Tools
Prevent stderr output from messing up detection of build path
https://bugs.webkit.org/show_bug.cgi?id=88075
Warnings such as 'perl: warning: Setting locale failed' will otherwise
end up as the build path when calling out to webkit-build-directory.
Reviewed by Ojan Vafai.
- Scripts/webkitpy/layout_tests/port/config.py:
(Config.build_directory):
- 4:27 AM Changeset in webkit [120182] by
-
- 5 edits in trunk
Web Inspector: Make "Go to source and line" possible with "go to file" dialog
https://bugs.webkit.org/show_bug.cgi?id=88740
Reviewed by Vsevolod Vlasov.
Selection dialog now allows search query rewrite and uses line number
suffix to go to a particular line.
- inspector/front-end/FilteredItemSelectionDialog.js:
(WebInspector.FilteredItemSelectionDialog.prototype.onEnter):
(WebInspector.FilteredItemSelectionDialog.prototype._createSearchRegExp):
(WebInspector.SelectionDialogContentProvider.prototype.selectItem):
(WebInspector.SelectionDialogContentProvider.prototype.rewriteQuery):
(WebInspector.JavaScriptOutlineDialog.prototype.selectItem):
(WebInspector.JavaScriptOutlineDialog.prototype.rewriteQuery):
(WebInspector.OpenResourceDialog.prototype.selectItem):
(WebInspector.OpenResourceDialog.prototype.rewriteQuery):
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype.showUISourceCode):
- inspector/front-end/StylesPanel.js:
(WebInspector.StyleSheetOutlineDialog.prototype.selectItem):
(WebInspector.StyleSheetOutlineDialog.prototype.rewriteQuery):
- 3:48 AM Changeset in webkit [120181] by
-
- 5 edits2 adds in trunk
Speech JavaScript API: Add test for constructing SpeechRecognitionError events
https://bugs.webkit.org/show_bug.cgi?id=88868
Reviewed by Adam Barth.
Source/WebCore:
This adds a test for constructing SpeechRecognitionError events, and
code to make it work.
Test: fast/events/constructors/speech-recognition-error-constructor.html
- Modules/speech/SpeechRecognitionError.cpp:
(WebCore::SpeechRecognitionError::create):
(WebCore):
(WebCore::SpeechRecognitionError::SpeechRecognitionError):
(WebCore::SpeechRecognitionErrorInit::SpeechRecognitionErrorInit):
- Modules/speech/SpeechRecognitionError.h:
(SpeechRecognitionErrorInit):
(WebCore):
(SpeechRecognitionError):
(WebCore::SpeechRecognitionError::code):
- Modules/speech/SpeechRecognitionError.idl:
LayoutTests:
Add a layout test for constructing SpeechRecognitionError events.
- fast/events/constructors/speech-recognition-error-constructor-expected.txt: Added.
- fast/events/constructors/speech-recognition-error-constructor.html: Added.
- 3:38 AM Changeset in webkit [120180] by
-
- 24 edits in trunk/LayoutTests
Chromium rebaseline after r120173.
- platform/chromium-linux/editing/pasteboard/4641033-expected.txt:
- platform/chromium-linux/editing/selection/paragraph-granularity-expected.png:
- platform/chromium-linux/editing/selection/triple-click-in-pre-expected.png:
- platform/chromium-linux/editing/selection/word-granularity-expected.png:
- platform/chromium-mac-leopard/editing/selection/paragraph-granularity-expected.png:
- platform/chromium-mac-leopard/editing/selection/triple-click-in-pre-expected.png:
- platform/chromium-mac-leopard/editing/selection/word-granularity-expected.png:
- platform/chromium-mac-snowleopard/editing/selection/paragraph-granularity-expected.png:
- platform/chromium-mac-snowleopard/editing/selection/triple-click-in-pre-expected.png:
- platform/chromium-mac-snowleopard/editing/selection/word-granularity-expected.png:
- platform/chromium-mac/editing/selection/paragraph-granularity-expected.png:
- platform/chromium-mac/editing/selection/triple-click-in-pre-expected.png:
- platform/chromium-mac/editing/selection/word-granularity-expected.png:
- platform/chromium-win/editing/inserting/editable-html-element-expected.txt:
- platform/chromium-win/editing/pasteboard/4641033-expected.png:
- platform/chromium-win/editing/pasteboard/4641033-expected.txt:
- platform/chromium-win/editing/selection/mixed-editability-1-expected.txt:
- platform/chromium-win/editing/selection/paragraph-granularity-expected.png:
- platform/chromium-win/editing/selection/paragraph-granularity-expected.txt:
- platform/chromium-win/editing/selection/triple-click-in-pre-expected.png:
- platform/chromium-win/editing/selection/triple-click-in-pre-expected.txt:
- platform/chromium-win/editing/selection/word-granularity-expected.png:
- platform/chromium-win/editing/selection/word-granularity-expected.txt:
- 3:28 AM Changeset in webkit [120179] by
-
- 2 edits in trunk/LayoutTests
Fix a wrong rebaseline in r120178.
- editing/pasteboard/file-input-files-access-expected.txt:
- 3:21 AM Changeset in webkit [120178] by
-
- 14 edits in trunk
Tools: Update the builder name for Apple Lion builders.
- Scripts/webkitpy/layout_tests/port/builders.py:
LayoutTests: Mac rebaseline after r120167 and r120173.
Also revert an inadvertent change to file.invalidext.
- editing/pasteboard/file-input-files-access-expected.txt:
- editing/pasteboard/paste-sanitize-crash-2-expected.txt:
- editing/pasteboard/resources/file.invalidext:
- editing/selection/blockquote-crash-expected.txt:
- editing/style/4230923-expected.txt:
- platform/mac/editing/pasteboard/4641033-expected.txt:
- platform/mac/editing/selection/mixed-editability-1-expected.txt:
- platform/mac/editing/selection/paragraph-granularity-expected.txt:
- platform/mac/editing/selection/triple-click-in-pre-expected.txt:
- platform/mac/editing/selection/word-granularity-expected.txt:
- platform/mac/http/tests/misc/location-replace-crossdomain-expected.txt:
- 2:52 AM Changeset in webkit [120177] by
-
- 10 edits4 adds in trunk
Implement InspectorFileSystemAgent::readDirectory for FileSystem support.
https://bugs.webkit.org/show_bug.cgi?id=87724
Patch by Taiju Tsuiki <tzik@chromium.org> on 2012-06-13
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Test: http/tests/inspector/filesystem/read-directory.html
- inspector/Inspector.json:
- inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
- inspector/InspectorFileSystemAgent.cpp:
(InspectorFileSystemAgent::FrontendProvider):
(WebCore):
(WebCore::InspectorFileSystemAgent::create):
(WebCore::InspectorFileSystemAgent::readDirectory):
(WebCore::InspectorFileSystemAgent::InspectorFileSystemAgent):
- inspector/InspectorFileSystemAgent.h:
(WebCore):
(InspectorFileSystemAgent):
LayoutTests:
- http/tests/inspector/filesystem/filesystem-test.js: Added.
- http/tests/inspector/filesystem/read-directory-expected.txt: Added.
- http/tests/inspector/filesystem/read-directory.html: Added.
- platform/mac/Skipped:
- platform/qt/Skipped:
- platform/win/Skipped:
- platform/wincairo/Skipped:
- 2:49 AM Changeset in webkit [120176] by
-
- 1 edit2 copies in trunk/LayoutTests
Revert the removal of 2 editing tests in r120173.
- editing/pasteboard/copy-paste-float.html: Copied from LayoutTests/editing/pasteboard/copy-paste-float.html.
- platform/mac/editing/selection/word-thai.html: Copied from LayoutTests/platform/mac/editing/selection/word-thai.html.
- 2:38 AM Changeset in webkit [120175] by
-
- 63 edits6 deletes in trunk
Unreviewed, rolling out r120172.
http://trac.webkit.org/changeset/120172
https://bugs.webkit.org/show_bug.cgi?id=88976
The patch causes compilation failures on Gtk, Qt and Apple Win
bots (Requested by zdobersek on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-13
Source/JavaScriptCore:
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- Target.pri:
- assembler/ARMv7Assembler.h:
(JSC::ARMv7Assembler::nop):
(JSC::ARMv7Assembler::label):
(JSC::ARMv7Assembler::readPointer):
(ARMv7Assembler):
- assembler/AbstractMacroAssembler.h:
(JSC):
(AbstractMacroAssembler):
(Label):
- assembler/AssemblerBuffer.h:
- assembler/MacroAssemblerARM.h:
- assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::nop):
(JSC::MacroAssemblerARMv7::jump):
(JSC::MacroAssemblerARMv7::makeBranch):
- assembler/MacroAssemblerMIPS.h:
- assembler/MacroAssemblerSH4.h:
- assembler/MacroAssemblerX86.h:
(MacroAssemblerX86):
(JSC::MacroAssemblerX86::moveWithPatch):
- assembler/MacroAssemblerX86Common.h:
- assembler/MacroAssemblerX86_64.h:
(JSC::MacroAssemblerX86_64::branchTest8):
- assembler/X86Assembler.h:
(JSC::X86Assembler::cmpb_im):
(JSC::X86Assembler::codeSize):
(JSC::X86Assembler::label):
(JSC::X86Assembler::X86InstructionFormatter::memoryModRM):
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dump):
- bytecode/CodeBlock.h:
(JSC::CodeBlock::appendOSRExit):
(JSC::CodeBlock::appendSpeculationRecovery):
(DFGData):
- bytecode/DFGExitProfile.h:
(JSC::DFG::exitKindToString):
(JSC::DFG::exitKindIsCountable):
- bytecode/Instruction.h:
- bytecode/Opcode.h:
(JSC):
(JSC::padOpcodeName):
- bytecode/Watchpoint.cpp: Removed.
- bytecode/Watchpoint.h: Removed.
- bytecompiler/BytecodeGenerator.cpp:
(JSC::ResolveResult::checkValidity):
(JSC::BytecodeGenerator::addGlobalVar):
(JSC::BytecodeGenerator::BytecodeGenerator):
(JSC::BytecodeGenerator::resolve):
(JSC::BytecodeGenerator::emitResolve):
(JSC::BytecodeGenerator::emitResolveWithBase):
(JSC::BytecodeGenerator::emitResolveWithThis):
(JSC::BytecodeGenerator::emitGetStaticVar):
(JSC::BytecodeGenerator::emitPutStaticVar):
- bytecompiler/BytecodeGenerator.h:
(BytecodeGenerator):
- bytecompiler/NodesCodegen.cpp:
(JSC::FunctionCallResolveNode::emitBytecode):
(JSC::PostfixResolveNode::emitBytecode):
(JSC::PrefixResolveNode::emitBytecode):
(JSC::ReadModifyResolveNode::emitBytecode):
(JSC::AssignResolveNode::emitBytecode):
(JSC::ConstDeclNode::emitCodeSingle):
- dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
(JSC::DFG::AbstractState::clobberStructures):
- dfg/DFGAbstractState.h:
(AbstractState):
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleInlining):
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGCCallHelpers.h:
(JSC::DFG::CCallHelpers::setupArguments):
- dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::globalVarStoreElimination):
(JSC::DFG::CSEPhase::performNodeCSE):
- dfg/DFGCapabilities.h:
(JSC::DFG::canCompileOpcode):
- dfg/DFGConstantFoldingPhase.cpp:
(JSC::DFG::ConstantFoldingPhase::run):
- dfg/DFGCorrectableJumpPoint.h:
- dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::linkOSRExits):
(JSC::DFG::JITCompiler::link):
- dfg/DFGNode.h:
(JSC::DFG::Node::hasRegisterPointer):
- dfg/DFGNodeType.h:
(DFG):
- dfg/DFGOSRExit.cpp:
(JSC::DFG::OSRExit::OSRExit):
- dfg/DFGOSRExit.h:
(OSRExit):
- dfg/DFGOperations.cpp:
- dfg/DFGOperations.h:
- dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
- dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):
(JSC::DFG::SpeculativeJIT::appendCallSetResult):
(JSC::DFG::SpeculativeJIT::speculationCheck):
- dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
(JSC::JIT::privateCompileSlowCases):
- jit/JIT.h:
- jit/JITPropertyAccess.cpp:
- jit/JITPropertyAccess32_64.cpp:
- jit/JITStubs.cpp:
- jit/JITStubs.h:
- llint/LLIntSlowPaths.cpp:
- llint/LLIntSlowPaths.h:
(LLInt):
- llint/LowLevelInterpreter32_64.asm:
- llint/LowLevelInterpreter64.asm:
- runtime/JSObject.cpp:
(JSC::JSObject::removeDirect):
- runtime/JSObject.h:
(JSObject):
- runtime/JSSymbolTableObject.h:
(JSC::symbolTableGet):
(JSC::symbolTablePut):
(JSC::symbolTablePutWithAttributes):
- runtime/SymbolTable.cpp: Removed.
- runtime/SymbolTable.h:
(JSC):
(JSC::SymbolTableEntry::isNull):
(JSC::SymbolTableEntry::getIndex):
(SymbolTableEntry):
(JSC::SymbolTableEntry::getAttributes):
(JSC::SymbolTableEntry::isReadOnly):
(JSC::SymbolTableEntry::pack):
(JSC::SymbolTableEntry::isValidIndex):
Source/WTF:
- wtf/SegmentedVector.h:
(WTF):
(SegmentedVectorIterator):
(WTF::SegmentedVectorIterator::operator=):
(WTF::SegmentedVectorIterator::SegmentedVectorIterator):
(SegmentedVector):
LayoutTests:
- fast/js/dfg-call-function-hit-watchpoint-expected.txt: Removed.
- fast/js/dfg-call-function-hit-watchpoint.html: Removed.
- fast/js/jsc-test-list:
- fast/js/script-tests/dfg-call-function-hit-watchpoint.js: Removed.
- 2:19 AM Changeset in webkit [120174] by
-
- 655 edits in trunk/LayoutTests
Commit the rest of changes for r120167.
- http/tests/history/resources/back-during-onload-hung-page.php:
- http/tests/misc/embed-image-load-outlives-gc-without-crashing.html:
- http/tests/misc/image-input-type-outlives-gc-without-crashing.html:
- http/tests/misc/image-load-outlives-gc-without-crashing.html:
- http/tests/misc/object-image-load-outlives-gc-without-crashing.html:
- http/tests/security/:
- 1:51 AM Changeset in webkit [120173] by
-
- 871 edits2 deletes in trunk/LayoutTests
Editing tests should use testRunner instead of layoutTestController
https://bugs.webkit.org/show_bug.cgi?id=88955
Reviewed by Darin Adler.
- editing/:
- platform/blackberry/editing/text-iterator/findString-markers.html:
- platform/chromium-linux/editing/selection/linux_selection_color.html:
- platform/chromium-win/editing/selection/paragraph-granularity-expected.txt:
- platform/chromium-win/editing/selection/triple-click-in-pre-expected.txt:
- platform/chromium-win/editing/selection/word-granularity-expected.txt:
- platform/chromium/editing/spelling/delete-misspelled-word.html:
- platform/chromium/editing/spelling/move-cursor-to-misspelled-word.html:
- platform/gtk/editing/pasteboard/middle-button-paste.html:
- platform/gtk/editing/pasteboard/script-tests/middle-click-onpaste.js:
- platform/gtk/editing/selection/caret-mode-document-begin-end.html:
- platform/gtk/editing/selection/paragraph-granularity-expected.txt:
- platform/gtk/editing/selection/triple-click-in-pre-expected.txt:
- platform/gtk/editing/selection/word-granularity-expected.txt:
- platform/mac/editing/:
- platform/qt/editing/selection/paragraph-granularity-expected.txt:
- platform/qt/editing/selection/triple-click-in-pre-expected.txt:
- platform/qt/editing/selection/word-granularity-expected.txt:
- platform/win/editing/deleting/delete-start-block-expected.txt:
- platform/win/editing/pasteboard/pasting-crlf-isnt-translated-to-crcrlf-win.html:
- platform/win/editing/selection/shift-page-up-down.html:
- 1:20 AM Changeset in webkit [120172] by
-
- 63 edits6 adds in trunk
DFG should be able to set watchpoints on global variables
https://bugs.webkit.org/show_bug.cgi?id=88692
Source/JavaScriptCore:
Reviewed by Geoffrey Garen.
This implements global variable constant folding by allowing the optimizing
compiler to set a "watchpoint" on globals that it wishes to constant fold.
If the watchpoint fires, then an OSR exit is forced by overwriting the
machine code that the optimizing compiler generated with a jump.
As such, this patch is adding quite a bit of stuff:
- Jump replacement on those hardware targets supported by the optimizing JIT. It is now possible to patch in a jump instruction over any recorded watchpoint label. The jump must be "local" in the sense that it must be within the range of the largest jump distance supported by a one instruction jump.
- WatchpointSets and Watchpoints. A Watchpoint is a doubly-linked list node that records the location where a jump must be inserted and the destination to which it should jump. Watchpoints can be added to a WatchpointSet. The WatchpointSet can be fired all at once, which plants all jumps. WatchpointSet also remembers if it had ever been invalidated, which allows for monotonicity: we typically don't want to optimize using watchpoints on something for which watchpoints had previously fired. The act of notifying a WatchpointSet has a trivial fast path in case no Watchpoints are registered (one-byte load+branch).
- SpeculativeJIT::speculationWatchpoint(). It's like speculationCheck(), except that you don't have to emit branches. But, you need to know what WatchpointSet to add the resulting Watchpoint to. Not everything that you could write a speculationCheck() for will have a WatchpointSet that would get notified if the condition you were speculating against became invalid.
- SymbolTableEntry now has the ability to refer to a WatchpointSet. It can do so without incurring any space overhead for those entries that don't have WatchpointSets.
- The bytecode generator infers all global function variables to be watchable, and makes all stores perform the WatchpointSet's write check, and marks all loads as being potentially watchable (i.e. you can compile them to a watchpoint and a constant).
Put together, this allows for fully sleazy inlining of calls to globally
declared functions. The inline prologue will no longer contain the load of
the function, or any checks of the function you're calling. I.e. it's
pretty much like the kind of inlining you would see in Java or C++.
Furthermore, the watchpointing functionality is built to be fairly general,
and should allow setting watchpoints on all sorts of interesting things
in the future.
The sleazy inlining means that we will now sometimes inline in code paths
that have never executed. Previously, to inline we would have either had
to have executed the call (to read the call's inline cache) or have
executed the method check (to read the method check's inline cache). Now,
we might inline when the callee is a watched global variable. This
revealed some humorous bugs. First, constant folding disagreed with CFA
over what kinds of operations can clobber (example: code path A is dead
but stores a String into variable X, all other code paths store 0 into
X, and then you do CompareEq(X, 0) - CFA will say that this is a non-
clobbering constant, but constant folding thought it was clobbering
because it saw the String prediction). Second, inlining would crash if
the inline callee had not been compiled. This patch fixes both bugs,
since otherwise run-javascriptcore-tests would report regressions.
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- Target.pri:
- assembler/ARMv7Assembler.h:
(ARMv7Assembler):
(JSC::ARMv7Assembler::ARMv7Assembler):
(JSC::ARMv7Assembler::labelForWatchpoint):
(JSC::ARMv7Assembler::label):
(JSC::ARMv7Assembler::replaceWithJump):
(JSC::ARMv7Assembler::maxJumpReplacementSize):
- assembler/AbstractMacroAssembler.h:
(JSC):
(AbstractMacroAssembler):
(Label):
(JSC::AbstractMacroAssembler::watchpointLabel):
- assembler/AssemblerBuffer.h:
- assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::replaceWithJump):
(MacroAssemblerARM):
(JSC::MacroAssemblerARM::maxJumpReplacementSize):
- assembler/MacroAssemblerARMv7.h:
(MacroAssemblerARMv7):
(JSC::MacroAssemblerARMv7::replaceWithJump):
(JSC::MacroAssemblerARMv7::maxJumpReplacementSize):
(JSC::MacroAssemblerARMv7::branchTest8):
(JSC::MacroAssemblerARMv7::jump):
(JSC::MacroAssemblerARMv7::makeBranch):
- assembler/MacroAssemblerMIPS.h:
(JSC::MacroAssemblerMIPS::replaceWithJump):
(MacroAssemblerMIPS):
(JSC::MacroAssemblerMIPS::maxJumpReplacementSize):
- assembler/MacroAssemblerSH4.h:
(JSC::MacroAssemblerSH4::replaceWithJump):
(MacroAssemblerSH4):
(JSC::MacroAssemblerSH4::maxJumpReplacementSize):
- assembler/MacroAssemblerX86.h:
(MacroAssemblerX86):
(JSC::MacroAssemblerX86::branchTest8):
- assembler/MacroAssemblerX86Common.h:
(JSC::MacroAssemblerX86Common::replaceWithJump):
(MacroAssemblerX86Common):
(JSC::MacroAssemblerX86Common::maxJumpReplacementSize):
- assembler/MacroAssemblerX86_64.h:
(MacroAssemblerX86_64):
(JSC::MacroAssemblerX86_64::branchTest8):
- assembler/X86Assembler.h:
(JSC::X86Assembler::X86Assembler):
(X86Assembler):
(JSC::X86Assembler::cmpb_im):
(JSC::X86Assembler::testb_im):
(JSC::X86Assembler::labelForWatchpoint):
(JSC::X86Assembler::label):
(JSC::X86Assembler::replaceWithJump):
(JSC::X86Assembler::maxJumpReplacementSize):
(JSC::X86Assembler::X86InstructionFormatter::memoryModRM):
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dump):
- bytecode/CodeBlock.h:
(JSC::CodeBlock::appendOSRExit):
(JSC::CodeBlock::appendSpeculationRecovery):
(CodeBlock):
(JSC::CodeBlock::appendWatchpoint):
(JSC::CodeBlock::numberOfWatchpoints):
(JSC::CodeBlock::watchpoint):
(DFGData):
- bytecode/DFGExitProfile.h:
(JSC::DFG::exitKindToString):
(JSC::DFG::exitKindIsCountable):
- bytecode/Instruction.h:
(Instruction):
(JSC::Instruction::Instruction):
- bytecode/Opcode.h:
(JSC):
(JSC::padOpcodeName):
- bytecode/Watchpoint.cpp: Added.
(JSC):
(JSC::Watchpoint::~Watchpoint):
(JSC::Watchpoint::correctLabels):
(JSC::Watchpoint::fire):
(JSC::WatchpointSet::WatchpointSet):
(JSC::WatchpointSet::~WatchpointSet):
(JSC::WatchpointSet::add):
(JSC::WatchpointSet::notifyWriteSlow):
(JSC::WatchpointSet::fireAllWatchpoints):
- bytecode/Watchpoint.h: Added.
(JSC):
(Watchpoint):
(JSC::Watchpoint::Watchpoint):
(JSC::Watchpoint::setDestination):
(WatchpointSet):
(JSC::WatchpointSet::isStillValid):
(JSC::WatchpointSet::hasBeenInvalidated):
(JSC::WatchpointSet::startWatching):
(JSC::WatchpointSet::notifyWrite):
(JSC::WatchpointSet::addressOfIsWatched):
- bytecompiler/BytecodeGenerator.cpp:
(JSC::ResolveResult::checkValidity):
(JSC::BytecodeGenerator::addGlobalVar):
(JSC::BytecodeGenerator::BytecodeGenerator):
(JSC::BytecodeGenerator::resolve):
(JSC::BytecodeGenerator::emitResolve):
(JSC::BytecodeGenerator::emitResolveWithBase):
(JSC::BytecodeGenerator::emitResolveWithThis):
(JSC::BytecodeGenerator::emitGetStaticVar):
(JSC::BytecodeGenerator::emitPutStaticVar):
- bytecompiler/BytecodeGenerator.h:
(BytecodeGenerator):
- bytecompiler/NodesCodegen.cpp:
(JSC::FunctionCallResolveNode::emitBytecode):
(JSC::PostfixResolveNode::emitBytecode):
(JSC::PrefixResolveNode::emitBytecode):
(JSC::ReadModifyResolveNode::emitBytecode):
(JSC::AssignResolveNode::emitBytecode):
(JSC::ConstDeclNode::emitCodeSingle):
- dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
(JSC::DFG::AbstractState::clobberStructures):
- dfg/DFGAbstractState.h:
(AbstractState):
(JSC::DFG::AbstractState::didClobber):
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleInlining):
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGCCallHelpers.h:
(CCallHelpers):
(JSC::DFG::CCallHelpers::setupArguments):
- dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::globalVarWatchpointElimination):
(CSEPhase):
(JSC::DFG::CSEPhase::globalVarStoreElimination):
(JSC::DFG::CSEPhase::performNodeCSE):
- dfg/DFGCapabilities.h:
(JSC::DFG::canCompileOpcode):
- dfg/DFGConstantFoldingPhase.cpp:
(JSC::DFG::ConstantFoldingPhase::run):
- dfg/DFGCorrectableJumpPoint.h:
(JSC::DFG::CorrectableJumpPoint::isSet):
(CorrectableJumpPoint):
- dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::linkOSRExits):
(JSC::DFG::JITCompiler::link):
- dfg/DFGNode.h:
(JSC::DFG::Node::hasIdentifierNumberForCheck):
(Node):
(JSC::DFG::Node::identifierNumberForCheck):
(JSC::DFG::Node::hasRegisterPointer):
- dfg/DFGNodeType.h:
(DFG):
- dfg/DFGOSRExit.cpp:
(JSC::DFG::OSRExit::OSRExit):
- dfg/DFGOSRExit.h:
(OSRExit):
- dfg/DFGOperations.cpp:
- dfg/DFGOperations.h:
- dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::propagate):
- dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):
(JSC::DFG::SpeculativeJIT::appendCall):
(SpeculativeJIT):
(JSC::DFG::SpeculativeJIT::speculationWatchpoint):
- dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
(JSC::JIT::privateCompileSlowCases):
- jit/JIT.h:
- jit/JITPropertyAccess.cpp:
(JSC::JIT::emit_op_put_global_var_check):
(JSC):
(JSC::JIT::emitSlow_op_put_global_var_check):
- jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emit_op_put_global_var_check):
(JSC):
(JSC::JIT::emitSlow_op_put_global_var_check):
- jit/JITStubs.cpp:
(JSC::JITThunks::JITThunks):
(JSC::DEFINE_STUB_FUNCTION):
(JSC):
- jit/JITStubs.h:
- llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL):
(LLInt):
- llint/LLIntSlowPaths.h:
(LLInt):
- llint/LowLevelInterpreter32_64.asm:
- llint/LowLevelInterpreter64.asm:
- runtime/JSObject.cpp:
(JSC::JSObject::removeDirect):
- runtime/JSObject.h:
(JSObject):
- runtime/JSSymbolTableObject.h:
(JSC::symbolTableGet):
(JSC::symbolTablePut):
(JSC::symbolTablePutWithAttributes):
- runtime/SymbolTable.cpp: Added.
(JSC):
(JSC::SymbolTableEntry::copySlow):
(JSC::SymbolTableEntry::freeFatEntrySlow):
(JSC::SymbolTableEntry::couldBeWatched):
(JSC::SymbolTableEntry::attemptToWatch):
(JSC::SymbolTableEntry::addressOfIsWatched):
(JSC::SymbolTableEntry::addWatchpoint):
(JSC::SymbolTableEntry::notifyWriteSlow):
(JSC::SymbolTableEntry::inflateSlow):
- runtime/SymbolTable.h:
(JSC):
(SymbolTableEntry):
(Fast):
(JSC::SymbolTableEntry::Fast::Fast):
(JSC::SymbolTableEntry::Fast::isNull):
(JSC::SymbolTableEntry::Fast::getIndex):
(JSC::SymbolTableEntry::Fast::isReadOnly):
(JSC::SymbolTableEntry::Fast::getAttributes):
(JSC::SymbolTableEntry::Fast::isFat):
(JSC::SymbolTableEntry::SymbolTableEntry):
(JSC::SymbolTableEntry::~SymbolTableEntry):
(JSC::SymbolTableEntry::operator=):
(JSC::SymbolTableEntry::isNull):
(JSC::SymbolTableEntry::getIndex):
(JSC::SymbolTableEntry::getFast):
(JSC::SymbolTableEntry::getAttributes):
(JSC::SymbolTableEntry::isReadOnly):
(JSC::SymbolTableEntry::watchpointSet):
(JSC::SymbolTableEntry::notifyWrite):
(FatEntry):
(JSC::SymbolTableEntry::FatEntry::FatEntry):
(JSC::SymbolTableEntry::isFat):
(JSC::SymbolTableEntry::fatEntry):
(JSC::SymbolTableEntry::inflate):
(JSC::SymbolTableEntry::bits):
(JSC::SymbolTableEntry::freeFatEntry):
(JSC::SymbolTableEntry::pack):
(JSC::SymbolTableEntry::isValidIndex):
Source/WTF:
Reviewed by Geoffrey Garen.
Added ability to set the inline capacity of segmented vectors.
- wtf/SegmentedVector.h:
(WTF):
(SegmentedVectorIterator):
(WTF::SegmentedVectorIterator::operator=):
(WTF::SegmentedVectorIterator::SegmentedVectorIterator):
(SegmentedVector):
LayoutTests:
Rubber stamped by Geoffrey Garen.
Added a test for watchpoints. Also updated the jsc-test-list to include the latest
tests.
- fast/js/dfg-call-function-hit-watchpoint-expected.txt: Added.
- fast/js/dfg-call-function-hit-watchpoint.html: Added.
- fast/js/jsc-test-list:
- fast/js/script-tests/dfg-call-function-hit-watchpoint.js: Added.
(foo):
(bar):
(.foo):
- 1:19 AM Changeset in webkit [120171] by
-
- 8 edits in trunk/Source/WebCore
Change the styling of the Chromium video controls.
https://bugs.webkit.org/show_bug.cgi?id=88297
Patch by Silvia Pfeiffer <silviapf@chromium.org> on 2012-06-13
Reviewed by Eric Carlson.
No new tests, final patch will contain the rebaselined tests.
The Chrome video controls are receiving a visual update. This patch includes CSS changes,
the removal of the now no longer needed controls background div, and the introduction of
new images for the buttons.
- css/mediaControlsChromium.css:
(audio):
Adjust height of audio controls.
(::-webkit-media-controls):
Use flexbox on media controls shadow DOM.
(audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure):
Adjust height, max-width, text-indent and box-sizing, and reset padding to 0.
(video::-webkit-media-controls-enclosure):
Use 5px padding only for video controls and adjust height accordingly.
(audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel):
Use flexbox on panel, adjust bottom alignment, height, background color and border radius.
(audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button):
Display buttons inline with fixed width and height, vertically centered, no padding and
6px space to next controls element (this will be 15px incl the space in the image).
(audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
Display buttons inline with fixed width and height, vertically centered, no padding and
9px space to next controls element (this will be 15px incl the space in the image).
(audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display):
Display text as block, without broder, adjusted height, font-family, font-size and 9px space
to next controls element (this will be 15px incl the space in the image).
(audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline):
Adjust height, padding, background-color, min-wdith and 15px space to next controls element.
(audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider):
Adjust height, max- and min-width, background-color and 15px space to next controls element.
- html/shadow/MediaControlRootElementChromium.cpp:
(WebCore::MediaControlRootElementChromium::MediaControlRootElementChromium):
Remove timeline container, which is not necessary any longer because of the use of flexbox.
(WebCore::MediaControlRootElementChromium::create):
Remove timeline container, which is not necessary any longer because of the use of flexbox.
(WebCore::MediaControlRootElementChromium::setMediaController):
Remove timeline container, which is not necessary any longer because of the use of flexbox.
(WebCore::MediaControlRootElementChromium::reset):
Show the timeline instead of the timeline container when resetting.
(WebCore::MediaControlRootElementChromium::reportedError):
Hide the timeline instead of the timeline container when running into an error.
- rendering/RenderMediaControlsChromium.cpp:
(WebCore::paintMediaMuteButton):
Introduce new image resources for the mute button and adjust it based on volume levels.
(WebCore::paintMediaPlayButton):
Introduce new image resources for the play button.
(WebCore::getMediaSliderThumb):
Introduce new image resources for the position slider thumb.
(WebCore::paintMediaVolumeSliderThumb):
Introduce new image resources for the volume slider thumb.
Remove timeline container rendering.
(WebCore::RenderMediaControlsChromium::paintMediaControlsPart):
Add timeline container painting to the "not reached" elements.
(WebCore):
Provide size settings for the position and volume sliders.
(WebCore::RenderMediaControlsChromium::adjustMediaSliderThumbSize):
Calculate correct width and height settings for the new image resources of the position and volume
slider thumbs.
- rendering/RenderThemeChromiumMac.h:
(RenderThemeChromiumMac):
Remove timeline container rendering (i.e. the media controls background).
- rendering/RenderThemeChromiumMac.mm:
Remove timeline container rendering (i.e. the media controls background).
- rendering/RenderThemeChromiumSkia.cpp:
Remove timeline container rendering (i.e. the media controls background).
- rendering/RenderThemeChromiumSkia.h:
(RenderThemeChromiumSkia):
Remove timeline container rendering (i.e. the media controls background).
- 1:18 AM Changeset in webkit [120170] by
-
- 3 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
Skip svg/as-image/svg-nested.html which is timeout only on Qt-4.8.
- platform/qt-4.8/Skipped: skip svg/as-image/svg-nested.html
- platform/qt/TestExpectations: removed the slow marker from this test
- 1:17 AM Changeset in webkit [120169] by
-
- 3 edits in trunk/Source/WebCore
Unreviewed, fixing English nits suggested by review for r120165.
- fileapi/Blob.cpp:
(WebCore::Blob::webkitSlice):
- fileapi/Blob.h:
(Blob):
- 1:05 AM Changeset in webkit [120168] by
-
- 32 edits1 copy2 moves4 adds in trunk
REGRESSION(r118098): <content> element does not render distributed children when cloned from another document
https://bugs.webkit.org/show_bug.cgi?id=88148
Source/WebCore:
Reviewed by Dimitri Glazkov.
The shadow DOM availability was decided through FrameLoaderClient.
But there are documents which don't have any associated frames, in
which any shadow DOM related elements cannot be constructed. That
resulsted the regression.
This change introduces a Page-based client called
ContextFeaturesClient which takes the role from FrameLoaderClient
to decide the feature availability, and ContextFeatures which is a
proxy of ContextFeaturesClient. ContextEnabledFeatures is is
replaced with ContextFeatures.
Each ContextFeatures object is owned by a Page, and is attached to
each Document in the page even if the page itself has no referenct
to Frames or Pages. With ContextFeatures, each Document can decide
the feature availability even if it cannot reach Page or Frame.
On RefCountedSupplement: Document instance can live longer than a
Page where it is shwon. This means that ContextFeatures instance
needs to survive after owner Page destruction because it's
referenced from possibly surviving Documents. RefCountedSupplement
is introduced to cover this scenario: It allows supplement classes
to live after Page's destruction.
RefCountedSupplement::hostDestroyed() is notified when the hosting
page is gone. ContextFeatures clears its reference to the client
using this notification.
Test: fast/dom/shadow/elements-in-frameless-document.html
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateImplementation):
- css/StyleResolver.cpp:
(WebCore::StyleResolver::determineScope):
- dom/ContextFeatures.cpp: Added.
(WebCore):
(WebCore::ContextFeaturesClient::empty):
(WebCore::ContextFeatures::supplementName):
(WebCore::ContextFeatures::defaultSwitch):
(WebCore::ContextFeatures::shadowDOMEnabled):
(WebCore::ContextFeatures::styleScopedEnabled):
(WebCore::ContextFeatures::pagePopupEnabled):
(WebCore::provideContextFeaturesTo):
(WebCore::provideContextFeaturesToDocumentFrom):
- dom/ContextFeatures.h: Added.
(WebCore):
(ContextFeatures):
(WebCore::ContextFeatures::ContextFeatures):
(WebCore::ContextFeatures::hostDestroyed):
(ContextFeaturesClient):
(WebCore::ContextFeaturesClient::~ContextFeaturesClient):
(WebCore::ContextFeaturesClient::isEnabled):
(WebCore::ContextFeatures::create):
(WebCore::ContextFeatures::isEnabled):
- dom/DOMAllInOne.cpp:
- dom/DOMImplementation.cpp:
(WebCore::DOMImplementation::createDocument):
(WebCore::DOMImplementation::createHTMLDocument):
- dom/Document.h:
(WebCore::Document::contextFeatures):
- dom/Document.cpp:
(WebCore::Document::Document):
(WebCore::Document::setContextFeatures):
- dom/Position.cpp:
(WebCore::Position::Position):
(WebCore::Position::findParent):
- dom/TreeScope.cpp:
(WebCore::TreeScope::getSelection):
- dom/make_names.pl:
(printConstructorInterior):
(printFactoryCppFile):
(printWrapperFunctions):
(printWrapperFactoryCppFile):
- editing/markup.cpp:
(WebCore::createFragmentFromMarkupWithContext):
- html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::registerWithScopingNode):
(WebCore::HTMLStyleElement::unregisterWithScopingNode):
- html/shadow/HTMLContentElement.cpp:
(WebCore::contentTagName):
- inspector/DOMPatchSupport.cpp:
(WebCore::DOMPatchSupport::patchDocument):
- loader/FrameLoaderClient.h:
- platform/RefCountedSupplement.h: Copied from Source/WebCore/platform/Supplementable.h.
(WebCore):
(RefCountedSupplement):
(WebCore::RefCountedSupplement::hostDestroyed):
(Wrapper):
(WebCore::RefCountedSupplement::Wrapper::Wrapper):
(WebCore::RefCountedSupplement::Wrapper::~Wrapper):
(WebCore::RefCountedSupplement::Wrapper::wrapped):
(WebCore::RefCountedSupplement::provideTo):
(WebCore::RefCountedSupplement::from):
- platform/Supplementable.h:
(WebCore::Supplement::isRefCountedWrapper):
- xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::responseXML):
Source/WebKit/chromium:
Reviewed by Dimitri Glazkov.
- Added ContextFeaturesClientImpl which implements WebCore::ContextFeaturesClient.
- Replaced PagePopupFrameLoaderClient with PagePopupFeaturesClient.
- WebKit.gyp:
- public/WebPermissionClient.h:
(WebKit):
(WebKit::WebPermissionClient::allowWebComponents):
- src/ContextFeaturesClientImpl.cpp: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.cpp.
(WebKit):
(WebKit::ContextFeaturesClientImpl::isEnabled):
- src/ContextFeaturesClientImpl.h: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.h.
(WebKit):
(ContextFeaturesClientImpl):
(WebKit::ContextFeaturesClientImpl::ContextFeaturesClientImpl):
(WebKit::ContextFeaturesClientImpl::setPermissionClient):
- src/FrameLoaderClientImpl.cpp:
- src/FrameLoaderClientImpl.h:
(FrameLoaderClientImpl):
- src/WebPagePopupImpl.cpp:
(PagePopupFeaturesClient):
(WebKit::PagePopupFeaturesClient::isEnabled):
(WebKit):
(WebKit::WebPagePopupImpl::initPage):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setPermissionClient):
(WebKit::WebViewImpl::WebViewImpl):
- src/WebViewImpl.h:
(WebKit):
LayoutTests:
Reviewed by Dimitri Glazkov.
- fast/dom/shadow/elements-in-frameless-document-expected.txt: Added.
- fast/dom/shadow/elements-in-frameless-document.html: Added.
- 12:49 AM Changeset in webkit [120167] by
-
- 755 edits in trunk/LayoutTests
HTTP tests should use testRunner instead of layoutTestController
https://bugs.webkit.org/show_bug.cgi?id=88969
Reviewed by Darin Adler.
- http/tests/appcache/:
- http/tests/cache/cancel-during-failure-crash.html:
- http/tests/cache/cancel-during-revalidation-succeeded.html:
- http/tests/cache/history-only-cached-subresource-loads-max-age-https.html:
- http/tests/cache/history-only-cached-subresource-loads.html:
- http/tests/cache/loaded-from-cache-after-reload-within-iframe.html:
- http/tests/cache/loaded-from-cache-after-reload.html:
- http/tests/cache/post-redirect-get.php:
- http/tests/cache/post-with-cached-subresources.php:
- http/tests/cache/resources/stopped-revalidation-result.html:
- http/tests/cache/resources/subresource-test.js:
(nextTest):
- http/tests/cache/stopped-revalidation.html:
- http/tests/cache/subresource-failover-to-network.html:
- http/tests/cache/subresource-fragment-identifier.html:
- http/tests/cache/subresource-multiple-instances.html:
- http/tests/cache/xhr-body.html:
- http/tests/cache/zero-length-xhr.html:
- http/tests/canvas/philip/tests.js:
(_addTest.endTest):
(_addTest.window.onload):
(_addTest):
- http/tests/canvas/webgl/origin-clean-conformance.html:
- http/tests/cookies/resources/cookies-test-pre.js:
- http/tests/cookies/resources/resetCookies.js:
(resetCookies):
- http/tests/cookies/resources/setArraycookies-result.php:
- http/tests/cookies/resources/setUtf8Cookies-result.php:
- http/tests/cookies/resources/third-party-cookie-relaxing-iframe.html:
- http/tests/cookies/third-party-cookie-relaxing.html:
- http/tests/css/cross-fade-reload.html:
- http/tests/css/css-imports-redirect-cycle.html:
- http/tests/css/font-face-src-loading.html:
- http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet-in-error.js:
- http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet.js:
- http/tests/css/resources/request-logging.js:
(startTest):
(endTest):
- http/tests/download/basic-ascii.html:
- http/tests/download/default-encoding.html:
- http/tests/download/inherited-encoding-form-submission-result.html:
- http/tests/download/inherited-encoding.html:
- http/tests/download/literal-utf-8.html:
- http/tests/eventsource/eventsource-bad-mime-type.html:
- http/tests/eventsource/eventsource-content-type-charset.html:
- http/tests/eventsource/eventsource-eof.html:
- http/tests/eventsource/eventsource-parse-event-stream.html:
- http/tests/eventsource/eventsource-reconnect-during-navigate-crash.html:
- http/tests/eventsource/eventsource-reconnect.html:
- http/tests/eventsource/eventsource-status-code-states.html:
- http/tests/eventsource/existent-eventsource-status-error-iframe-crash.html:
- http/tests/eventsource/non-existent-eventsource-status-error-iframe-crash.html:
- http/tests/eventsource/resources/wait-then-notify-done.php:
- http/tests/eventsource/workers/eventsource-simple.html:
- http/tests/fileapi/create-blob-url-from-data-url.html:
- http/tests/filesystem/no-cache-filesystem-url.html:
- http/tests/globalhistory/history-delegate-basic-302-redirect.html:
- http/tests/globalhistory/history-delegate-basic-refresh-redirect.html:
- http/tests/globalhistory/history-delegate-basic-title.html:
- http/tests/globalhistory/history-delegate-basic-visited-links.html:
- http/tests/history/:
- http/tests/incremental/frame-focus-before-load.html:
- http/tests/incremental/partial-jpeg.html:
- http/tests/incremental/pause-in-script-element.pl:
- http/tests/incremental/slow-utf8-css.html:
- http/tests/incremental/slow-utf8-html.pl:
- http/tests/incremental/split-hex-entities.pl:
- http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation.html:
- http/tests/inspector-enabled/console-clear-arguments-on-frame-remove.html:
- http/tests/inspector-enabled/console-log-before-frame-navigation.html:
- http/tests/inspector-enabled/contentSecurityPolicy-blocks-setInterval.html:
- http/tests/inspector-enabled/contentSecurityPolicy-blocks-setTimeout.html:
- http/tests/inspector-enabled/database-open.html:
- http/tests/inspector-enabled/dedicated-workers-list.html:
- http/tests/inspector-enabled/document-write.html:
- http/tests/inspector-enabled/dom-storage-open.html:
- http/tests/inspector-enabled/injected-script-discard.html:
- http/tests/inspector-enabled/resources/console-clear-arguments-iframe.html:
- http/tests/inspector/console-resource-errors.html:
- http/tests/inspector/console-websocket-error.html:
- http/tests/inspector/indexeddb/resources/without-indexed-db.html:
- http/tests/inspector/inspector-test.js:
- http/tests/inspector/network/ping.html:
- http/tests/inspector/resource-tree/resources/script-initial.js:
(foo):
- http/tests/inspector/resource-tree/resources/script-navigated.js:
(foo):
- http/tests/inspector/web-socket-frame-error.html:
- http/tests/inspector/web-socket-frame.html:
- http/tests/loading/:
- http/tests/local/absolute-url-strip-whitespace.html:
- http/tests/local/blob/script-tests/send-hybrid-blob.js:
(runTests):
- http/tests/local/drag-over-remote-content.html:
- http/tests/local/fail.css:
(#pass):
- http/tests/local/formdata/send-form-data-constructed-from-form.html:
- http/tests/local/link-stylesheet-load-order-preload.html:
- http/tests/local/link-stylesheet-load-order.html:
- http/tests/local/link-stylesheet-preferred.html:
- http/tests/local/style-access-before-stylesheet-loaded.html:
- http/tests/local/stylesheet-and-script-load-order-http.html:
- http/tests/local/stylesheet-and-script-load-order-media-print.html:
- http/tests/local/stylesheet-and-script-load-order.html:
- http/tests/media/reload-after-dialog.html:
- http/tests/media/resources/test.txt:
- http/tests/media/video-buffered-range-contains-currentTime.html:
- http/tests/media/video-cancel-load.html:
- http/tests/media/video-cookie.html:
- http/tests/media/video-error-abort.html:
- http/tests/messaging/cross-domain-message-event-dispatch.html:
- http/tests/messaging/cross-domain-message-send.html:
- http/tests/mime/quoted-charset.php:
- http/tests/mime/resources/uppercase-mime-type.php:
- http/tests/mime/standard-mode-does-not-load-stylesheet-with-text-plain-and-css-extension.html:
- http/tests/mime/standard-mode-does-not-load-stylesheet-with-text-plain.html:
- http/tests/mime/standard-mode-loads-stylesheet-with-charset-and-css-extension.html:
- http/tests/mime/standard-mode-loads-stylesheet-with-charset.html:
- http/tests/mime/standard-mode-loads-stylesheet-with-empty-content-type.html:
- http/tests/mime/standard-mode-loads-stylesheet-with-text-css-and-invalid-type.html:
- http/tests/mime/uppercase-mime-type.html:
- http/tests/misc/:
- http/tests/websocket/tests/:
- http/tests/workers/resources/worker-redirect.js:
(runNextTest):
- http/tests/workers/resources/worker-util.js:
(waitUntilThreadCountMatches.return):
(waitUntilThreadCountMatches):
(done):
- http/tests/workers/shared-worker-importScripts.html:
- http/tests/workers/shared-worker-invalid-url.html:
- http/tests/workers/terminate-during-sync-operation.html:
- http/tests/workers/text-encoding.html:
- http/tests/workers/worker-document-domain-security.html:
- http/tests/workers/worker-importScripts.html:
- http/tests/workers/worker-importScriptsOnError.html:
- http/tests/workers/worker-invalid-url.html:
- http/tests/workers/worker-workerScriptNotThere.html:
- http/tests/xmlhttprequest/:
- http/tests/xmlviewer/dumpAsText/frames.html:
- http/tests/xmlviewer/dumpAsText/xhtml-tag.xml:
- http/tests/xmlviewer/extensions-api.html:
- platform/chromium-win/http/tests/websocket/tests/hixie76/bad-sub-protocol-control-chars-expected.txt:
- platform/chromium/http/tests/misc/execute-and-return-value.html:
- platform/chromium/http/tests/misc/selectionAsMarkup.html:
- platform/chromium/http/tests/permissionclient/image-permissions.html:
- platform/chromium/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
- platform/chromium/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
- platform/chromium/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-subframe-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-window-open-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt:
- platform/chromium/http/tests/security/mixedContent/insecure-iframe-in-main-frame-allowed.html:
- platform/chromium/http/tests/security/mixedContent/insecure-iframe-in-main-frame-blocked.html:
- platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-allowed.html:
- platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-blocked.html:
- platform/chromium/http/tests/security/mixedContent/insecure-script-in-main-frame-allowed.html:
- platform/chromium/http/tests/security/mixedContent/insecure-script-in-main-frame-blocked.html:
- platform/chromium/http/tests/security/window-named-proto-expected.txt:
- platform/qt/http/tests/cookies/strict-third-party-cookie-blocking.html:
- platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
- platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
- platform/qt/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
- 12:32 AM Changeset in webkit [120166] by
-
- 2 edits1 move in trunk/Tools
[Qt][Win]QtTestBrowser somehow picks up DumpRenderTree's main.cpp, causing a failure to link
https://bugs.webkit.org/show_bug.cgi?id=88874
Patch by Joel Dillon <joel.dillon@codethink.co.uk> on 2012-06-13
Reviewed by Simon Hausmann.
Rename main.cpp in QtTestBrowser because on Windows
it conflicts with main.cpp from DumpRenderTree.
- QtTestBrowser/QtTestBrowser.pro:
- QtTestBrowser/qttestbrowser.cpp: Renamed from Tools/QtTestBrowser/main.cpp.
(launcherMain):
(LauncherApplication):
(LauncherApplication::urls):
(LauncherApplication::isRobotized):
(LauncherApplication::robotTimeout):
(LauncherApplication::robotExtraTime):
(LauncherApplication::applyDefaultSettings):
(LauncherApplication::LauncherApplication):
(requiresGraphicsView):
(LauncherApplication::handleUserOptions):
(main):