Timeline
Jul 26, 2012:
- 11:35 PM Changeset in webkit [123840] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed, rolling out r123820.
http://trac.webkit.org/changeset/123820
https://bugs.webkit.org/show_bug.cgi?id=92465
It made all tests crash on all port (Requested by Ossy_home on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26
- dom/EventNames.cpp:
(WebCore):
- 11:21 PM Changeset in webkit [123839] by
-
- 2 edits in trunk/Source/WebCore
Qt build fix after r123788. Fixed the typo.
- xml/parser/XMLDocumentParserQt.cpp:
(WebCore::handleElementAttributes):
- 10:53 PM Changeset in webkit [123838] by
-
- 2 edits in trunk/Source/WebCore
[Qt] Build fix for Qt after r123811
https://bugs.webkit.org/show_bug.cgi?id=92460
Reviewed by Ryosuke Niwa.
This change explicitly converts from AtomicString to String to avoid ambiguities
when compiling HTMLAppletWidget.cpp on Qt.
No new tests because it is a build fix.
- html/HTMLAppletElement.cpp:
(WebCore::HTMLAppletElement::updateWidget):
- 9:32 PM Changeset in webkit [123837] by
-
- 4 edits2 adds in trunk
Make transitions work between different Length types
https://bugs.webkit.org/show_bug.cgi?id=92220
Reviewed by Simon Fraser.
Source/WebCore:
Use the existing CSS calc machinery for blending between two calculations
to blend between two Lengths of differing types.
Test: transitions/mixed-type.html
- platform/Length.cpp:
(WebCore::Length::blendMixedTypes):
- platform/Length.h:
(WebCore::Length::blend):
(Length):
LayoutTests:
- transitions/mixed-type-expected.txt: Added.
- transitions/mixed-type.html: Added.
- 9:07 PM Changeset in webkit [123836] by
-
- 1 edit16 moves in trunk/LayoutTests
[Tests] Rename fast/forms/{number,time}/*-validity-state-* to *-validity-*
https://bugs.webkit.org/show_bug.cgi?id=92449
Reviewed by Kent Tamura.
This patch renames test files in fast/forms/{number,time} for matching
with IDL attribute names.
- fast/forms/number/number-validity-rangeoverflow-expected.txt: Copied from LayoutTests/fast/forms/number/number-validitystate-range-overflow-expected.txt.
- fast/forms/number/number-validity-rangeoverflow.html: Copied from LayoutTests/fast/forms/number/number-validitystate-range-overflow.html.
- fast/forms/number/number-validity-rangeunderflow-expected.txt: Copied from LayoutTests/fast/forms/number/number-validity-state-range-underflow-expected.txt.
- fast/forms/number/number-validity-rangeunderflow.html: Copied from LayoutTests/fast/forms/number/number-validity-state-range-underflow.html.
- fast/forms/number/number-validity-state-range-underflow-expected.txt: Removed.
- fast/forms/number/number-validity-state-range-underflow.html: Removed.
- fast/forms/number/number-validity-state-step-mismatch-expected.txt: Removed.
- fast/forms/number/number-validity-state-step-mismatch.html: Removed.
- fast/forms/number/number-validity-state-type-mismatch-expected.txt: Removed.
- fast/forms/number/number-validity-state-type-mismatch.html: Removed.
- fast/forms/number/number-validity-stepmismatch-expected.txt: Copied from LayoutTests/fast/forms/number/number-validity-state-step-mismatch-expected.txt.
- fast/forms/number/number-validity-stepmismatch.html: Copied from LayoutTests/fast/forms/number/number-validity-state-step-mismatch.html.
- fast/forms/number/number-validity-typemismatch-expected.txt: Copied from LayoutTests/fast/forms/number/number-validity-state-type-mismatch-expected.txt.
- fast/forms/number/number-validity-typemismatch.html: Copied from LayoutTests/fast/forms/number/number-validity-state-type-mismatch.html.
- fast/forms/number/number-validitystate-range-overflow-expected.txt: Removed.
- fast/forms/number/number-validitystate-range-overflow.html: Removed.
- fast/forms/time/time-validity-rangeoverflow-expected.txt: Copied from LayoutTests/fast/forms/time/time-validity-state-range-overflow-expected.txt.
- fast/forms/time/time-validity-rangeoverflow.html: Copied from LayoutTests/fast/forms/time/time-validity-state-range-overflow.html.
- fast/forms/time/time-validity-rangeunderflow-expected.txt: Copied from LayoutTests/fast/forms/time/time-validity-state-range-underflow-expected.txt.
- fast/forms/time/time-validity-rangeunderflow.html: Copied from LayoutTests/fast/forms/time/time-validity-state-range-underflow.html.
- fast/forms/time/time-validity-state-range-overflow-expected.txt: Removed.
- fast/forms/time/time-validity-state-range-overflow.html: Removed.
- fast/forms/time/time-validity-state-range-underflow-expected.txt: Removed.
- fast/forms/time/time-validity-state-range-underflow.html: Removed.
- fast/forms/time/time-validity-state-step-mismatch-expected.txt: Removed.
- fast/forms/time/time-validity-state-step-mismatch.html: Removed.
- fast/forms/time/time-validity-state-type-mismatch-expected.txt: Removed.
- fast/forms/time/time-validity-state-type-mismatch.html: Removed.
- fast/forms/time/time-validity-stepmismatch-expected.txt: Copied from LayoutTests/fast/forms/time/time-validity-state-step-mismatch-expected.txt.
- fast/forms/time/time-validity-stepmismatch.html: Copied from LayoutTests/fast/forms/time/time-validity-state-step-mismatch.html.
- fast/forms/time/time-validity-typemismatch-expected.txt: Copied from LayoutTests/fast/forms/time/time-validity-state-type-mismatch-expected.txt.
- fast/forms/time/time-validity-typemismatch.html: Copied from LayoutTests/fast/forms/time/time-validity-state-type-mismatch.html.
- 8:48 PM Changeset in webkit [123835] by
-
- 3 edits2 adds in trunk
Blocks with reverse column progression don’t have layout overflow for overflowing columns
https://bugs.webkit.org/show_bug.cgi?id=92440
Reviewed by Sam Weinig.
Source/WebCore:
Test: fast/multicol/progression-reverse-overflow.html
- rendering/RenderBox.cpp:
(WebCore::RenderBox::addLayoutOverflow): If column progression is reversed, then allow
layout overflow to go in the opposite direction than it would normally be allowed to go.
For example, in a block with writing-mode: horizontal-tb, direction: ltr and
column-progression: reverse, columns overflow to the left, so layout overflow would go on
the left.
LayoutTests:
- fast/multicol/progression-reverse-overflow-expected.html: Added.
- fast/multicol/progression-reverse-overflow.html: Added.
- 8:24 PM Changeset in webkit [123834] by
-
- 3 edits in trunk
When Safari 6 is launched via the WebKit Xcode workspace, it does not link against the built frameworks
https://bugs.webkit.org/show_bug.cgi?id=92331
Reviewed by Mark Rowe.
Changed references to the Safari executable to the SafariForWebKitDevelopment binary.
- WebKit.xcworkspace/xcshareddata/xcschemes/All Source (target WebProcess).xcscheme:
- WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme:
- 8:21 PM Changeset in webkit [123833] by
-
- 4 edits3 adds in trunk
Implement ColorSuggestionPicker page popup
https://bugs.webkit.org/show_bug.cgi?id=92109
Reviewed by Kent Tamura.
.:
- ManualTests/forms/color-suggestion-picker.html: Added. Tests colorSuggestionPicker.{js,css}
Source/WebCore:
Implements ColorSuggestionPicker page popup. This will be used in
certain ports as the datalist UI for <input type=color>.
No new tests because there is no way to open the popup yet.
- Resources/colorSuggestionPicker.css: Added.
(body):
(#main):
(.color-swatch):
(.color-swatch:hover):
(.color-swatch-container):
(.other-color):
- Resources/colorSuggestionPicker.js: Added.
(getScrollbarWidth):When there are more than 20 colors we need to
increase the window width to accommodate the scroll bar.
(createElement):
(handleMessage):
(initialize):
(handleArgumentsTimeout):
(validateArguments):
(submitValue): Calls setValueAndClosePopup with a numValue of 0.
(handleCancel): Calls setValueAndClosePopup with a numValue of -1.
(chooseOtherColor): Calls setValueAndClosePopup with a numValue of -2.
(ColorPicker):
(ColorPicker.prototype._layout): Lays out the color swatches in a 5x4
grid.
(ColorPicker.prototype._handleSwatchClick):
- WebCore.gyp/WebCore.gyp: Added ColorSuggestionPicker action.
- make-file-arrays.py:
(main): Windows gets confused when "&&" is in the command, so we will replace " AND " with " && " internally.
- 7:49 PM Changeset in webkit [123832] by
-
- 2 edits in trunk/Tools
[EFL] Remove forwarding headers from MiniBrowser/Efl.
https://bugs.webkit.org/show_bug.cgi?id=91627
Reviewed by Kentaro Hara.
- MiniBrowser/efl/CMakeLists.txt: Remove unnecessary forwarding headers.
- 7:41 PM Changeset in webkit [123831] by
-
- 3 edits in trunk/Source/WebKit/efl
[EFL] Highlight the element under mouse on web inspector
https://bugs.webkit.org/show_bug.cgi?id=91592
Patch by Seokju Kwon <seokju.kwon@samsung.com> on 2012-07-26
Reviewed by Kentaro Hara.
Implement highlighting the nodes when using the web inspector.
- WebCoreSupport/InspectorClientEfl.cpp:
(WebCore::InspectorClientEfl::highlight):
(WebCore::InspectorClientEfl::hideHighlight):
(WebCore::InspectorClientEfl::invalidateView):
(WebCore):
- WebCoreSupport/InspectorClientEfl.h:
(InspectorClientEfl):
- ewk/ewk_paint_context.cpp:
(ewk_paint_context_paint_contents):
- 7:30 PM Changeset in webkit [123830] by
-
- 8 edits1 add in trunk/Source/WebCore
De-virtualize WrapShape classes
https://bugs.webkit.org/show_bug.cgi?id=90998
Patch by Anish Bhayani <anish.bhayani@gmail.com> on 2012-07-26
Reviewed by Andreas Kling.
The destructor for WrapShapes classes did not need to use a virtual
pointer. WrapShapes.cpp is created to cast the WrapShape destructor
to the subclass type saving memory and avoiding virtual calls.
There are existing tests that cover the validity of shapes. The
added changes merely change the destructor of the shape objects
which is also tested by LayoutTests/fast/exclusions.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- rendering/style/WrapShapes.cpp: Added.
(WebCore):
(WebCore::WrapShape::destroy):
- rendering/style/WrapShapes.h:
(WebCore::WrapShape::deref):
(WrapShape):
(WebCore::WrapShape::type):
(WebCore::WrapShape::setType):
(WrapShapeRectangle):
(WebCore::WrapShapeRectangle::WrapShapeRectangle):
(WebCore::WrapShapeCircle::WrapShapeCircle):
(WebCore::WrapShapeEllipse::WrapShapeEllipse):
(WebCore::WrapShapePolygon::WrapShapePolygon):
(WrapShapePolygon):
- 6:48 PM Changeset in webkit [123829] by
-
- 9 edits in trunk/Source/WebCore
Unreviewed, rolling out r123808.
http://trac.webkit.org/changeset/123808
https://bugs.webkit.org/show_bug.cgi?id=92443
Broke Apple Mac debug tests ASSERTION FAILED: !hasClients()
(Requested by msaboff_ on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26
- loader/cache/CachedCSSStyleSheet.cpp:
(WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet):
(WebCore::CachedCSSStyleSheet::didAddClient):
(WebCore::CachedCSSStyleSheet::allClientsRemoved):
(WebCore::CachedCSSStyleSheet::decodedDataDeletionTimerFired):
(WebCore):
- loader/cache/CachedCSSStyleSheet.h:
(CachedCSSStyleSheet):
- loader/cache/CachedImage.cpp:
(WebCore::CachedImage::CachedImage):
(WebCore::CachedImage::decodedDataDeletionTimerFired):
(WebCore):
(WebCore::CachedImage::didAddClient):
(WebCore::CachedImage::allClientsRemoved):
- loader/cache/CachedImage.h:
(CachedImage):
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::CachedResource):
(WebCore::CachedResource::didAddClient):
(WebCore::CachedResource::removeClient):
- loader/cache/CachedResource.h:
(CachedResource):
- loader/cache/CachedScript.cpp:
(WebCore::CachedScript::CachedScript):
(WebCore::CachedScript::didAddClient):
(WebCore):
(WebCore::CachedScript::allClientsRemoved):
(WebCore::CachedScript::decodedDataDeletionTimerFired):
- loader/cache/CachedScript.h:
(CachedScript):
- 6:41 PM Changeset in webkit [123828] by
-
- 2 edits in trunk/Source/WebCore
[chromium] Remove some unreachable code in ClipboardChromium.cpp
https://bugs.webkit.org/show_bug.cgi?id=92427
Reviewed by Adam Barth.
convertURIListToURL does the same thing (implementation in ClipboardUtilitiesChromium.*).
No new tests, just deleting unused code.
- platform/chromium/ClipboardChromium.cpp:
(WebCore::ClipboardChromium::getData):
- 6:28 PM Changeset in webkit [123827] by
-
- 15 edits2 adds in trunk
Implement undoscope attribute.
https://bugs.webkit.org/show_bug.cgi?id=88793
Patch by Sukolsak Sakshuwong <sukolsak@google.com> on 2012-07-26
Reviewed by Ryosuke Niwa.
Source/WebCore:
undoscope attribute support as specified at
http://dvcs.w3.org/hg/undomanager/raw-file/tip/undomanager.html
Test: editing/undomanager/undoscope-attribute.html
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- dom/Document.cpp:
(WebCore::Document::~Document):
- dom/Element.cpp:
(WebCore):
(WebCore::Element::undoScope):
(WebCore::Element::setUndoScope):
(WebCore::Element::undoManager):
(WebCore::Element::disconnectUndoManager):
(WebCore::Element::disconnectUndoManagersInSubtree):
- dom/Element.h:
(Element):
- dom/Element.idl:
- dom/ElementRareData.h:
(ElementRareData):
- editing/UndoManager.cpp:
(WebCore::UndoManager::disconnect):
(WebCore::UndoManager::transact):
(WebCore::UndoManager::undo):
(WebCore::UndoManager::redo):
(WebCore::UndoManager::clearUndo):
(WebCore):
(WebCore::UndoManager::clearRedo):
(WebCore::UndoManager::clearUndoRedo):
(WebCore::UndoManager::isConnected):
- editing/UndoManager.h:
(WebCore):
(UndoManager):
(WebCore::UndoManager::length):
- editing/UndoManager.idl:
- html/HTMLAttributeNames.in:
- html/HTMLElement.cpp:
(WebCore::HTMLElement::parseAttribute):
(WebCore::HTMLElement::setContentEditable):
LayoutTests:
- editing/undomanager/undoscope-attribute-expected.txt: Added.
- editing/undomanager/undoscope-attribute.html: Added.
- 6:27 PM Changeset in webkit [123826] by
-
- 14 edits in trunk
[Forms] Introduce runtime feature flags for input type datetime, datetimelocal, month, time, week
https://bugs.webkit.org/show_bug.cgi?id=92339
Reviewed by Kent Tamura.
Source/WebCore:
To detect compilation errors and test failure earlier, I would like
build and run tests for input type datetime, datetime-local, month,
time and week with runtime feature flags to avoid behavior changes
other than test shell.
This patch adds runtime features for input types, datetime, datetime-local,
month, time and week and integrates them into InputType::createInputTypeFactoryMap
to follow runtime feature flags.
At this time, these runtime features are enabled by default for all
ports define ENABLE_INPUT_TYPE_XXX except for Chromium port other than
Android. I'll remove these #if after I update Chromium browser for
disabling them for non-Android.
No new tests. Enabling disabled tests (fast/forms/datetime, fast/forms/dattimelocal,
fast/forms/month, fast/forms/time, fast/forms/week)
- bindings/generic/RuntimeEnabledFeatures.cpp: Added initializations of
variables for runtime features of input types.
- bindings/generic/RuntimeEnabledFeatures.h:
(WebCore::RuntimeEnabledFeatures::inputTypeDateTimeEnabled): Added.
(WebCore::RuntimeEnabledFeatures::setInputTypeDateTimeEnabled): Added.
(WebCore::RuntimeEnabledFeatures::inputTypeDateTimeLocalEnabled): Added.
(WebCore::RuntimeEnabledFeatures::setInputTypeDateTimeLocalEnabled): Added.
(WebCore::RuntimeEnabledFeatures::inputTypeMonthEnabled): Added.
(WebCore::RuntimeEnabledFeatures::setInputTypeMonthEnabled): Added.
(WebCore::RuntimeEnabledFeatures::inputTypeTimeEnabled): Added.
(WebCore::RuntimeEnabledFeatures::setInputTypeTimeEnabled): Added.
(WebCore::RuntimeEnabledFeatures::inputTypeWeekEnabled): Added.
(WebCore::RuntimeEnabledFeatures::setInputTypeWeekEnabled): Added.
- html/InputType.cpp:
(WebCore::createInputTypeFactoryMap): Register input types datetime,
datetime-local, month, time and week if corresponding runtime feature
flag is enabled.
- html/InputType.h: Changed indentation to force building *InputType.cpp for
making Chromium-win bots to be happy.
Source/WebKit/chromium:
To detect compilation errors and test failure earlier, I would like
build and run tests for input type datetime, datetime-local, month,
time and week with runtime feature flags to avoid behavior changes
on chromium browser.
This patch adds query and change functions for runtime features of
input type datetime, datetime-local, month, time and week to WebRuntimeFeatures
class for exposing DRT and chromium browser expermental flags.
- features.gypi: Turn on ENABLE_INPUT_TYPE_DATETIME, ENABLE_INPUT_TYPE_DATETIMELOCAL,
ENABLE_INPUT_TYPE_MONTH, ENABLE_INPUT_TYPE_TIME, and ENABLE_INPUT_TYPE_WEEK for all OS.
- public/WebRuntimeFeatures.h:
(WebRuntimeFeatures):
- src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableInputTypeDateTime): Added.
(WebKit::WebRuntimeFeatures::isInputTypeDateTimeEnabled): Added.
(WebKit::WebRuntimeFeatures::enableInputTypeDateTimeLocal): Added.
(WebKit::WebRuntimeFeatures::isInputTypeDateTimeLocalEnabled): Added.
(WebKit::WebRuntimeFeatures::enableInputTypeMonth): Added.
(WebKit::WebRuntimeFeatures::isInputTypeMonthEnabled): Added.
(WebKit::WebRuntimeFeatures::enableInputTypeTime): Added.
(WebKit::WebRuntimeFeatures::isInputTypeTimeEnabled): Added.
(WebKit::WebRuntimeFeatures::enableInputTypeWeek): Added.
(WebKit::WebRuntimeFeatures::isInputTypeWeekEnabled): Added.
Tools:
This patch enables runtime features for input type datetime, datetime-local,
month, time and week for Chromium DRT.
- DumpRenderTree/chromium/TestShell.cpp:
(TestShell::TestShell): Call enableInputType{DateTime,DateTimeLocal,Month,Time,Week}.
LayoutTests:
This patch enables tests for input type datetime, datetime-local,
month, time and week for Chromium ports.
- platform/chromium/TestExpectations: Removed disabled directives for
input type datetime, datetime-local, month, time and week.
- platform/chromium/fast/forms/datalist/input-list-expected.txt: Updated
expecations for input type datetime, datetime-local, month, time and week
to null for IDL list attribute. So far, these expectations specified
HTMLDataListElement for input type "text" as unsupported input types.
- 6:07 PM Changeset in webkit [123825] by
-
- 3 edits in trunk/Source/WebCore
[Chromium-Android] Don't overlay scrollbars in layout test mode
https://bugs.webkit.org/show_bug.cgi?id=92419
Reviewed by Adam Barth.
No new tests. This fixes failures of existing tests, e.g. css1/box_properties/border.html and many others.
- platform/chromium/ScrollbarThemeChromiumAndroid.cpp:
(WebCore::ScrollbarThemeChromiumAndroid::usesOverlayScrollbars): Returns false in layout test mode.
(WebCore):
(WebCore::ScrollbarThemeChromiumAndroid::hasThumb): Returns false in layout test mode (to match pixel test expectations).
- platform/chromium/ScrollbarThemeChromiumAndroid.h:
(ScrollbarThemeChromiumAndroid):
- 6:00 PM Changeset in webkit [123824] by
-
- 1 edit2 adds in trunk/LayoutTests
Unreviewed rebaseline after r123790.
- platform/mac/css3/filters/effect-brightness-clamping-expected.txt: Added.
- platform/mac/css3/filters/effect-brightness-clamping-hw-expected.txt: Added.
- 5:52 PM Changeset in webkit [123823] by
-
- 6 edits1 add in trunk
Reloading substitute-data/alternate html string for unreachableURL will add an item to the back-forward-history for each reload
https://bugs.webkit.org/show_bug.cgi?id=84041
Reviewed by Brady Eidson.
Source/WebCore:
Previously, loadAlternateHTMLString:baseURL:forUnreachableURL: would insert a new history item, regardless of
the load type of the original frame load. This could cause navigation to a broken website to make back and
forward navigation difficult to use. This change ensures that a reload type makes it through all the way.
Added API test 'mac/BackForwardList.mm'.
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::load): Prevent m_loadType from being overwritten early and check if it's a reload.
- loader/HistoryController.cpp:
(WebCore::HistoryController::updateForCommit): Amend check when committing the provisional item for a reload.
(WebCore::HistoryController::isReloadTypeWithProvisionalItem): Check that a reload type has a provisional item.
(WebCore):
- loader/HistoryController.h:
(HistoryController): Add prototype for isReloadTypeWithProvisionalItem.
Tools:
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/mac/BackForwardList.mm: Added.
(-[BackForwardListTest webView:didFinishLoadForFrame:]):
(-[BackForwardListTest webView:didFailProvisionalLoadWithError:forFrame:]):
(TestWebKitAPI):
(TestWebKitAPI::TEST):
- 5:48 PM Changeset in webkit [123822] by
-
- 4 edits2 adds in trunk
[Chromium] Regression: Global-buffer-overflow in WebCore::mediaControlElementType
https://bugs.webkit.org/show_bug.cgi?id=91333
Patch by Silvia Pfeiffer <silviapf@chromium.org> on 2012-07-26
Reviewed by Eric Seidel.
Source/WebCore:
MediaControlChromiumEnclosureElement now is a subclass of MediaControlElement, which
fixes the broken cast detected in the bug.
The displayType() of MediaControlChromiumEnclosureElement is set to 'MediaControlsPanel',
since the Panel element is sufficiently close in functionality to the Enclosure element.
By reusing this type, we do not need to introduce a Chromium-specific constant into
the generally used MediaControlElementType.
Test: accessibility/media-controls.html
- html/shadow/MediaControlRootElementChromium.cpp:
(WebCore::MediaControlChromiumEnclosureElement::MediaControlChromiumEnclosureElement):
Subclass MediaControlChromiumEnclosureElement from MediaControlElement.
(WebCore::MediaControlChromiumEnclosureElement::displayType):
Give the enclosure the MediaPanels type.
- html/shadow/MediaControlRootElementChromium.h:
Add the MediaControlElement.h header file.
(MediaControlChromiumEnclosureElement):
Subclass MediaControlChromiumEnclosureElement from MediaControlElement.
LayoutTests:
This new test assures that the creation of a audio element with controls does not
break when accessibility is turned on.
- accessibility/media-controls-expected.txt: Added.
- accessibility/media-controls.html: Added.
- 5:41 PM Changeset in webkit [123821] by
-
- 3 edits in trunk/Source/WebCore
[GTK] avoid unneeded object creation when calling Vector::append
https://bugs.webkit.org/show_bug.cgi?id=88805
Patch by Arnaud Renevier <arno@renevier.net> on 2012-07-26
Reviewed by Alexey Proskuryakov.
No new tests: no change in functionality.
- platform/gtk/ContextMenuGtk.cpp:
(WebCore::contextMenuItemVector):
- platform/gtk/KeyBindingTranslator.h:
(WebCore::KeyBindingTranslator::addPendingEditorCommand):
- 5:34 PM Changeset in webkit [123820] by
-
- 2 edits in trunk/Source/WebCore
Initialize the Event Names' strings from read only memory
https://bugs.webkit.org/show_bug.cgi?id=92435
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-07-26
Reviewed by Anders Carlsson.
Similarily to r123689, we can initialize the event names' strings from memory without copying the data.
This saves us memory and initialization time.
- dom/EventNames.cpp:
(WebCore):
- 5:25 PM Changeset in webkit [123819] by
-
- 20 edits2 adds in trunk
constructing TypedArray from another TypedArray is slow
https://bugs.webkit.org/show_bug.cgi?id=90838
Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2012-07-26
Reviewed by Kenneth Russell.
PerformanceTests:
- Bindings/typed-array-construct-from-same-type.html: Added.
- Bindings/typed-array-construct-from-typed.html: Added.
Source/WebCore:
When constructing a typed array from an array like element, try to
determine if the argument is a typed array. If so, cast the argument
to a typed array, and read each element with .item() method. That
avoid reading the value as a JSValue, and speedups construction by
approximatively 3x (even 30x if TypedArrays are both the same type).
In order to achieve that, we use virtual getType method. We can use
this information to cast the TypedArray to the actual type, and then
read the values from the source.
Introduce constructArrayBufferViewWithTypedArrayArgument template
function which returns a new typed array if first argument is a typed
array, or 0 otherwise.
This patch also replaces previous is<Type>Array() calls with new
getType method.
- bindings/js/JSArrayBufferViewHelper.h:
(WebCore::constructArrayBufferViewWithTypedArrayArgument):
(WebCore):
(WebCore::constructArrayBufferView):
- bindings/v8/SerializedScriptValue.cpp:
- html/canvas/DataView.h:
(DataView):
(WebCore::DataView::getType):
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::readPixels):
(WebCore::WebGLRenderingContext::validateTexFuncData):
- page/Crypto.cpp:
Source/WTF:
Introduce virtual method getType on ArrayBufferView. It returns the actual
type of the view. This method replaces previous is<Type>Array() methods.
- wtf/ArrayBufferView.h:
- wtf/Float32Array.h:
(WTF::Float32Array::getType):
(Float32Array):
- wtf/Float64Array.h:
(WTF::Float64Array::getType):
(Float64Array):
- wtf/Int16Array.h:
(WTF::Int16Array::getType):
(Int16Array):
- wtf/Int32Array.h:
(WTF::Int32Array::getType):
(Int32Array):
- wtf/Int8Array.h:
(WTF::Int8Array::getType):
(Int8Array):
- wtf/IntegralTypedArrayBase.h:
- wtf/TypedArrayBase.h:
(TypedArrayBase):
(WTF::TypedArrayBase::item):
- wtf/Uint16Array.h:
(WTF::Uint16Array::getType):
(Uint16Array):
- wtf/Uint32Array.h:
(WTF::Uint32Array::getType):
(Uint32Array):
- wtf/Uint8Array.h:
(WTF::Uint8Array::getType):
(Uint8Array):
- wtf/Uint8ClampedArray.h:
(WTF::Uint8ClampedArray::getType):
(Uint8ClampedArray):
- 5:22 PM Changeset in webkit [123818] by
-
- 6 edits4 deletes in trunk
Added binding and updated chromium tests.
[CSS Filters] Add V8 binding for WebKitCSSFilterValue
https://bugs.webkit.org/show_bug.cgi?id=92391
Patch by Max Vujovic <mvujovic@adobe.com> on 2012-07-26
Reviewed by Adam Barth.
Source/WebCore:
No new tests. This fixes test cases in:
platform/chromium/css3/filters/custom/custom-filter-property-computed-style-expected.txt
platform/chromium/css3/filters/custom/custom-filter-property-parsing-expected.txt
platform/chromium/css3/filters/filter-property-computed-style-expected.txt
platform/chromium/css3/filters/filter-property-parsing-expected.txt
- bindings/v8/custom/V8CSSValueCustom.cpp:
(WebCore::toV8):
LayoutTests:
- platform/chromium-linux/css3/filters/custom/custom-filter-property-computed-style-expected.txt:
Removed. The chromium-linux expectations are (and were) exactly the same as the chromium expectations.
- platform/chromium-linux/css3/filters/custom/custom-filter-property-parsing-invalid-expected.txt:
Removed. Ditto.
- platform/chromium-linux/css3/filters/custom/custom-filter-property-parsing-expected.txt:
Removed. Ditto.
- platform/chromium/css3/filters/custom/custom-filter-property-computed-style-expected.txt:
Many test cases are now expected to pass instead of fail.
- platform/chromium/css3/filters/custom/custom-filter-property-parsing-expected.txt:
Ditto.
- platform/chromium/css3/filters/filter-property-computed-style-expected.txt:
Removed. We can use the platform-independent results now.
- platform/chromium/css3/filters/filter-property-parsing-expected.txt:
Many test cases are now expected to pass instead of fail.
- 5:11 PM Changeset in webkit [123817] by
-
- 2 edits in trunk/Source/JavaScriptCore
JSObject::reallocateStorageIfNecessary is neither used nor defined
https://bugs.webkit.org/show_bug.cgi?id=92417
Reviewed by Mark Rowe.
- runtime/JSObject.h:
(JSObject):
- 5:05 PM Changeset in webkit [123816] by
-
- 6 edits in trunk
[WebGL] Initial size of canvas can be larger than MAX_VIEWPORT_DIMS.
https://bugs.webkit.org/show_bug.cgi?id=91976
Reviewed by Kenneth Russell.
From section 2.2 of the spec the WebGL implementation says initial size of
the canvas can be larger than MAX_VIEWPORT_DIMS. With the current WebGL
implementation, we get error when initial size if greater than MAX_VIEWPORT_DIMS.
This change limits the width and height of drawingbuffer to MAX_VIEWPORT_DIMS
when given initial size exceeds it.
Source/WebCore:
Added tests to LayoutTests/fast/canvas/webgl/drawingbuffer-test.html
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::WebGLRenderingContext):
(WebCore::WebGLRenderingContext::initializeNewContext):
(WebCore::WebGLRenderingContext::markContextChanged):
LayoutTests:
- fast/canvas/webgl/drawingbuffer-test-expected.txt:
- fast/canvas/webgl/drawingbuffer-test.html:
- 5:01 PM Changeset in webkit [123815] by
-
- 3 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Remove synchronous spellchecking code
https://bugs.webkit.org/show_bug.cgi?id=92415
Removing synchronous spellchecking code path.
Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-07-26
Reviewed by Rob Buis.
Internally reviewed by Mike Fenton.
- Api/WebPageClient.h:
- WebCoreSupport/EditorClientBlackBerry.cpp:
(WebCore::EditorClientBlackBerry::checkSpellingOfString):
- 4:55 PM Changeset in webkit [123814] by
-
- 5 edits in trunk/Source/WebCore
[chromium] When computing surface content scale, use top level device scale
https://bugs.webkit.org/show_bug.cgi?id=92328
Reviewed by Kenneth Russell.
Previously, surface scale was calculated with layer->contentsScale(),
however this value is 1 for any layer that is not ContentLayerChromium
because of layer->needsContentsScale(). This would cause any surface
created with a non-content owner layer to look fuzzy on a high DPI
device. Fix by using the top level device scale.
Additionally, remove contentsScale from CCLayerImpl as it is no longer
used.
- platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::pushPropertiesTo):
- platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::CCLayerImpl):
- platform/graphics/chromium/cc/CCLayerImpl.h:
(CCLayerImpl):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::calculateDrawTransformsInternal):
(WebCore::CCLayerTreeHostCommon::calculateDrawTransforms):
- 4:27 PM Changeset in webkit [123813] by
-
- 9 edits in trunk/Source/JavaScriptCore
Allocate Structures in a separate part of the Heap
https://bugs.webkit.org/show_bug.cgi?id=92420
Reviewed by Filip Pizlo.
To fix our issue with destruction/finalization of Structures before their objects, we can move Structures to a separate
part of the Heap that will be swept after all other objects. This first patch will just be separating Structures
out into their own separate MarkedAllocator. Everything else will behave identically.
- heap/Heap.h: New function to allocate Structures in the Heap.
(Heap):
(JSC):
(JSC::Heap::allocateStructure):
- heap/MarkedAllocator.cpp: Pass whether or not we're allocated Structures to the MarkedBlock.
(JSC::MarkedAllocator::allocateBlock):
- heap/MarkedAllocator.h: Add tracking for whether or not we're allocating only Structures.
(JSC::MarkedAllocator::onlyContainsStructures):
(MarkedAllocator):
(JSC::MarkedAllocator::MarkedAllocator):
(JSC::MarkedAllocator::init):
- heap/MarkedBlock.cpp: Add tracking for whether or not we're allocating only Structures. We need this to be able to
distinguish the various MarkedBlock types in MarkedSpace::allocatorFor(MarkedBlock*).
(JSC::MarkedBlock::create):
(JSC::MarkedBlock::MarkedBlock):
- heap/MarkedBlock.h:
(MarkedBlock):
(JSC::MarkedBlock::onlyContainsStructures):
(JSC):
- heap/MarkedSpace.cpp: Include the new Structure allocator in all the places that all the other allocators are used/modified.
(JSC::MarkedSpace::MarkedSpace):
(JSC::MarkedSpace::resetAllocators):
(JSC::MarkedSpace::canonicalizeCellLivenessData):
(JSC::MarkedSpace::isPagedOut):
- heap/MarkedSpace.h: Add new MarkedAllocator just for Structures.
(MarkedSpace):
(JSC::MarkedSpace::allocatorFor):
(JSC::MarkedSpace::allocateStructure):
(JSC):
(JSC::MarkedSpace::forEachBlock):
- runtime/Structure.h: Move all of the functions that call allocateCell<Structure> down below the explicit template specialization
for allocateCell<Structure>. The new inline specialization for allocateCell directly calls the allocateStructure() function in the
Heap.
(Structure):
(JSC::Structure):
(JSC):
(JSC::Structure::create):
(JSC::Structure::createStructure):
- 4:10 PM Changeset in webkit [123812] by
-
- 1 edit1 move2 adds in trunk/LayoutTests
Unreviewed chromium expectations update for table-row-outline-paint.html from r123793.
- platform/chromium-mac/fast/table/table-row-outline-paint-expected.png: Added.
- platform/chromium-win/fast/table/table-row-outline-paint-expected.png: Added.
- platform/chromium/fast/table/table-row-outline-paint-expected.txt: Renamed from LayoutTests/platform/chromium-linux/fast/table/table-row-outline-paint-expected.txt.
- 4:08 PM Changeset in webkit [123811] by
-
- 15 edits in trunk/Source/WebCore
HTMLAppletElement should inherit from HTMLPlugInImageElement
https://bugs.webkit.org/show_bug.cgi?id=92320
Reviewed by Eric Seidel.
In order to simplify the class hierarchy and eventually merge HTMLPlugInImageElement and HMTLPlugInElement,
make HTMLAppletElement inherit from HTMLPlugInImageElement. While this does mean that HTMLAppletElement will grow by
a couple of words, in practice it won't matter.
Also, make RenderApplet inherit from RenderEmbeddedObject and move the plug-in instantiation to HTMLAppletElement which matches
both HTMLEmbedElement and HTMLObjectElement.
- html/HTMLAppletElement.cpp:
(WebCore::HTMLAppletElement::HTMLAppletElement):
(WebCore::HTMLAppletElement::create):
(WebCore::HTMLAppletElement::parseAttribute):
(WebCore::HTMLAppletElement::rendererIsNeeded):
(WebCore::HTMLAppletElement::createRenderer):
(WebCore):
(WebCore::HTMLAppletElement::renderWidgetForJSBindings):
(WebCore::HTMLAppletElement::updateWidget):
- html/HTMLAppletElement.h:
(HTMLAppletElement):
- html/HTMLTagNames.in:
- loader/SubframeLoader.cpp:
(WebCore::SubframeLoader::createJavaAppletWidget):
- loader/SubframeLoader.h:
(SubframeLoader):
- page/FrameView.cpp:
(WebCore::FrameView::updateWidget):
- rendering/RenderApplet.cpp:
(WebCore::RenderApplet::RenderApplet):
- rendering/RenderApplet.h:
(RenderApplet):
- rendering/RenderEmbeddedObject.h:
(WebCore::toRenderEmbeddedObject):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::shouldBeNormalFlowOnly):
(WebCore::RenderLayer::shouldBeSelfPaintingLayer):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::requiresCompositingForPlugin):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::setStyle):
- rendering/RenderObject.h:
- 4:06 PM Changeset in webkit [123810] by
-
- 19 edits4 deletes in trunk
Unreviewed, rolling out r123799.
http://trac.webkit.org/changeset/123799
https://bugs.webkit.org/show_bug.cgi?id=92431
broke the Apple Mac build (Requested by bweinstein on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26
Source/WebCore:
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- dom/EventNames.h:
(WebCore):
- dom/GestureEvent.cpp: Removed.
- dom/GestureEvent.h: Removed.
- dom/Node.cpp:
- dom/Node.h:
(WebCore):
(Node):
- page/EventHandler.cpp:
(WebCore::EventHandler::clear):
(WebCore::EventHandler::handleGestureEvent):
- page/EventHandler.h:
Source/WebKit/chromium:
- src/WebInputEventConversion.cpp:
(WebKit):
- src/WebInputEventConversion.h:
(WebKit):
- src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::handleEvent):
- src/WebPluginContainerImpl.h:
(WebPluginContainerImpl):
Tools:
- DumpRenderTree/chromium/TestWebPlugin.cpp:
- DumpRenderTree/chromium/TestWebPlugin.h:
(TestWebPlugin::acceptsInputEvents):
(TestWebPlugin::handleInputEvent):
LayoutTests:
- platform/chromium/plugins/gesture-events-expected.txt: Removed.
- platform/chromium/plugins/gesture-events.html: Removed.
- 4:05 PM Changeset in webkit [123809] by
-
- 11 edits in trunk/Source
[BlackBerry] Support async spellcheck for the blackberry port
https://bugs.webkit.org/show_bug.cgi?id=92160
Source/WebCore:
Set USE_UNIFIED_TEXT_CHECKING for PLATFORM(BLACKBERRY) to use the
asynchronous spellchecking code path.
Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-07-26
Reviewed by Rob Buis.
Internally reviewed by Mike Fenton.
- platform/text/TextChecking.h:
(WebCore):
Source/WebKit/blackberry:
PR124517
Implementing support for async spellcheck.
Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-07-26
Reviewed by Rob Buis.
Internally reviewed by Mike Fenton.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::spellCheckingRequestCancelled):
(WebKit):
(BlackBerry::WebKit::WebPage::spellCheckingRequestProcessed):
(BlackBerry::WebKit::WebPagePrivate::didChangeSettings):
- Api/WebPage.h:
- Api/WebSettings.cpp:
(WebKit):
(BlackBerry::WebKit::WebSettings::standardSettings):
(BlackBerry::WebKit::WebSettings::isAsynchronousSpellCheckingEnabled):
(BlackBerry::WebKit::WebSettings::setAsynchronousSpellCheckingEnabled):
- Api/WebSettings.h:
- WebCoreSupport/EditorClientBlackBerry.cpp:
(WebCore):
(WebCore::EditorClientBlackBerry::requestCheckingOfString):
(WebCore::EditorClientBlackBerry::checkTextOfParagraph):
- WebCoreSupport/EditorClientBlackBerry.h:
(EditorClientBlackBerry):
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::requestCheckingOfString):
(BlackBerry::WebKit::InputHandler::convertTransactionIdToSequenceId):
(WebKit):
(BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed):
(BlackBerry::WebKit::InputHandler::spellCheckingRequestCancelled):
(BlackBerry::WebKit::InputHandler::getSpellChecker):
- WebKitSupport/InputHandler.h:
(WebCore):
(InputHandler):
- 4:03 PM Changeset in webkit [123808] by
-
- 9 edits in trunk/Source/WebCore
Gather the duplicated timer code into CachedResource.
https://bugs.webkit.org/show_bug.cgi?id=92332
Patch by Huang Dongsung <luxtella@company100.net> on 2012-07-26
Reviewed by Nate Chapin.
Internal review by Jae Hyun Park.
When all clients are removed, CachedImage, CachedScript and CachedCSSStyleSheet
start the timer to destroy decoded data. Those three classes have their own
timer.
Changed CachedCSSStyleSheet::didAddClient to call super class method in order to
stop the timer. This change does not have any side effect because
CachedResource::didAddClient only stops the timer in this case.
No new tests - no new testable functionality.
- loader/cache/CachedCSSStyleSheet.cpp:
(WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet):
(WebCore::CachedCSSStyleSheet::didAddClient):
- loader/cache/CachedCSSStyleSheet.h:
(CachedCSSStyleSheet):
- loader/cache/CachedImage.cpp:
(WebCore::CachedImage::CachedImage):
(WebCore::CachedImage::didAddClient):
(WebCore::CachedImage::allClientsRemoved):
- loader/cache/CachedImage.h:
(CachedImage):
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::CachedResource):
(WebCore::CachedResource::didAddClient):
(WebCore::CachedResource::removeClient):
(WebCore::CachedResource::destroyDecodedDataIfNeeded):
(WebCore):
(WebCore::CachedResource::decodedDataDeletionTimerFired):
- loader/cache/CachedResource.h:
(CachedResource):
- loader/cache/CachedScript.cpp:
(WebCore::CachedScript::CachedScript):
- loader/cache/CachedScript.h:
(CachedScript):
- 4:01 PM Changeset in webkit [123807] by
-
- 2 edits in trunk/Source/JavaScriptCore
JSArray has methods that are neither used nor defined
https://bugs.webkit.org/show_bug.cgi?id=92416
Reviewed by Simon Fraser.
- runtime/JSArray.h:
(JSArray):
- 4:00 PM Changeset in webkit [123806] by
-
- 2 edits6 adds in trunk/LayoutTests
Unreviewed, rebaseline for tests introduced in r123790
- platform/chromium-mac/css3/filters/effect-brightness-clamping-expected.png: Added.
- platform/chromium-mac/css3/filters/effect-brightness-clamping-expected.txt: Added.
- platform/chromium-mac/css3/filters/effect-brightness-clamping-hw-expected.png: Added.
- platform/chromium-mac/css3/filters/effect-brightness-clamping-hw-expected.txt: Added.
- platform/chromium-win/css3/filters/effect-brightness-clamping-expected.png: Added.
- platform/chromium-win/css3/filters/effect-brightness-clamping-hw-expected.png: Added.
- platform/chromium/TestExpectations:
- 4:00 PM Changeset in webkit [123805] by
-
- 2 edits in trunk/Tools
nrwt: pass --verbose twice on the bots to ensure getting the debug output for now
https://bugs.webkit.org/show_bug.cgi?id=92172
Reviewed by Tony Chang.
Right now new-run-webkit-tests --verbose prints out too much
information (it's like --verbose + debugging). I plan to fix
this in bug 88702, and also clean up and simplify all of the
--print options, but in preparation for these changes I need to
pass --verbose twice to get the same level of output
temporarily (for compatibility).
- Scripts/run-webkit-tests:
- 3:41 PM Changeset in webkit [123804] by
-
- 4 edits in trunk/Source/WebCore
Use the constant count of Tags/Attributes names instead of getting the size when obtaining the tags/attributes
https://bugs.webkit.org/show_bug.cgi?id=92411
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-07-26
Reviewed by Julien Chaffraix.
Since r123582, the number of tags and attributes per "namespace" is exposed in a constant in the header file.
This makes it possible to access this value through two ways:
1) The constant.
2) The first parameter of the tags/attributes getter function.
Having two ways to access the value is error prone. This patches changes the code to have all accesses done
through the constant.
- dom/make_names.pl:
(printNamesHeaderFile):
(printNamesCppFile):
Change the code generator to not provide the size in the getter function.
- html/HTMLObjectElement.cpp:
(WebCore::isRecognizedTagName):
- html/parser/HTMLTreeBuilder.cpp:
(WebCore::adjustSVGTagNameCase):
(WebCore):
(WebCore::adjustAttributes):
(WebCore::adjustSVGAttributes):
(WebCore::adjustMathMLAttributes):
(WebCore::adjustForeignAttributes):
- 3:40 PM Changeset in webkit [123803] by
-
- 2 edits5 deletes in trunk/LayoutTests
[Qt] Reskip fast/table WK2 added results
https://bugs.webkit.org/show_bug.cgi?id=91621
Patch by Bruno de Oliveira Abinader <Bruno de Oliveira Abinader>
Reviewed by Noam Rosenthal.
This patch reverts the added WK2 layout test results from r123229 "[Qt]
Added/updated missing fast/table results after rebaseline". As discussed with
Caio, these expectations are actually caused by an erroneous input-text and
text-area default size diff between WK1 and WK2 (handled in bug 91990). These
tests were reskipped and reassigned to proper bugs.
- platform/qt-5.0-wk2/Skipped:
- platform/qt-5.0-wk2/fast/table/colspanMinWidth-expected.png: Removed.
- platform/qt-5.0-wk2/fast/table/colspanMinWidth-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/table/spanOverlapRepaint-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/table/text-field-baseline-expected.png: Removed.
- platform/qt-5.0-wk2/fast/table/text-field-baseline-expected.txt: Removed.
- 3:31 PM Changeset in webkit [123802] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Removing http/tests/media/media-source/video-media-source-add-and-remove-ids.html from TestExpectations
Unreviewed gardening.
Recent chromium patch fixes this problem:
http://src.chromium.org/viewvc/chrome?view=rev&revision=148473
- platform/chromium/TestExpectations:
- 3:22 PM Changeset in webkit [123801] by
-
- 2 edits5 deletes in trunk/LayoutTests
[Qt] Reskip fast/text WK2 added results
https://bugs.webkit.org/show_bug.cgi?id=91570
Patch by Bruno de Oliveira Abinader <Bruno de Oliveira Abinader>
Unreviewed gardening.
This patch reverts the added WK2 layout test results from r123144 "[Qt]
Added/updated missing fast/text results after rebaseline". As discussed with
Caio, these expectations are actually caused by an erroneous input-text and
text-area default size diff between WK1 and WK2 (handled in bug 91990). These
tests were reskipped and reassigned to proper bugs.
- platform/qt-5.0-wk2/Skipped:
- platform/qt-5.0-wk2/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png: Removed.
- platform/qt-5.0-wk2/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/text/textIteratorNilRenderer-expected.png: Removed.
- platform/qt-5.0-wk2/fast/text/textIteratorNilRenderer-expected.txt: Removed.
- platform/qt-5.0/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png: Removed.
- 3:15 PM Changeset in webkit [123800] by
-
- 7 edits in trunk/Source/WebCore
Support constructor-type static readonly attribute for CodeGenerator.
https://bugs.webkit.org/show_bug.cgi?id=92413.
Patch by Chang Shu <cshu@webkit.org> on 2012-07-26
Reviewed by Adam Barth.
Added support for constructor-type static readonly attribute for CodeGenerator.
This is achieved by putting the attribute entry in the table where static properties
belong to but leave the implementation same as a non-static constructor-type attribute.
Tested by running run-bindings-tests.
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
- bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore::jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr):
(WebCore::jsTestInterfaceConstructorSupplementalStaticAttr):
- bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore):
(WebCore::jsTestObjConstructorStaticReadOnlyLongAttr):
(WebCore::jsTestObjConstructorStaticStringAttr):
(WebCore::jsTestObjConstructorTestSubObj):
- bindings/scripts/test/JS/JSTestObj.h:
(WebCore):
- bindings/scripts/test/TestObj.idl:
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore):
- 3:10 PM Changeset in webkit [123799] by
-
- 19 edits4 adds in trunk
Propagate gesture events to plugins.
https://bugs.webkit.org/show_bug.cgi?id=92281
Patch by Sadrul Habib Chowdhury <sadrul@chromium.org> on 2012-07-26
Reviewed by Adam Barth.
Source/WebCore:
Propagate gesture events to plugins. This change does not expose the gesture events
to JavaScript, since there is no spec for that at the moment. Exposing gesture events
to JavaScript will be done separately, once there is a spec for it.
Test: platform/chromium/plugins/gesture-events.html
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- dom/EventNames.h:
(WebCore):
(WebCore::EventNames::isGestureEventType):
(EventNames):
- dom/GestureEvent.cpp: Added.
(WebCore):
(WebCore::GestureEvent::create):
(WebCore::GestureEvent::initGestureEvent):
(WebCore::GestureEvent::interfaceName):
(WebCore::GestureEvent::GestureEvent):
(WebCore::GestureEventDispatchMediator::GestureEventDispatchMediator):
(WebCore::GestureEventDispatchMediator::event):
(WebCore::GestureEventDispatchMediator::dispatchEvent):
- dom/GestureEvent.h: Added.
(WebCore):
(GestureEvent):
(WebCore::GestureEvent::~GestureEvent):
(WebCore::GestureEvent::deltaX):
(WebCore::GestureEvent::deltaY):
(WebCore::GestureEvent::GestureEvent):
(GestureEventDispatchMediator):
(WebCore::GestureEventDispatchMediator::create):
- dom/Node.cpp:
(WebCore):
(WebCore::Node::dispatchGestureEvent):
- dom/Node.h:
(WebCore):
(Node):
- page/EventHandler.cpp:
(WebCore::EventHandler::clear):
(WebCore::EventHandler::handleGestureEvent):
- page/EventHandler.h:
Source/WebKit/chromium:
Propagate gesture events to plugins.
- src/WebInputEventConversion.cpp:
(WebKit):
(WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
- src/WebInputEventConversion.h:
(WebCore):
(WebKit):
(WebGestureEventBuilder):
- src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::handleEvent):
- src/WebPluginContainerImpl.h:
(WebCore):
(WebPluginContainerImpl):
Tools:
Update TestWebPlugin to receive events, and output logs for the events.
- DumpRenderTree/chromium/TestWebPlugin.cpp:
(TestWebPlugin::handleInputEvent):
- DumpRenderTree/chromium/TestWebPlugin.h:
(TestWebPlugin::acceptsInputEvents):
(TestWebPlugin):
LayoutTests:
Added a layout test to show that the plugins receive the gesture events correctly.
- platform/chromium/plugins/gesture-events-expected.txt: Added.
- platform/chromium/plugins/gesture-events.html: Added.
- 3:07 PM Changeset in webkit [123798] by
-
- 3 edits3 adds in trunk
Guard Prerenderer against inserting prerenders into detached documents.
https://bugs.webkit.org/show_bug.cgi?id=92401
Reviewed by Adam Barth.
Source/WebCore:
If the document is detached, we should not launch a prerender.
Test: fast/dom/HTMLLinkElement/prerender-insert-after-stop.html
- loader/Prerenderer.cpp:
(WebCore::Prerenderer::render):
LayoutTests:
If the document is detached, we should just not launch a prerender.
- fast/dom/HTMLLinkElement/prerender-insert-after-stop-expected.txt: Added.
- fast/dom/HTMLLinkElement/prerender-insert-after-stop.html: Added.
- fast/dom/HTMLLinkElement/resources/empty2.html: Added.
- 3:03 PM Changeset in webkit [123797] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Improve the logs in Selection Handler.
https://bugs.webkit.org/show_bug.cgi?id=92405
Reviewed by Rob Buis.
Clean up selection logging, fix priority and style
of helper function.
Reviewed Internally by Nima Ghanavatian.
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::cancelSelection):
(BlackBerry::WebKit::SelectionHandler::shouldUpdateSelectionOrCaretForPoint):
(BlackBerry::WebKit::SelectionHandler::setCaretPosition):
(BlackBerry::WebKit::SelectionHandler::updateOrHandleInputSelection):
(BlackBerry::WebKit::SelectionHandler::setSelection):
(BlackBerry::WebKit::SelectionHandler::selectObject):
(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
(BlackBerry::WebKit::SelectionHandler::caretPositionChanged):
- 2:46 PM Changeset in webkit [123796] by
-
- 6 edits in trunk/Source
Unreviewed Qt buildfix after r123786.
Qt-minimal builds with ENABLE_REQUEST_ANIMATION_FRAME=0.
Therefore adding #ifdefs to allow for that configuration.
Source/WebKit/qt:
- WebCoreSupport/ChromeClientQt.cpp:
(WebCore):
- WebCoreSupport/ChromeClientQt.h:
(ChromeClientQt):
Source/WebKit2:
- WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp:
(WebKit):
- WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.h:
(LayerTreeCoordinator):
- 2:37 PM Changeset in webkit [123795] by
-
- 2 edits in trunk/LayoutTests
Unreviewed chromium expectations change to fix lint err.
- platform/chromium/TestExpectations:
- 2:23 PM Changeset in webkit [123794] by
-
- 3 edits2 deletes in trunk
Unreviewed, rolling out r123525.
http://trac.webkit.org/changeset/123525
https://bugs.webkit.org/show_bug.cgi?id=92421
it needed to be rolled out after r123779 too (Requested by
jchaffraix on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26
Source/WebCore:
- rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::insertChildNode):
LayoutTests:
- fast/table/crash-table-section-layoutRows-expected.txt: Removed.
- fast/table/crash-table-section-layoutRows.html: Removed.
- 2:18 PM Changeset in webkit [123793] by
-
- 3 edits3 adds in trunk
Outline is always painted on the first table row regardless of the row it's set on
https://bugs.webkit.org/show_bug.cgi?id=92389
Patch by Pravin D <pravind.2k4@gmail.com> on 2012-07-26
Reviewed by Eric Seidel.
Source/WebCore:
The outlines of all the rows are drawn on the row instead of their respective rows.
The paint offset for the outlines does not take the row location into account.
Test: fast/table/table-row-outline-paint.html
- rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::paintOutlineForRowIfNeeded):
The row's location is taken into account for calculating the correct paint offset
for its outline.
LayoutTests:
- fast/table/table-row-outline-paint.html: Added.
- platform/chromium-linux/fast/table/table-row-outline-paint-expected.png: Added.
- platform/chromium-linux/fast/table/table-row-outline-paint-expected.txt: Added. Paint phase issue.
- 2:16 PM Changeset in webkit [123792] by
-
- 2 edits in trunk/LayoutTests
Unreviewed chromium expectations change to mark inspector tests as SLOW.
- platform/chromium/TestExpectations:
- 2:00 PM Changeset in webkit [123791] by
-
- 3 edits2 copies in branches/safari-536.26-branch
Merged r116325. <rdar://problem/11942095>
- 1:54 PM Changeset in webkit [123790] by
-
- 3 edits6 adds in trunk
[chromium] Combine color matrix filters and apply them in a single pass.
https://bugs.webkit.org/show_bug.cgi?id=92059
Reviewed by Stephen White.
Sequential color matrix filters can easily be combined, by simply
multiplying the color matrices and applying it in a single pass. This
helps dramatically with performance (bandwidth savings by avoiding extra
copy & clear, also saves fragment shader processing).
Covered by css3/filters layout tests, added effect-brightness-clamping
and effect-brightness-clamping-hw.
- platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp:
(WebCore::CCRenderSurfaceFilters::apply):
- 1:52 PM Changeset in webkit [123789] by
-
- 5 edits2 adds2 deletes in trunk/LayoutTests
Unreviewed chromium mac/win rebaseline post r123782.
- css2.1/t080301-c411-vt-mrgn-00-b-expected.txt: Added.
- platform/chromium-mac-snowleopard/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt: Added.
- platform/chromium-mac-snowleopard/svg/custom/svg-fonts-in-html-expected.png:
- platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.png:
- platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.txt:
- platform/chromium-win/svg/custom/svg-fonts-in-html-expected.png:
- platform/efl/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt: Removed.
- platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt: Removed.
- 1:23 PM Changeset in webkit [123788] by
-
- 8 edits in trunk
Href attribute with javascript protocol is stripped when content is pasted into a XML doucment
https://bugs.webkit.org/show_bug.cgi?id=92310
Reviewed by Adam Barth.
Source/WebCore:
The bug was caused by setAttributeNS's stripping attributes for which isAttributeToRemove
return true instead of setting an empty string. Changing this in setAttributeNS is problematic
because it will trigger a logic, in HTMLAnchorElement for example, to resolve the URL.
Fixed the bug by making XML parsers call parserSetAttributes instead of setAttributeNS.
After this patch, handleNamespaceAttributes and handleElementAttributes simply fills up a Vector
with which startElementNs (or parseStartElement in Qt) calls parserSetAttributes.
- dom/Element.cpp:
(WebCore::Element::parserSetAttributes): Sets emptyAtom instead of nullAtom as nullAtom can be
turned into "null".
(WebCore::Element::parseAttributeName): Extracted from setAttributeNS.
(WebCore::Element::setAttributeNS): No longer takes FragmentScriptingPermission.
- dom/Element.h:
(Element):
- editing/markup.cpp:
(WebCore::completeURLs): Don't resolve URLs when it's empty since empty attribute has a canonical
meaning in some cases. e.g. <frame src=""></iframe>
- xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::handleNamespaceAttributes): Renamed from handleElementNamespaces. Call
parserSetAttributes even when exiting early to be maintain the same behavior.
(WebCore::handleElementAttributes):
(WebCore::XMLDocumentParser::startElementNs):
- xml/parser/XMLDocumentParserQt.cpp:
(WebCore::handleNamespaceAttributes): Use XMLNSNames::xmlnsNamespaceURI. Call parserSetAttributes
even when exiting early to be maintain the same behavior.
(WebCore::handleElementAttributes):
(WebCore::XMLDocumentParser::parseStartElement):
LayoutTests:
Rebaseline a test that catches this bug.
- editing/pasteboard/paste-noscript-xhtml-expected.txt:
- 1:19 PM Changeset in webkit [123787] by
-
- 3 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Add timing logs to SelectionHandler.
https://bugs.webkit.org/show_bug.cgi?id=92404
Reviewed by Rob Buis.
Add selection timing logs.
Reviewed Internally by Nima Ghanavatian.
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::setSelection):
(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
- WebKitSupport/SelectionHandler.h:
(SelectionHandler):
- 1:15 PM Changeset in webkit [123786] by
-
- 11 edits in trunk/Source
[Qt] requestAnimationFrame should only trigger when a new frame can be displayed.
https://bugs.webkit.org/show_bug.cgi?id=88638
Source/WebKit/qt:
Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
the servicing of scripted animations to the renderNextFrame call for WK2.
For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
Reviewed by Jocelyn Turcotte.
- WebCoreSupport/ChromeClientQt.cpp:
(RefreshAnimation):
Add a RefreshAnimation that is based on QAbstractAnimation
and drives the servicing of the scripted animations for WK1.
(WebCore::RefreshAnimation::RefreshAnimation):
(WebCore::RefreshAnimation::duration):
(WebCore::RefreshAnimation::scheduleAnimation):
Set m_animationScheduled to true and start the animation
timer in case it is not running yet.
(WebCore::RefreshAnimation::updateCurrentTime):
Call serviceScriptedAnimations if m_animationScheduled is true.
If this is not the case, the animation timer can be stopped,
because no animation needs to be scheduled anymore.
(WebCore):
(WebCore::ChromeClientQt::scheduleAnimation):
Create and start the RefreshAnimation instance with the
first call to scheduleAnimation.
- WebCoreSupport/ChromeClientQt.h:
(WebCore):
(ChromeClientQt):
Source/WebKit2:
Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
the servicing of scripted animations to layer syncing for WK2.
For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
Reviewed by Jocelyn Turcotte.
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit):
(WebKit::WebChromeClient::scheduleAnimation):
- WebProcess/WebCoreSupport/WebChromeClient.h:
(WebChromeClient):
- WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.cpp:
(WebKit::LayerTreeCoordinator::performScheduledLayerFlush):
(WebKit::LayerTreeCoordinator::scheduleAnimation):
(WebKit):
- WebProcess/WebPage/LayerTreeCoordinator/LayerTreeCoordinator.h:
(LayerTreeCoordinator):
- WebProcess/WebPage/LayerTreeHost.h:
(LayerTreeHost):
Source/WTF:
Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
the servicing of scripted animations to layer syncing for WK2.
For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
Reviewed by Jocelyn Turcotte.
- wtf/Platform.h:
- 1:10 PM Changeset in webkit [123785] by
-
- 3 edits2 adds in trunk
<svg> element with no intrinsic size and max-width gets sized incorrectly
https://bugs.webkit.org/show_bug.cgi?id=92410
Reviewed by Dean Jackson.
Source/WebCore:
Test: svg/css/max-width-2.html
- rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::computeReplacedLogicalWidth): The rule for computing the width for
elements whose computed width and height are both auto and which have no intrinsic size, but
have an intrinsic ratio was applied only to elements with a content renderer (such as <img>
with an SVG source). Removed the requirement to have a content renderer, so that it will
apply to all elements including <svg>.
LayoutTests:
- svg/css/max-width-2-expected.html: Added.
- svg/css/max-width-2.html: Added.
- 1:02 PM Changeset in webkit [123784] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] InputHandler failure logs should be logAlways and critical.
https://bugs.webkit.org/show_bug.cgi?id=92403
Reviewed by Rob Buis.
Update Log level for failures and fix mask in log.
Reviewed Internally by Nima Ghanavatian.
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::convertStringToWchar):
(BlackBerry::WebKit::convertStringToWcharVector):
(BlackBerry::WebKit::convertSpannableStringToString):
(BlackBerry::WebKit::InputHandler::spannableTextInRange):
(BlackBerry::WebKit::InputHandler::setTextAttributes):
- 12:56 PM Changeset in webkit [123783] by
-
- 7 edits in trunk
Regression: r123696 made css3/flexbox tests failing
https://bugs.webkit.org/show_bug.cgi?id=92352
Reviewed by Levi Weintraub.
Source/WebCore:
Use roundedLayoutUnit so ports without subpixel layout still pass existing tests.
Covered by css3/flexbox/flex-algorithm-min-max.html which should pass again.
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::resolveFlexibleLengths):
LayoutTests:
Skip css3/flexbox/flex-rounding.html on ports that don't enable subpixel layout.
- platform/efl/TestExpectations:
- platform/gtk/TestExpectations:
- platform/mac/Skipped:
- platform/qt/Skipped:
- 12:54 PM Changeset in webkit [123782] by
-
- 20 edits2 adds in trunk
Source/WebCore: Contained div with right 0 sometimes overlaps parent div
https://bugs.webkit.org/show_bug.cgi?id=91521
Reviewed by Levi Weintraub.
Due to unnecessary rounding in clientLogicalWidth and clientLogicalHeight
we lost precision when computing the width and position of render boxes.
Change clientLogicalWidth/Height to return values with subpixel precision
to avoid this.
Test: fast/sub-pixel/position-right-aligns-with-container.html
- rendering/RenderBox.h:
(WebCore::RenderBox::clientLogicalWidth):
(WebCore::RenderBox::clientLogicalHeight):
Remove unnecessary rounding.
Source/WebKit2: Add a ChromeClient method to send diagnostic logging messages from WebCore to the client.
https://bugs.webkit.org/show_bug.cgi?id=92340
Reviewed by Anders Carlsson.
Pipe the ChromeClient logDiagnosticMessage() function through WebKit2 to a new bundle class
InjectedBundlePageDiagnosticLoggingClient, to be implemented by the client.
- WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageSetDiagnosticLoggingClient): Added.
- WebProcess/InjectedBundle/API/c/WKBundlePage.h:
- WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp: Added.
(WebKit::InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage):
- WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h: Added.
(InjectedBundlePageDiagnosticLoggingClient):
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::logDiagnosticMessage):
- WebProcess/WebCoreSupport/WebChromeClient.h:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::initializeInjectedBundleDiagnosticLoggingClient):
- WebProcess/WebPage/WebPage.h:
(WebKit::WebPage::injectedBundleDiagnosticLoggingClient):
Add a convenience class to retrieve the diagnostic message keys:
- WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp: Added.
(WebKit::InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage):
- WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h: Added.
(InjectedBundlePageDiagnosticLoggingClient):
Add the InjectedBundlePageDiagnosticLoggingClient.cpp,h files.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- win/WebKit2.vcproj:
- WebKit2.xcodeproj/project.pbxproj:
Tools: [nrwt] get rid of --skip-pixel-test-if-no-baseline
https://bugs.webkit.org/show_bug.cgi?id=92377
Reviewed by Adam Barth.
Remove the option and all code paths that handled it.
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.should_run_as_pixel_test):
- 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_repeat_each):
LayoutTests: Contained div with right 0 sometimes overlaps parent div
https://bugs.webkit.org/show_bug.cgi?id=91521
Reviewed by Levi Weintraub.
Add test for elements positioned based on the right edge and update two
existing tests that where affected by the rounding.
- fast/sub-pixel/position-right-aligns-with-container-expected.html: Added.
- fast/sub-pixel/position-right-aligns-with-container.html: Added.
- platform/chromium-linux/svg/custom/svg-fonts-in-html-expected.png:
- platform/chromium-win/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt:
- platform/chromium-win/svg/custom/svg-fonts-in-html-expected.txt:
- platform/mac-lion/Skipped:
- platform/mac-snowleopard/Skipped:
- platform/mac-wk2/Skipped:
- platform/mac/Skipped:
- platform/qt-4.8/Skipped:
- platform/qt-5.0-wk2/Skipped:
- platform/qt/Skipped:
- platform/win-wk2/Skipped:
- platform/win-xp/Skipped:
- platform/win/Skipped:
- platform/wincairo/Skipped:
- platform/wk2/Skipped:
Mark new subpixel test as skipped on platforms that do not enable
subpixel layout.
- 12:10 PM Changeset in webkit [123781] by
-
- 2 edits in trunk/Source/WebCore
Build broken when svg is disabled.
https://bugs.webkit.org/show_bug.cgi?id=92393.
Patch by Chang Shu <cshu@webkit.org> on 2012-07-26
Reviewed by Laszlo Gombos.
Need to surpress unused parameters warning.
- rendering/FilterEffectRenderer.cpp:
(WebCore::FilterEffectRenderer::buildReferenceFilter):
- 12:01 PM Changeset in webkit [123780] by
-
- 4 edits in trunk/Source/WebCore
Add diagnostic messages when media and plugins load or fail to load.
https://bugs.webkit.org/show_bug.cgi?id=92341
Reviewed by Anders Carlsson.
Send diagnostic messages when a media or plugin element loads or fails to load. Include in
the trace the media engine description, error code, or plugin mime type.
- html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::updateWidget): Send a diagnostic message.
- html/HTMLMediaElement.cpp:
(WebCore::stringForNetworkState): Added convenience function to stringify network states.
(WebCore::HTMLMediaElement::mediaLoadingFailed): Send a diagnostic message.
(WebCore::HTMLMediaElement::setReadyState): Send a diagnostic message.
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::updateWidget): Send a diagnostic message.
- 11:50 AM Changeset in webkit [123779] by
-
- 13 edits1 move2 adds12 deletes in trunk
Unreviewed, rolling out r123159, r123165, r123168, r123492,
and r123650.
http://trac.webkit.org/changeset/123159
http://trac.webkit.org/changeset/123165
http://trac.webkit.org/changeset/123168
http://trac.webkit.org/changeset/123492
http://trac.webkit.org/changeset/123650
https://bugs.webkit.org/show_bug.cgi?id=92406
allowing inline-table anonymous wrappers is a bad idea due to
tons of corner cases that should be properly handled
(Requested by jchaffraix on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26
Source/WebCore:
- rendering/RenderInline.cpp:
(WebCore::RenderInline::addChildIgnoringContinuation):
- rendering/RenderTable.cpp:
(WebCore::RenderTable::createAnonymousWithParentRenderer):
LayoutTests:
- css2.1/20110323/inline-table-002b-expected.htm: Removed.
- css2.1/20110323/inline-table-002b.html: Removed.
- fast/dynamic/insert-before-table-part-in-continuation-expected.txt: Removed.
- fast/table/inline-block-generates-table-wrapper-expected.html: Removed.
- fast/table/inline-block-generates-table-wrapper.html: Removed.
- fast/table/inline-table-in-continuation-expected.html: Removed.
- fast/table/inline-table-in-continuation.html: Removed.
- fast/table/inline-table-with-caption-expected.html: Removed.
- fast/table/inline-table-with-caption.html: Removed.
- platform/chromium-linux/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
- platform/chromium-mac-snowleopard/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
- platform/chromium-mac/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
- platform/chromium-win/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
- platform/chromium-win/fast/dynamic/insert-before-table-part-in-continuation-expected.txt:
- platform/chromium-win/tables/mozilla/bugs/bug3037-1-expected.txt:
- platform/efl/fast/dynamic/insert-before-table-part-in-continuation-expected.txt: Added.
- platform/efl/tables/mozilla/bugs/bug3037-1-expected.txt: Renamed from LayoutTests/tables/mozilla/bugs/bug3037-1-expected.txt.
- platform/gtk/fast/dynamic/insert-before-table-part-in-continuation-expected.txt: Added.
- platform/gtk/tables/mozilla/bugs/bug3037-1-expected.txt:
- platform/mac-wk2/fast/dynamic/insert-before-table-part-in-continuation-expected.txt: Removed.
- platform/mac-wk2/mathml/msub-anonymous-child-render-crash-expected.txt: Removed.
- platform/mac-wk2/tables/mozilla/bugs/bug3037-1-expected.txt: Removed.
- platform/mac/fast/dynamic/insert-before-table-part-in-continuation-expected.txt:
- platform/mac/tables/mozilla/bugs/bug3037-1-expected.txt:
- 11:45 AM Changeset in webkit [123778] by
-
- 20 edits4 adds in trunk/Source
Add a ChromeClient method to send diagnostic logging messages from WebCore to the client.
https://bugs.webkit.org/show_bug.cgi?id=92340
Reviewed by Anders Carlsson.
Source/WebCore:
Add a new ChromeClient menthod, to be implemented by WebKit and WebKit2, which sends
a diagnostic logging message up to the client.
- page/ChromeClient.h:
(WebCore::ChromeClient::logDiagnosticMessage):
- page/ChromeClient.h:
(WebCore::ChromeClient::logDiagnosticMessage):
(ChromeClient):
- page/DiagnosticLoggingKeys.cpp: Added.
(WebCore::DiagnosticLoggingKeys::mediaLoadedKey):
(WebCore::DiagnosticLoggingKeys::mediaLoadingFailedKey):
(WebCore::DiagnosticLoggingKeys::pluginLoadedKey):
(WebCore::DiagnosticLoggingKeys::pluginLoadingFailedKey):
(WebCore::DiagnosticLoggingKeys::passKey):
(WebCore::DiagnosticLoggingKeys::failKey):
(WebCore::DiagnosticLoggingKeys::noopKey):
- page/DiagnosticLoggingKeys.h: Added.
(DiagnosticLoggingKeys):
Add the new files DiagnosticLoggingKeys.cpp,h to the project:
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
Source/WebKit2:
Pipe the ChromeClient logDiagnosticMessage() function through WebKit2 to a new bundle class
InjectedBundlePageDiagnosticLoggingClient, to be implemented by the client.
- WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageSetDiagnosticLoggingClient): Added.
- WebProcess/InjectedBundle/API/c/WKBundlePage.h:
- WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp: Added.
(WebKit::InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage):
- WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h: Added.
(InjectedBundlePageDiagnosticLoggingClient):
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::logDiagnosticMessage):
- WebProcess/WebCoreSupport/WebChromeClient.h:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::initializeInjectedBundleDiagnosticLoggingClient):
- WebProcess/WebPage/WebPage.h:
(WebKit::WebPage::injectedBundleDiagnosticLoggingClient):
Add a convenience class to retrieve the diagnostic message keys:
- WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.cpp: Added.
(WebKit::InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage):
- WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h: Added.
(InjectedBundlePageDiagnosticLoggingClient):
Add the InjectedBundlePageDiagnosticLoggingClient.cpp,h files.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- win/WebKit2.vcproj:
- WebKit2.xcodeproj/project.pbxproj:
- 11:27 AM Changeset in webkit [123777] by
-
- 2 edits in trunk/LayoutTests
expectations change for skia rev. 4771
https://bugs.webkit.org/show_bug.cgi?id=92402
Reviewed by NOBODY : expectations change only
- platform/chromium/TestExpectations:
- 11:26 AM Changeset in webkit [123776] by
-
- 4 edits in trunk/Tools
[nrwt] get rid of --skip-pixel-test-if-no-baseline
https://bugs.webkit.org/show_bug.cgi?id=92377
Reviewed by Adam Barth.
Remove the option and all code paths that handled it.
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.should_run_as_pixel_test):
- 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_repeat_each):
- 11:26 AM Changeset in webkit [123775] by
-
- 13 edits in trunk/Source
Add setting to enable and disable diagnostic logging.
https://bugs.webkit.org/show_bug.cgi?id=92337
Reviewed by Anders Carlsson.
Source/WebCore:
Add a new entry in Settings, defaulting to false.
- page/Settings.cpp:
(WebCore::Settings::Settings): Default the new setting to false.
- page/Settings.h:
(WebCore::Settings::setDiagnosticLoggingEnabled): Simple accessor.
(WebCore::Settings::diagnosticLoggingEnabled): Ditto.
Source/WebKit/mac:
Add a WebKit WebPreferences API to set set the WebCore diagnosticLoggingEnabled setting.
- WebView/WebPreferenceKeysPrivate.h:
- WebView/WebPreferences.mm:
(+[WebPreferences initialize]): Register the default value to false.
(-[WebPreferences diagnosticLoggingEnabled]): Simple userDefaults accessor.
(-[WebPreferences setDiagnosticLoggingEnabled:]): Ditto.
- WebView/WebPreferencesPrivate.h:
- WebView/WebView.mm:
(-[WebView _preferencesChanged:]): Ensure this preference is propagated to Settings
whenever the preferences change.
Source/WebKit2:
Add a WebKit2 WKPreferences API to set set the WebCore diagnosticLoggingEnabled setting.
- Shared/WebPreferencesStore.h:
- UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetDiagnosticLoggingEnabled):
(WKPreferencesGetDiagnosticLoggingEnabled):
- UIProcess/API/C/WKPreferencesPrivate.h:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences): Ensure this preference is propagated to Settings
whenever the preferences change.
- 11:18 AM Changeset in webkit [123774] by
-
- 2 edits in trunk/Source/WebKit2
[EFL][WK2] Regression(r123731): Linking errors due to efreet functions
https://bugs.webkit.org/show_bug.cgi?id=92378
Unreviewed build fix.
The library list created by PlatformEfl.cmake was being erased by a
SET called after including the platform specific file. Luckily the
dependencies were fulfilled by other targets until efreet was add.
Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-26
- CMakeLists.txt:
- 11:16 AM Changeset in webkit [123773] by
-
- 16 edits4 adds in trunk
Add FastMalloc statistics in window.internals
https://bugs.webkit.org/show_bug.cgi?id=91274
Patch by Olivier Blin <Olivier Blin> on 2012-07-26
Reviewed by Ryosuke Niwa.
Source/WebCore:
Test: fast/harness/fastmallocstatistics-object.html
- CMakeLists.txt:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gyp/WebCore.gyp:
- WebCore.gypi:
- WebCore.vcproj/WebCoreTestSupport.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- testing/FastMallocStatistics.h: Added.
(WebCore):
(FastMallocStatistics):
(WebCore::FastMallocStatistics::create):
(WebCore::FastMallocStatistics::reservedVMBytes):
(WebCore::FastMallocStatistics::committedVMBytes):
(WebCore::FastMallocStatistics::freeListBytes):
(WebCore::FastMallocStatistics::FastMallocStatistics):
- testing/FastMallocStatistics.idl: Added.
- testing/Internals.cpp:
(WebCore::Internals::fastMallocStatistics):
(WebCore):
- testing/Internals.h:
(WebCore):
(Internals):
- testing/Internals.idl:
Tools:
- GNUmakefile.am:
LayoutTests:
- fast/harness/fastmallocstatistics-object-expected.txt: Added.
- fast/harness/fastmallocstatistics-object.html: Added.
- 11:02 AM Changeset in webkit [123772] by
-
- 21 edits in trunk
Source/WebCore: [chromium] Remove redundant surface origin transforms
https://bugs.webkit.org/show_bug.cgi?id=91815
Reviewed by Stephen White.
Bug 91417 changed draw transforms to become equivalent to origin
transforms for surfaces. This change removes them as they are no
longer needed for anything.
No new tests. Just a refactoring.
- platform/graphics/chromium/RenderSurfaceChromium.h:
(RenderSurfaceChromium):
- platform/graphics/chromium/cc/CCDamageTracker.cpp:
(WebCore::CCDamageTracker::extendDamageForRenderSurface):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::computeScrollCompensationMatrixForChildren):
(WebCore::calculateDrawTransformsInternal):
- platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::::leaveToRenderTarget):
(WebCore::::unoccludedContributingSurfaceContentRect):
- platform/graphics/chromium/cc/CCRenderPassDrawQuad.cpp:
(WebCore::CCRenderPassDrawQuad::create):
(WebCore::CCRenderPassDrawQuad::CCRenderPassDrawQuad):
- platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:
(CCRenderPassDrawQuad):
- platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::createSharedQuadState):
(WebCore::CCRenderSurface::createReplicaSharedQuadState):
(WebCore::CCRenderSurface::appendQuads):
- platform/graphics/chromium/cc/CCRenderSurface.h:
(CCRenderSurface):
Source/WebKit2: [EFL][WK2] Compilation warning in EWK2UnitTestServer.cpp
https://bugs.webkit.org/show_bug.cgi?id=92387
Reviewed by Kenneth Rohde Christiansen.
Fix compilation warning in EWK2UnitTestServer.cpp.
- UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestServer.cpp:
(EWK2UnitTestServer::EWK2UnitTestServer):
LayoutTests: [Qt] css3/filters, editing/undo, fast/block/lineboxcontain, fast/js and tables/layering tests need update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=92292
Reviewed by Alexis Menard.
- platform/qt-5.0/Skipped:
- platform/qt/css3/filters/effect-blur-expected.txt:
- platform/qt/css3/filters/effect-blur-hw-expected.txt:
- platform/qt/css3/filters/regions-expanding-expected.txt:
- platform/qt/editing/undo/5378473-expected.txt:
- platform/qt/editing/undo/undo-misspellings-expected.txt:
- platform/qt/fast/block/lineboxcontain/inline-box-expected.png:
- platform/qt/fast/block/lineboxcontain/inline-box-expected.txt:
- platform/qt/fast/block/lineboxcontain/inline-box-vertical-expected.png:
- platform/qt/fast/block/lineboxcontain/inline-box-vertical-expected.txt:
- platform/qt/fast/block/lineboxcontain/inline-replaced-expected.png:
- platform/qt/fast/block/lineboxcontain/inline-replaced-expected.txt:
- platform/qt/fast/block/lineboxcontain/none-expected.png:
- platform/qt/fast/block/lineboxcontain/none-expected.txt:
- platform/qt/fast/block/lineboxcontain/parsing-invalid-expected.png:
- platform/qt/fast/block/lineboxcontain/parsing-invalid-expected.txt:
- platform/qt/fast/block/lineboxcontain/replaced-expected.png:
- platform/qt/fast/block/lineboxcontain/replaced-expected.txt:
- 10:59 AM Changeset in webkit [123771] by
-
- 13 edits in trunk/Source
[chromium] Remove redundant surface origin transforms
https://bugs.webkit.org/show_bug.cgi?id=91815
Reviewed by Stephen White.
Source/WebCore:
Bug 91417 changed draw transforms to become equivalent to origin
transforms for surfaces. This change removes them as they are no
longer needed for anything.
No new tests. Just a refactoring.
- platform/graphics/chromium/RenderSurfaceChromium.h:
(RenderSurfaceChromium):
- platform/graphics/chromium/cc/CCDamageTracker.cpp:
(WebCore::CCDamageTracker::extendDamageForRenderSurface):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::computeScrollCompensationMatrixForChildren):
(WebCore::calculateDrawTransformsInternal):
- platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::::leaveToRenderTarget):
(WebCore::::unoccludedContributingSurfaceContentRect):
- platform/graphics/chromium/cc/CCRenderPassDrawQuad.cpp:
(WebCore::CCRenderPassDrawQuad::create):
(WebCore::CCRenderPassDrawQuad::CCRenderPassDrawQuad):
- platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:
(CCRenderPassDrawQuad):
- platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::createSharedQuadState):
(WebCore::CCRenderSurface::createReplicaSharedQuadState):
(WebCore::CCRenderSurface::appendQuads):
- platform/graphics/chromium/cc/CCRenderSurface.h:
(CCRenderSurface):
Source/WebKit/chromium:
Clean up use of origin transforms in tests. Where possible, test
against the equivalent draw transform.
- tests/CCLayerTreeHostCommonTest.cpp:
- tests/CCLayerTreeHostImplTest.cpp:
- tests/CCRenderSurfaceTest.cpp:
- 10:55 AM Changeset in webkit [123770] by
-
- 10 edits in trunk/Source/WebCore
Web Inspector: simplify handling of status bar items
https://bugs.webkit.org/show_bug.cgi?id=92143
Reviewed by Pavel Feldman.
- split status bars into "global" (always in the bottom) and "panel"
(on top of the drawer when drawer is shown)
- use "inner" status bar section in global status bar to display either
panel status bar items or drawer view items (depending on drawer visibility)
- let panels/views manage their counters as part of their status bar
items, not through special interface members;
- get rid of absolute positioning in the status bars where possible;
- inspector/front-end/AdvancedSearchController.js:
(WebInspector.SearchView.prototype.get statusBarItems):
- inspector/front-end/Drawer.js:
(WebInspector.Drawer):
(WebInspector.Drawer.prototype.show.animationFinished):
(WebInspector.Drawer.prototype.show):
(WebInspector.Drawer.prototype.hide.animationFinished):
(WebInspector.Drawer.prototype.hide):
(WebInspector.Drawer.prototype._startStatusBarDragging):
- inspector/front-end/Panel.js:
(WebInspector.Panel.prototype.wasShown):
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype.get statusBarItems):
(WebInspector.TimelinePanel.prototype.willHide):
- inspector/front-end/elementsPanel.css:
(.crumbs):
- inspector/front-end/inspector.css:
(#main):
(body.drawer-visible #main-panels):
(.status-bar):
(.status-bar-item):
(#panel-status-bar-placeholder):
(body.drawer-visible #panel-status-bar-placeholder):
(#panel-status-bar-resizer):
(#panel-status-bar):
(#panel-status-bar > div):
(#error-warning-count):
(#drawer):
(#drawer-contents):
(.status-bar-items):
(.drawer-header):
(#inner-status-bar):
(.search-status-bar-item):
(.search-status-bar-message):
(.search-status-bar-progress):
(body:not(.platform-mac) .search-status-bar-progress):
(body.platform-mac .search-status-bar-progress):
(.search-status-bar-stop-button-item):
(.search-status-bar-stop-button .glyph):
(.search-results-status-bar-message):
- inspector/front-end/inspector.html:
- inspector/front-end/inspector.js:
(WebInspector._createGlobalStatusBarItems):
(WebInspector.showViewInDrawer):
(WebInspector._closePreviousDrawerView):
- inspector/front-end/timelinePanel.css:
(.timeline-records-counter):
- 10:47 AM Changeset in webkit [123769] by
-
- 11 edits1 copy3 adds in trunk/Source
[EFL][WK2] Implement Network Information provider
https://bugs.webkit.org/show_bug.cgi?id=92343
Patch by Christophe Dumez <Christophe Dumez> on 2012-07-26
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
Moved Network Information provider code from WebKit1
to WebCore so that it can be shared with WebKit2.
No new tests, no behavior change.
- PlatformEfl.cmake:
- platform/efl/NetworkInfoProviderEfl.cpp: Copied from Source/WebKit/efl/WebCoreSupport/NetworkInfoClientEfl.cpp.
(WebCore):
(WebCore::NetworkInfoProviderEfl::NetworkInfoProviderEfl):
(WebCore::NetworkInfoProviderEfl::startUpdating):
(WebCore::NetworkInfoProviderEfl::stopUpdating):
(WebCore::NetworkInfoProviderEfl::bandwidth):
- platform/efl/NetworkInfoProviderEfl.h: Added.
(WebCore):
(NetworkInfoProviderEfl):
Source/WebKit:
WebKit EFL not longer needs to link against EEZE
library since the Network Information provider
was moved to WebCore.
- CMakeLists.txt:
- PlatformEfl.cmake:
Source/WebKit/efl:
Make NetworkInfoClientEfl use NetworkInfoProviderEfl
from WebCore to avoid code duplication with WebKit2.
- WebCoreSupport/NetworkInfoClientEfl.cpp:
(WebCore::NetworkInfoClientEfl::startUpdating):
(WebCore::NetworkInfoClientEfl::stopUpdating):
(WebCore::NetworkInfoClientEfl::bandwidth):
(WebCore::NetworkInfoClientEfl::metered):
(WebCore):
- WebCoreSupport/NetworkInfoClientEfl.h:
(WebCore):
(NetworkInfoClientEfl):
Source/WebKit2:
Add Network Information provider for WebKit2 EFL
by using NetworkInfoProviderEfl class from
WebCore.
- CMakeLists.txt:
- PlatformEfl.cmake:
- UIProcess/API/efl/NetworkInfoProvider.cpp: Added.
(toNetworkInfoProvider):
(startUpdatingCallback):
(stopUpdatingCallback):
(getBandwidthCallback):
(isMeteredCallback):
(NetworkInfoProvider::create):
(NetworkInfoProvider::NetworkInfoProvider):
(NetworkInfoProvider::~NetworkInfoProvider):
(NetworkInfoProvider::bandwidth):
(NetworkInfoProvider::metered):
(NetworkInfoProvider::startUpdating):
(NetworkInfoProvider::stopUpdating):
- UIProcess/API/efl/NetworkInfoProvider.h: Added.
(NetworkInfoProvider):
- 10:25 AM Changeset in webkit [123768] by
-
- 14 edits1 add in trunk/Source/WebCore
Web Inspector: SASS source mapping straw man (behind experiment)
https://bugs.webkit.org/show_bug.cgi?id=92265
Reviewed by Vsevolod Vlasov.
This change introduces SASS mapping support (behind the experiment).
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- inspector/compile-front-end.py:
- inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleModel):
(WebInspector.CSSStyleModel.prototype.resourceBinding):
(WebInspector.CSSStyleModel.prototype.setSourceMapping):
(WebInspector.CSSStyleModel.prototype.resetSourceMappings):
(WebInspector.CSSStyleModel.prototype._rawLocationToUILocation):
(WebInspector.CSSLocation):
(WebInspector.CSSRule):
(WebInspector.CSSRule.prototype.get isRegular):
(WebInspector.CSSRule.prototype.uiLocation):
- inspector/front-end/ContentProviders.js:
(WebInspector.StaticContentProvider.prototype.contentType):
- inspector/front-end/SASSSourceMapping.js: Added.
(WebInspector.SASSSourceMapping):
(WebInspector.SASSSourceMapping.prototype._populate):
(WebInspector.SASSSourceMapping.prototype._resourceAdded.didRequestContent):
(WebInspector.SASSSourceMapping.prototype._resourceAdded):
(rawLocationToUILocation):
(uiLocationToRawLocation):
(uiSourceCodes):
(reset):
(WebInspector.SASSSource):
(WebInspector.SASSSource.prototype.isEditable):
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._createSourceFrame):
- inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
- inspector/front-end/StylesPanel.js:
(WebInspector.StylesUISourceCodeProvider):
(WebInspector.StylesUISourceCodeProvider.prototype.rawLocationToUILocation):
(WebInspector.StylesUISourceCodeProvider.prototype.uiLocationToRawLocation):
(WebInspector.StylesUISourceCodeProvider.prototype._resourceAdded):
(WebInspector.StylesUISourceCodeProvider.prototype.reset):
- inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertyTreeElement.prototype):
- inspector/front-end/UISourceCode.js:
(WebInspector.UILocation.prototype.uiLocationToRawLocation):
(WebInspector.UILocation.prototype.url):
- inspector/front-end/Workspace.js:
(WebInspector.Workspace):
- inspector/front-end/inspector.html:
- 10:23 AM Changeset in webkit [123767] by
-
- 3 edits2 adds in trunk
WebKit should expose @title as label (AXTitle or AXDescription) sometimes instead of AXHelp, according to the ARIA text alt computation
https://bugs.webkit.org/show_bug.cgi?id=91911
Reviewed by Anders Carlsson.
Source/WebCore:
The ARIA spec states that the title attribute should be used as the last resort for a description of an element. WebKit needs to honor that.
Test: platform/mac/accessibility/title-attribute-used-as-last-resort.html
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::helpText):
(WebCore::AccessibilityRenderObject::accessibilityDescription):
LayoutTests:
- platform/mac/accessibility/title-attribute-used-as-last-resort-expected.txt: Added.
- platform/mac/accessibility/title-attribute-used-as-last-resort.html: Added.
- 9:59 AM Changeset in webkit [123766] by
-
- 2 edits in trunk/Source/WebKit2
[EFL][WK2] Compilation warning in EWK2UnitTestServer.cpp
https://bugs.webkit.org/show_bug.cgi?id=92387
Patch by Christophe Dumez <Christophe Dumez> on 2012-07-26
Reviewed by Kenneth Rohde Christiansen.
Fix compilation warning in EWK2UnitTestServer.cpp.
- UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestServer.cpp:
(EWK2UnitTestServer::EWK2UnitTestServer):
- 9:54 AM Changeset in webkit [123765] by
-
- 3 edits in trunk/Source/WebCore
Unreviewed r123761 follow-up, inspector closure compilation fix.
- inspector/front-end/Script.js:
(WebInspector.Script.Location.prototype.uiLocation):
- inspector/front-end/ScriptSnippetModel.js:
- 9:50 AM Changeset in webkit [123764] by
-
- 3 edits in trunk/Source/WebCore
Cleanup GraphicsContext::(getWindowsContext|releaseWindowsContext)
https://bugs.webkit.org/show_bug.cgi?id=92113
Reviewed by Simon Hausmann.
Cleanup the definition of the two methods across different ports and
replace the calls to them with LocalWindowsContext where possible.
- platform/graphics/GraphicsContext.h:
(GraphicsContext):
- platform/win/ScrollbarThemeWin.cpp:
(WebCore::ScrollbarThemeWin::paintThumb):
- 9:45 AM Changeset in webkit [123763] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening. Fix after r123733.
Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-26
- platform/qt/Skipped:
- 9:44 AM Changeset in webkit [123762] by
-
- 2 edits54 deletes in trunk/LayoutTests
[Qt] Reskip fast/forms WK2 added results
https://bugs.webkit.org/show_bug.cgi?id=91504
Patch by Bruno de Oliveira Abinader <Bruno de Oliveira Abinader> on 2012-07-26
Reviewed by Alexis Menard.
This patch reverts the added WK2 layout test results from r123156 "[Qt]
Added/updated missing fast/forms results after rebaseline". As discussed with
Caio, almost all of these additions were due to an erroneous input-text and
text-area default size diff between WK1 and WK2 (handled in bug 91990), and a
few ones that are still failing independent of font changes (handled in bug
91610). These tests were reskipped and reassigned to proper bugs.
- platform/qt-5.0-wk2/Skipped:
- platform/qt-5.0-wk2/fast/forms/basic-inputs-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/basic-inputs-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/control-restrict-line-height-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/control-restrict-line-height-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/encoding-test-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-bkcolor-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-default-bkcolor-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-default-bkcolor-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-disabled-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-disabled-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-focus-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-focus-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-preventDefault-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-readonly-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-readonly-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-appearance-visibility-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-baseline-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/input-baseline-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-double-click-selection-gap-bug-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/input-double-click-selection-gap-bug-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-placeholder-visibility-1-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-placeholder-visibility-3-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-readonly-dimmed-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-readonly-empty-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-spaces-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-text-click-inside-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-text-double-click-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-text-option-delete-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-text-self-emptying-click-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-text-word-wrap-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/input-width-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/placeholder-position-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/placeholder-position-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/search-cancel-button-style-sharing-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/search-display-none-cancel-button-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/search-rtl-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/search-rtl-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/search-vertical-alignment-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/search-vertical-alignment-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/text-style-color-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/text-style-color-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.png: Removed.
- platform/qt-5.0-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/textarea-placeholder-visibility-1-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/textarea-placeholder-visibility-2-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/textfield-focus-ring-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/textfield-outline-expected.txt: Removed.
- platform/qt-5.0-wk2/fast/forms/textfield-overflow-expected.txt: Removed.
- 9:42 AM Changeset in webkit [123761] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: Introduce generic LiveLocation, make Script.Location inherit it.
https://bugs.webkit.org/show_bug.cgi?id=92388
Reviewed by Pavel Feldman.
Introduced abstract LiveLocation implemented by Script.Location.
- inspector/front-end/Script.js:
(WebInspector.Script.Location):
(WebInspector.Script.Location.prototype.uiLocation):
(WebInspector.Script.Location.prototype.dispose):
- inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode):
(WebInspector.LiveLocation):
(WebInspector.LiveLocation.prototype.update):
(WebInspector.LiveLocation.prototype.rawLocation):
(WebInspector.LiveLocation.prototype.uiLocation):
(WebInspector.LiveLocation.prototype.dispose):
- inspector/front-end/inspector.html:
- 9:40 AM Changeset in webkit [123760] by
-
- 3 edits2 deletes in trunk/LayoutTests
[Qt] platform/qt/tables/mozilla tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91242
Reviewed by Alexis Menard.
Some leftovers were removed from qt-5.0-wk1 and wk2. If some of them
fail on qt-5.0-wk2, then they should be skipped again, but creating
proper bug reports for them.
- platform/qt-5.0-wk1/Skipped:
- platform/qt-5.0-wk2/Skipped:
- platform/qt-5.0/tables/mozilla/bugs/bug3037-1-expected.png: Removed.
- platform/qt-5.0/tables/mozilla/bugs/bug3037-1-expected.txt: Removed.
- 9:34 AM Changeset in webkit [123759] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] readPixels on FBOs are limited to canvas size on SGX platforms
https://bugs.webkit.org/show_bug.cgi?id=92301
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-26
Reviewed by Rob Buis.
This fixes fast/canvas/webgl/uninitialized-test.html on BlackBerry, no new tests.
- platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary):
- 9:26 AM Changeset in webkit [123758] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: reduce auto refresh rate of the live native memory diagram
https://bugs.webkit.org/show_bug.cgi?id=92372
Patch by Alexei Filippov <alexeif@chromium.org> on 2012-07-26
Reviewed by Pavel Feldman.
- inspector/front-end/NativeMemorySnapshotView.js:
(WebInspector.NativeMemoryBarChart.prototype.wasShown):
- 9:23 AM Changeset in webkit [123757] by
-
- 2 edits in trunk/Tools
buildbot: Remove the configuration of hfreyther*
https://bugs.webkit.org/show_bug.cgi?id=91849
Reviewed by Adam Roben.
The machine running these configs was decommissioned and
there is no replacement at this point. Remove them from the
configuration.
- BuildSlaveSupport/build.webkit.org-config/config.json: Remove hfreyther* from
the config. The Qt Linux SH4 and Qt Linux MIPS schedulers are orphaned, remove
them too.
- 9:22 AM Changeset in webkit [123756] by
-
- 3 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Refactor BackingStorePrivate::BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion() to avoid touching tile frontbuffer
https://bugs.webkit.org/show_bug.cgi?id=92095
Patch by Arvid Nilsson <anilsson@rim.com> on 2012-07-26
Reviewed by George Staikos.
PR: 141439
Specifically, we want to avoid changing the rendered region of the
front buffer without proper synchronization.
The method is trying to force checkerboard to appear on screen because
an area was invalidated but the render job was dropped, so the tile
contents are now invalid.
Unfortunately it did this in a way which is not thread safe. Fixed by
making it thread safe, in a way that minimizes memory bandwidth usage.
Instead of using the customary sequence of copy-back, modify and swap,
we send a synchronous message to the compositing thread to avoid the
copy-back step and save memory bandwidth. The trade-off is that the
WebKit thread might wait a little longer for the compositing thread
than it would from a waitForCurrentMessage() call.
The way we synchronize this is rather expensive for the WebKit thread,
and this method is called rather carelessly, so add various early
returns to avoid doing it redundantly.
Internally reviewed by Jakob Petsovits and Adam Treat.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::indexOfTile):
(BlackBerry::WebKit::BackingStorePrivate::clearAndUpdateTileOfNotRenderedRegion):
- Api/BackingStore_p.h:
(BackingStorePrivate):
- 9:17 AM Changeset in webkit [123755] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: add GC button to the profiles panel toolbar.
https://bugs.webkit.org/show_bug.cgi?id=92369
Patch by Alexei Filippov <alexeif@chromium.org> on 2012-07-26
Reviewed by Pavel Feldman.
- inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel.prototype.get statusBarItems):
(WebInspector.ProfilesPanel.prototype._garbageCollectButtonClicked):
- inspector/front-end/profilesPanel.css:
(.garbage-collect-status-bar-item .glyph):
- 9:15 AM Changeset in webkit [123754] by
-
- 10 edits in trunk/Source/WebCore
Move region from HitTestResult to HitTestPoint.
https://bugs.webkit.org/show_bug.cgi?id=92367
Reviewed by Antonio Gomes.
Moves the region to HitTestPoint where it makes more sense, and use this
change to simplify hit-testing a new region in RenderFlowThread.
No new functionality. No new tests.
- rendering/HitTestResult.cpp:
(WebCore::HitTestPoint::HitTestPoint):
(WebCore::HitTestPoint::operator=):
(WebCore::HitTestResult::HitTestResult):
(WebCore::HitTestResult::operator=):
- rendering/HitTestResult.h:
(HitTestPoint):
(WebCore::HitTestPoint::region):
(HitTestResult):
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::nodeAtPoint):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::nodeAtPoint):
- rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::hitTestRegion):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::hitTestLayer):
- rendering/RenderRegion.cpp:
(WebCore::RenderRegion::nodeAtPoint):
- rendering/RenderTable.cpp:
(WebCore::RenderTable::nodeAtPoint):
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::nodeAtPoint):
- 9:12 AM Changeset in webkit [123753] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: ExtensionView constructor shouldn't take parent argument
https://bugs.webkit.org/show_bug.cgi?id=92326
Patch by Jan Keromnes <janx@linux.com> on 2012-07-26
Reviewed by Pavel Feldman.
ExtensionView's constructor took a parent element parameter and auto-
showed itself in the constructor. This didn't allow lazy showing and
was confusing because it didn't work like a classic View object. Fixed.
No new tests needed: Refactoring with no behavior changes.
- inspector/front-end/ExtensionPanel.js:
(WebInspector.ExtensionPanel):
(WebInspector.ExtensionSidebarPane.prototype.setPage):
- inspector/front-end/ExtensionView.js:
(WebInspector.ExtensionView):
- 9:04 AM Changeset in webkit [123752] by
-
- 4 edits1 add in trunk/Source/WebKit2
[EFL][WK2] Add unit tests for Ewk_Context
https://bugs.webkit.org/show_bug.cgi?id=92005
Patch by Christophe Dumez <Christophe Dumez> on 2012-07-26
Reviewed by Antonio Gomes.
Add unit tests for WebKit2 Ewk_Context.
- PlatformEfl.cmake:
- UIProcess/API/efl/ewk_url_scheme_request.cpp:
(ewk_url_scheme_request_finish):
- UIProcess/API/efl/ewk_url_scheme_request.h: Mark content_data
argument as const.
- UIProcess/API/efl/tests/test_ewk2_context.cpp: Added.
(TEST_F):
(schemeRequestCallback):
- 9:00 AM Changeset in webkit [123751] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Refactor BackingStorePrivate::render() to avoid touching tile frontbuffer
https://bugs.webkit.org/show_bug.cgi?id=91989
Patch by Arvid Nilsson <anilsson@rim.com> on 2012-07-26
Reviewed by George Staikos.
PR: 141439
Specifically, we want to avoid changing the rendered region of the
front buffer. The code only touched the front buffer rendered region
if the tile was not committed.
Instead of immediately marking the tile as committed, and clearing the
front buffer's rendered region to make it appear as checkerboard, we
leave the front buffer alone and only mark the tile as committed once
the front buffer has valid content. Un-committed tiles will also be
rendered as checkerboard, so leaving it uncommitted is equivalent to
clearing the front buffer rendered region here.
In addition to the main change, some related changes follow naturally.
The copyPreviousContentsToBackSurfaceOfTile() call only makes sense if
the tile is committed, and the front buffer has valid content.
Otherwise, clearing the back buffer is equivalent. The code has been
updated to this effect.
Since copyPreviousContentsToBackSurfaceOfTile() always sets the
rendered region to the union of the front and back buffer regions,
there is no point in the "backBufferIsValid" check. It has been turned
into an ASSERT instead, just to make sure.
Internally reviewed by Jakob Petsovits.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::render):
- 8:51 AM Changeset in webkit [123750] by
-
- 39 edits in trunk/LayoutTests
[Qt] editing/selection tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=92186
Patch by Bruno de Oliveira Abinader <Bruno de Oliveira Abinader> on 2012-07-26
Reviewed by Alexis Menard.
After the rebaseline from changeset 121971 - [Qt] DumpRenderTree does not use
'monospace' font when directed, editing/selection tests directory needs to be
updated.
It is important to notice some Qt WK2 layout tests are still failing, some
requires more investigation (handled in bug 91610) and others have a known cause
(input text and text areas differ in WK2 - bug 91990).
- platform/qt-5.0-wk2/Skipped:
- platform/qt-5.0-wk2/editing/selection/select-box-expected.png:
- platform/qt-5.0-wk2/editing/selection/select-box-expected.txt:
- platform/qt-5.0-wk2/editing/selection/select-element-paragraph-boundary-expected.png:
- platform/qt-5.0-wk2/editing/selection/select-element-paragraph-boundary-expected.txt:
- platform/qt-5.0/Skipped:
- platform/qt-5.0/editing/selection/editable-html-element-expected.txt:
- platform/qt-5.0/editing/selection/extend-by-word-001-expected.txt:
- platform/qt-5.0/editing/selection/select-box-expected.png:
- platform/qt-5.0/editing/selection/select-box-expected.txt:
- platform/qt-5.0/editing/selection/select-element-paragraph-boundary-expected.png:
- platform/qt-5.0/editing/selection/select-element-paragraph-boundary-expected.txt:
- platform/qt-5.0/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt:
- platform/qt-5.0/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt:
- platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt:
- platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt:
- platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
- platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt:
- platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt:
- platform/qt-5.0/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
- platform/qt-5.0/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt:
- platform/qt-5.0/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt:
- platform/qt/editing/selection/5825350-1-expected.txt:
- platform/qt/editing/selection/5825350-2-expected.txt:
- platform/qt/editing/selection/drag-start-event-client-x-y-expected.txt:
- platform/qt/editing/selection/fake-doubleclick-expected.png:
- platform/qt/editing/selection/fake-doubleclick-expected.txt:
- platform/qt/editing/selection/hit-test-on-text-with-line-height-expected.txt:
- platform/qt/editing/selection/unrendered-001-expected.png:
- platform/qt/editing/selection/unrendered-001-expected.txt:
- platform/qt/editing/selection/unrendered-002-expected.png:
- platform/qt/editing/selection/unrendered-002-expected.txt:
- platform/qt/editing/selection/unrendered-003-expected.png:
- platform/qt/editing/selection/unrendered-003-expected.txt:
- platform/qt/editing/selection/unrendered-004-expected.png:
- platform/qt/editing/selection/unrendered-004-expected.txt:
- platform/qt/editing/selection/unrendered-005-expected.png:
- platform/qt/editing/selection/unrendered-005-expected.txt:
- 8:25 AM Changeset in webkit [123749] by
-
- 3 edits in trunk/Source/WebCore
[WebGL] ANGLEWebKitBridge should support ESSL platforms
https://bugs.webkit.org/show_bug.cgi?id=92295
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-26
Reviewed by Rob Buis.
This tells ANGLEWebKitBridge to output ESSL code for the BlackBerry
platform. This eliminates the need for a previous hack. In addition,
some (GLSL) ANGLE output that could not be compiled (for example,
glsl-mat4-to-mat3.html) now compiles.
- platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
(WebCore::GraphicsContext3D::GraphicsContext3D):
- platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
(WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
- 8:21 AM Changeset in webkit [123748] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: replace "textInput" keyboard event listener breakpoint with "input"
https://bugs.webkit.org/show_bug.cgi?id=92384
Reviewed by Vsevolod Vlasov.
- inspector/front-end/BreakpointsSidebarPane.js:
(WebInspector.EventListenerBreakpointsSidebarPane):
- 8:10 AM Changeset in webkit [123747] by
-
- 11 edits in trunk/Source/WebCore
Add a MediaPlayer API to retrieve the description of the current media engine.
https://bugs.webkit.org/show_bug.cgi?id=92336
Reviewed by Eric Carlson.
Add a utility function which retrieves, for diagnostic purposes, a brief description
of the current media engine. Stubs have been added for each of the MediaPlayerPrivate
subclasses which return the name of the class.
- platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::engineDescription):
- platform/graphics/MediaPlayer.h:
- platform/graphics/MediaPlayerPrivate.h:
(WebCore::MediaPlayerPrivateInterface::engineDescription):
- platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
(WebCore::MediaPlayerPrivateAVFoundation::engineDescription):
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
(WebCore::MediaPlayerPrivate::engineDescription):
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(WebCore::MediaPlayerPrivateGStreamer::engineDescription):
- platform/graphics/mac/MediaPlayerPrivateQTKit.h:
(WebCore::MediaPlayerPrivateQTKit::engineDescription):
- platform/graphics/qt/MediaPlayerPrivateQt.h:
(WebCore::MediaPlayerPrivateQt::engineDescription):
- platform/graphics/wince/MediaPlayerPrivateWinCE.h:
(WebCore::MediaPlayerPrivate::engineDescription):
- platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::engineDescription):
- 8:08 AM Changeset in webkit [123746] by
-
- 3 edits2 adds in trunk
Web Inspector: Edits of styles declared after invalid selector are not applied
https://bugs.webkit.org/show_bug.cgi?id=92382
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Now popping selectorless rules as well.
Test: inspector/styles/styles-edit-property-after-invalid-rule.html
- css/CSSParser.cpp:
(WebCore::CSSParser::createStyleRule):
LayoutTests:
Additional information of the change such as approach, rationale.
- inspector/styles/styles-edit-property-after-invalid-rule-expected.txt: Added.
- inspector/styles/styles-edit-property-after-invalid-rule.html: Added.
- 7:54 AM Changeset in webkit [123745] by
-
- 2 edits in trunk/Source/WebCore
[WebGL] GraphicsContext3D::readPixels has extraneous code from GraphicsContext3D::readPixelsIMG
https://bugs.webkit.org/show_bug.cgi?id=92302
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-26
Reviewed by Noam Rosenthal.
This undoes a mistake from https://bugs.webkit.org/show_bug.cgi?id=90567.
No new tests, because it introduces no new functionality, but it makes the WebGL aquarium demo
run quite a bit smoother on SGX :)
- platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:
(WebCore::GraphicsContext3D::readPixels):
- 7:49 AM Changeset in webkit [123744] by
-
- 6 edits in trunk/Source
Unreviewed. Revert r123740 as it breaks AppleMac compilation.
Source/WebCore:
- WebCore.exp.in:
- inspector/InspectorMemoryAgent.cpp:
(WebCore):
Source/WTF:
- wtf/text/StringImpl.cpp:
- wtf/text/StringImpl.h:
- 7:40 AM Changeset in webkit [123743] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed. Fix AppleMac compilation after r123740.
- WebCore.exp.in: Added missing symbol.
- 6:28 AM Changeset in webkit [123742] by
-
- 6 edits5 adds in trunk/Source/WebKit2
[EFL][WK2] Add form client for Ewk_View
https://bugs.webkit.org/show_bug.cgi?id=92358
Patch by Christophe Dumez <Christophe Dumez> on 2012-07-26
Reviewed by Kenneth Rohde Christiansen.
Implement a form client for EFL port in order to
send a "form,request,new" signal on the Ewk_View
whenever a form will be submitted.
The Ewk_Form_Submission_Request type is
introduced to provide the client with information
about the form (e.g. text fields contained in the
form) and to submit it.
This is typically used to store login information
that can be used later to pre-fill the form.
- PlatformEfl.cmake:
- UIProcess/API/efl/EWebKit2.h:
- UIProcess/API/efl/ewk_form_submission_request.cpp: Added.
(_Ewk_Form_Submission_Request):
(_Ewk_Form_Submission_Request::_Ewk_Form_Submission_Request):
(_Ewk_Form_Submission_Request::~_Ewk_Form_Submission_Request):
(ewk_form_submission_request_ref):
(ewk_form_submission_request_unref):
(ewk_form_submission_request_field_names_get):
(ewk_form_submission_request_field_value_get):
(ewk_form_submission_request_submit):
(ewk_form_submission_request_new):
- UIProcess/API/efl/ewk_form_submission_request.h: Added.
- UIProcess/API/efl/ewk_form_submission_request_private.h: Added.
- UIProcess/API/efl/ewk_view.cpp:
(ewk_view_base_add):
(ewk_view_form_submission_request_new):
- UIProcess/API/efl/ewk_view.h:
- UIProcess/API/efl/ewk_view_form_client.cpp: Added.
(willSubmitForm):
(ewk_view_form_client_attach):
- UIProcess/API/efl/ewk_view_form_client_private.h: Added.
- UIProcess/API/efl/ewk_view_private.h:
- 6:20 AM Changeset in webkit [123741] by
-
- 1 edit5 adds in trunk/LayoutTests
[Qt] Unreviewed gardening. Added Qt5 specific expected results after r123670.
Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-26
- 6:17 AM Changeset in webkit [123740] by
-
- 5 edits in trunk/Source
Web Inspector: move StringImpl size calculation to StringImpl
https://bugs.webkit.org/show_bug.cgi?id=92359
Reviewed by Pavel Feldman.
Moved stringSize(StringImpl*) implementation from InspectorMemoryAgent to
StringImpl::sizeInBytes();
Source/WebCore:
- inspector/InspectorMemoryAgent.cpp:
(WebCore):
Source/WTF:
- wtf/text/StringImpl.cpp:
(WTF::StringImpl::sizeInBytes):
(WTF):
- wtf/text/StringImpl.h:
(StringImpl):
- 6:03 AM Changeset in webkit [123739] by
-
- 2 edits in trunk/LayoutTests
[EFL] Gardening after r123696
https://bugs.webkit.org/show_bug.cgi?id=92361
Unreviewed gardening. r123696 made css3/flexbox tests failing on EFL and QT.
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-26
- platform/efl/TestExpectations:
- 5:43 AM Changeset in webkit [123738] by
-
- 2 edits in trunk/Tools
Unreviewed speculative Mac buildfix after r123729 - 2nd attempt.
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::runTest):
- 5:38 AM Changeset in webkit [123737] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening, adding text failure expectations for two
CSS3 Flexbox tests introduced in r123696.
- platform/gtk/TestExpectations:
- 5:32 AM Changeset in webkit [123736] by
-
- 2 edits in trunk/Tools
Unreviewed speculative buildfix after r123729.
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::runTest): Fix sign errors.
- 5:29 AM Changeset in webkit [123735] by
-
- 3 edits in trunk/Source/JavaScriptCore
[Qt][ARM]ARMAssembler needs buildfix afert r123417
https://bugs.webkit.org/show_bug.cgi?id=92086
Reviewed by Csaba Osztrogonác.
The ARM implementation of this should be optimized code path
is covered by a non-optimized code path. This patch fixes this,
and adds a new function which returns with the offset range.
- assembler/ARMAssembler.h:
(JSC::ARMAssembler::readPointer):
(ARMAssembler):
(JSC::ARMAssembler::repatchInt32):
(JSC::ARMAssembler::repatchCompact):
- assembler/MacroAssemblerARM.h:
(MacroAssemblerARM):
(JSC::MacroAssemblerARM::isCompactPtrAlignedAddressOffset):
(JSC::MacroAssemblerARM::load32WithCompactAddressOffsetPatch):
- 5:26 AM WikiStart edited by
- (diff)
- 5:21 AM Changeset in webkit [123734] by
-
- 2 edits in trunk/Source/WebCore
Remove redundant include of PageGroup.h in FrameLoader.cpp
https://bugs.webkit.org/show_bug.cgi?id=92357
Reviewed by Kentaro Hara.
No new tests, just remove redundant include file.
- loader/FrameLoader.cpp:
- 5:11 AM Changeset in webkit [123733] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening. Skip a failing tests.
https://bugs.webkit.org/show_bug.cgi?id=92355.
Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-26
- platform/qt/Skipped:
- 5:10 AM Changeset in webkit [123732] by
-
- 2 edits in trunk/Source/WebKit2
[WK2] WebPage::handleEditingKeyboardEvent does not check whether the node allows editing.
https://bugs.webkit.org/show_bug.cgi?id=92364
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-26
Reviewed by Kenneth Rohde Christiansen.
Added a check whether the input node allows editing. If editing is not allowed
text input event will not be emitted.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::handleEditingKeyboardEvent):
- 5:01 AM Changeset in webkit [123731] by
-
- 13 edits in trunk
[EFL] EFL port should use XDG paths
https://bugs.webkit.org/show_bug.cgi?id=91719
Patch by Zoltan Nyul <zoltan.nyul@intel.com> on 2012-07-26
Reviewed by Kenneth Rohde Christiansen.
.:
Efreet library added.
- Source/cmake/FindEFL.cmake:
Source/WebKit:
Add efreet library to get the xdg paths.
- PlatformEfl.cmake:
Source/WebKit/efl:
Using xdg paths instead of home/.webkit directory for application
cache, web-database and local-storage.
- ewk/ewk_main.cpp:
(_ewk_init_body):
Source/WebKit2:
Setting xdg paths for application cache, web-database and local-storage.
- PlatformEfl.cmake:
- UIProcess/efl/WebContextEfl.cpp:
(WebKit::WebContext::applicationCacheDirectory):
(WebKit::WebContext::platformDefaultDatabaseDirectory):
(WebKit::WebContext::platformDefaultLocalStorageDirectory):
Tools:
The appcache/localstorage/webdatabase path should be set in the
ewk_main.cpp instead of the DumpRenderTree, and the XDG_DATA_HOME and
XDG_CACHE_HOME should be set to different directory for each processes
for the layout-tests.
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::initialize):
- Scripts/webkitpy/layout_tests/port/efl.py:
(EflPort.setup_environ_for_server):
- efl/jhbuild.modules:
- 4:52 AM Changeset in webkit [123730] by
-
- 2 edits in trunk/Source/WebCore
2% of all samples running grid demo show up in StyleResolver::canShareStyleWithElement, 20% of those due to getAttribute instead of fastGetAttribute
https://bugs.webkit.org/show_bug.cgi?id=92257
Reviewed by Andreas Kling.
This check was added 7 years ago by hyatt in:
http://trac.webkit.org/changeset/10984
And then later made slow after triggering an ASSERT added:
http://trac.webkit.org/changeset/97670
SVG uses a "type" attribute (and it is animatable), but only when
used on filter elements:
http://www.w3.org/TR/SVG/attindex.html
In any case, this does not apply here, and is certainly not what
this check was originally intended for.
I've moved the check to canShareStyleWithControl
as it is only needed when the elements in question are both input elements.
- css/StyleResolver.cpp:
(WebCore::StyleResolver::collectMatchingRulesForList):
- 4:40 AM Changeset in webkit [123729] by
-
- 14 edits in trunk/Tools
[NRWT] should have a way to restrict pixel tests for individual directories
https://bugs.webkit.org/show_bug.cgi?id=91754
Reviewed by Dirk Pranke.
Added --pixel-test-directories option to nrwt. It implies --pixel-tests.
If the platform supports this option only tests from these directories will
be executed as pixel tests. Furthermore, platforms can have a default set of
pixel test directories. To support the feature the test harness have to be
able to inform the driver whether to dump pixels for each tests. For this
purpose I changed WTR and the Qt DRT to handle a --pixel-test argument from
the standard output and made NRWT use this argument with these drivers.
- DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::processLine):
(WebCore::DumpRenderTree::setDumpPixelsForAllTests):
(WebCore::DumpRenderTree::dump):
- DumpRenderTree/qt/DumpRenderTreeQt.h:
(DumpRenderTree):
- DumpRenderTree/qt/main.cpp:
(main):
Handle the --pixel-test argument.
- Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
(SingleTestRunner._should_fetch_expected_checksum):
(SingleTestRunner._overwrite_baselines):
(SingleTestRunner._compare_output):
- Scripts/webkitpy/layout_tests/controllers/worker.py:
(Worker._update_test_input):
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.supports_switching_pixel_tests_per_test): Ports can override this to inform
the harness that --pixel-test argument is supported. True for WTR, otherwise calls
private version that can be overridden by the actual platform. Only true with WTR
and Qt DRT currently. This supposed to exist only temporary until there are ports
that doesn't support the feature in their DRT's.
(Port):
(Port._supports_switching_pixel_tests_per_test):
(Port.should_run_as_pixel_test):
(Port._should_run_as_pixel_test): Ports can override this to define their
default set of pixel tests directories.
- Scripts/webkitpy/layout_tests/port/driver.py:
(Driver.cmd_line): Don't pass --pixel-tests if the platform supports per test
--pixel-test.
(Driver._command_from_driver_input): Pass --pixel-test if it is supported and pixel
tests are enabled.
- Scripts/webkitpy/layout_tests/port/qt.py:
(QtPort.check_sys_deps):
(QtPort):
(QtPort._supports_switching_pixel_tests_per_test):
(QtPort._should_run_as_pixel_test):
(QtPort._default_pixel_test_directories): Only compositing will be our default pixel
test directory for the time being.
- Scripts/webkitpy/layout_tests/port/test.py:
(TestPort.supports_switching_pixel_tests_per_test):
- Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(_set_up_derived_options):
(parse_args):
Handle the --pixel-test-directory option. It expect a directory below LayoutTests
and can be specified multiple times. Added fixme's that we should improve how we
handle these arguments.
- Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(MainTest.test_run_singly_actually_runs_tests):
(MainTest.test_pixel_test_directories):
Added an integration test for the feature.
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::TestController):
(WTR::TestController::initialize):
(WTR::TestController::runTest):
- WebKitTestRunner/TestController.h:
(TestController):
Handle the --pixel-test argument.
- 4:38 AM Changeset in webkit [123728] by
-
- 3 edits in trunk/LayoutTests
[EFL] Gardening after r123634
https://bugs.webkit.org/show_bug.cgi?id=92351
Unreviewed gardening.
Newly added inspector tests failing on EFL port due to missing Geolocation support (bug 82140).
Moved Geolocation tests to TestExpectations from Skipped.
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-26
- platform/efl/Skipped:
- platform/efl/TestExpectations:
- 4:32 AM Changeset in webkit [123727] by
-
- 2 edits in trunk/Source/WebKit2
[EFL] [WK2] Memory leak in ewk_view_resource_load_client.cpp
https://bugs.webkit.org/show_bug.cgi?id=92099
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-26
Reviewed by Kentaro Hara.
Fix a memory leak by clearing the loadingResources HashMap on exit.
- UIProcess/API/efl/ewk_view.cpp:
(_Ewk_View_Private_Data::~_Ewk_View_Private_Data):
(_ewk_view_priv_loading_resources_clear):
(ewk_view_load_provisional_started):
- 3:42 AM Changeset in webkit [123726] by
-
- 5 edits in trunk/Source/WebCore
Web Inspector: add memory reporting routine to StyleResolver
https://bugs.webkit.org/show_bug.cgi?id=92259
Reviewed by Vsevolod Vlasov.
SyleResolver::reportMemoryUsage is added for estimating StyleResolver
memory footprint.
- css/StyleResolver.cpp:
(RuleData):
(RuleSet):
(RuleSetSelectorPair):
(WebCore::StyleResolver::Features::reportMemoryUsage):
(WebCore):
(WebCore::StyleResolver::collectMatchingRulesForList):
- css/StyleResolver.h:
(Features):
(StyleResolver):
- dom/Document.cpp:
(WebCore::Document::reportMemoryUsage):
- dom/MemoryInstrumentation.h:
(MemoryInstrumentation):
(WebCore::MemoryClassInfo::addInstrumentedHashSet):
(WebCore::MemoryClassInfo::addInstrumentedVector):
(WebCore::MemoryInstrumentation::addHashMap):
(WebCore):
(WebCore::MemoryInstrumentation::addInstrumentedCollection):
- 3:35 AM Changeset in webkit [123725] by
-
- 3 edits in trunk/Source/WebKit2
[DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091
Reviewed by Kentaro Hara.
Missing a symbol filter for Mac win port.
- win/WebKit2.def:
- win/WebKit2CFLite.def:
- 3:34 AM Changeset in webkit [123724] by
-
- 25 edits13 deletes in trunk
MediaStream API: Remove DeprecatedPeerConnection
https://bugs.webkit.org/show_bug.cgi?id=92106
Reviewed by Adam Barth.
Source/WebCore:
Since we are getting ready to add an updated PeerConnection
the old DeprecatedPeerConnection will have to go.
No new tests, and old tests converted to use PeerConnection00.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Modules/mediastream/DOMWindowMediaStream.idl:
- Modules/mediastream/DeprecatedPeerConnection.cpp: Removed.
- Modules/mediastream/DeprecatedPeerConnection.h: Removed.
- Modules/mediastream/DeprecatedPeerConnection.idl: Removed.
- Modules/mediastream/SignalingCallback.h: Removed.
- Modules/mediastream/SignalingCallback.idl: Removed.
- PlatformBlackBerry.cmake:
- PlatformEfl.cmake:
- UseJSC.cmake:
- WebCore.gypi:
- bindings/generic/RuntimeEnabledFeatures.h:
- bindings/js/JSDeprecatedPeerConnectionCustom.cpp: Removed.
- dom/EventTargetFactory.in:
- platform/mediastream/DeprecatedPeerConnectionHandler.h: Removed.
- platform/mediastream/DeprecatedPeerConnectionHandlerClient.h: Removed.
- platform/mediastream/blackberry/DeprecatedPeerConnectionHandler.cpp: Removed.
- platform/mediastream/chromium/DeprecatedPeerConnectionHandler.cpp: Removed.
- platform/mediastream/chromium/DeprecatedPeerConnectionHandlerInternal.cpp: Removed.
- platform/mediastream/chromium/DeprecatedPeerConnectionHandlerInternal.h: Removed.
- platform/mediastream/gstreamer/DeprecatedPeerConnectionHandler.cpp: Removed.
LayoutTests:
Changed all usages of DeprecatedPeerConnection to PeerConnection00.
- fast/dom/call-a-constructor-as-a-function-expected.txt:
- fast/dom/call-a-constructor-as-a-function.html:
- fast/mediastream/peerconnection-addstream-expected.txt:
- fast/mediastream/peerconnection-argument-types-expected.txt:
- fast/mediastream/peerconnection-eventlistener-optional-argument.html:
- fast/mediastream/peerconnection-mediastreamlist.html:
- fast/mediastream/peerconnection-removestream-expected.txt:
- fast/mediastream/script-tests/peerconnection-addstream.js:
- fast/mediastream/script-tests/peerconnection-argument-types.js:
- fast/mediastream/script-tests/peerconnection-removestream.js:
- platform/chromium/fast/dom/call-a-constructor-as-a-function-expected.txt:
- platform/gtk/fast/dom/call-a-constructor-as-a-function-expected.txt:
- platform/gtk/fast/js/global-constructors-expected.txt:
- platform/win/fast/dom/call-a-constructor-as-a-function-expected.txt:
- 3:07 AM Changeset in webkit [123723] by
-
- 2 edits in trunk/Tools
[EFL] Regression(r123604): webintents/web-intents-obj-constructor.html is crashing
https://bugs.webkit.org/show_bug.cgi?id=92349
Patch by Christophe Dumez <Christophe Dumez> on 2012-07-26
Reviewed by Kentaro Hara.
Fix crash occurring after r123604, which replaced strdup()
usage with eina_stringshare_add(). Unfortunately, the DRT
was not updated accordingly to use eina_stringshare_del()
instead of free() on the values returned by Ewk_Intent
getters and it was causing
webintents/web-intents-obj-constructor.html to crash.
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::onFrameIntentNew):
- 2:49 AM Changeset in webkit [123722] by
-
- 15 edits26 adds in trunk
Source/WebCore: CSP 1.1: Implement the Content Security Policy script interface.
https://bugs.webkit.org/show_bug.cgi?id=91707
Patch by Mike West <mkwst@chromium.org> on 2012-07-26
Reviewed by Adam Barth.
The CSP 1.1 editor's draft defines a script interface that gives
developers the ability to query a document regarding the restrictions
set by it's currently active content security policy[1]. This patch
exposes that API in terms of a new DOMSecurityPolicy object.
Data for the API is gathered from the existing ContentSecurityPolicy
object on the containing document. CSP's various methods have been
extended with areportingStatusparameter which, unsurprisingly,
determines whether a violation report should be sent for blocked
resources. This allows us to reuse the same codepaths by simply using
ContentSecurityPolicy::SuppressReport when querying on behalf of the
API, and ContentSecurityPolicy::SendReport when checking resources a
page wants to load.
This feature is gated on the CSP_NEXT flag, which is currently disabled
for all ports other than Chromium.
[1]: https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#script-interfaces--experimental
Tests: http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive.html
http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi.html
- CMakeLists.txt:
- DerivedSources.cpp:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
- WebCore.gypi:
- bindings/gobject/GNUmakefile.am:
- WebCore.xcodeproj/project.pbxproj:
We added a new object, so let's tell _everyone!_
- dom/Document.cpp:
(WebCore::Document::securityPolicy):
Expose the SecurityPolicy object via Document, gated on CSP_NEXT.
(WebCore):
- dom/Document.h:
(WebCore):
(Document):
- dom/Document.idl:
Adding the SecurityPolicy object to the document, gated on CSP_NEXT.
- page/ContentSecurityPolicy.cpp:
(CSPDirectiveList):
(WebCore::CSPDirectiveList::checkInline):
(WebCore::CSPDirectiveList::checkNonce):
(WebCore::CSPDirectiveList::checkSource):
Extracting the core checks out into separate methods.
(WebCore::CSPDirectiveList::checkEvalAndReportViolation):
Use checkEval.
(WebCore::CSPDirectiveList::checkNonceAndReportViolation):
Use checkNonce.
(WebCore::CSPDirectiveList::checkInlineAndReportViolation):
Use checkInline.
(WebCore::CSPDirectiveList::checkSourceAndReportViolation):
Use checkSource.
(WebCore::CSPDirectiveList::allowJavaScriptURLs):
(WebCore::CSPDirectiveList::allowInlineEventHandlers):
(WebCore::CSPDirectiveList::allowInlineScript):
(WebCore::CSPDirectiveList::allowInlineStyle):
(WebCore::CSPDirectiveList::allowEval):
(WebCore::CSPDirectiveList::allowScriptFromSource):
(WebCore::CSPDirectiveList::allowObjectFromSource):
(WebCore::CSPDirectiveList::allowChildFrameFromSource):
(WebCore::CSPDirectiveList::allowImageFromSource):
(WebCore::CSPDirectiveList::allowStyleFromSource):
(WebCore::CSPDirectiveList::allowFontFromSource):
(WebCore::CSPDirectiveList::allowMediaFromSource):
(WebCore::CSPDirectiveList::allowConnectToSource):
These methods now branch on
reportingStatus: ifSendReoport,
they callcheckXAndReportViolation, otherwise, they callcheckX.
(WebCore::CSPDirectiveList::gatherReportURIs):
New method that gathers the violation report URIs into a DOMStringList.
(WebCore::isAllowedByAllWithCallStack):
(WebCore::isAllowedByAllWithContext):
(WebCore::isAllowedByAllWithURL):
These now pass reportingStatus through to the various
allowXmethods.
(WebCore::ContentSecurityPolicy::allowJavaScriptURLs):
(WebCore::ContentSecurityPolicy::allowInlineEventHandlers):
(WebCore::ContentSecurityPolicy::allowInlineScript):
(WebCore::ContentSecurityPolicy::allowInlineStyle):
(WebCore::ContentSecurityPolicy::allowEval):
(WebCore::ContentSecurityPolicy::allowScriptFromSource):
(WebCore::ContentSecurityPolicy::allowObjectFromSource):
(WebCore::ContentSecurityPolicy::allowChildFrameFromSource):
(WebCore::ContentSecurityPolicy::allowImageFromSource):
(WebCore::ContentSecurityPolicy::allowStyleFromSource):
(WebCore::ContentSecurityPolicy::allowFontFromSource):
(WebCore::ContentSecurityPolicy::allowMediaFromSource):
(WebCore::ContentSecurityPolicy::allowConnectToSource):
These accept a new
reportingStatusparameter, which is passed through
to the CSPDirectiveList methods.
(WebCore::ContentSecurityPolicy::isActive):
New method that returns
trueif policy is active.
(WebCore::ContentSecurityPolicy::gatherReportURIs):
New method that returns a DOMStringList of violation report URIs.
- page/ContentSecurityPolicy.h:
(WebCore):
- page/DOMSecurityPolicy.cpp: Added.
(WebCore::DOMSecurityPolicy::DOMSecurityPolicy):
(WebCore):
(WebCore::DOMSecurityPolicy::~DOMSecurityPolicy):
(WebCore::DOMSecurityPolicy::isActive):
(WebCore::DOMSecurityPolicy::reportURIs):
(WebCore::DOMSecurityPolicy::allowsInlineScript):
(WebCore::DOMSecurityPolicy::allowsInlineStyle):
(WebCore::DOMSecurityPolicy::allowsEval):
(WebCore::DOMSecurityPolicy::allowsConnectionTo):
(WebCore::DOMSecurityPolicy::allowsFontFrom):
(WebCore::DOMSecurityPolicy::allowsFrameFrom):
(WebCore::DOMSecurityPolicy::allowsImageFrom):
(WebCore::DOMSecurityPolicy::allowsMediaFrom):
(WebCore::DOMSecurityPolicy::allowsObjectFrom):
(WebCore::DOMSecurityPolicy::allowsScriptFrom):
(WebCore::DOMSecurityPolicy::allowsStyleFrom):
- page/DOMSecurityPolicy.h: Added.
(WebCore):
(DOMSecurityPolicy):
(WebCore::DOMSecurityPolicy::create):
- page/DOMSecurityPolicy.idl: Added.
LayoutTests: Implement the experimental Content Security Policy script interface.
https://bugs.webkit.org/show_bug.cgi?id=91707
Patch by Mike West <mkwst@chromium.org> on 2012-07-26
Reviewed by Adam Barth.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto.html: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval.html: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom.html: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom.html: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom.html: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom.html: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom.html: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom.html: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive.html: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi-expected.txt: Added.
- http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi.html: Added.
- http/tests/security/contentSecurityPolicy/resources/securitypolicy-tests-base.js: Added.
(log):
(injectPolicy):
- 2:46 AM Changeset in webkit [123721] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed. Fix build break on mac win port by r123716.
- platform/KURL.h:
(KURL):
- 2:36 AM Changeset in webkit [123720] by
-
- 2 edits7 adds in trunk/LayoutTests
[Qt] Unreviewed gardening. Added Qt5 specific expected results and png.
Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-26
- platform/qt-5.0-wk2/fast/block/float/overhanging-tall-block-expected.png: Added after r123551.
- platform/qt-5.0-wk2/fast/block/float/overhanging-tall-block-expected.txt: Added after r123551.
- platform/qt-5.0-wk2/platform/qt/plugins/application-plugin-plugins-disabled-expected.png: Added after r123514.
- platform/qt-5.0-wk2/platform/qt/plugins/application-plugin-plugins-disabled-expected.txt: Update after r123514.
- platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.png: Added after r123631.
- platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.txt: Added after r123631.
- platform/qt-5.0/css2.1/t0905-c5525-fltblck-00-d-ag-expected.png: Added after r123631.
- platform/qt-5.0/css2.1/t0905-c5525-fltblck-00-d-ag-expected.txt: Added after r123631.
- 2:32 AM Changeset in webkit [123719] by
-
- 17 edits4 deletes in trunk
Unreviewed, rolling out r123715.
http://trac.webkit.org/changeset/123715
https://bugs.webkit.org/show_bug.cgi?id=92356
Breaks compilation on multiple platforms (Requested by vsevik
on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-26
Source/WebCore:
- inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::inspectedPageDestroyed):
- inspector/InspectorInstrumentation.cpp:
(WebCore):
- inspector/InspectorInstrumentation.h:
(InspectorInstrumentation):
- inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::didReceiveData):
(WebCore::InspectorResourceAgent::getResponseBody):
- inspector/InspectorResourceAgent.h:
(InspectorResourceAgent):
- inspector/NetworkResourcesData.cpp:
(WebCore::NetworkResourcesData::ResourceData::ResourceData):
(WebCore::NetworkResourcesData::ResourceData::setContent):
(WebCore::NetworkResourcesData::ResourceData::dataLength):
(WebCore::NetworkResourcesData::ResourceData::appendData):
(WebCore::NetworkResourcesData::ResourceData::decodeDataToContent):
(WebCore::NetworkResourcesData::setResourceContent):
(WebCore::NetworkResourcesData::maybeAddResourceData):
(WebCore::NetworkResourcesData::maybeDecodeDataToContent):
(WebCore::NetworkResourcesData::setResourcesDataSizeLimits):
(WebCore::NetworkResourcesData::ensureFreeSpace):
- inspector/NetworkResourcesData.h:
(ResourceData):
(WebCore::NetworkResourcesData::ResourceData::cachedResource):
(NetworkResourcesData):
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::~CachedResource):
(WebCore::CachedResource::removeClient):
(WebCore::CachedResource::deleteIfPossible):
- loader/cache/CachedResource.h:
(CachedResource):
- loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired):
(WebCore::CachedResourceLoader::clearPreloads):
- loader/cache/CachedResourceLoader.h:
(CachedResourceLoader):
- loader/cache/MemoryCache.cpp:
(WebCore::MemoryCache::evict):
- testing/InternalSettings.cpp:
- testing/Internals.cpp:
- testing/Internals.h:
(Internals):
LayoutTests:
- http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt: Removed.
- http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html: Removed.
- http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt: Removed.
- http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html: Removed.
- 2:28 AM Changeset in webkit [123718] by
-
- 2 edits in trunk/Source/WebKit/win
[Mac] Fix build break on Apple win bot after r123711
https://bugs.webkit.org/show_bug.cgi?id=92354
Reviewed by Adam Barth.
Missing return value.
- WebFrame.cpp:
(WebFrame::pageNumberForElementById):
- 2:09 AM Changeset in webkit [123717] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening. Skip the failing tests.
- platform/qt/Skipped:
- 1:55 AM Changeset in webkit [123716] by
-
- 22 edits in trunk/Source/WebCore
Add *explicit* keyword to constructors in WebCore/platform
https://bugs.webkit.org/show_bug.cgi?id=92238
Reviewed by Kentaro Hara.
As a step to let *explicit* keyword add to constructors which have a parameter,
*explicit* keyword is added to Source/WebCore/platform in order to avoid implicit
type conversion.
Some files in platform directory can't use explicit keyword because of build breaks.
No new tests. Covered by existing tests.
- platform/AutodrainedPool.h:
(AutodrainedPool):
- platform/ContentType.h:
(ContentType):
- platform/ContextMenu.h:
(ContextMenu):
- platform/ContextMenuItem.h:
(ContextMenuItem):
- platform/Cursor.h:
(WebCore::SharedCursor::SharedCursor):
(Cursor):
- platform/KURL.h:
(WebCore::KURL::KURL):
(KURL):
- platform/KURLGooglePrivate.h:
(KURLGooglePrivate):
- platform/PODRedBlackTree.h:
(WebCore::PODRedBlackTree::PODRedBlackTree):
- platform/Pasteboard.h:
(Pasteboard):
- platform/PlatformEvent.h:
(WebCore::PlatformEvent::PlatformEvent):
- platform/PlatformKeyboardEvent.h:
(PlatformKeyboardEvent):
- platform/PlatformMouseEvent.h:
(PlatformMouseEvent):
- platform/PlatformPasteboard.h:
(PlatformPasteboard):
- platform/PlatformTouchEvent.h:
(PlatformTouchEvent):
- platform/PlatformWheelEvent.h:
(PlatformWheelEvent):
- platform/RunLoop.h:
(TimerBase):
- platform/ScrollAnimator.h:
(ScrollAnimator):
- platform/ScrollAnimatorNone.h:
(ScrollAnimatorNone):
- platform/SharedBuffer.h:
(SharedBuffer):
- platform/WheelFlingPlatformGestureCurve.h:
(WheelFlingPlatformGestureCurve):
- platform/Widget.h:
(Widget):
- 1:48 AM Changeset in webkit [123715] by
-
- 17 edits4 adds in trunk
Web Inspector: Resource agent's reference to cached resources should be weak.
https://bugs.webkit.org/show_bug.cgi?id=92108
Reviewed by Pavel Feldman.
Source/WebCore:
NetworkResourcesData now stores a raw pointer to CachedResource.
CachedResource now notifies InspectorInstrumentation that it will be destroyed.
InspectorInstrumentation stores a set of InstrumentingAgents and broadcasts willDestroyCachedResource event to all available resourceAgents.
Destroyed resources content is saved to NetworkResourcesData.
Changed content size variables type in NetworkResourcesData from int to size_t.
Tests: http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html
http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html
- inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::inspectedPageDestroyed):
- inspector/InspectorInstrumentation.cpp:
(WebCore):
(WebCore::InspectorInstrumentation::willDestroyCachedResourceImpl):
(WebCore::InspectorInstrumentation::registerInstrumentingAgents):
(WebCore::InspectorInstrumentation::unregisterInstrumentingAgents):
- inspector/InspectorInstrumentation.h:
(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::willDestroyCachedResource):
(WebCore):
- inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::didReceiveData):
(WebCore::InspectorResourceAgent::willDestroyCachedResource):
(WebCore):
(WebCore::InspectorResourceAgent::getResponseBody):
- inspector/InspectorResourceAgent.h:
(InspectorResourceAgent):
- inspector/NetworkResourcesData.cpp:
(WebCore::NetworkResourcesData::ResourceData::ResourceData):
(WebCore::NetworkResourcesData::ResourceData::setContent):
(WebCore::NetworkResourcesData::ResourceData::dataLength):
(WebCore::NetworkResourcesData::ResourceData::appendData):
(WebCore::NetworkResourcesData::ResourceData::decodeDataToContent):
(WebCore::NetworkResourcesData::setResourceContent):
(WebCore::NetworkResourcesData::maybeAddResourceData):
(WebCore::NetworkResourcesData::maybeDecodeDataToContent):
(WebCore::NetworkResourcesData::removeCachedResource):
(WebCore):
(WebCore::NetworkResourcesData::setResourcesDataSizeLimits):
(WebCore::NetworkResourcesData::ensureFreeSpace):
- inspector/NetworkResourcesData.h:
(ResourceData):
(WebCore::NetworkResourcesData::ResourceData::base64Encoded):
(WebCore::NetworkResourcesData::ResourceData::cachedResource):
(NetworkResourcesData):
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::~CachedResource):
(WebCore::CachedResource::removeClient):
(WebCore::CachedResource::deleteIfPossible):
- loader/cache/CachedResource.h:
(CachedResource):
- loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired):
(WebCore::CachedResourceLoader::garbageCollectDocumentResources):
(WebCore::CachedResourceLoader::clearPreloads):
- loader/cache/CachedResourceLoader.h:
(CachedResourceLoader):
- loader/cache/MemoryCache.cpp:
(WebCore::MemoryCache::evict):
- testing/InternalSettings.cpp:
- testing/Internals.cpp:
(WebCore::Internals::garbageCollectDocumentResources):
(WebCore):
- testing/Internals.h:
(Internals):
LayoutTests:
- http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt: Added.
- http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html: Added.
- http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt: Added.
- http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html: Added.
- 1:32 AM Changeset in webkit [123714] by
-
- 2 edits2 adds in trunk
Fix null ptr deref in CSSParser::storeVariableDeclaration().
https://bugs.webkit.org/show_bug.cgi?id=92333
Reviewed by Andreas Kling.
Fix null pointer deref that occurs if the CSSParserValue couldn't be converted to a CSSValue.
Test fast/css/variables/variable-unparseable-value-crash.html added.
- css/CSSParser.cpp:
(WebCore::CSSParser::storeVariableDeclaration):
- 1:11 AM Changeset in webkit [123713] by
-
- 14 edits48 adds in trunk
Source/WebCore: Add UserAgentShadowDOM to FormControlElement just before adding AuthorShadowDOM
https://bugs.webkit.org/show_bug.cgi?id=90866
Reviewed by Hajime Morita.
It ensures that UserAgentShadowDOM is the oldest ShadowDOM.
To show ValidationMessage, WebKit adds a Shadow DOM to some of FormControlElements.
ValidationMessage assumes that the added Shadow DOM is the oldest, however, there was a case
that a page author might add a Shadow DOM before ValidationMessage adds a Shadow DOM.
It will break the assumption that the Shadow DOM added by ValidationMessage is the oldest.
So we have prohibited a page author adding a Shadow DOM to FormControlElement.
To add UserAgentShadowDOM, we use a callback which is called before a page author adding a Shadow DOM.
It adds a UserAgentShadowDOM if it does not exist, so we can ensure that UserAgentShadowDOM is the oldest.
Tests: fast/dom/shadow/input-with-validation-without-shadow.html
fast/dom/shadow/input-with-validation.html
fast/dom/shadow/shadowdom-for-button-complex-shadow.html
fast/dom/shadow/shadowdom-for-button-only-shadow.html
fast/dom/shadow/shadowdom-for-button-without-shadow.html
fast/dom/shadow/shadowdom-for-fieldset-complex-shadow.html
fast/dom/shadow/shadowdom-for-fieldset-only-shadow.html
fast/dom/shadow/shadowdom-for-fieldset-without-shadow.html
fast/dom/shadow/shadowdom-for-form-associated-element-useragent.html
fast/dom/shadow/shadowdom-for-keygen-complex-shadow.html
fast/dom/shadow/shadowdom-for-keygen-only-shadow.html
fast/dom/shadow/shadowdom-for-keygen-without-shadow.html
fast/dom/shadow/shadowdom-for-object-complex-shadow.html
fast/dom/shadow/shadowdom-for-object-only-shadow.html
fast/dom/shadow/shadowdom-for-object-without-shadow.html
fast/dom/shadow/shadowdom-for-output-complex-shadow.html
fast/dom/shadow/shadowdom-for-output-only-shadow.html
fast/dom/shadow/shadowdom-for-output-without-shadow.html
fast/dom/shadow/shadowdom-for-select-complex-shadow.html
fast/dom/shadow/shadowdom-for-select-only-shadow.html
fast/dom/shadow/shadowdom-for-select-without-shadow.html
fast/dom/shadow/shadowdom-for-textarea-complex-shadow.html
fast/dom/shadow/shadowdom-for-textarea-only-shadow.html
fast/dom/shadow/shadowdom-for-textarea-without-shadow.html
- dom/ShadowRoot.cpp:
(WebCore::allowsAuthorShadowRoot):
- html/FormAssociatedElement.cpp:
(WebCore::FormAssociatedElement::ensureUserAgentShadowRoot): Ensures the existence of a UserAgentShadowRoot.
If it does not exist, we create it with empty content.
(WebCore):
- html/FormAssociatedElement.h:
(FormAssociatedElement):
- html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::willAddAuthorShadowRoot):
(WebCore):
- html/HTMLFormControlElement.h:
(HTMLFormControlElement):
- html/ValidationMessage.cpp:
(WebCore::adjustBubblePosition): When AuthroShadowRoot does not a shadow element, ValidationMessage
does not have a renderer. So we have to check the existence of renderer.
(WebCore::ValidationMessage::buildBubbleTree):
LayoutTests: Add UserAgentShadowDOM to FormControlElement just before ading UserShadowDOM
https://bugs.webkit.org/show_bug.cgi?id=90866
Reviewed by Hajime Morita.
Added a lot of tests of ShadowDOM for replaced elements. They don't crash,
but many of them are not rendered correctly. Please see Bug 82313,
which is a meta bug of Shadow DOM for replaced elements.
- fast/dom/shadow/input-with-validation-expected.html: Added.
- fast/dom/shadow/input-with-validation-without-shadow-expected.html: Added.
- fast/dom/shadow/input-with-validation-without-shadow.html: Added.
- fast/dom/shadow/input-with-validation.html: Added.
- fast/dom/shadow/shadow-disable-expected.txt:
- fast/dom/shadow/shadow-disable.html:
- fast/dom/shadow/shadowdom-for-button-complex-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-button-complex-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-button-only-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-button-only-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-button-without-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-button-without-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-fieldset-complex-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-fieldset-complex-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-fieldset-only-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-fieldset-only-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-fieldset-without-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-fieldset-without-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-form-associated-element-useragent-expected.txt: Added.
- fast/dom/shadow/shadowdom-for-form-associated-element-useragent.html: Added.
- fast/dom/shadow/shadowdom-for-keygen-complex-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-keygen-complex-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-keygen-only-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-keygen-only-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-keygen-without-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-keygen-without-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-object-complex-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-object-complex-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-object-only-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-object-only-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-object-without-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-object-without-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-output-complex-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-output-complex-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-output-only-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-output-only-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-output-without-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-output-without-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-select-complex-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-select-complex-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-select-only-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-select-only-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-select-without-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-select-without-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-textarea-complex-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-textarea-complex-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-textarea-only-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-textarea-only-shadow.html: Added.
- fast/dom/shadow/shadowdom-for-textarea-without-shadow-expected.html: Added.
- fast/dom/shadow/shadowdom-for-textarea-without-shadow.html: Added.
- platform/chromium/TestExpectations:
- platform/efl/TestExpectations:
- platform/qt/Skipped:
- platform/wincairo/Skipped:
- 12:48 AM Changeset in webkit [123712] by
-
- 2 edits in trunk/Tools
Unreviewed attempt to fix the chromium-win build.
- DumpRenderTree/chromium/TestRunner/TestRunner.cpp:
- 12:06 AM Changeset in webkit [123711] by
-
- 37 edits in trunk
.: [DRT] LTC:: pageNumberForElementById() could be moved to Internals.
https://bugs.webkit.org/show_bug.cgi?id=92091
Reviewed by Adam Barth.
Exporting Internals::pageNumber symbols for the Gtk build.
- Source/autotools/symbols.filter:
Source/WebCore: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091
Reviewed by Adam Barth.
Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.
Covered by existing test cases.
- testing/Internals.cpp:
(WebCore::Internals::counterValue):
(WebCore):
(WebCore::Internals::pageNumber):
- testing/Internals.h:
(Internals):
(WebCore::Internals::pageNumber):
- testing/Internals.idl:
Source/WebKit/efl: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091
Reviewed by Adam Barth.
Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.
- WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
Source/WebKit/gtk: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091
Reviewed by Adam Barth.
Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.
- WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
- WebCoreSupport/DumpRenderTreeSupportGtk.h:
(DumpRenderTreeSupportGtk):
Source/WebKit/qt: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091
Reviewed by Adam Barth.
Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.
- WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- WebCoreSupport/DumpRenderTreeSupportQt.h:
Source/WebKit/win: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091
Reviewed by Adam Barth.
Moved the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.
- WebFrame.cpp: Added comment for removing the function. Removed implementation.
Tools: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091
Reviewed by Adam Barth.
Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.
- DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::staticFunctions):
- DumpRenderTree/LayoutTestController.h:
(LayoutTestController):
- DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
- DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::setPrinting):
- DumpRenderTree/chromium/LayoutTestController.h:
(LayoutTestController):
- DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
- DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
- DumpRenderTree/mac/LayoutTestControllerMac.mm:
- DumpRenderTree/qt/LayoutTestControllerQt.cpp:
- DumpRenderTree/qt/LayoutTestControllerQt.h:
(LayoutTestController):
- DumpRenderTree/win/LayoutTestControllerWin.cpp:
- DumpRenderTree/wx/LayoutTestControllerWx.cpp:
- WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
- WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
(WTR):
- WebKitTestRunner/InjectedBundle/LayoutTestController.h:
(LayoutTestController):
LayoutTests: [DRT] LTC:: pageNumberForElementById() could be moved to Internals
https://bugs.webkit.org/show_bug.cgi?id=92091
Reviewed by Adam Barth.
Move the pageNumberForElementById from LayoutTestCotroller to Internals and
remove the old platform specific implementations as it exclusively tests WebCore functionality.
- printing/pageNumerForElementById-expected.txt:
- printing/resources/paged-media-test-utils.js:
(pageNumberForElementShouldBe):
- printing/return-from-printing-mode.html:
- printing/script-tests/pageNumerForElementById.js:
Jul 25, 2012:
- 11:37 PM Changeset in webkit [123710] by
-
- 6 edits in trunk/Source/WebKit/chromium
IndexedDB: WebKit API interfaces for "upgradeneeded" methods and events
https://bugs.webkit.org/show_bug.cgi?id=92203
Reviewed by Adam Barth.
This is the beginning of our typical three-sided-patch process.
- public/WebIDBCallbacks.h:
(WebKit::WebIDBCallbacks::onBlocked):
(WebKit::WebIDBCallbacks::onUpgradeNeeded):
- public/WebIDBDatabaseCallbacks.h:
(WebKit::WebIDBDatabaseCallbacks::onVersionChange):
- public/WebIDBFactory.h:
(WebIDBFactory):
(WebKit::WebIDBFactory::open):
- src/WebIDBFactoryImpl.cpp:
(WebKit::WebIDBFactoryImpl::open):
(WebKit):
- src/WebIDBFactoryImpl.h:
(WebIDBFactoryImpl):
- 11:30 PM Changeset in webkit [123709] by
-
- 2 edits in trunk/Source/Platform
Upstream declaration of WebGraphicsContext3D::createStreamTextureCHROMIUM() for android
https://bugs.webkit.org/show_bug.cgi?id=92308
Patch by Min Qin <qinmin@chromium.org> on 2012-07-25
Reviewed by Adam Barth.
For android, we need 2 calls to create and destroy the stream texture.
This change adds the interface for these 2 calls.
The actual implementation will be in webgraphicscontext3d_in_process_impl and webgraphicscontext3d_command_buffer_impl.
- chromium/public/WebGraphicsContext3D.h:
(WebGraphicsContext3D):
(WebKit::WebGraphicsContext3D::createStreamTextureCHROMIUM):
(WebKit::WebGraphicsContext3D::destroyStreamTextureCHROMIUM):
- 11:06 PM Changeset in webkit [123708] by
-
- 2 edits in trunk/Source/JavaScriptCore
Build fix for 32-bit after r123682
- runtime/JSObject.h: Need to pad out JSObjects on 32-bit so that they're the correct size since
we only removed one 4-byte word and we need to be 8-byte aligned.
(JSObject):
- 9:02 PM Changeset in webkit [123707] by
-
- 1 edit in branches/chromium/1180/Source/WebKit/chromium/src/WebPagePopupImpl.cpp
Merge 123619 - [chromium] Calendar picker popup displays at wrong scale when deviceScaleFactor != 1.
https://bugs.webkit.org/show_bug.cgi?id=92177
Manually tested at deviceScaleFactor = 1 and 2.
Patch by Kevin Ellis <kevers@chromium.org> on 2012-07-25
Reviewed by Kent Tamura.
The device scale factor was not being set for the calendar popup.
As a result, the popup was rendered too small on hidpi displays.
This patch sets the device scale factor for any page popup.
- src/WebPagePopupImpl.cpp:
(WebKit::WebPagePopupImpl::initPage):
TBR=tkent@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10829030
- 8:26 PM Changeset in webkit [123706] by
-
- 7 edits in trunk
[Chromium][Win] <progress> animation on RTL direction is reverse
https://bugs.webkit.org/show_bug.cgi?id=92236
Reviewed by Kent Tamura.
Source/WebCore:
This change modfies the way to handle RTL progress bar painting.
Originally it computes the flipped coordinates. This change uses transformation for the flip.
DirectionFlippingScope handles it.
- rendering/RenderThemeChromiumLinux.cpp:
(WebCore::RenderThemeChromiumLinux::paintProgressBar): Applied DirectionFlippingScope
- rendering/RenderThemeChromiumSkia.cpp:
(WebCore::RenderThemeChromiumSkia::determinateProgressValueRectFor):
- Deleted RTL handling in favor of DirectionFlippingScope
(WebCore::RenderThemeChromiumSkia::DirectionFlippingScope::DirectionFlippingScope):
(WebCore):
(WebCore::RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope):
- rendering/RenderThemeChromiumSkia.h:
(RenderThemeChromiumSkia):
(DirectionFlippingScope): Added.
- rendering/RenderThemeChromiumWin.cpp:
(WebCore):
(WebCore::RenderThemeChromiumWin::paintProgressBar): Applied DirectionFlippingScope
LayoutTests:
Updated the expectation file which went slightly different.
- platform/chromium-linux/fast/dom/HTMLProgressElement/progress-element-expected.png:
- 8:24 PM Changeset in webkit [123705] by
-
- 7 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=92260
Repalce "int" with "long" from WebCore/*.idls
Patch by Vineet Chaudhary <Vineet> on 2012-07-25
Reviewed by Adam Barth.
As per the WebIDL spec IDL shouldn't have int attributes but long instead.
Repalced attributes types int with long from WebCore/*.idls.
No new tests. TestObj.idl already covers this.
There should be no behavioural changes.
- dom/Touch.idl: Repalce int with long.
- dom/WebKitNamedFlow.idl: Ditto.
- html/canvas/ArrayBuffer.idl: Ditto.
- html/canvas/WebGLActiveInfo.idl: Ditto.
- html/canvas/WebGLShaderPrecisionFormat.idl: Ditto.
- page/WebKitAnimation.idl: Ditto.
- 8:10 PM Changeset in webkit [123704] by
-
- 3 edits4 adds in trunk
The elements in ShadowDOM of meter or progress should not be modifiable.
https://bugs.webkit.org/show_bug.cgi?id=92199
Reviewed by Hajime Morita.
Source/WebCore:
A user can set -webkit-user-modify: read-write to the elements in Shadow DOM in a meter or progress element.
This might cause a undesired crash like Bug 65738. They should be unmodifiable.
We add default css values to elements in ShadowDOM of meter or progress to prohibit editing them.
Tests: fast/html/meter-user-modify.html
fast/html/progress-user-modify.html
- css/html.css:
Added -webkit-user-modify: read-only !important; for these elements so that they won't be
changed by a user.
(meter::-webkit-meter-bar):
(meter::-webkit-meter-optimum-value):
(meter::-webkit-meter-suboptimum-value):
(meter::-webkit-meter-even-less-good-value):
(progress::-webkit-progress-bar):
(progress::-webkit-progress-value):
LayoutTests:
- fast/html/meter-user-modify.html: Added.
- fast/html/meter-user-modify-expected.txt: Added.
- fast/html/progress-user-modify.html: Added.
- fast/html/progress-user-modify-expected.txt: Added.
- 8:02 PM Changeset in webkit [123703] by
-
- 5 edits in trunk/Source/WebKit2
[EFL][WK2] Implement the inspector for WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=92213
Patch by Seokju Kwon <seokju.kwon@samsung.com> on 2012-07-25
Reviewed by Ryosuke Niwa.
Partial Implementation of WebInspectorProxyEfl for WebkitTestRunner.
And Web Inspector resources installation.
- PlatformEfl.cmake:
- UIProcess/WebInspectorProxy.cpp:
(WebKit::WebInspectorProxy::WebInspectorProxy):
- UIProcess/WebInspectorProxy.h:
(WebInspectorProxy):
- UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
(WebKit::WebInspectorProxy::platformDidClose):
(WebKit::WebInspectorProxy::inspectorPageURL):
(WebKit::WebInspectorProxy::inspectorBaseURL):
- 7:52 PM Changeset in webkit [123702] by
-
- 4 edits in trunk/Source/WebCore
[BlackBerry] GraphicsContext3D::paintToCanvas should not swap 0th and 2nd components of color
https://bugs.webkit.org/show_bug.cgi?id=92314
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-25
Reviewed by Rob Buis.
No new tests, because it corrects existing functionality, but it makes BlackBerry
pass canvas-text.html and others.
- platform/graphics/GraphicsContext3D.h:
- platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
(WebCore::GraphicsContext3D::paintToCanvas):
- platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
(WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
- 7:46 PM Changeset in webkit [123701] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] GraphicsContext3D::reshapeFBOs does not report when bound FBOs should be restored
https://bugs.webkit.org/show_bug.cgi?id=92304
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-25
Reviewed by Rob Buis.
No new tests, because it corrects existing functionality, but it makes BlackBerry
pass framebuffer-bindings-unaffected-on-resize.html.
- platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
(WebCore::GraphicsContext3D::reshapeFBOs):
- 7:36 PM Changeset in webkit [123700] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] readPixels should set alpha to 255 instead of 0 when alpha is disabled
https://bugs.webkit.org/show_bug.cgi?id=92303
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-25
Reviewed by Rob Buis.
No new tests, because it corrects existing functionality, but it makes BlackBerry
pass context-attributes-alpha-depth-stencil-antialias.html.
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::readPixels):
- 7:32 PM Changeset in webkit [123699] by
-
- 2 edits in trunk/Source/WebCore
[WebGL] fast/canvas/webgl/framebuffer-object-attachment.html fails on certain platforms
https://bugs.webkit.org/show_bug.cgi?id=92296
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-25
Reviewed by Rob Buis.
No new tests, because it introduces no new functionality, only fixes the above mentioned test.
- html/canvas/WebGLFramebuffer.cpp:
(WebCore::WebGLFramebuffer::checkStatus):
- 7:30 PM Changeset in webkit [123698] by
-
- 8 edits in trunk
IndexedDB: IDBTransaction::abort() should throw DOMException
https://bugs.webkit.org/show_bug.cgi?id=92069
Patch by Xingnan Wang <xingnan.wang@intel.com> on 2012-07-25
Reviewed by Kentaro Hara.
Source/WebCore:
Keep aligned with the W3C spec.
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBTransaction-abort-void
Test: storage/indexeddb/transaction-abort.html.
- Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::abort):
(WebCore):
- Modules/indexeddb/IDBTransaction.h:
(IDBTransaction):
- Modules/indexeddb/IDBTransaction.idl:
LayoutTests:
Add the exception test for IDBTransaction::abort().
- storage/indexeddb/resources/transaction-abort.js:
(transactionAborted):
- storage/indexeddb/transaction-abort-expected.txt:
- 7:28 PM Changeset in webkit [123697] by
-
- 1 edit9 adds in trunk/LayoutTests
[BlackBerry] Update fast/canvas/webgl expectations
https://bugs.webkit.org/show_bug.cgi?id=92309
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-25
Reviewed by Rob Buis.
Add the css-webkit-canvas-* files, because we render them correctly.
There is nothing we can do about running out of memory on draw-elements-out-of-bounds,
so make that expected.
Our output for framebuffer-object-attachement-expected.txt is valid.
- platform/blackberry/fast/canvas/webgl/css-webkit-canvas-expected.png: Added.
- platform/blackberry/fast/canvas/webgl/css-webkit-canvas-expected.txt: Added.
- platform/blackberry/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Added.
- platform/blackberry/fast/canvas/webgl/css-webkit-canvas-repaint-expected.txt: Added.
- platform/blackberry/fast/canvas/webgl/draw-elements-out-of-bounds-expected.txt: Added.
- platform/blackberry/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Added.
- 7:24 PM Changeset in webkit [123696] by
-
- 3 edits2 adds in trunk
flexitems can overflow the flexbox due to rounding
https://bugs.webkit.org/show_bug.cgi?id=92163
Reviewed by Levi Weintraub.
Source/WebCore:
Don't round flex item sizes and use LayoutPoint for the location of flex items.
Test: css3/flexbox/flex-rounding.html
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::resolveFlexibleLengths):
(WebCore::RenderFlexibleBox::layoutAndPlaceChildren):
(WebCore::RenderFlexibleBox::layoutColumnReverse):
LayoutTests:
Tests for dividing space in non-integral amounts.
- css3/flexbox/flex-rounding-expected.txt: Added.
- css3/flexbox/flex-rounding.html: Added.
- 7:19 PM Changeset in webkit [123695] by
-
- 3 edits2 adds in trunk/Tools
TestRunner.a should contain a TestRunner object
https://bugs.webkit.org/show_bug.cgi?id=92313
Reviewed by Kent Tamura.
This patch adds a stub implementation of TestRunner, which is the new
home for our implementation of window.testRunner. A future patch will
migrate functions from LayoutTestController to TestRunner.
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/chromium/LayoutTestController.h:
- DumpRenderTree/chromium/TestRunner/TestRunner.cpp: Added.
- DumpRenderTree/chromium/TestRunner/TestRunner.h: Added.
- 7:16 PM Changeset in webkit [123694] by
-
- 3 edits in trunk/Source/WebCore
[BlackBerry] Integrate certmgr with CredentialBackingStore
https://bugs.webkit.org/show_bug.cgi?id=92183
Patch by Jonathan Dong <Jonathan Dong> on 2012-07-25
Reviewed by George Staikos.
Integrated BlackBerry::Platform::CertMgrWrapper with
CredentialBackingStore, when certmgr is ready we save
the password in certmgr and retrieve it from certmgr.
RIM PR: 171991
Internally reviewed by Joe Mason <jmason@rim.com>.
No new tests since there's no functional change.
- platform/network/blackberry/CredentialBackingStore.cpp:
(WebCore::hashCredentialInfo):
(WebCore):
(WebCore::CredentialBackingStore::CredentialBackingStore):
(WebCore::CredentialBackingStore::open):
(WebCore::CredentialBackingStore::addLogin):
(WebCore::CredentialBackingStore::updateLogin):
(WebCore::CredentialBackingStore::getLogin):
- platform/network/blackberry/CredentialBackingStore.h:
(CredentialBackingStore):
- 7:14 PM Changeset in webkit [123693] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Support RTSP in browser
https://bugs.webkit.org/show_bug.cgi?id=92233
Patch by Jonathan Dong <Jonathan Dong> on 2012-07-25
Reviewed by Rob Buis.
Handle URL scheme "rtsp://" before creating the DocumentLoader
and send the request to webkit. As we don't have any application
which can deal with rtsp invocation for now, we need to create
a media document to wrap the rtsp url within a video tag which
makes it load as a normal video clip.
RIM PR: 169669
Internally reviewed by Charles Wei <charles.wei@torchmobile.com.cn>.
- WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::createDocumentLoader):
- 7:05 PM Changeset in webkit [123692] by
-
- 4 edits in trunk/LayoutTests
[Tests] Re-factor fast/forms/number/number-spinbutton-change-and-input-events.html
https://bugs.webkit.org/show_bug.cgi?id=92206
Reviewed by Kent Tamura.
For ease of maintenance and improving test coverage with low cost, I
would like to make a test script of number-spinbutton-change-and-inputs.html
sharable with other input types which have spin button.
This patch moves JavaScript codes from test HTML file to shared JavaScript
file, common-spinbutton-change-and-input-events.html with parametrized
entry point for specifying input type.
- fast/forms/number/number-spinbutton-change-and-input-events-expected.txt: Changed "numnber" to "number", and "numberInput" to "testInput".
- fast/forms/number/number-spinbutton-change-and-input-events.html: Removed JavaScript code.
- fast/forms/resources/common-spinbutton-change-and-input-events.js: Removed HTML code. Made entry point. Changed to support testing without maximum value.
- 6:36 PM Changeset in webkit [123691] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION(r121420): Performance regression of form state saving for pages with multiple forms
https://bugs.webkit.org/show_bug.cgi?id=91804
Reviewed by Hajime Morita.
The complexity of FormKeyGenerator::formKey() was O(N) where N is the
number form elements with an identical action URL, and formKey() is
called for every form. So, it's O(N2). A page in www.reddit.com
contains hundreds of form elements with action="#". So FormController::
formElementsState() took a few seconds on a slow machine.
In order to avoid O(N2) operation, storing a map from form signatures
to next index numbers, instead of storing existing formKey strings.
No new tests. Just a performance improvement.
Note: This is a re-landing of r123191. We rolled it out because of
suspicion of a performance regression. However it was innocent.
- html/FormController.cpp:
(FormKeyGenerator): Remove m_existingKeys. Add a map from a form
signature string to the next index number.
(WebCore::formSignature): Returns a signature string for a form, without
an index number. This is like "actionURL [name1 name2 ]"
(WebCore::FormKeyGenerator::formKey):
Creates a formKey string by concatenating a formSignature and #n. N is
obtained from m_formSignatureToNextIndexMap in O(1).
(WebCore::FormKeyGenerator::willDeleteForm):
Remove the code for m_existingKeys.
- 6:22 PM Changeset in webkit [123690] by
-
- 7 edits1 add in trunk/Source/JavaScriptCore
JSC GC object copying APIs should allow for greater flexibility
https://bugs.webkit.org/show_bug.cgi?id=92316
Reviewed by Mark Hahnenberg.
It's now the case that visitChildren() methods can directly pin and allocate in new space during copying.
They can also do the copying and marking themselves. This new API is only used for JSObjects for now.
- JavaScriptCore.xcodeproj/project.pbxproj:
- heap/MarkStack.cpp:
(JSC::SlotVisitor::allocateNewSpaceSlow):
(JSC::SlotVisitor::allocateNewSpaceOrPin):
(JSC):
(JSC::SlotVisitor::copyAndAppend):
- heap/MarkStack.h:
(MarkStack):
(JSC::MarkStack::appendUnbarrieredValue):
(JSC):
- heap/SlotVisitor.h:
- heap/SlotVisitorInlineMethods.h: Added.
(JSC):
(JSC::SlotVisitor::checkIfShouldCopyAndPinOtherwise):
(JSC::SlotVisitor::allocateNewSpace):
- runtime/JSObject.cpp:
(JSC::JSObject::visitOutOfLineStorage):
(JSC):
(JSC::JSObject::visitChildren):
(JSC::JSFinalObject::visitChildren):
- runtime/JSObject.h:
(JSObject):
- 6:05 PM Changeset in webkit [123689] by
-
- 9 edits in trunk/Source
Initialize QualifiedName's strings from the read only data segment
https://bugs.webkit.org/show_bug.cgi?id=92226
Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-07-25
Reviewed by Anders Carlsson.
Source/WebCore:
Modify the initialization of static QualifiedName to initialize the AtomicString
with the data from the read only memory.
Overall, HTMLNames::init() gets 10% faster.
- dom/QualifiedName.cpp:
(WebCore::QualifiedName::QualifiedName):
- dom/QualifiedName.h:
(QualifiedName):
Remove the useless constructor taking a char* and get rid of the init() function.
The AtomicString representing the name should be constructed by the caller of QualifiedName.
Because the init() code is relatively large and is only executed once, it is important to
keep the AtomicString construction separate. The function createQualifiedName() was added
to improve the cache use. The short version let us reduce the code one more instruction per
call.
- dom/make_names.pl:
(printQualifiedNameMaker):
(printShortQualifiedNameMaker):
(printNamesCppFile):
(printDefinitions):
Source/WTF:
Add constructors for StringImpl and AtomicString to be able to create
the strings from the literal in read only memory.
- wtf/text/AtomicString.cpp:
(HashTranslatorCharBuffer):
(WTF::LCharBufferFromLiteralDataTranslator::hash):
(LCharBufferFromLiteralDataTranslator):
(WTF::LCharBufferFromLiteralDataTranslator::equal):
(WTF::LCharBufferFromLiteralDataTranslator::translate):
(WTF::AtomicString::addFromLiteralData):
- wtf/text/AtomicString.h:
(WTF::AtomicString::AtomicString):
(AtomicString):
- wtf/text/StringImpl.cpp:
(WTF::StringImpl::createFromLiteral):
- wtf/text/StringImpl.h:
(WTF):
(StringImpl):
(WTF::StringImpl::createFromLiteral):
- 6:01 PM Changeset in webkit [123688] by
-
- 4 edits in trunk/Source/WebKit/win
Changes to the WebFrame API cause dependent apps to crash.
https://bugs.webkit.org/show_bug.cgi?id=91656
<rdar://problem/11904605>
Patch by Roger Fong <roger_fong@apple.com> on 2012-07-25
Reviewed by Jon Honeycutt.
Changes to the WebFrame API cause certain apps to crash because of inconsistencies in the COM interface.
The resumeAnimations and suspendAnimations are removed, which are still needed.
The counterValueByElementId method was also removed, although is not needed there.
However, for all of these methods, no method stubs were added where appropriate after removal.
- Interfaces/IWebFramePrivate.idl:
Added resumeAnimations() and suspendAnimations() methods back in. Added unused method stub for counterValueByElementId method.
- WebFrame.cpp:
(WebFrame::resumeAnimations):
Added this method back in.
(WebFrame::suspendAnimations):
Added this method back in.
- WebFrame.h:
(Re)added methods and unused method stubs.
- 6:01 PM Changeset in webkit [123687] by
-
- 9 edits in trunk/Source/WebCore
[Forms] Move HTMLInputElement::updateInnerTextValue to InputType class
https://bugs.webkit.org/show_bug.cgi?id=92230
Reviewed by Kent Tamura.
This patch moves implementaion of HTMLInputElement::updateInnerTextValue()
into input type classes, removes updateInnerTextValue() from HTMLInputElement,
and updates call site of updateInnerTextValue().
No new tests. This patch doesn't change behavior.
- html/DateInputType.cpp:
(WebCore::DateInputType::handleBlurEvent): Updated call site of updateInnerTextValue().
- html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::updateType): Updated call site of updateInnerTextValue().
(WebCore::HTMLInputElement::parseAttribute): Updated call site of updateInnerTextValue().
(WebCore::HTMLInputElement::copyNonAttributePropertiesFromElement): Updated call site of updateInnerTextValue().
(WebCore::HTMLInputElement::setSuggestedValue): Updated call site of updateInnerTextValue().
- html/HTMLInputElement.h:
(HTMLInputElement): Removed updateInnerTextValue().
- html/InputType.cpp:
(WebCore::InputType::updateInnerTextValue): Added default implementaion.
- html/InputType.h:
(InputType): Added declaration of updateInnerTextValue().
- html/NumberInputType.cpp:
(WebCore::NumberInputType::handleBlurEvent): Updated call site of updateInnerTextValue().
- html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::setValue): Updated call site of updateInnerTextValue().
(WebCore::TextFieldInputType::updateInnerTextValue): Moved implementaion from HTMLInputElement.
- html/TextFieldInputType.h:
(TextFieldInputType): Added declaration of updateInnerTextValue().
- 5:57 PM Changeset in webkit [123686] by
-
- 4 edits in trunk/Source/WebCore
[chromium] Move ephemeral data for a single frame in LayerRendererChromium into a structure with a scoped lifetime equal to the frame
https://bugs.webkit.org/show_bug.cgi?id=92294
Reviewed by Adrienne Walker.
The LayerRendererChromium class has a number of member variables that are used
while drawing a single frame. Because they are member variables, their lifetimes
are not clear, and some are even updated between frames, which is not needed.
This change creates a LRC::DrawingFrame structure that holds the data used
while drawing the current frame, and an instance of this structure is held
and passed around to functions in LayerRendererChromium, moving all of the
data out from being member variables on the class to being function
arguments on the relevant methods.
The projection and window matrices are a part of this frame data, and are not
used externally, so they are removed from the CCRenderer interface and included
within the DrawingFrame structure.
Covered by existing tests, no change in behaviour intended.
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::LayerRendererChromium):
(WebCore::LayerRendererChromium::viewportChanged):
(WebCore::LayerRendererChromium::clearFramebuffer):
(WebCore::LayerRendererChromium::drawFrame):
(WebCore::LayerRendererChromium::drawRenderPass):
(WebCore::LayerRendererChromium::drawQuad):
(WebCore::LayerRendererChromium::drawCheckerboardQuad):
(WebCore::LayerRendererChromium::drawDebugBorderQuad):
(WebCore::LayerRendererChromium::drawBackgroundFilters):
(WebCore::LayerRendererChromium::drawRenderPassQuad):
(WebCore::LayerRendererChromium::drawSolidColorQuad):
(WebCore::LayerRendererChromium::drawTileQuad):
(WebCore::LayerRendererChromium::drawYUVVideoQuad):
(WebCore::LayerRendererChromium::drawStreamVideoQuad):
(WebCore::LayerRendererChromium::drawTextureQuad):
(WebCore::LayerRendererChromium::drawIOSurfaceQuad):
(WebCore::LayerRendererChromium::finishDrawingFrame):
(WebCore::LayerRendererChromium::drawTexturedQuad):
(WebCore::LayerRendererChromium::copyTextureToFramebuffer):
(WebCore::LayerRendererChromium::isCurrentRenderPass):
(WebCore::LayerRendererChromium::useRenderPass):
(WebCore::LayerRendererChromium::useScopedTexture):
(WebCore::LayerRendererChromium::bindFramebufferToTexture):
(WebCore::LayerRendererChromium::setScissorToRect):
(WebCore::LayerRendererChromium::setDrawFramebufferRect):
- platform/graphics/chromium/LayerRendererChromium.h:
(DrawingFrame):
(WebCore::LayerRendererChromium::DrawingFrame::DrawingFrame):
(LayerRendererChromium):
- platform/graphics/chromium/cc/CCRenderer.h:
(CCRenderer):
- 5:53 PM Changeset in webkit [123685] by
-
- 8 edits in trunk/Source
[chromium] Make all compositor screen space transforms operate on content rects
https://bugs.webkit.org/show_bug.cgi?id=91807
Reviewed by Kenneth Russell.
Source/WebCore:
Previously, surface screen space transforms operated on surface
content space but layer screen space transforms operated on layer
space. For the purpose of consistency, unify these two so that they
both operate on content space.
No tests, because no change in behavior expected. Just a refactoring.
- platform/graphics/chromium/LayerChromium.h:
(LayerChromium):
- platform/graphics/chromium/cc/CCDebugRectHistory.cpp:
(WebCore::CCDebugRectHistory::savePaintRects):
(WebCore::CCDebugRectHistory::savePropertyChangedRects):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::calculateDrawTransformsInternal):
(WebCore::CCLayerTreeHostCommon::findLayerThatIsHitByPoint):
- platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::::markOccludedBehindLayer):
(WebCore::::occluded):
(WebCore::::unoccludedContentRect):
Source/WebKit/chromium:
Update tests that deal with screen space transforms to reflect this change.
- tests/CCLayerTreeHostCommonTest.cpp:
- tests/TiledLayerChromiumTest.cpp:
- 5:30 PM Changeset in webkit [123684] by
-
- 3 edits4 adds in trunk
Hit testing in one column or in the gap between cloumns along the block axis can return a result from the wrong column
https://bugs.webkit.org/show_bug.cgi?id=92311
Reviewed by Anders Carlsson.
Source/WebCore:
Tests: fast/multicol/hit-test-end-of-column.html
fast/multicol/hit-test-gap-block-axis.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::positionForPointWithInlineChildren): To prevent hits after the last
line on a given column from returning the next line in the next column, added a check if
the hit occurred within the pagination strut of a line. Covered by the first test.
(WebCore::RenderBlock::adjustPointToColumnContents): Added clamp-to-column logic for the
block-axis case. This prevents hits near the bottom of the top half of the gap from bleeding
into the top of the next column. Covered by the second test.
LayoutTests:
- fast/multicol/hit-test-end-of-column-expected.txt: Added.
- fast/multicol/hit-test-end-of-column.html: Added.
- fast/multicol/hit-test-gap-block-axis-expected.txt: Added.
- fast/multicol/hit-test-gap-block-axis.html: Added.
- 5:24 PM Changeset in webkit [123683] by
-
- 4 edits in trunk/Source/WebCore
IndexedDB: Make db.version return an integer if appropriate
https://bugs.webkit.org/show_bug.cgi?id=92195
Reviewed by Tony Chang.
Make use of the existing IDBAny mechanism to return an integer if
integer versions have been used.
No new tests - no change in behavior expected.
- Modules/indexeddb/IDBDatabase.cpp:
(WebCore::IDBDatabase::version):
(WebCore):
- Modules/indexeddb/IDBDatabase.h:
(IDBDatabase):
- Modules/indexeddb/IDBDatabase.idl:
- 5:12 PM Changeset in webkit [123682] by
-
- 8 edits in trunk/Source/JavaScriptCore
Remove JSObject::m_inheritorID
https://bugs.webkit.org/show_bug.cgi?id=88378
Reviewed by Filip Pizlo.
This is rarely used, and not performance critical (the commonly accessed copy is cached on JSFunction),
and most objects don't need an inheritorID (this value is only used if the object is used as a prototype).
Instead use a private named value in the object's property storage.
- dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::emitAllocateBasicJSObject): No need m_inheritorID to initialize!
- jit/JITInlineMethods.h:
(JSC::JIT::emitAllocateBasicJSObject): No need m_inheritorID to initialize!
- llint/LowLevelInterpreter.asm: No need m_inheritorID to initialize!
- runtime/JSGlobalData.h:
(JSGlobalData): Added private name 'm_inheritorIDKey'.
- runtime/JSGlobalThis.cpp:
(JSC::JSGlobalThis::setUnwrappedObject): resetInheritorID is now passed a JSGlobalData&.
- runtime/JSObject.cpp:
(JSC::JSObject::visitChildren): No m_inheritorID to be marked.
(JSC::JSFinalObject::visitChildren): No m_inheritorID to be marked.
(JSC::JSObject::createInheritorID): Store the newly created inheritorID in the property map. Make sure
it's got the DontEnum attribute!!
- runtime/JSObject.h:
(JSObject):
(JSC::JSObject::resetInheritorID): Remove the inheritorID from property storage.
(JSC):
(JSC::JSObject::inheritorID): Read the inheritorID from property storage.
- 5:05 PM Changeset in webkit [123681] by
-
- 2 edits in trunk/Tools
[Chromium] Fix infinite loop issue for chromium android layout test
https://bugs.webkit.org/show_bug.cgi?id=92197
Patch by Wei James <james.wei@intel.com> on 2012-07-25
Reviewed by Adam Barth.
The change brought in by r123530 will cause infinite loop when running
Chromium Android Layout Test.
Revert the change for this line only.
- Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidPort._build_path):
- 4:48 PM Changeset in webkit [123680] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed chromium change to disable failing WebViewTest.AutoResizeInBetweenSizes.
https://bugs.webkit.org/show_bug.cgi?id=92318
- tests/WebViewTest.cpp:
- 4:42 PM Changeset in webkit [123679] by
-
- 12 edits in trunk/Source
Convert HTML parser to handle 8-bit resources without converting to UChar*
https://bugs.webkit.org/show_bug.cgi?id=90321
Reviewed by Geoffrey Garen.
Source/WebCore:
No new tests, no new functionality therefore covered by existing tests.
Changed the parsing of HTML to handle 8-bit strings without converting the
whole string to 16-bits. Primary change was to use the appropriate
character pointer type (LChar* or UChar*) depending on the source string.
This access is abstracted in SegmentedSubstring by getCurrentChar{8,16} and
incrementAndGetCurrentChar{8,16} methods. In SegmentedString, the advance()
and advanceAndUpdateLineNumber() methods have been refactored into a
state machine managed pair of function pointers. The possible functions
have not only the 8 and 16 bitness factored out, they also have the
"exclude line numbers" logic factored out for advanceAndUpdateLineNumber().
This provides a net speed-up even with the 8/16 bit testing.
Other changes involve using String methods to access and compare with the
source data.
- html/FTPDirectoryDocument.cpp:
(WebCore::FTPDirectoryDocumentParser::append): Changed to use currentChar()
instead of SegmentedString '*' operator.
- html/parser/HTMLEntityParser.cpp: Changed to use currentChar() instead of
SegmentedString '*' operator.
- html/parser/HTMLParserIdioms.cpp:
(WebCore::stripLeadingAndTrailingHTMLSpaces): Added 8-bit fast path.
- html/parser/HTMLSourceTracker.cpp:
(WebCore::HTMLSourceTracker::sourceForToken): Changed to use currentChar() instead of
SegmentedString '*' operator.
- loader/cache/CachedScript.cpp:
(WebCore::CachedScript::script): Updated to use new String::dataSize() method.
- platform/text/SegmentedString.cpp:
(WebCore::SegmentedString::SegmentedString):
(WebCore::SegmentedString::operator=):
(WebCore::SegmentedString::clear):
(WebCore::SegmentedString::append):
(WebCore::SegmentedString::prepend):
(WebCore::SegmentedString::advanceSubstring):
(WebCore::SegmentedString::advance): Changed to be a wrapper that invokes current
advance function.
(WebCore::SegmentedString::advance8): Fast path advance function for 8 bit data.
(WebCore::SegmentedString::advance16): Fast path advance function for 16 bit data.
(WebCore::SegmentedString::advanceAndUpdateLineNumber8IncludeLineNumbers): Fast
path advanceAndUpdateLineNumber for 8 bit data when we need to update the line number.
(WebCore::SegmentedString::advanceAndUpdateLineNumber16IncludeLineNumbers): Fast
path advanceAndUpdateLineNumber for 16 bit data when we need to update the line number.
(WebCore::SegmentedString::advanceSlowCase): Slow case advance function for both
8 and 16 bit advance.
(WebCore::SegmentedString::advanceAndUpdateLineNumberSlowCase): Slow case
advanceAndUpdateLineNumber function for both 8 and 16 bit data.
(WebCore::SegmentedString::advanceEmpty): Advance function when input has been exhausted.
- platform/text/SegmentedString.h:
(WebCore::SegmentedSubstring::SegmentedSubstring):
(WebCore::SegmentedSubstring::clear):
(SegmentedSubstring):
(WebCore::SegmentedSubstring::is8Bit): New getter.
(WebCore::SegmentedSubstring::appendTo):
(WebCore::SegmentedSubstring::getCurrentChar8): New getter for the 8 bit case.
(WebCore::SegmentedSubstring::getCurrentChar16): New getter for the 16 bit case.
(WebCore::SegmentedSubstring::incrementAndGetCurrentChar8): New wrapper functions
that pre-increments the 8 bit pointer and returns the next character.
(WebCore::SegmentedSubstring::incrementAndGetCurrentChar16): New wrapper functions
that pre-increments the 16 bit pointer and returns the next character.
(WebCore::SegmentedSubstring::currentSubString):
(WebCore::SegmentedSubstring::getCurrentChar):
(WebCore::SegmentedSubstring::incrementAndGetCurrentChar):
(WebCore::SegmentedString::SegmentedString):
(WebCore::SegmentedString::push):
(WebCore::SegmentedString::isEmpty):
(WebCore::SegmentedString::lookAhead):
(WebCore::SegmentedString::lookAheadIgnoringCase):
(WebCore::SegmentedString::advance):
(WebCore::SegmentedString::advanceAndUpdateLineNumber):
(WebCore::SegmentedString::advanceAndASSERT):
(WebCore::SegmentedString::advanceAndASSERTIgnoringCase):
(WebCore::SegmentedString::advancePastNonNewline):
(WebCore::SegmentedString::advancePastNewlineAndUpdateLineNumber):
(WebCore::SegmentedString::currentChar):
(WebCore::SegmentedString::setSlowCase): Set advance function pointers to slow case
functions.
(WebCore::SegmentedString::decrementAndCheckLength): Decrement substring length and
change to slow case functions when only one character left.
(WebCore::SegmentedString::setAdvanceFunctionPointers): Select appropriate advance
functions based on current substring.
(WebCore::SegmentedString::lookAheadInline): Changed to use String::startsWith().
(WebCore::SegmentedString::lookAheadSlowCase):
- xml/parser/CharacterReferenceParserInlineMethods.h:
(WebCore::consumeCharacterReference): Changed to use currentChar() instead of
SegmentedString '*' operator.
- xml/parser/MarkupTokenizerBase.h:
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::nextInputCharacter):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::peek): Changed to use
currentChar() instead of SegmentedString '*' operator.
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::advance):
Source/WTF:
- wtf/text/WTFString.h:
(WTF::String::dataSize): New method to return the number of bytes
the string requires. This replaces a harcoded calculation based on
length and sizeof(UChar).
- 4:41 PM Changeset in webkit [123678] by
-
- 3 edits1 move2 deletes in trunk/LayoutTests
Improve the output of editing/pasteboard/paste-noscript-xhtml.xhtml
https://bugs.webkit.org/show_bug.cgi?id=92307
Reviewed by Tony Chang.
Use dump-as-markup to improve the readability of output, and removed replaced the call to sayHello in iframe's src
content attribute by a call to alert("hello") so that reference error doesn't show up on the result, and moved
the resource from editing/resources to editing/pasteboard/resources as it's not used elsewhere.
- editing/pasteboard/paste-noscript-xhtml-expected.txt:
- editing/pasteboard/paste-noscript-xhtml.xhtml:
- editing/pasteboard/resources/paste-noscript-content.html: Copied from LayoutTests/editing/resources/htmlcontent.html.
- editing/resources/htmlcontent.html: Removed.
- platform/chromium-mac/editing/pasteboard/paste-noscript-xhtml-expected.txt: Removed.
- platform/chromium-win/editing/pasteboard/paste-noscript-xhtml-expected.txt: Removed.
- 4:39 PM Changeset in webkit [123677] by
-
- 8 edits in branches/chromium/1180/Source/WebCore
Merge 123495 - Files from drag and file <input> should use getMIMETypeForExtension to determine content type.
https://bugs.webkit.org/show_bug.cgi?id=91702
Reviewed by Jian Li.
Awhile back, we changed File to only use getWellKnownMIMETypeForExtension to prevent web
pages from being able to detect what applications a user has installed indirectly through
the MIME types. However, some sites like YouTube's drag and drop uploader use MIME types
that aren't in WebKit's internal list, so we relax the restriction for Files that originate
from an user action.
- fileapi/File.cpp:
(WebCore::getContentTypeFromFileName):
(WebCore::createBlobDataForFile):
(WebCore::createBlobDataForFileWithName):
(WebCore::createBlobDataForFileWithMetadata):
(WebCore::File::createWithRelativePath):
(WebCore::File::File):
- fileapi/File.h:
(File):
(WebCore::File::create):
(WebCore::File::createWithName):
- html/FileInputType.cpp:
(WebCore::FileInputType::createFileList):
- platform/chromium/ChromiumDataObject.cpp:
(WebCore::ChromiumDataObject::addFilename):
- platform/gtk/ClipboardGtk.cpp:
(WebCore::ClipboardGtk::files):
- platform/mac/ClipboardMac.mm:
(WebCore::ClipboardMac::files):
- platform/qt/ClipboardQt.cpp:
(WebCore::ClipboardQt::files):
- platform/win/ClipboardWin.cpp:
(WebCore::ClipboardWin::files):
TBR=dcheng@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10821032
- 4:32 PM Changeset in webkit [123676] by
-
- 2 edits in trunk/Source/WebKit/chromium
[Chromium] fix double->float warnings in CCLayerTreeHostCommonTest.cpp
https://bugs.webkit.org/show_bug.cgi?id=92271
Patch by Scott Graham <scottmg@chromium.org> on 2012-07-25
Reviewed by Adrienne Walker.
Fix compile warnings on Windows.
- tests/CCLayerTreeHostCommonTest.cpp:
- 4:29 PM Changeset in webkit [123675] by
-
- 23 edits in trunk/Source/WebCore
Unreviewed, rolling out r123625 and r123672.
http://trac.webkit.org/changeset/123625
http://trac.webkit.org/changeset/123672
https://bugs.webkit.org/show_bug.cgi?id=92315
Broke Windows and gcc builds (Requested by rniwa on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-25
- platform/AutodrainedPool.h:
(AutodrainedPool):
- platform/ContentType.h:
(ContentType):
- platform/ContextMenu.h:
(ContextMenu):
- platform/ContextMenuItem.h:
(ContextMenuItem):
- platform/Cursor.h:
(WebCore::SharedCursor::SharedCursor):
(Cursor):
- platform/KURL.h:
(WebCore::KURL::KURL):
(KURL):
- platform/KURLGooglePrivate.h:
(KURLGooglePrivate):
- platform/PODRedBlackTree.h:
(WebCore::PODRedBlackTree::PODRedBlackTree):
- platform/Pasteboard.h:
(Pasteboard):
- platform/PlatformEvent.h:
(WebCore::PlatformEvent::PlatformEvent):
- platform/PlatformKeyboardEvent.h:
(PlatformKeyboardEvent):
- platform/PlatformMouseEvent.h:
(PlatformMouseEvent):
- platform/PlatformPasteboard.h:
(PlatformPasteboard):
- platform/PlatformTouchEvent.h:
(PlatformTouchEvent):
- platform/PlatformWheelEvent.h:
(PlatformWheelEvent):
- platform/RunLoop.h:
(TimerBase):
- platform/ScrollAnimator.h:
(ScrollAnimator):
- platform/ScrollAnimatorNone.h:
(ScrollAnimatorNone):
- platform/SharedBuffer.h:
(SharedBuffer):
- platform/WheelFlingPlatformGestureCurve.h:
(WheelFlingPlatformGestureCurve):
- platform/Widget.h:
(Widget):
- platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::doUpdateResourceRequest):
- 4:16 PM Changeset in webkit [123674] by
-
- 6 edits in trunk/Source/WebKit/mac
Remove catchesDelegateExceptions from WebViewData and related accessor methods
https://bugs.webkit.org/show_bug.cgi?id=90898
Reviewed by Darin Adler.
Remove catchesDelegateException ivar from WebViewData and all its accesor methods from
WebView. All uses of this flag in WebKit set it to YES and no one calls
_setCatchesDelegateExceptions with NO.
- WebCoreSupport/WebDragClient.mm:
(WebDragClient::startDrag):
- WebView/WebDelegateImplementationCaching.mm:
(CallDelegate):
(CallDelegateReturningFloat):
(CallDelegateReturningBoolean):
(CallResourceLoadDelegateReturningBoolean):
(CallFormDelegate):
(CallFormDelegateReturningBoolean):
- WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):
(-[WebView _policyDelegateForwarder]):
(-[WebView _UIDelegateForwarder]):
(-[WebView _editingDelegateForwarder]):
(-[_WebSafeForwarder initWithTarget:defaultTarget:]):
(-[_WebSafeForwarder forwardInvocation:]):
- WebView/WebViewData.h:
- WebView/WebViewPrivate.h:
- 4:14 PM Changeset in webkit [123673] by
-
- 3 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Rephrase suspend/resume condition to guard against crashes
https://bugs.webkit.org/show_bug.cgi?id=92300
PR 182125
Reviewed by George Staikos.
When the compositor is removed from a WebPage, it might
already have unset its context, and issuing a call to
BackingStore::buffer() would therefore cause a crash.
Just guarding buffer() from this crash isn't fully
correct, because then we wouldn't suspend rendering
for a compositor that had been previously enabled.
Instead, change the condition to suspend/resume in
WebPagePrivate::setCompositor() to focus on the
object that delivers us the buffer. If we can't
listen to the context or buffer being set, better
just take the compositor object itself to determine
whether we have something valid or not... and hope
that they give us a valid context & buffer in all
situations when we can actually be rendering.
Also check compositor->context() in buffer() to be
non-zero before accessing the context's buffer,
because more defensive coding can't hurt here.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::buffer):
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setCompositor):
- 4:04 PM Changeset in webkit [123672] by
-
- 2 edits in trunk/Source/WebCore
Windows build fix attempt after r123625.
- platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::doUpdateResourceRequest):
- 3:59 PM Changeset in webkit [123671] by
-
- 3 edits in trunk/Source/WebCore
Read tag names and attributes from the saved tokens in HTMLTreeBuilder::resetInsertionModeAppropriately.
https://bugs.webkit.org/show_bug.cgi?id=92240
Reviewed by Adam Barth.
This is a follow-up patch for r123577. Added ItemType enum to HTMLStackItem to handle
the context element case.
No new tests, covered by existing tests.
- html/parser/HTMLStackItem.h:
(WebCore::HTMLStackItem::create):
(WebCore::HTMLStackItem::HTMLStackItem):
- html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
(WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately):
- 3:41 PM Changeset in webkit [123670] by
-
- 51 edits in trunk/LayoutTests
[Qt] platform/qt/tables/mozilla tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91242
Unreviewed gardening.
- platform/qt-5.0/Skipped:
- platform/qt/tables/mozilla/bugs/adforce_imgis_com-expected.txt:
- platform/qt/tables/mozilla/bugs/bug102145-1-expected.txt:
- platform/qt/tables/mozilla/bugs/bug102145-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug102145-3-expected.txt:
- platform/qt/tables/mozilla/bugs/bug102145-4-expected.txt:
- platform/qt/tables/mozilla/bugs/bug10269-1-expected.txt:
- platform/qt/tables/mozilla/bugs/bug10296-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug103533-expected.txt:
- platform/qt/tables/mozilla/bugs/bug1067-1-expected.txt:
- platform/qt/tables/mozilla/bugs/bug1067-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug106795-expected.txt:
- platform/qt/tables/mozilla/bugs/bug11321-expected.txt:
- platform/qt/tables/mozilla/bugs/bug133948-expected.txt:
- platform/qt/tables/mozilla/bugs/bug154780-expected.txt:
- platform/qt/tables/mozilla/bugs/bug15933-expected.txt:
- platform/qt/tables/mozilla/bugs/bug1818-1-expected.txt:
- platform/qt/tables/mozilla/bugs/bug1818-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug1818-4-expected.txt:
- platform/qt/tables/mozilla/bugs/bug219693-1-expected.txt:
- platform/qt/tables/mozilla/bugs/bug219693-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug221784-1-expected.txt:
- platform/qt/tables/mozilla/bugs/bug221784-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug22513-expected.txt:
- platform/qt/tables/mozilla/bugs/bug23072-expected.txt:
- platform/qt/tables/mozilla/bugs/bug23994-expected.txt:
- platform/qt/tables/mozilla/bugs/bug25074-expected.txt:
- platform/qt/tables/mozilla/bugs/bug25367-expected.txt:
- platform/qt/tables/mozilla/bugs/bug26553-expected.txt:
- platform/qt/tables/mozilla/bugs/bug3037-1-expected.txt:
- platform/qt/tables/mozilla/bugs/bug3037-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug32447-expected.txt:
- platform/qt/tables/mozilla/bugs/bug3309-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug34538-expected.txt:
- platform/qt/tables/mozilla/bugs/bug45350-expected.txt:
- platform/qt/tables/mozilla/bugs/bug53690-1-expected.txt:
- platform/qt/tables/mozilla/bugs/bug53690-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug55789-expected.txt:
- platform/qt/tables/mozilla/bugs/bug56201-expected.txt:
- platform/qt/tables/mozilla/bugs/bug56405-expected.txt:
- platform/qt/tables/mozilla/bugs/bug641-1-expected.txt:
- platform/qt/tables/mozilla/bugs/bug641-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug8361-expected.txt:
- platform/qt/tables/mozilla/bugs/bug88524-expected.txt:
- platform/qt/tables/mozilla/bugs/bug9072-expected.txt:
- platform/qt/tables/mozilla/bugs/bug92647-2-expected.txt:
- platform/qt/tables/mozilla/bugs/bug97383-expected.txt:
- platform/qt/tables/mozilla/bugs/bug98196-expected.txt:
- platform/qt/tables/mozilla/marvin/tfoot_char-expected.png:
- platform/qt/tables/mozilla/marvin/tfoot_char-expected.txt:
- 3:27 PM Changeset in webkit [123669] by
-
- 4 edits in branches/safari-536.26-branch/Source
Versioning.
- 3:19 PM Changeset in webkit [123668] by
-
- 2 edits in trunk/Source/WebCore
[chromium/mac] Remove mac_bundle_resources section from WebCore.gyp
https://bugs.webkit.org/show_bug.cgi?id=92207
Reviewed by Tony Chang.
It's no longer needed after http://crrev.com/148290 and
http://crrev.com/148187.
- WebCore.gyp/WebCore.gyp:
- 3:15 PM Changeset in webkit [123667] by
-
- 11 edits in trunk/Source
Source/JavaScriptCore: Create a specialized pair for use in HashMap iterators
https://bugs.webkit.org/show_bug.cgi?id=92137
Reviewed by Ryosuke Niwa.
Update a couple of sites that relied on the fact that "contents" of iterators were
std::pairs.
- profiler/Profile.cpp:
(JSC): This code kept a vector of the pairs that were the "contents" of the iterators. This
is changed to use a KeyValuePair. We make use HashCount's ValueType (which represents only
the key) to get the proper key parameter for KeyValuePair.
- tools/ProfileTreeNode.h:
(ProfileTreeNode): Use HashMap::ValueType to declare the type of the contents of the hash
instead of declaring it manually. This will make use of the new KeyValuePair.
Source/WebKit2: Create a specialized struct for use in HashMap iterators
https://bugs.webkit.org/show_bug.cgi?id=92137
Reviewed by Ryosuke Niwa.
- Platform/CoreIPC/ArgumentCoders.h: Add encode/decode for KeyValuePair.
Source/WTF: Create a specialized pair for use in HashMap iterators
https://bugs.webkit.org/show_bug.cgi?id=92137
Reviewed by Ryosuke Niwa.
The type used for internal storage in HashMap is exposed in its interface as iterator
"contents". Currently HashMap uses std::pair<>, which this patch replaces with
KeyValuePair.
Having this specialized structure will allow us to customize the members to be called
key/value, improving readability in code using HashMap iterators. They are still called
first/second to separate this change from the mechanical change of updating callsites.
- wtf/HashIterators.h:
(HashTableConstKeysIterator):
(HashTableConstValuesIterator):
(HashTableKeysIterator):
(HashTableValuesIterator):
Use KeyValuePair instead of std::pair when defining the iterators.
- wtf/HashMap.h:
(WTF):
(WTF::KeyValuePairKeyExtractor::extract):
(HashMap):
Remove PairFirstExtractor. Add and use the KeyValuePair corresponding extractor.
(WTF::HashMapValueTraits::isEmptyValue): Use KeyValuePairHashTraits for HashMaps.
(WTF::HashMapTranslator::translate):
(WTF::HashMapTranslatorAdapter::translate):
The traits of the mapped value is now called ValueTraits instead of SecondTraits.
- wtf/HashTable.h:
(WTF::hashTableSwap): Add specialization for swapping KeyValuePairs.
(WTF): Remove now unneeded specialization for std::pairs.
- wtf/HashTraits.h:
(KeyValuePair):
(WTF::KeyValuePair::KeyValuePair):
(WTF):
Specialized pair. In the future difference from pair should be the member names.
(KeyValuePairHashTraits):
(WTF::KeyValuePairHashTraits::emptyValue):
(WTF::KeyValuePairHashTraits::constructDeletedValue):
(WTF::KeyValuePairHashTraits::isDeletedValue):
These traits are analogous to PairHashTraits but for KeyValuePair.
- wtf/RefPtrHashMap.h: Use KeyValuePairHashTraits.
- 3:07 PM Changeset in webkit [123666] by
-
- 12 edits in trunk/Source
[chromium] Move WebFilterOperations from RenderPassDrawQuad to RenderPass
https://bugs.webkit.org/show_bug.cgi?id=91885
Reviewed by Adrienne Walker.
Source/WebCore:
We move the filter operations to CCRenderPass to avoid having
variable-length data in a WebCompositorQuad in order to serialize,
and also to avoid requiring a virtual destructor for the quad
classes.
The drawFrame method now takes a CCRenderPassIdHashMap in order
to connect RenderPass quads to their source RenderPass.
Covered by existing tests.
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::decideRenderPassAllocationsForFrame):
(WebCore::LayerRendererChromium::drawFrame):
(WebCore::LayerRendererChromium::beginDrawingFrame):
(WebCore::LayerRendererChromium::drawBackgroundFilters):
(WebCore::LayerRendererChromium::drawRenderPassQuad):
- platform/graphics/chromium/LayerRendererChromium.h:
(LayerRendererChromium):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
(WebCore::CCLayerTreeHostImpl::drawLayers):
- platform/graphics/chromium/cc/CCRenderPass.h:
(WebCore::CCRenderPass::filters):
(WebCore::CCRenderPass::setFilters):
(CCRenderPass):
(WebCore::CCRenderPass::backgroundFilters):
(WebCore::CCRenderPass::setBackgroundFilters):
- platform/graphics/chromium/cc/CCRenderPassDrawQuad.cpp:
(WebCore::CCRenderPassDrawQuad::create):
(WebCore::CCRenderPassDrawQuad::CCRenderPassDrawQuad):
- platform/graphics/chromium/cc/CCRenderPassDrawQuad.h:
(CCRenderPassDrawQuad):
- platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::appendQuads):
- platform/graphics/chromium/cc/CCRenderer.h:
(CCRenderer):
Source/WebKit/chromium:
- tests/CCLayerTreeHostImplTest.cpp:
- tests/LayerRendererChromiumTest.cpp:
(FakeCCRendererClient::FakeCCRendererClient):
(FakeCCRendererClient::rootRenderPass):
(FakeCCRendererClient::renderPassesInDrawOrder):
(FakeCCRendererClient::renderPasses):
(FakeCCRendererClient):
(TEST_F):
(TEST):
- 2:48 PM WebKit Team edited by
- moved myself from committers to reviewers (diff)
- 2:47 PM Changeset in webkit [123665] by
-
- 2 edits in trunk/Source/WebCore
fix test in beginLayerClippedToImage to check for immutability if we're going to do a shallow-copy
https://bugs.webkit.org/show_bug.cgi?id=92276
Reviewed by Stephen White.
PlatformContextSkia::beginLayerClippedToImage
This function wants to apply the provided ImageBuffer as a clip. Skia does not support this natively yet,
so the code makes a "copy" of that imageBuffer, to be applied later. The old code, wanting to avoid a
deep copy if possible, checked for the presence of a SkPixelRef. If it found one, it made a shallow copy.
This is flawed, since the contents of a pixelref are not guaranteed to be immutable. The new code checks
against this attribute: if the bitmap is "immutable" then we can make a shallow-copy, else we make a
deep copy.
No new tests. Existing svg layouttests work w/ or w/out this change, but at the next Skia deps roll, we see
failures w/o this change. The change is more "correct", though the problem case does not exhibit itself until
Skia rev. 4722 or later lands.
- platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::beginLayerClippedToImage):
- 2:41 PM Changeset in webkit [123664] by
-
- 2 edits in trunk/Tools
Jochen is our a newest reviewer!
- Scripts/webkitpy/common/config/committers.py:
- 2:39 PM Changeset in webkit [123663] by
-
- 124 edits16 adds in trunk/LayoutTests
[Qt] fast/block/margin-collapse tests need update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=92274
Patch by Luciano Wolf <Luciano Miguel Wolf> on 2012-07-25
Reviewed by Alexis Menard.
- platform/qt-5.0/Skipped:
- platform/qt/fast/block/margin-collapse/001-expected.png:
- platform/qt/fast/block/margin-collapse/001-expected.txt:
- platform/qt/fast/block/margin-collapse/002-expected.png:
- platform/qt/fast/block/margin-collapse/002-expected.txt:
- platform/qt/fast/block/margin-collapse/003-expected.png:
- platform/qt/fast/block/margin-collapse/003-expected.txt:
- platform/qt/fast/block/margin-collapse/004-expected.png:
- platform/qt/fast/block/margin-collapse/004-expected.txt:
- platform/qt/fast/block/margin-collapse/005-expected.png:
- platform/qt/fast/block/margin-collapse/005-expected.txt:
- platform/qt/fast/block/margin-collapse/006-expected.png:
- platform/qt/fast/block/margin-collapse/006-expected.txt:
- platform/qt/fast/block/margin-collapse/010-expected.png:
- platform/qt/fast/block/margin-collapse/010-expected.txt:
- platform/qt/fast/block/margin-collapse/011-expected.png:
- platform/qt/fast/block/margin-collapse/011-expected.txt:
- platform/qt/fast/block/margin-collapse/012-expected.png:
- platform/qt/fast/block/margin-collapse/012-expected.txt:
- platform/qt/fast/block/margin-collapse/015-expected.png:
- platform/qt/fast/block/margin-collapse/015-expected.txt:
- platform/qt/fast/block/margin-collapse/016-expected.png:
- platform/qt/fast/block/margin-collapse/016-expected.txt:
- platform/qt/fast/block/margin-collapse/017-expected.png:
- platform/qt/fast/block/margin-collapse/017-expected.txt:
- platform/qt/fast/block/margin-collapse/018-expected.png:
- platform/qt/fast/block/margin-collapse/018-expected.txt:
- platform/qt/fast/block/margin-collapse/019-expected.png:
- platform/qt/fast/block/margin-collapse/019-expected.txt:
- platform/qt/fast/block/margin-collapse/020-expected.png:
- platform/qt/fast/block/margin-collapse/020-expected.txt:
- platform/qt/fast/block/margin-collapse/021-expected.png:
- platform/qt/fast/block/margin-collapse/021-expected.txt:
- platform/qt/fast/block/margin-collapse/022-expected.png:
- platform/qt/fast/block/margin-collapse/022-expected.txt:
- platform/qt/fast/block/margin-collapse/025-expected.png:
- platform/qt/fast/block/margin-collapse/025-expected.txt:
- platform/qt/fast/block/margin-collapse/026-expected.png:
- platform/qt/fast/block/margin-collapse/026-expected.txt:
- platform/qt/fast/block/margin-collapse/027-expected.png:
- platform/qt/fast/block/margin-collapse/027-expected.txt:
- platform/qt/fast/block/margin-collapse/028-expected.png:
- platform/qt/fast/block/margin-collapse/028-expected.txt:
- platform/qt/fast/block/margin-collapse/029-expected.png:
- platform/qt/fast/block/margin-collapse/029-expected.txt:
- platform/qt/fast/block/margin-collapse/030-expected.png:
- platform/qt/fast/block/margin-collapse/030-expected.txt:
- platform/qt/fast/block/margin-collapse/031-expected.png:
- platform/qt/fast/block/margin-collapse/031-expected.txt:
- platform/qt/fast/block/margin-collapse/032-expected.png:
- platform/qt/fast/block/margin-collapse/032-expected.txt:
- platform/qt/fast/block/margin-collapse/033-expected.png:
- platform/qt/fast/block/margin-collapse/033-expected.txt:
- platform/qt/fast/block/margin-collapse/034-expected.png:
- platform/qt/fast/block/margin-collapse/034-expected.txt:
- platform/qt/fast/block/margin-collapse/035-expected.png:
- platform/qt/fast/block/margin-collapse/035-expected.txt:
- platform/qt/fast/block/margin-collapse/037-expected.png:
- platform/qt/fast/block/margin-collapse/037-expected.txt:
- platform/qt/fast/block/margin-collapse/038-expected.png:
- platform/qt/fast/block/margin-collapse/038-expected.txt:
- platform/qt/fast/block/margin-collapse/039-expected.png:
- platform/qt/fast/block/margin-collapse/039-expected.txt:
- platform/qt/fast/block/margin-collapse/040-expected.png:
- platform/qt/fast/block/margin-collapse/040-expected.txt:
- platform/qt/fast/block/margin-collapse/041-expected.png:
- platform/qt/fast/block/margin-collapse/041-expected.txt:
- platform/qt/fast/block/margin-collapse/042-expected.png:
- platform/qt/fast/block/margin-collapse/042-expected.txt:
- platform/qt/fast/block/margin-collapse/043-expected.png:
- platform/qt/fast/block/margin-collapse/043-expected.txt:
- platform/qt/fast/block/margin-collapse/044-expected.png:
- platform/qt/fast/block/margin-collapse/044-expected.txt:
- platform/qt/fast/block/margin-collapse/045-expected.png:
- platform/qt/fast/block/margin-collapse/045-expected.txt:
- platform/qt/fast/block/margin-collapse/055-expected.png:
- platform/qt/fast/block/margin-collapse/055-expected.txt:
- platform/qt/fast/block/margin-collapse/056-expected.png:
- platform/qt/fast/block/margin-collapse/056-expected.txt:
- platform/qt/fast/block/margin-collapse/057-expected.png:
- platform/qt/fast/block/margin-collapse/057-expected.txt:
- platform/qt/fast/block/margin-collapse/058-expected.png:
- platform/qt/fast/block/margin-collapse/058-expected.txt:
- platform/qt/fast/block/margin-collapse/059-expected.png:
- platform/qt/fast/block/margin-collapse/059-expected.txt:
- platform/qt/fast/block/margin-collapse/062-expected.png:
- platform/qt/fast/block/margin-collapse/062-expected.txt:
- platform/qt/fast/block/margin-collapse/063-expected.png:
- platform/qt/fast/block/margin-collapse/063-expected.txt:
- platform/qt/fast/block/margin-collapse/100-expected.png:
- platform/qt/fast/block/margin-collapse/100-expected.txt:
- platform/qt/fast/block/margin-collapse/101-expected.png:
- platform/qt/fast/block/margin-collapse/101-expected.txt:
- platform/qt/fast/block/margin-collapse/102-expected.png:
- platform/qt/fast/block/margin-collapse/102-expected.txt:
- platform/qt/fast/block/margin-collapse/103-expected.png:
- platform/qt/fast/block/margin-collapse/103-expected.txt:
- platform/qt/fast/block/margin-collapse/104-expected.png:
- platform/qt/fast/block/margin-collapse/104-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/001-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/001-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/002-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/002-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/003-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/003-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/004-expected.png:
- platform/qt/fast/block/margin-collapse/block-inside-inline/004-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.png:
- platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/006-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/006-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/010-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/010-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/011-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/011-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/012-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/012-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/015-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/015-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/016-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/016-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/017-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/017-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/018-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/018-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/019-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/019-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/020-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/020-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/021-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/021-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/022-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/022-expected.txt:
- platform/qt/fast/block/margin-collapse/block-inside-inline/025-expected.png: Added.
- platform/qt/fast/block/margin-collapse/block-inside-inline/025-expected.txt:
- platform/qt/fast/block/margin-collapse/empty-clear-blocks-expected.png:
- platform/qt/fast/block/margin-collapse/empty-clear-blocks-expected.txt:
- platform/qt/fast/block/margin-collapse/negative-margins-expected.png:
- platform/qt/fast/block/margin-collapse/negative-margins-expected.txt:
- 2:33 PM Changeset in webkit [123662] by
-
- 5 edits in trunk
It is invalid when both numberOfInputChannels and numberOfOutputChannels to be zero in JavaScriptAudioNode.
https://bugs.webkit.org/show_bug.cgi?id=91364
Patch by Li Yin <li.yin@intel.com> on 2012-07-25
Reviewed by Kenneth Russell.
Source/WebCore:
Spec: http://www.w3.org/TR/webaudio/#JavaScriptAudioNode-section
It is invalid for both numberOfInputChannels and numberOfOutputChannels to be zero.
Test: webaudio/javascriptaudionode.html
- Modules/webaudio/JavaScriptAudioNode.cpp:
(WebCore::JavaScriptAudioNode::create):
LayoutTests:
Add tests for (numberOfInputChannels, numberOfOutputChannels) to be (0, 0),(0, 1),(0, 2),(1, 0) and (2, 0).
- webaudio/javascriptaudionode-expected.txt:
- webaudio/javascriptaudionode.html:
- 2:28 PM Changeset in webkit [123661] by
-
- 9 edits in trunk/Tools
[chromium] don't use webkit_support methods directly from test runners but through the test delegate
https://bugs.webkit.org/show_bug.cgi?id=92256
Reviewed by Adam Barth.
This will allow for the content_shell to provide its own implementation
for setting the Gamepad data instead.
- DumpRenderTree/chromium/TestRunner/GamepadController.cpp:
(GamepadController::setDelegate):
(GamepadController::reset):
(GamepadController::connect):
(GamepadController::disconnect):
(GamepadController::setId):
(GamepadController::setButtonCount):
(GamepadController::setButtonData):
(GamepadController::setAxisCount):
(GamepadController::setAxisData):
- DumpRenderTree/chromium/TestRunner/GamepadController.h:
(GamepadController):
- DumpRenderTree/chromium/TestRunner/TestDelegate.h:
(WebKit):
(TestDelegate):
- DumpRenderTree/chromium/TestRunner/TestInterfaces.cpp:
(TestInterfaces::Internal):
(TestInterfaces::Internal::~Internal):
(TestInterfaces::Internal::setDelegate):
(TestInterfaces::setDelegate):
- DumpRenderTree/chromium/TestRunner/TestInterfaces.h:
(TestInterfaces):
- DumpRenderTree/chromium/TestShell.cpp:
(TestShell::createMainWindow):
(TestShell::~TestShell):
- DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::setGamepadData):
- DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):
- 2:25 PM Changeset in webkit [123660] by
-
- 4 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Update about:config lists
https://bugs.webkit.org/show_bug.cgi?id=92118
Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-25
Reviewed by Rob Buis.
Remove features from list that have either been removed from WebKit
or that have been moved from one list to another.
- WebCoreSupport/AboutDataEnableFeatures.in:
- WebCoreSupport/AboutDataHaveFeatures.in:
- WebCoreSupport/AboutDataUseFeatures.in:
- 2:19 PM Changeset in webkit [123659] by
-
- 2 edits in trunk/LayoutTests
Unreviewed chromium expectations change.
- platform/chromium/TestExpectations:
- 2:13 PM Changeset in webkit [123658] by
-
- 2 edits in trunk/Source/WebKit2
Crash when calling PluginView::pluginFocusOrWindowFocusChanged when the web page is null
https://bugs.webkit.org/show_bug.cgi?id=92289
<rdar://problem/11785352>
Reviewed by Andreas Kling.
Plug-in views that outlive their containing web page for various reasons (such as being protected from
destruction) need to null check the web page.
- WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::pluginFocusOrWindowFocusChanged):
(WebKit::PluginView::setComplexTextInputState):
- 2:08 PM Changeset in webkit [123657] by
-
- 17 edits3 deletes in trunk/LayoutTests
[Qt] fast/borders rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92146
Patch by Luciano Wolf <Luciano Miguel Wolf> on 2012-07-25
Reviewed by Csaba Osztrogonác.
Updated patch started by Alexis. This one removes old expected results
found inside qt-5.0 directory and updates Skipped files as well.
- platform/qt-5.0/Skipped:
- platform/qt-5.0/fast/borders/bidi-002-expected.txt: Removed.
- platform/qt-5.0/fast/borders/bidi-009a-expected.txt: Removed.
- platform/qt-5.0/fast/borders/bidi-012-expected.txt: Removed.
- platform/qt/fast/borders/border-image-slice-constrained-expected.txt:
- platform/qt/fast/borders/borderRadiusArcs01-expected.txt:
- platform/qt/fast/borders/borderRadiusDouble01-expected.txt:
- platform/qt/fast/borders/borderRadiusDouble02-expected.txt:
- platform/qt/fast/borders/borderRadiusDouble03-expected.txt:
- platform/qt/fast/borders/borderRadiusGroove01-expected.txt:
- platform/qt/fast/borders/borderRadiusGroove02-expected.txt:
- platform/qt/fast/borders/borderRadiusInset01-expected.txt:
- platform/qt/fast/borders/borderRadiusOutset01-expected.txt:
- platform/qt/fast/borders/borderRadiusRidge01-expected.txt:
- platform/qt/fast/borders/borderRadiusSolid01-expected.txt:
- platform/qt/fast/borders/borderRadiusSolid02-expected.txt:
- platform/qt/fast/borders/borderRadiusSolid03-expected.txt:
- platform/qt/fast/borders/borderRadiusSolid04-expected.txt:
- platform/qt/fast/borders/table-borders-expected.txt:
- 1:59 PM Changeset in webkit [123656] by
-
- 2 edits in trunk/LayoutTests
Unreviewed chromium expectations change.
- platform/chromium/TestExpectations:
- 1:52 PM Changeset in webkit [123655] by
-
- 1 edit60 adds in trunk/PerformanceTests
Import more replay performance tests from Mozilla's Tp5 test suite
https://bugs.webkit.org/show_bug.cgi?id=92229
Reviewed by Andreas Kling.
Add more replay tests based on Mozilla's Tp5 test suite [1]. Unfortunately,
we cannot import all URLs because some of them are not archived on archive.org
and others do not replay well on web-page-replay. Nonethless, we're still adding
60+ URLs in this patch.
[1] http://people.mozilla.org/~jmaher/tp5.manifest
- Replay/Chinese: Added.
- Replay/Chinese/chinaz.com.replay: Added.
- Replay/Chinese/www.163.com.replay: Added.
- Replay/Chinese/www.alipay.com.replay: Added.
- Replay/Chinese/www.baidu.com.replay: Added.
- Replay/Chinese/www.csdn.net.replay: Added.
- Replay/Chinese/www.douban.com.replay: Added.
- Replay/Chinese/www.hao123.com.replay: Added.
- Replay/Chinese/www.xinhuanet.com.replay: Added.
- Replay/Chinese/www.xunlei.com.replay: Added.
- Replay/Chinese/www.youku.com.replay: Added.
- Replay/English: Added.
- Replay/English/beatonna.livejournal.com.replay: Added.
- Replay/English/cakewrecks.blogspot.com.replay: Added.
- Replay/English/chemistry.about.com.replay: Added.
- Replay/English/digg.com.replay: Added.
- Replay/English/en.wikipedia.org-rorschach_test.replay: Added.
- Replay/English/icanhascheezburger.com.replay: Added.
- Replay/English/imgur.com-gallery.replay: Added.
- Replay/English/online.wsj.com.replay: Added.
- Replay/English/stockoverflow.com-best-comment.replay: Added.
- Replay/English/www.alibaba.com.replay: Added.
- Replay/English/www.amazon.com-kindle.replay: Added.
- Replay/English/www.apple.com.replay: Added.
- Replay/English/www.cnet.com.replay: Added.
- Replay/English/www.dailymotion.com.replay: Added.
- Replay/English/www.ehow.com-prevent-fire.replay: Added.
- Replay/English/www.filestube.com-amy-adams.replay: Added.
- Replay/English/www.foxnews.replay: Added.
- Replay/English/www.huffingtonpost.com.replay: Added.
- Replay/English/www.imdb.com-twilight.replay: Added.
- Replay/English/www.mozilla.com-all-order.replay: Added.
- Replay/English/www.php.net.replay: Added.
- Replay/English/www.reddit.com.replay: Added.
- Replay/English/www.telegraph.co.uk.replay: Added.
- Replay/English/www.w3.org-htmlcss.replay: Added.
- Replay/English/www.w3schools.com-html.replay: Added.
- Replay/English/www.youtube.com-music.replay: Added.
- Replay/French: Added.
- Replay/French/www.orange.fr.replay: Added.
- Replay/German: Added.
- Replay/Italian: Added.
- Replay/Italian/www.repubblica.it.replay: Added.
- Replay/Japanese/entameblog.seesaa.net.replay: Added.
- Replay/Japanese/www.hatena.ne.jp.replay: Added.
- Replay/Japanese/www.nicovideo.jp.replay: Added.
- Replay/Korean: Added.
- Replay/Korean/www.naver.com.replay: Added.
- Replay/Persian: Added.
- Replay/Persian/blogfa.com.replay: Added.
- Replay/Polish: Added.
- Replay/Polish/www.wp.pl.replay: Added.
- Replay/Portuguese: Added.
- Replay/Portuguese/www.uol.com.br.replay: Added.
- Replay/Russian: Added.
- Replay/Russian/vkontakte.ru-help.replay: Added.
- Replay/Russian/www.rambler.ru.replay: Added.
- Replay/Russian/www.ucoz.ru.replay: Added.
- Replay/Russian/www.yandex.ru.replay: Added.
- Replay/Spanish: Added.
- Replay/Spanish/www.taringa.net.replay: Added.
- 1:47 PM Changeset in webkit [123654] by
-
- 10 edits in trunk/Source
[chromium] Refactor CCLayerTreeHostCommon: move root layer special case initialization into internal code.
https://bugs.webkit.org/show_bug.cgi?id=88953
Reviewed by Adrienne Walker.
Source/WebCore:
This is part 1 of trying to reduce the root layer special
case. This tries to reduce the special-ness of the root layer from
the perspective of outside code.
After this patch, code that uses calcDrawTransforms() no longer
needs to initialize the root layer's surface, and no longer needs
to manually append the root layer to the renderSurfaceLayerList.
Unit tests were also updated (much cleaner!) to account for this change.
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::updateLayers):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore):
(WebCore::setupRootLayerAndSurfaceForRecursion):
(WebCore::CCLayerTreeHostCommon::calculateDrawTransforms):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.h:
(CCLayerTreeHostCommon):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::calculateRenderSurfaceLayerList):
Source/WebKit/chromium:
Unit tests updated to account for the new less-special root layer setup.
- most test cases just needed to remove root->renderSurface()->setContentBounds(), createRenderSurface(), and renderSurfaceLayerList.append().
- some test cases originally relied on setting some awkward unconventional bounds of the rootLayer that were different than the rootLayer's renderSurface. these tests are updated.
- a few minor cleanups otherwise.
- tests/CCDamageTrackerTest.cpp:
(WebKitTests::executeCalculateDrawTransformsAndVisibility):
- tests/CCLayerIteratorTest.cpp:
- tests/CCLayerTreeHostCommonTest.cpp:
- tests/CCOcclusionTrackerTest.cpp:
(WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
- 1:44 PM Changeset in webkit [123653] by
-
- 10 edits in trunk/Source
FileSystem should provide a way to delete filesystem.
https://bugs.webkit.org/show_bug.cgi?id=91861
Patch by Taiju Tsuiki <tzik@chromium.org> on 2012-07-25
Reviewed by Adam Barth.
Source/WebCore:
We will add a test when we wire-up the feature to Inspector.
- Modules/filesystem/LocalFileSystem.cpp: Add deleteFileSystem
(WebCore::deleteFileSystem):
(WebCore):
(WebCore::LocalFileSystem::deleteFileSystem):
- Modules/filesystem/LocalFileSystem.h:
(LocalFileSystem):
- platform/AsyncFileSystem.cpp: Add deleteFileSystem
(WebCore):
(WebCore::AsyncFileSystem::deleteFileSystem):
- platform/AsyncFileSystem.h:
(AsyncFileSystem):
- platform/blackberry/AsyncFileSystemBlackBerry.cpp: Add deleteFileSystem
(WebCore::AsyncFileSystem::deleteFileSystem):
(WebCore):
- platform/gtk/AsyncFileSystemGtk.cpp: Add deleteFileSystem
(WebCore::AsyncFileSystem::deleteFileSystem):
(WebCore):
Source/WebKit/chromium:
- public/WebFrameClient.h:
(WebFrameClient):
(WebKit::WebFrameClient::deleteFileSystem):
- src/LocalFileSystemChromium.cpp: Add deleteFileSystem
(WebCore::deleteFileSystemNotAllowed):
(WebCore):
(WebCore::LocalFileSystem::deleteFileSystem):
- 1:34 PM Changeset in webkit [123652] by
-
- 19 edits4 copies in trunk
[WK2][WTR] LayoutTestController.sendWebIntentResponse() needs to be implemented
https://bugs.webkit.org/show_bug.cgi?id=92227
Patch by Christophe Dumez <Christophe Dumez> on 2012-07-25
Reviewed by Kenneth Rohde Christiansen.
Source/WebKit2:
Add new InjectedBundleIntentRequest class to wrap WebCore's
IntentRequest and use it in InjectedBundle's
didReceiveIntentForFrame callback. The WebKitTestRunner needs
to be able to reply to a Web intent request in order to
implement LayoutTestController.sendWebIntentResponse(). As
a consequence, passing a WebIntentData type in not enough.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Shared/API/c/WKBase.h:
- Shared/APIObject.h:
- Shared/IntentData.cpp:
(WebKit::IntentData::IntentData):
(WebKit):
- Shared/IntentData.h:
(WebCore):
(WebKit::IntentData::IntentData):
(IntentData):
- Target.pri:
- WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
(WebKit):
- WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp: Copied from Source/WebKit2/Shared/IntentData.cpp.
(WKBundleIntentRequestGetTypeID):
(WKBundleIntentRequestCopyIntent):
(WKBundleIntentRequestPostResult):
(WKBundleIntentRequestPostFailure):
- WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.h: Copied from Source/WebKit2/Shared/IntentData.h.
- WebProcess/InjectedBundle/API/c/WKBundlePage.h:
- WebProcess/InjectedBundle/InjectedBundleIntentRequest.cpp: Copied from Source/WebKit2/Shared/IntentData.cpp.
(WebKit):
(WebKit::InjectedBundleIntentRequest::create):
(WebKit::InjectedBundleIntentRequest::InjectedBundleIntentRequest):
(WebKit::InjectedBundleIntentRequest::postResult):
(WebKit::InjectedBundleIntentRequest::postFailure):
(WebKit::InjectedBundleIntentRequest::intent):
- WebProcess/InjectedBundle/InjectedBundleIntentRequest.h: Copied from Source/WebKit2/Shared/IntentData.h.
(WebCore):
(WebKit):
(InjectedBundleIntentRequest):
(WebKit::InjectedBundleIntentRequest::type):
- WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
(WebKit::InjectedBundlePageLoaderClient::didReceiveIntentForFrame):
- WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
(WebKit):
(InjectedBundlePageLoaderClient):
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchIntent):
Tools:
Implement LayoutTestController.sendWebIntentResponse() so
that a test case can reply to a Web intent request and
test this functionality.
In order to support this functionality, we need to keep
a pointer to the current intent request in
InjectedBundlePage::didReceiveIntentForFrame() so that
we can reuse it later in
LayoutTestController::sendWebIntentResponse().
The following tests need this functionality:
- webintents/web-intents-failure.html
- webintents/web-intents-reply.html
- WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
- WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::didReceiveIntentForFrame):
- WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
(InjectedBundlePage):
(WTR::InjectedBundlePage::currentIntentRequest):
- WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
(WTR::LayoutTestController::sendWebIntentResponse):
(WTR):
- WebKitTestRunner/InjectedBundle/LayoutTestController.h:
(LayoutTestController):
- 1:19 PM Changeset in webkit [123651] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Add more jsdocs to InjectedScriptSource.js
https://bugs.webkit.org/show_bug.cgi?id=92255
Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-07-25
Reviewed by Pavel Feldman.
- inspector/InjectedScriptSource.js:
- 1:15 PM Changeset in webkit [123650] by
-
- 2 edits in trunk/LayoutTests
r123492 Changed output of msub-anonymous-child-render-crash.html LayoutTest
https://bugs.webkit.org/show_bug.cgi?id=92284
Rubber-stamped by Beth Dakin.
Rebaselined test output.
- mathml/msub-anonymous-child-render-crash-expected.txt:
r123492 changed the way inline-tables are rendered.
- 1:06 PM Changeset in webkit [123649] by
-
- 2 edits in trunk/Source/WebKit2
Crash when a web page is closed with outstanding scrolling thread barriers
https://bugs.webkit.org/show_bug.cgi?id=92280
<rdar://problem/11630200>
Reviewed by Andreas Kling.
There was a check in forceRepaintAsync to handle the drawing area going away before the block had
been invoked, but this check needs to be done earlier (as the FIXME suggested).
Move this check to dispatchAfterEnsuringUpdatedScrollPosition instead.
- WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::forceRepaintAsync):
(WebKit::TiledCoreAnimationDrawingArea::dispatchAfterEnsuringUpdatedScrollPosition):
- 1:06 PM Changeset in webkit [123648] by
-
- 1 copy in branches/safari-536.26-branch
New branch.
- 1:05 PM Changeset in webkit [123647] by
-
- 2 edits in trunk/Tools
[EFL][WK2][WTR] Alt, Shift and Ctrl keys are not handled by EventSenderProxy.
https://bugs.webkit.org/show_bug.cgi?id=92241
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-25
Reviewed by Kenneth Rohde Christiansen.
Alt, Shift and Ctrl keys were not handled by EventSenderProxy.
It caused failure of fast/events/keydown-leftright-keys.html test.
- WebKitTestRunner/efl/EventSenderProxyEfl.cpp: Added handling of Alt, Shift and Ctrl keys.
(WTR::keyName):
- 12:52 PM Changeset in webkit [123646] by
-
- 2 edits in trunk/LayoutTests
Unreviewed chromium expectations change to mark tests as slow.
- platform/chromium/TestExpectations:
- 12:50 PM Changeset in webkit [123645] by
-
- 3 edits in trunk/Source/WebKit/chromium
[chromium] WebViewBenchmarkSupport::paint API does not work with recording canvas
https://bugs.webkit.org/show_bug.cgi?id=92008
Reviewed by Darin Fisher.
Moved the ownership of canvas to WebViewBenchmarkSupport::PaintClient.
- public/WebViewBenchmarkSupport.h:
(PaintClient):
(WebKit::WebViewBenchmarkSupport::PaintClient::willPaint):
(WebKit::WebViewBenchmarkSupport::PaintClient::didPaint):
- src/WebViewBenchmarkSupportImpl.cpp:
(WebKit::WebViewBenchmarkSupportImpl::paintLayer):
(WebKit::WebViewBenchmarkSupportImpl::softwarePaint):
- 12:46 PM Changeset in webkit [123644] by
-
- 19 edits2 moves2 adds in trunk/Source
[chromium] Turn the debug HUD into a layer so that it can be drawn as a WebCompositorQuad
https://bugs.webkit.org/show_bug.cgi?id=92182
Reviewed by Adrienne Walker.
Source/WebCore:
By changing the HUD into a quad, we are able to create a HUD and pass
it to the host compositor, allowing the HUD to be used for renderers
under Ubercompositor.
This also removes the special drawing code for the HUD from
LayerRendererChromium, allowing us to move finishDrawingFrame
into LayerRendererChromium as a private method and remove it
from the CCRenderer interface.
Finally, we can remove the CCFontAtlas transport code from CCProxy
and its implementations as the atlas can be synced to impl thread
through the usual layer commit mechanism.
The debug HUD is not covered by tests.
- WebCore.gypi:
- platform/graphics/chromium/HeadsUpDisplayLayerChromium.cpp: Added.
(WebCore):
(WebCore::HeadsUpDisplayLayerChromium::create):
(WebCore::HeadsUpDisplayLayerChromium::HeadsUpDisplayLayerChromium):
(WebCore::HeadsUpDisplayLayerChromium::~HeadsUpDisplayLayerChromium):
(WebCore::HeadsUpDisplayLayerChromium::createCCLayerImpl):
- platform/graphics/chromium/HeadsUpDisplayLayerChromium.h: Added.
(WebCore):
(HeadsUpDisplayLayerChromium):
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::drawFrame):
(WebCore::LayerRendererChromium::cleanupSharedObjects):
- platform/graphics/chromium/LayerRendererChromium.h:
(LayerRendererChromium):
- platform/graphics/chromium/cc/CCDebugRectHistory.cpp:
(WebCore::CCDebugRectHistory::savePropertyChangedRects):
- platform/graphics/chromium/cc/CCDebugRectHistory.h:
- platform/graphics/chromium/cc/CCHeadsUpDisplayLayerImpl.cpp: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp.
(WebCore):
(WebCore::CCHeadsUpDisplayLayerImpl::CCHeadsUpDisplayLayerImpl):
(WebCore::CCHeadsUpDisplayLayerImpl::~CCHeadsUpDisplayLayerImpl):
(WebCore::CCHeadsUpDisplayLayerImpl::willDraw):
(WebCore::CCHeadsUpDisplayLayerImpl::appendQuads):
(WebCore::CCHeadsUpDisplayLayerImpl::didDraw):
(WebCore::CCHeadsUpDisplayLayerImpl::didLoseContext):
(WebCore::CCHeadsUpDisplayLayerImpl::drawHudContents):
(WebCore::CCHeadsUpDisplayLayerImpl::drawFPSCounter):
(WebCore::CCHeadsUpDisplayLayerImpl::drawFPSCounterText):
(WebCore::CCHeadsUpDisplayLayerImpl::drawDebugRects):
- platform/graphics/chromium/cc/CCHeadsUpDisplayLayerImpl.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCHeadsUpDisplay.h.
(WebCore):
(CCHeadsUpDisplayLayerImpl):
(WebCore::CCHeadsUpDisplayLayerImpl::create):
- platform/graphics/chromium/cc/CCLayerImpl.h:
(WebCore::CCLayerImpl::layerIsAlwaysDamaged):
This flag is used to mark the HUD as always damaged, so that it is
continually drawn on the impl thread. It is also used as a hint by
the CCDebugRectHistory class to not include the layer in the display
of damage, since always damaged is not interesting damage.
(CCLayerImpl):
- platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::create):
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::initialize):
(WebCore::CCLayerTreeHost::willCommit):
(WebCore::CCLayerTreeHost::didCommit):
- platform/graphics/chromium/cc/CCLayerTreeHost.h:
(CCLayerTreeSettings):
(WebCore::CCLayerTreeSettings::showDebugInfo):
(WebCore::CCLayerTreeSettings::showDebugRects):
(CCLayerTreeHost):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
(WebCore::CCLayerTreeHostImpl::drawLayers):
- platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(WebCore):
(CCLayerTreeHostImpl):
- platform/graphics/chromium/cc/CCProxy.h:
(CCProxy):
- platform/graphics/chromium/cc/CCRenderer.h:
(CCRenderer):
- platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
- platform/graphics/chromium/cc/CCSingleThreadProxy.h:
- platform/graphics/chromium/cc/CCThreadProxy.cpp:
- platform/graphics/chromium/cc/CCThreadProxy.h:
(CCThreadProxy):
Source/WebKit/chromium:
- tests/LayerRendererChromiumTest.cpp:
(TEST):
- 12:10 PM Changeset in webkit [123643] by
-
- 3 edits in trunk/Tools
[EFL][WK2] Fix timeout issues when debugging WebProcess.
https://bugs.webkit.org/show_bug.cgi?id=92245
Patch by Christophe Dumez <Christophe Dumez> on 2012-07-25
Reviewed by Dirk Pranke.
Fix timeout issues when debugging the WebProcess
under valgrind or gdb.
- Scripts/webkitpy/layout_tests/port/efl.py:
(EflPort.default_timeout_ms):
- WebKitTestRunner/efl/TestControllerEfl.cpp:
(WTR::TestController::platformInitialize):
- 11:52 AM Changeset in webkit [123642] by
-
- 2 edits in trunk/Tools
[Chromium-Android] NRWT driver should not restart between reftests
https://bugs.webkit.org/show_bug.cgi?id=92267
Reviewed by Dirk Pranke.
- Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidDriver.start): Resets self._pixel_tests when the pixel_tests parameter changes.
- 11:49 AM Changeset in webkit [123641] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: follow up to r123612, fixing CSS value suggest.
Not reviewed, minor JS fix.
- inspector/front-end/CSSCompletions.js:
(WebInspector.CSSCompletions):
- inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertyTreeElement.prototype):
- 11:48 AM Changeset in webkit [123640] by
-
- 1 edit1 add in trunk/LayoutTests
Add Mac results for media/controls-styling-strict.html.
Rubber-stamped by Michael Saboff.
- platform/mac/media/controls-styling-strict-expected.txt: Added.
- 11:19 AM Changeset in webkit [123639] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed build fix after r123624.
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::clearGeolocationOverride):
Changed ASSERT_UNUSED() to UNUSED_PARAM().
- 11:16 AM Changeset in webkit [123638] by
-
- 2 edits in trunk/Source/WebCore
Web inspector auto-completes "optimizequality" but then complains
https://bugs.webkit.org/show_bug.cgi?id=92262
Reviewed by Timothy Hatcher.
Fixed optimizeSpeed, optimizeLegibility, geometricPrecision.
- inspector/front-end/CSSKeywordCompletions.js:
- 11:15 AM Changeset in webkit [123637] by
-
- 3 edits2 adds in trunk
https://bugs.webkit.org/show_bug.cgi?id=89114
REGRESSION (r112919): Setting scrollTop after setting display from none to block
fails
-and corresponding-
<rdar://problem/11656050>
Reviewed by Simon Fraser.
Source/WebCore:
ScrollAnimatorMac::immediateScrollTo() and ScrollAnimatorMac::immediateScrollBy()
both have an optimization in place so that they do not call
notifyPositionChanged() if the new scroll offset matches the ScrollAnimator's
cached m_currentPosX and m_currentPosY. So revision 112919 caused troubled with
this optimization because it allowed RenderLayers to restore a scrollOffset from
the Element if there is one cached there. This caused the RenderLayer to have a
scrollOffset that is improperly out-of-synch with the ScrollAnimator's
currentPosition (which will just be 0,0 since it is being re-created like the
RenderLayer). This fix makes sure they are in synch by calling
setCurrentPosition() on the ScrollAnimator when the cached position is non-zero.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::RenderLayer):
LayoutTests:
- fast/overflow/setting-scrollTop-after-hide-show-expected.txt: Added.
- fast/overflow/setting-scrollTop-after-hide-show.html: Added.
- 11:14 AM Changeset in webkit [123636] by
-
- 27 edits in trunk
Make ElementAttributeData a variable-sized object to reduce memory use.
<http://webkit.org/b/88240>
Reviewed by Ryosuke Niwa.
Source/WebCore:
Take advantage of the fact that we know at ElementAttributeData construction time how many attributes
it needs to accomodate and allocate exactly as much space as needed instead of using a Vector.
For elements that never have their attribute list mutated (the vast majority), this saves a lot of
memory and removes the indirection to Vector<Attribute>'s heap-allocated storage.
Introduced a mutability flag to ElementAttributeData and sprinkled assertions all over to make sure
that nothing tries to mutate an element with a raw attribute array.
When an Element's attribute(s) are mutated, we reconstruct the ElementAttributeData, this time using
a Vector as backing instead. This is triggered when calling Element::mutableAttributeData().
This reduces memory consumption by 3.2MB when viewing the full HTML5 spec at <http://whatwg.org/c/>.
That is a ~35% reduction in DOM attribute memory use.
Furthermore, that page ends up promoting 27% of the elements to mutable attribute storage due to dynamic
adding of "class" attributes. For more static pages, savings are even greater.
Also did away with ElementAttributeData::removeAttribute(name) and do separate index lookup where
needed. Not a big deal but avoids double lookup of attributes when removing them.
- dom/Element.cpp:
(WebCore::Element::detachAttribute):
(WebCore::Element::removeAttribute):
(WebCore::Element::attributes):
(WebCore::Element::setAttributeInternal):
(WebCore::Element::parserSetAttributes):
(WebCore::Element::hasEquivalentAttributes):
(WebCore::Element::setAttributeNode):
(WebCore::Element::removeAttributeNode):
(WebCore::Element::getAttributeNode):
(WebCore::Element::getAttributeNodeNS):
(WebCore::Element::hasAttribute):
(WebCore::Element::hasAttributeNS):
(WebCore::Element::cloneAttributesFromElement):
Sprinkle const on ElementAttributeData* pointers.
Switch to using mutableAttributeData() in code paths that modify attributes.
(WebCore::Element::normalizeAttributes):
Cleaner iteration over attributes, I removed ElementAttributeData::attributeVector() since that
was just incurring a bunch of extra Vector copying. Since ElementAttributeData already exposes
length() and attributeItem(index), use those to iterate directly over the attributes.
(WebCore::Element::createMutableAttributeData):
Added, converts existing ElementAttributeData to a mutable object. Otherwise creates a new
ElementAttributeData (mutable and empty.)
- dom/Element.h:
(WebCore::Element::attributeData):
(WebCore::Element::updatedAttributeData):
(WebCore::Element::ensureAttributeData):
(WebCore::Element::ensureUpdatedAttributeData):
Made all of these return "const ElementAttributeData*" to ensure at compile-time that nothing
attempts to modify an ElementAttributeData that may be immutable.
ensureUpdatedAttributeData() is still const, despite possibly calling mutableAttributeData().
The goal of having methods be const is to prevent conversion from one ElementAttributeData
object to another, so that pointers remain intact and no unnecessary work gets done.
(WebCore::Element::mutableAttributeData):
Added, returns a guaranteed mutable ElementAttributeData* pointer.
- dom/ElementAttributeData.cpp:
(WebCore::ElementAttributeData::createImmutable):
Creates a new ElementAttributeData tailored to fit the provided Vector<Attribute>.
(WebCore::ElementAttributeData::ElementAttributeData):
Moved constructors out-of-line, getting too complex for header files.
ElementAttributeData(const Vector<Attribute>&) creates an immutable ElementAttributeData
containing the provided attributes in an array tacked onto the end of the object.
(WebCore::ElementAttributeData::~ElementAttributeData):
Free the attribute vector if mutable.
For immutable objects, manually invoke destructor on each Attribute object,
since these won't be destroyed automatically by ~ElementAttributeData.
(WebCore::ElementAttributeData::attrIfExists):
(WebCore::ElementAttributeData::ensureAttr):
(WebCore::ElementAttributeData::setAttr):
(WebCore::ElementAttributeData::removeAttr):
Make these const, as they should always have been- they don't affect the ElementAttributeData,
only the global DOM Attr <-> ElementAttributeData mappings.
(WebCore::ElementAttributeData::ensureInlineStyle):
(WebCore::ElementAttributeData::ensureMutableInlineStyle):
Sprinkle ASSERT(isMutable()). This doesn't mean that all Elements with inline styles automatically
have mutable attribute data. There's still inlineStyle() for that, which may return null.
These are only for use where you need a valid StylePropertySet*, even if there is no inline style
attribute, e.g in editing code that wants to add style.
(WebCore::ElementAttributeData::updateInlineStyleAvoidingMutation):
(WebCore::ElementAttributeData::destroyInlineStyle):
Make these const. While destroyInlineStyle() doesn't sound very const-y, immutable objects that
contain a style attribute will have a valid inlineStyle() with that style data. This is just
an interface for ~StyledElement to destroy the style object.
It'd be nice to do that in ~ElementAttributeData(), but we need a StyledElement* pointer to
clean up properly and we don't store one in this class.
(WebCore::ElementAttributeData::addAttribute):
(WebCore::ElementAttributeData::removeAttribute):
(WebCore::ElementAttributeData::clearAttributes):
(WebCore::ElementAttributeData::replaceAttribute):
Sprinkle ASSERT(isMutable()).
Always go straight for m_mutableAttributeVector since we know that's the storage being used.
(WebCore::ElementAttributeData::isEquivalent):
(WebCore::ElementAttributeData::detachAttrObjectsFromElement):
(WebCore::ElementAttributeData::getAttributeItemIndexSlowCase):
(WebCore::ElementAttributeData::removeAttribute):
(WebCore::ElementAttributeData::getAttributeItem):
(WebCore::ElementAttributeData::getAttributeItemIndex):
Use length() and attributeItem(index) to iterate over the attributes.
(WebCore::ElementAttributeData::cloneDataFrom):
Sprinkle ASSERT(isMutable()). Added a FIXME that cloning elements could create immutable
attribute data. I'm not sure this optimization is worthwhile, as cloning elements is already
a semi-rare occurrence.
Updated code to handle both immutable and mutable source objects. This could
(WebCore::ElementAttributeData::getAttributeNode):
Const correctness.
- dom/ElementAttributeData.h:
(ElementAttributeData):
Turn attribute storage into what's effectively union { OwnPtr<Vector<Attribute>>; Attribute[]; }
The new m_isMutable bit determines which union member should be used for access.
(WebCore::ElementAttributeData::create):
(WebCore::ElementAttributeData::createImmutable):
Added createImmutable(const Vector<Attribute>&) as a complement to create().
(WebCore::ElementAttributeData::setClass):
(WebCore::ElementAttributeData::setIdForStyleResolution):
(WebCore::ElementAttributeData::inlineStyle):
(WebCore::ElementAttributeData::setAttributeStyle):
Make these const, and their data member counterparts 'mutable'.
An immutable ElementAttributeData object still has m_classNames, m_idForStyleResolution,
m_inlineStyleDecl and m_attributeStyle.
(WebCore::ElementAttributeData::reportMemoryUsage):
Updated for isMutable().
(WebCore::ElementAttributeData::makeMutable):
Returns a mutable clone of itself.
(WebCore::ElementAttributeData::isEmpty):
(WebCore::ElementAttributeData::length):
(WebCore::ElementAttributeData::attributeItem):
Check isMutable() to know how to access attribute storage.
- dom/StyledElement.cpp:
(WebCore::StyledElement::style):
(WebCore::StyledElement::setInlineStyleProperty):
Simplify by using StyledElement::ensureInlineStyle().
(WebCore::StyledElement::classAttributeChanged):
Use mutableAttributeData() if the attribute is being removed completely.
In other cases, tiptoe around without causing the attribute data to go mutable.
(WebCore::StyledElement::removeInlineStyleProperty):
Use mutableAttributeData() if/when actually removing something.
(WebCore::StyledElement::addSubresourceAttributeURLs):
Const correctness.
- dom/StyledElement.h:
(WebCore::StyledElement::ensureInlineStyle):
This now implies conversion to mutable attribute data. Used by codepaths that add/remove
properties, so conversion is inevitable.
- html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::mergeAttributesFromTokenIntoElement):
(WebCore::HTMLConstructionSite::createHTMLElementFromSavedElement):
- svg/properties/SVGAnimatedPropertyMacros.h:
(WebCore::SVGSynchronizableAnimatedProperty::synchronize):
Use mutableAttributeData() as appropriate.
- xml/parser/XMLDocumentParserQt.cpp:
(WebCore::XMLDocumentParser::XMLDocumentParser):
Const correctness.
LayoutTests:
Extended this test to cover the case where setAttributeNode() returns a lazily serialized value.
- fast/dom/attr-style-too-lazy-expected.txt:
- fast/dom/attr-style-too-lazy.html:
- 11:12 AM Changeset in webkit [123635] by
-
- 12 edits in trunk/Source
Unreviewed, rolling out r123560.
http://trac.webkit.org/changeset/123560
https://bugs.webkit.org/show_bug.cgi?id=90321
Breaks chromium valgrind tests.
Source/WebCore:
- html/FTPDirectoryDocument.cpp:
(WebCore::FTPDirectoryDocumentParser::append):
- html/parser/HTMLEntityParser.cpp:
(WebCore::HTMLEntityParser::consumeNamedEntity):
- html/parser/HTMLParserIdioms.cpp:
(WebCore::stripLeadingAndTrailingHTMLSpaces):
- html/parser/HTMLSourceTracker.cpp:
(WebCore::HTMLSourceTracker::sourceForToken):
- loader/cache/CachedScript.cpp:
(WebCore::CachedScript::script):
- platform/text/SegmentedString.cpp:
(WebCore::SegmentedString::SegmentedString):
(WebCore::SegmentedString::operator=):
(WebCore::SegmentedString::clear):
(WebCore::SegmentedString::append):
(WebCore::SegmentedString::prepend):
(WebCore::SegmentedString::advanceSubstring):
(WebCore::SegmentedString::advance):
(WebCore::SegmentedString::advanceSlowCase):
(WebCore::SegmentedString::advanceAndUpdateLineNumberSlowCase):
- platform/text/SegmentedString.h:
(WebCore::SegmentedSubstring::SegmentedSubstring):
(WebCore::SegmentedSubstring::clear):
(WebCore::SegmentedSubstring::appendTo):
(SegmentedSubstring):
(WebCore::SegmentedString::SegmentedString):
(WebCore::SegmentedString::push):
(WebCore::SegmentedString::isEmpty):
(WebCore::SegmentedString::lookAhead):
(WebCore::SegmentedString::lookAheadIgnoringCase):
(WebCore::SegmentedString::advance):
(WebCore::SegmentedString::advanceAndASSERT):
(WebCore::SegmentedString::advanceAndASSERTIgnoringCase):
(WebCore::SegmentedString::advancePastNewlineAndUpdateLineNumber):
(SegmentedString):
(WebCore::SegmentedString::advancePastNonNewline):
(WebCore::SegmentedString::advanceAndUpdateLineNumber):
(WebCore::SegmentedString::operator*):
(WebCore::SegmentedString::operator->):
(WebCore::SegmentedString::current):
(WebCore::SegmentedString::equalsLiterally):
(WebCore::SegmentedString::equalsIgnoringCase):
(WebCore::SegmentedString::lookAheadInline):
(WebCore::SegmentedString::lookAheadSlowCase):
- xml/parser/CharacterReferenceParserInlineMethods.h:
(WebCore::consumeCharacterReference):
- xml/parser/MarkupTokenizerBase.h:
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::nextInputCharacter):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::peek):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::advance):
Source/WTF:
- wtf/text/WTFString.h:
- 10:50 AM Changeset in webkit [123634] by
-
- 14 edits6 adds in trunk
Web Inspector: Geolocation override
https://bugs.webkit.org/show_bug.cgi?id=89365
Reviewed by Pavel Feldman.
Source/WebCore:
Re-added the m_page member variable for GeolocationController since
it's now being used by InspectorInstrumentaiton.
Added a way to override the GeolocationPosition and GeolocationError
using Web Inspector. Curretnly only PositionError can be set.
This will be hidden behind the experiments flag for now.
Tests: inspector/geolocation-error.html
inspector/geolocation-success.html
inspector/geolocation-watchPosition.html
- English.lproj/localizedStrings.js:
- Modules/geolocation/GeolocationController.cpp:
(WebCore::GeolocationController::GeolocationController):
(WebCore::GeolocationController::positionChanged):
- Modules/geolocation/GeolocationController.h:
(GeolocationController):
- inspector/Inspector.json:
- inspector/InspectorInstrumentation.cpp:
(WebCore):
(WebCore::InspectorInstrumentation::overrideGeolocationPositionImpl):
- inspector/InspectorInstrumentation.h:
(WebCore):
(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::overrideGeolocationPosition):
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::InspectorPageAgent):
(WebCore::InspectorPageAgent::setGeolocationOverride):
(WebCore):
(WebCore::InspectorPageAgent::clearGeolocationOverride):
(WebCore::InspectorPageAgent::canOverrideGeolocation):
(WebCore::InspectorPageAgent::overrideGeolocationPosition):
- inspector/InspectorPageAgent.h:
- inspector/front-end/Settings.js:
- inspector/front-end/SettingsScreen.js:
(WebInspector.UserAgentSettingsTab):
(WebInspector.UserAgentSettingsTab.prototype._createDeviceMetricsElement):
(WebInspector.UserAgentSettingsTab.prototype._onGeolocationOverrideCheckboxClicked):
(WebInspector.UserAgentSettingsTab.prototype._applyGeolocationUserInput):
(WebInspector.UserAgentSettingsTab.prototype._setGeolocationPosition.set if):
(WebInspector.UserAgentSettingsTab.prototype._setGeolocationPosition):
(WebInspector.UserAgentSettingsTab.prototype._createGeolocationOverrideElement.createInput):
(WebInspector.UserAgentSettingsTab.prototype._createGeolocationOverrideElement):
- inspector/front-end/UserAgentSupport.js:
(WebInspector.UserAgentSupport.GeolocationPosition):
(WebInspector.UserAgentSupport.GeolocationPosition.prototype.toSetting):
(WebInspector.UserAgentSupport.GeolocationPosition.parseSetting):
(WebInspector.UserAgentSupport.GeolocationPosition.parseUserInput):
(WebInspector.UserAgentSupport.GeolocationPosition.clearGeolocationOverride):
- inspector/front-end/inspector.js:
(WebInspector.doLoadedDone):
LayoutTests:
Added new tests.
- inspector/geolocation-error-expected.txt: Added.
- inspector/geolocation-error.html: Added.
- inspector/geolocation-success-expected.txt: Added.
- inspector/geolocation-success.html: Added.
- inspector/geolocation-watchPosition-expected.txt: Added.
- inspector/geolocation-watchPosition.html: Added.
- 10:43 AM Changeset in webkit [123633] by
-
- 2 edits in trunk/Source/WebCore
[chromium] Build fix for clang builds after r123628
https://bugs.webkit.org/show_bug.cgi?id=92266
Reviewed by Adrienne Walker.
An un-used variable was causing build failures for clang builds
after the refactoring in r123628. It is correct to simply remove
this value.
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::calculateDrawTransformsInternal):
- 10:41 AM Changeset in webkit [123632] by
-
- 2 edits in trunk/Source/WebCore
Speech JavaScript API: extract function from SpeechRecognitionResult::emma()
https://bugs.webkit.org/show_bug.cgi?id=92232
Reviewed by Adam Barth.
Extract code for creating emma-qualified names to a helper function.
Just a refactoring; covered by the existing test.
- Modules/speech/SpeechRecognitionResult.cpp:
(WebCore::emmaQualifiedName):
(WebCore):
(WebCore::SpeechRecognitionResult::emma):
- 10:39 AM Changeset in webkit [123631] by
-
- 152 edits20 deletes in trunk/LayoutTests
[Qt] css2.1/t* tests needs rebaseline after new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91999
Unreviewed.
- platform/qt-5.0-wk1/Skipped:
- platform/qt-5.0-wk2/Skipped:
- platform/qt-5.0/Skipped:
- platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.png: Removed.
- platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c414-flt-02-c-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c414-flt-03-c-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c414-flt-04-c-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c414-flt-fit-01-d-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c5525-fltblck-00-d-ag-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c5525-fltblck-01-d-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c5525-flthw-00-c-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c5525-fltwrap-00-b-expected.txt: Removed.
- platform/qt-5.0/css2.1/t0905-c5526-flthw-00-c-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t090501-c414-flt-01-b-expected.txt: Removed.
- platform/qt-5.0/css2.1/t090501-c414-flt-03-b-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt: Removed.
- platform/qt/css2.1/t010403-shand-border-00-c-expected.png:
- platform/qt/css2.1/t010403-shand-border-00-c-expected.txt:
- platform/qt/css2.1/t010403-shand-font-00-b-expected.png:
- platform/qt/css2.1/t010403-shand-font-00-b-expected.txt:
- platform/qt/css2.1/t010403-shand-font-01-b-expected.png:
- platform/qt/css2.1/t010403-shand-font-01-b-expected.txt:
- platform/qt/css2.1/t010403-shand-font-02-b-expected.png:
- platform/qt/css2.1/t010403-shand-font-02-b-expected.txt:
- platform/qt/css2.1/t010403-shand-font-03-b-expected.png:
- platform/qt/css2.1/t010403-shand-font-03-b-expected.txt:
- platform/qt/css2.1/t050201-c12-grouping-00-b-expected.png:
- platform/qt/css2.1/t050201-c12-grouping-00-b-expected.txt:
- platform/qt/css2.1/t0505-c16-descendant-00-e-expected.png:
- platform/qt/css2.1/t0505-c16-descendant-00-e-expected.txt:
- platform/qt/css2.1/t0505-c16-descendant-01-e-expected.png:
- platform/qt/css2.1/t0505-c16-descendant-01-e-expected.txt:
- platform/qt/css2.1/t0505-c16-descendant-02-e-expected.png:
- platform/qt/css2.1/t0505-c16-descendant-02-e-expected.txt:
- platform/qt/css2.1/t050803-c14-classes-00-e-expected.png:
- platform/qt/css2.1/t050803-c14-classes-00-e-expected.txt:
- platform/qt/css2.1/t0509-c15-ids-00-a-expected.png:
- platform/qt/css2.1/t0509-c15-ids-00-a-expected.txt:
- platform/qt/css2.1/t0509-c15-ids-01-e-expected.png:
- platform/qt/css2.1/t0509-c15-ids-01-e-expected.txt:
- platform/qt/css2.1/t0509-id-sel-syntax-01-f-expected.png:
- platform/qt/css2.1/t0509-id-sel-syntax-01-f-expected.txt:
- platform/qt/css2.1/t0509-id-sel-syntax-02-b-expected.png:
- platform/qt/css2.1/t0509-id-sel-syntax-02-b-expected.txt:
- platform/qt/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.png:
- platform/qt/css2.1/t0510-c25-pseudo-elmnt-00-c-expected.txt:
- platform/qt/css2.1/t0511-c21-pseud-anch-00-e-i-expected.png:
- platform/qt/css2.1/t0511-c21-pseud-anch-00-e-i-expected.txt:
- platform/qt/css2.1/t0511-c21-pseud-link-00-e-expected.png:
- platform/qt/css2.1/t0511-c21-pseud-link-00-e-expected.txt:
- platform/qt/css2.1/t0511-c21-pseud-link-01-e-expected.png:
- platform/qt/css2.1/t0511-c21-pseud-link-01-e-expected.txt:
- platform/qt/css2.1/t0511-c21-pseud-link-02-e-expected.png:
- platform/qt/css2.1/t0511-c21-pseud-link-02-e-expected.txt:
- platform/qt/css2.1/t0511-c21-pseud-link-03-e-expected.png:
- platform/qt/css2.1/t0511-c21-pseud-link-03-e-expected.txt:
- platform/qt/css2.1/t051103-c21-activ-ln-00-e-i-expected.png:
- platform/qt/css2.1/t051103-c21-activ-ln-00-e-i-expected.txt:
- platform/qt/css2.1/t051103-c21-focus-ln-00-e-i-expected.png:
- platform/qt/css2.1/t051103-c21-focus-ln-00-e-i-expected.txt:
- platform/qt/css2.1/t051103-c21-hover-ln-00-e-i-expected.png:
- platform/qt/css2.1/t051103-c21-hover-ln-00-e-i-expected.txt:
- platform/qt/css2.1/t051103-dom-hover-01-c-io-expected.png:
- platform/qt/css2.1/t051103-dom-hover-01-c-io-expected.txt:
- platform/qt/css2.1/t051103-dom-hover-02-c-io-expected.png:
- platform/qt/css2.1/t051103-dom-hover-02-c-io-expected.txt:
- platform/qt/css2.1/t051202-c24-first-lttr-00-b-expected.png:
- platform/qt/css2.1/t051202-c24-first-lttr-00-b-expected.txt:
- platform/qt/css2.1/t051202-c26-psudo-nest-00-c-expected.png:
- platform/qt/css2.1/t051202-c26-psudo-nest-00-c-expected.txt:
- platform/qt/css2.1/t0602-c13-inh-underlin-00-e-expected.png:
- platform/qt/css2.1/t0602-c13-inh-underlin-00-e-expected.txt:
- platform/qt/css2.1/t0602-c13-inheritance-00-e-expected.png:
- platform/qt/css2.1/t0602-c13-inheritance-00-e-expected.txt:
- platform/qt/css2.1/t0602-inherit-bdr-pad-b-00-expected.png:
- platform/qt/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt:
- platform/qt/css2.1/t0603-c11-import-00-b-expected.png:
- platform/qt/css2.1/t0603-c11-import-00-b-expected.txt:
- platform/qt/css2.1/t060401-c32-cascading-00-b-expected.png:
- platform/qt/css2.1/t060401-c32-cascading-00-b-expected.txt:
- platform/qt/css2.1/t060402-c31-important-00-b-expected.png:
- platform/qt/css2.1/t060402-c31-important-00-b-expected.txt:
- platform/qt/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png:
- platform/qt/css2.1/t060403-c21-pseu-cls-00-e-i-expected.txt:
- platform/qt/css2.1/t060403-c21-pseu-id-00-e-i-expected.png:
- platform/qt/css2.1/t060403-c21-pseu-id-00-e-i-expected.txt:
- platform/qt/css2.1/t09-c5526c-display-00-e-expected.png:
- platform/qt/css2.1/t09-c5526c-display-00-e-expected.txt:
- platform/qt/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.png:
- platform/qt/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.txt:
- platform/qt/css2.1/t0905-c414-flt-00-d-expected.png:
- platform/qt/css2.1/t0905-c414-flt-00-d-expected.txt:
- platform/qt/css2.1/t0905-c414-flt-01-d-g-expected.png:
- platform/qt/css2.1/t0905-c414-flt-01-d-g-expected.txt:
- platform/qt/css2.1/t0905-c414-flt-02-c-expected.png:
- platform/qt/css2.1/t0905-c414-flt-02-c-expected.txt:
- platform/qt/css2.1/t0905-c414-flt-03-c-expected.png:
- platform/qt/css2.1/t0905-c414-flt-03-c-expected.txt:
- platform/qt/css2.1/t0905-c414-flt-04-c-expected.png:
- platform/qt/css2.1/t0905-c414-flt-04-c-expected.txt:
- platform/qt/css2.1/t0905-c414-flt-fit-00-d-expected.png:
- platform/qt/css2.1/t0905-c414-flt-fit-00-d-expected.txt:
- platform/qt/css2.1/t0905-c414-flt-fit-01-d-g-expected.png:
- platform/qt/css2.1/t0905-c414-flt-fit-01-d-g-expected.txt:
- platform/qt/css2.1/t0905-c414-flt-wrap-00-e-expected.png:
- platform/qt/css2.1/t0905-c414-flt-wrap-00-e-expected.txt:
- platform/qt/css2.1/t0905-c414-flt-wrap-01-d-g-expected.png:
- platform/qt/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltblck-00-d-ag-expected.png:
- platform/qt/css2.1/t0905-c5525-fltblck-00-d-ag-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltblck-01-d-expected.png:
- platform/qt/css2.1/t0905-c5525-fltblck-01-d-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png:
- platform/qt/css2.1/t0905-c5525-fltclr-00-c-ag-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltcont-00-d-g-expected.png:
- platform/qt/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
- platform/qt/css2.1/t0905-c5525-flthw-00-c-g-expected.png:
- platform/qt/css2.1/t0905-c5525-flthw-00-c-g-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltinln-00-c-ag-expected.png:
- platform/qt/css2.1/t0905-c5525-fltinln-00-c-ag-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png:
- platform/qt/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltmult-00-d-g-expected.png:
- platform/qt/css2.1/t0905-c5525-fltmult-00-d-g-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
- platform/qt/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltwidth-01-c-g-expected.png:
- platform/qt/css2.1/t0905-c5525-fltwidth-01-c-g-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltwidth-02-c-g-expected.png:
- platform/qt/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png:
- platform/qt/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
- platform/qt/css2.1/t0905-c5525-fltwrap-00-b-expected.png:
- platform/qt/css2.1/t0905-c5525-fltwrap-00-b-expected.txt:
- platform/qt/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png:
- platform/qt/css2.1/t0905-c5526-fltclr-00-c-ag-expected.txt:
- platform/qt/css2.1/t0905-c5526-flthw-00-c-g-expected.png:
- platform/qt/css2.1/t0905-c5526-flthw-00-c-g-expected.txt:
- platform/qt/css2.1/t090501-c414-flt-00-d-expected.png:
- platform/qt/css2.1/t090501-c414-flt-00-d-expected.txt:
- platform/qt/css2.1/t090501-c414-flt-01-b-expected.png:
- platform/qt/css2.1/t090501-c414-flt-01-b-expected.txt:
- platform/qt/css2.1/t090501-c414-flt-02-d-g-expected.png:
- platform/qt/css2.1/t090501-c414-flt-02-d-g-expected.txt:
- platform/qt/css2.1/t090501-c414-flt-03-b-g-expected.png:
- platform/qt/css2.1/t090501-c414-flt-03-b-g-expected.txt:
- platform/qt/css2.1/t090501-c414-flt-ln-00-d-expected.png:
- platform/qt/css2.1/t090501-c414-flt-ln-00-d-expected.txt:
- platform/qt/css2.1/t090501-c414-flt-ln-01-d-g-expected.png:
- platform/qt/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt:
- platform/qt/css2.1/t090501-c414-flt-ln-02-d-expected.png:
- platform/qt/css2.1/t090501-c414-flt-ln-02-d-expected.txt:
- platform/qt/css2.1/t090501-c414-flt-ln-03-d-expected.png:
- platform/qt/css2.1/t090501-c414-flt-ln-03-d-expected.txt:
- platform/qt/css2.1/t090501-c5525-flt-l-00-b-g-expected.png:
- platform/qt/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt:
- platform/qt/css2.1/t090501-c5525-flt-r-00-b-g-expected.png:
- platform/qt/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt:
- platform/qt/css2.1/t1503-c522-font-family-00-b-expected.png:
- platform/qt/css2.1/t1503-c522-font-family-00-b-expected.txt:
- platform/qt/css2.1/t1508-c527-font-03-b-expected.png:
- platform/qt/css2.1/t1508-c527-font-03-b-expected.txt:
- platform/qt/css2.1/t1508-c527-font-06-b-expected.png:
- platform/qt/css2.1/t1508-c527-font-06-b-expected.txt:
- 10:22 AM Changeset in webkit [123630] by
-
- 2 edits in trunk/Source/WebKit2
Chinese IM receives incorrect/duplicated key events in text fields in webpages in Safari.
https://bugs.webkit.org/show_bug.cgi?id=89048
<rdar://problem/11786384>
Reviewed by Andreas Kling.
Cannot test text input from UI process side.
Stop relying on IPC to handle key events in order. There are too many complications
where out of order delivery is performed. Instead, queue the events at UI process
side.
- UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleKeyboardEvent): (WebKit::WebPageProxy::didReceiveEvent):
- 10:21 AM Changeset in webkit [123629] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] clock_gettime() in BackingStore.cpp should use CLOCK_MONOTONIC
https://bugs.webkit.org/show_bug.cgi?id=91898
Reviewed by Yong Li.
Patch by Jacky Jiang <zhajiang@rim.com>
Let pthread condition variable in BackingStore.cpp use monotonic clock
to fix a regression caused by r123266.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::BackingStorePrivate):
- 10:07 AM Changeset in webkit [123628] by
-
- 19 edits in trunk/Source
[chromium] Unify compositor quadTransform/drawTransform/originTransform
https://bugs.webkit.org/show_bug.cgi?id=91417
Reviewed by Kenneth Russell.
Source/WebCore:
drawTransform used to operate on centered layer rects. To unify quad
transforms, draw transforms, and origin transforms, make draw
transforms operate on content rects with the origin in the top left.
This essentially eliminates the need for surface origin transforms,
which will be eliminated in a future patch.
Also, remove the unused CCLayerImpl::getDrawRect function.
No-op refactoring. Tested by existing tests.
- platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::drawRenderPassQuad):
- platform/graphics/chromium/RenderSurfaceChromium.cpp:
(WebCore::RenderSurfaceChromium::drawableContentRect):
- platform/graphics/chromium/cc/CCDamageTracker.cpp:
(WebCore::CCDamageTracker::extendDamageForLayer):
- platform/graphics/chromium/cc/CCLayerImpl.cpp:
(WebCore::CCLayerImpl::createSharedQuadState):
- platform/graphics/chromium/cc/CCLayerImpl.h:
(CCLayerImpl):
- platform/graphics/chromium/cc/CCLayerSorter.cpp:
(WebCore::CCLayerSorter::LayerShape::LayerShape):
(WebCore::CCLayerSorter::createGraphNodes):
- platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::calculateVisibleContentRect):
(WebCore::calculateDrawTransformsInternal):
- platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::::markOccludedBehindLayer):
(WebCore::::occluded):
(WebCore::::unoccludedContentRect):
- platform/graphics/chromium/cc/CCRenderPass.cpp:
(WebCore::CCRenderPass::appendQuadsToFillScreen):
- platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::drawableContentRect):
Source/WebKit/chromium:
Clean up tests to refer to the new draw transform semantics.
- tests/CCDamageTrackerTest.cpp:
(WebKitTests::createTestTreeWithOneSurface):
(WebKitTests::createTestTreeWithTwoSurfaces):
(WebKitTests::TEST_F):
- tests/CCLayerSorterTest.cpp:
- tests/CCLayerTreeHostCommonTest.cpp:
- tests/CCLayerTreeHostImplTest.cpp:
- tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
- tests/CCQuadCullerTest.cpp:
- tests/TiledLayerChromiumTest.cpp:
- 9:52 AM Changeset in webkit [123627] by
-
- 22 edits2 copies3 adds in trunk
MediaStream API: Update MediaStreamTrack to match the specification
https://bugs.webkit.org/show_bug.cgi?id=90180
Reviewed by Adam Barth.
Source/Platform:
- chromium/public/WebMediaStreamDescriptor.h:
(WebMediaStreamDescriptor):
- chromium/public/WebMediaStreamSource.h:
(WebMediaStreamSource):
Source/WebCore:
MediaStreamTracks are now required to show the status of the underlying source,
and trigger events when that status changes.
Test: fast/mediastream/MediaStreamTrack.html
- GNUmakefile.list.am:
- Modules/mediastream/MediaStream.cpp:
(WebCore::MediaStream::MediaStream):
(WebCore::MediaStream::addTrack):
- Modules/mediastream/MediaStreamTrack.cpp:
(WebCore::MediaStreamTrack::create):
(WebCore::MediaStreamTrack::MediaStreamTrack):
(WebCore::MediaStreamTrack::~MediaStreamTrack):
(WebCore::MediaStreamTrack::setEnabled):
(WebCore::MediaStreamTrack::readyState):
(WebCore):
(WebCore::MediaStreamTrack::sourceChangedState):
(WebCore::MediaStreamTrack::stop):
(WebCore::MediaStreamTrack::interfaceName):
(WebCore::MediaStreamTrack::scriptExecutionContext):
(WebCore::MediaStreamTrack::eventTargetData):
(WebCore::MediaStreamTrack::ensureEventTargetData):
- Modules/mediastream/MediaStreamTrack.h:
- Modules/mediastream/MediaStreamTrack.idl:
- WebCore.gypi:
- dom/EventNames.h:
(WebCore):
- dom/EventTargetFactory.in:
- platform/chromium/support/WebMediaStreamDescriptor.cpp:
- platform/chromium/support/WebMediaStreamSource.cpp:
(WebKit::WebMediaStreamSource::setReadyState):
(WebKit):
(WebKit::WebMediaStreamSource::readyState):
- platform/mediastream/MediaStreamSource.cpp: Copied from Source/WebCore/platform/mediastream/MediaStreamSource.h.
(WebCore):
(WebCore::MediaStreamSource::create):
(WebCore::MediaStreamSource::MediaStreamSource):
(WebCore::MediaStreamSource::setReadyState):
(WebCore::MediaStreamSource::addObserver):
(WebCore::MediaStreamSource::removeObserver):
- platform/mediastream/MediaStreamSource.h:
(Observer):
(WebCore::MediaStreamSource::Observer::~Observer):
(MediaStreamSource):
(WebCore::MediaStreamSource::readyState):
- platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
(WebCore::MediaStreamCenterChromium::queryMediaStreamSources):
(WebCore::MediaStreamCenterChromium::didCreateMediaStream):
Tools:
Adding a Mock WebMediaStreamCenter to enable better LayoutTests.
- DumpRenderTree/DumpRenderTree.gypi:
- DumpRenderTree/chromium/MockWebKitPlatformSupport.cpp:
(MockWebKitPlatformSupport::createMediaStreamCenter):
- DumpRenderTree/chromium/MockWebMediaStreamCenter.cpp: Added.
(WebKit):
(WebKit::MockWebMediaStreamCenter::MockWebMediaStreamCenter):
(WebKit::MockWebMediaStreamCenter::queryMediaStreamSources):
(WebKit::MockWebMediaStreamCenter::didEnableMediaStreamTrack):
(WebKit::MockWebMediaStreamCenter::didDisableMediaStreamTrack):
(WebKit::MockWebMediaStreamCenter::didStopLocalMediaStream):
(WebKit::MockWebMediaStreamCenter::didCreateMediaStream):
(WebKit::MockWebMediaStreamCenter::constructSDP):
- DumpRenderTree/chromium/MockWebMediaStreamCenter.h: Copied from Tools/DumpRenderTree/chromium/MockWebKitPlatformSupport.cpp.
(WebKit):
(MockWebMediaStreamCenter):
(WebKit::MockWebMediaStreamCenter::MockWebMediaStreamCenter):
LayoutTests:
- fast/mediastream/MediaStreamTrack-expected.txt: Added.
- fast/mediastream/MediaStreamTrack.html: Added.
- 9:45 AM Changeset in webkit [123626] by
-
- 4 edits in trunk/Source/WebCore
Incorrect rounding in ceiledLayoutUnit and roundedLayoutUnit.
https://bugs.webkit.org/show_bug.cgi?id=91061
Reviewed by Adam Barth.
The two functions are currently both returning the flooredLayoutUnit when subpixel
layout is enabled. This patch changes them to return the correct fractional rounded
value.
- platform/FractionalLayoutUnit.h:
(WebCore::FractionalLayoutUnit::fromFloatCeil):
(FractionalLayoutUnit):
(WebCore::FractionalLayoutUnit::fromFloatRound):
- rendering/LayoutTypes.h:
(WebCore::roundedLayoutUnit):
(WebCore::ceiledLayoutUnit):
- rendering/RenderBlock.cpp:
(WebCore::updatePreferredWidth):
- 9:34 AM WebKitGTK/WebKit2Roadmap edited by
- (diff)
- 9:13 AM Changeset in webkit [123625] by
-
- 22 edits in trunk/Source/WebCore
Add *explicit* keyword to constructors in WebCore/platform
https://bugs.webkit.org/show_bug.cgi?id=92238
Reviewed by Kentaro Hara.
As a step to let *explicit* keyword add to constructors which have a parameter,
*explicit* keyword is added to Source/WebCore/platform in order to avoid implicit
type conversion.
Some files in platform directory can't use explicit keyword because of build breaks.
No new tests. Covered by existing tests.
- platform/AutodrainedPool.h:
(AutodrainedPool):
- platform/ContentType.h:
(ContentType):
- platform/ContextMenu.h:
(ContextMenu):
- platform/ContextMenuItem.h:
(ContextMenuItem):
- platform/Cursor.h:
(WebCore::SharedCursor::SharedCursor):
(Cursor):
- platform/KURL.h:
(WebCore::KURL::KURL):
(KURL):
- platform/KURLGooglePrivate.h:
(KURLGooglePrivate):
- platform/PODRedBlackTree.h:
(WebCore::PODRedBlackTree::PODRedBlackTree):
- platform/Pasteboard.h:
(Pasteboard):
- platform/PlatformEvent.h:
(WebCore::PlatformEvent::PlatformEvent):
- platform/PlatformKeyboardEvent.h:
(PlatformKeyboardEvent):
- platform/PlatformMouseEvent.h:
(PlatformMouseEvent):
- platform/PlatformPasteboard.h:
(PlatformPasteboard):
- platform/PlatformTouchEvent.h:
(PlatformTouchEvent):
- platform/PlatformWheelEvent.h:
(PlatformWheelEvent):
- platform/RunLoop.h:
(TimerBase):
- platform/ScrollAnimator.h:
(ScrollAnimator):
- platform/ScrollAnimatorNone.h:
(ScrollAnimatorNone):
- platform/SharedBuffer.h:
(SharedBuffer):
- platform/WheelFlingPlatformGestureCurve.h:
(WheelFlingPlatformGestureCurve):
- platform/Widget.h:
(Widget):
- 9:09 AM Changeset in webkit [123624] by
-
- 12 edits4 adds in trunk
NodesFromRect and area-based hit-testing can not handle CSS transforms.
https://bugs.webkit.org/show_bug.cgi?id=85792
Reviewed by Eric Seidel.
Source/WebCore:
To support the combination of CSS transforms and rect based hit testing,
we need to test against the transformed rect, instead of the original rect.
This patch makes HitTestPoint store the exact transformed FloatPoint and
FloatQuad, and modifies the intersection methods so that they will use a
new FloatQuad based intersection when transforms requires it.
Tests: fast/dom/nodesFromRect/nodesFromRect-rotate.html
fast/dom/nodesFromRect/nodesFromRect-scale.html
- platform/graphics/FloatQuad.cpp:
(WebCore::determinant):
(WebCore::rightMostCornerToVector):
(WebCore::FloatQuad::intersectsRect):
(WebCore::FloatQuad::isCounterclockwise):
- platform/graphics/FloatQuad.h:
(FloatQuad):
- rendering/HitTestResult.cpp:
(WebCore::HitTestPoint::HitTestPoint):
(WebCore::HitTestPoint::operator=):
(WebCore::HitTestPoint::move):
(WebCore::HitTestPoint::intersectsRect):
(WebCore::HitTestPoint::intersects):
- rendering/HitTestResult.h:
(HitTestPoint):
(WebCore::HitTestPoint::isRectilinear):
(WebCore::HitTestPoint::transformedPoint):
(WebCore::HitTestPoint::transformedRect):
- rendering/HitTestingTransformState.cpp:
(WebCore::HitTestingTransformState::flattenWithTransform):
(WebCore::HitTestingTransformState::mappedArea):
(WebCore::HitTestingTransformState::boundsOfMappedArea):
- rendering/HitTestingTransformState.h:
(WebCore::HitTestingTransformState::create):
(WebCore::HitTestingTransformState::HitTestingTransformState):
- rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::hitTestRegion):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::hitTest):
(WebCore::RenderLayer::createLocalTransformState):
(WebCore::RenderLayer::hitTestLayer):
(WebCore::RenderLayer::hitTestChildLayerColumns):
- rendering/RenderLayer.h:
- rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::nodeAtFloatPoint):
LayoutTests:
Adds nodesFromRect tests that tests the API under the CSS transforms
scale and rotate.
- fast/dom/nodesFromRect/nodesFromRect-rotate-expected.txt: Added.
- fast/dom/nodesFromRect/nodesFromRect-rotate.html: Added.
- fast/dom/nodesFromRect/nodesFromRect-scale-expected.txt: Added.
- fast/dom/nodesFromRect/nodesFromRect-scale.html: Added.
- 8:51 AM Changeset in webkit [123623] by
-
- 5 edits in trunk/Source/WebCore
Add HTMLStackItem.h to project files
https://bugs.webkit.org/show_bug.cgi?id=92221
Patch by Kwang Yul Seo <skyul@company100.net> on 2012-07-25
Reviewed by Adam Barth.
Added HTMLStackItem.h introduced in r123399 to project files.
Project file changes only, no change in behavior thus no new tests.
- GNUmakefile.list.am:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- 8:40 AM Changeset in webkit [123622] by
-
- 5 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Add "SelectAll" to WebPage
https://bugs.webkit.org/show_bug.cgi?id=92246
Patch by Andy Chen <andchen@rim.com> on 2012-07-25
Reviewed by Antonio Gomes.
Add "Select All" editor command to WebPage.
Internally reviewed by Mike Fenton.
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::selectAll):
(WebKit):
- Api/WebPage.h:
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::selectAll):
(WebKit):
- WebKitSupport/InputHandler.h:
- 8:14 AM Changeset in webkit [123621] by
-
- 3 edits3 deletes in trunk
Unreviewed, rolling out r123606.
http://trac.webkit.org/changeset/123606
https://bugs.webkit.org/show_bug.cgi?id=92247
broke Windows build of Chromium (Requested by tomhudson on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-25
.:
- ManualTests/forms/color-suggestion-picker.html: Removed.
Source/WebCore:
- Resources/colorSuggestionPicker.css: Removed.
- Resources/colorSuggestionPicker.js: Removed.
- WebCore.gyp/WebCore.gyp:
- 8:14 AM Changeset in webkit [123620] by
-
- 176 edits57 adds7 deletes in trunk/LayoutTests
[Qt] css2.1/t1* tests needs rebaseline after new testfonts
https://bugs.webkit.org/show_bug.cgi?id=92250
Unreviewed.
- platform/qt-5.0-wk2/Skipped:
- platform/qt-5.0/Skipped:
- platform/qt-5.0/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt: Removed.
- platform/qt-5.0/css2.1/t1202-counter-03-b-expected.txt: Removed.
- platform/qt-5.0/css2.1/t1202-counter-04-b-expected.txt: Removed.
- platform/qt-5.0/css2.1/t1202-counters-03-b-expected.txt: Removed.
- platform/qt-5.0/css2.1/t1205-c566-list-stl-01-c-g-expected.txt: Removed.
- platform/qt/css2.1/t1001-abs-pos-cb-01-b-expected.png:
- platform/qt/css2.1/t1001-abs-pos-cb-01-b-expected.txt:
- platform/qt/css2.1/t1001-abs-pos-cb-02-b-expected.png:
- platform/qt/css2.1/t1001-abs-pos-cb-02-b-expected.txt:
- platform/qt/css2.1/t1001-abs-pos-cb-03-b-expected.png:
- platform/qt/css2.1/t1001-abs-pos-cb-03-b-expected.txt:
- platform/qt/css2.1/t1001-abs-pos-cb-04-b-expected.png:
- platform/qt/css2.1/t1001-abs-pos-cb-04-b-expected.txt:
- platform/qt/css2.1/t1001-abs-pos-cb-05-b-expected.png:
- platform/qt/css2.1/t1001-abs-pos-cb-05-b-expected.txt:
- platform/qt/css2.1/t1001-abs-pos-cb-06-b-expected.png:
- platform/qt/css2.1/t1001-abs-pos-cb-06-b-expected.txt:
- platform/qt/css2.1/t1001-abs-pos-cb-07-b-expected.png:
- platform/qt/css2.1/t1001-abs-pos-cb-07-b-expected.txt:
- platform/qt/css2.1/t1001-abs-pos-cb-08-b-expected.png:
- platform/qt/css2.1/t1001-abs-pos-cb-08-b-expected.txt:
- platform/qt/css2.1/t1001-abs-pos-cb-09-b-expected.png:
- platform/qt/css2.1/t1001-abs-pos-cb-09-b-expected.txt:
- platform/qt/css2.1/t1002-c5523-width-00-b-g-expected.png:
- platform/qt/css2.1/t1002-c5523-width-00-b-g-expected.txt:
- platform/qt/css2.1/t1002-c5523-width-01-b-g-expected.png:
- platform/qt/css2.1/t1002-c5523-width-01-b-g-expected.txt:
- platform/qt/css2.1/t1002-c5523-width-02-b-g-expected.png:
- platform/qt/css2.1/t1002-c5523-width-02-b-g-expected.txt:
- platform/qt/css2.1/t100303-c412-blockw-00-d-ag-expected.png:
- platform/qt/css2.1/t100303-c412-blockw-00-d-ag-expected.txt:
- platform/qt/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.png:
- platform/qt/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.txt:
- platform/qt/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png:
- platform/qt/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt:
- platform/qt/css2.1/t1004-c43-rpl-bbx-00-d-ag-expected.png:
- platform/qt/css2.1/t1004-c43-rpl-bbx-00-d-ag-expected.txt:
- platform/qt/css2.1/t1004-c5524-width-00-b-g-expected.png:
- platform/qt/css2.1/t1004-c5524-width-00-b-g-expected.txt:
- platform/qt/css2.1/t1005-c5524-width-00-b-g-expected.png:
- platform/qt/css2.1/t1005-c5524-width-00-b-g-expected.txt:
- platform/qt/css2.1/t1005-c5524-width-01-b-g-expected.png:
- platform/qt/css2.1/t1005-c5524-width-01-b-g-expected.txt:
- platform/qt/css2.1/t1008-c44-ln-box-00-d-ag-expected.png:
- platform/qt/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt:
- platform/qt/css2.1/t1008-c44-ln-box-01-d-ag-expected.png:
- platform/qt/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt:
- platform/qt/css2.1/t1008-c44-ln-box-03-d-ag-expected.png:
- platform/qt/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt:
- platform/qt/css2.1/t100801-c42-ibx-ht-00-d-a-expected.png:
- platform/qt/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt:
- platform/qt/css2.1/t100801-c544-valgn-00-a-ag-expected.png:
- platform/qt/css2.1/t100801-c544-valgn-00-a-ag-expected.txt:
- platform/qt/css2.1/t100801-c544-valgn-02-d-agi-expected.png:
- platform/qt/css2.1/t100801-c544-valgn-02-d-agi-expected.txt:
- platform/qt/css2.1/t100801-c544-valgn-03-d-agi-expected.png:
- platform/qt/css2.1/t100801-c544-valgn-03-d-agi-expected.txt:
- platform/qt/css2.1/t100801-c544-valgn-04-d-agi-expected.png:
- platform/qt/css2.1/t100801-c544-valgn-04-d-agi-expected.txt:
- platform/qt/css2.1/t100801-c548-leadin-00-d-a-expected.png:
- platform/qt/css2.1/t100801-c548-leadin-00-d-a-expected.txt:
- platform/qt/css2.1/t100801-c548-ln-ht-00-c-a-expected.png:
- platform/qt/css2.1/t100801-c548-ln-ht-00-c-a-expected.txt:
- platform/qt/css2.1/t100801-c548-ln-ht-01-b-ag-expected.png: Removed.
- platform/qt/css2.1/t100801-c548-ln-ht-01-b-ag-expected.txt: Removed.
- platform/qt/css2.1/t100801-c548-ln-ht-03-d-ag-expected.png:
- platform/qt/css2.1/t100801-c548-ln-ht-03-d-ag-expected.txt:
- platform/qt/css2.1/t100801-c548-ln-ht-04-d-ag-expected.png:
- platform/qt/css2.1/t100801-c548-ln-ht-04-d-ag-expected.txt:
- platform/qt/css2.1/t1202-counter-00-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-00-b-expected.txt:
- platform/qt/css2.1/t1202-counter-01-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-01-b-expected.txt:
- platform/qt/css2.1/t1202-counter-02-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-02-b-expected.txt:
- platform/qt/css2.1/t1202-counter-03-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-03-b-expected.txt:
- platform/qt/css2.1/t1202-counter-04-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-04-b-expected.txt:
- platform/qt/css2.1/t1202-counter-05-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-05-b-expected.txt:
- platform/qt/css2.1/t1202-counter-06-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-06-b-expected.txt:
- platform/qt/css2.1/t1202-counter-07-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-07-b-expected.txt:
- platform/qt/css2.1/t1202-counter-08-b-expected.png:
- platform/qt/css2.1/t1202-counter-08-b-expected.txt:
- platform/qt/css2.1/t1202-counter-11-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-11-b-expected.txt:
- platform/qt/css2.1/t1202-counter-12-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-12-b-expected.txt:
- platform/qt/css2.1/t1202-counter-13-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-13-b-expected.txt:
- platform/qt/css2.1/t1202-counter-14-b-expected.png: Added.
- platform/qt/css2.1/t1202-counter-14-b-expected.txt:
- platform/qt/css2.1/t1202-counter-16-f-expected.png: Added.
- platform/qt/css2.1/t1202-counter-16-f-expected.txt:
- platform/qt/css2.1/t1202-counters-00-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-00-b-expected.txt:
- platform/qt/css2.1/t1202-counters-01-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-01-b-expected.txt:
- platform/qt/css2.1/t1202-counters-02-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-02-b-expected.txt:
- platform/qt/css2.1/t1202-counters-03-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-03-b-expected.txt:
- platform/qt/css2.1/t1202-counters-05-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-05-b-expected.txt:
- platform/qt/css2.1/t1202-counters-06-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-06-b-expected.txt:
- platform/qt/css2.1/t1202-counters-07-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-07-b-expected.txt:
- platform/qt/css2.1/t1202-counters-08-b-expected.png:
- platform/qt/css2.1/t1202-counters-08-b-expected.txt:
- platform/qt/css2.1/t1202-counters-11-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-11-b-expected.txt:
- platform/qt/css2.1/t1202-counters-12-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-12-b-expected.txt:
- platform/qt/css2.1/t1202-counters-13-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-13-b-expected.txt:
- platform/qt/css2.1/t1202-counters-14-b-expected.png: Added.
- platform/qt/css2.1/t1202-counters-14-b-expected.txt:
- platform/qt/css2.1/t1202-counters-16-c-expected.png: Added.
- platform/qt/css2.1/t1202-counters-16-c-expected.txt:
- platform/qt/css2.1/t1202-counters-17-d-expected.png: Added.
- platform/qt/css2.1/t1202-counters-17-d-expected.txt:
- platform/qt/css2.1/t1202-counters-18-f-expected.png: Added.
- platform/qt/css2.1/t1202-counters-18-f-expected.txt:
- platform/qt/css2.1/t1204-implied-00-b-expected.png:
- platform/qt/css2.1/t1204-implied-00-b-expected.txt:
- platform/qt/css2.1/t1204-implied-01-c-expected.png:
- platform/qt/css2.1/t1204-implied-01-c-expected.txt:
- platform/qt/css2.1/t1204-implied-02-d-expected.png:
- platform/qt/css2.1/t1204-implied-02-d-expected.txt:
- platform/qt/css2.1/t1204-multiple-00-c-expected.png:
- platform/qt/css2.1/t1204-multiple-00-c-expected.txt:
- platform/qt/css2.1/t1204-multiple-01-c-expected.png:
- platform/qt/css2.1/t1204-multiple-01-c-expected.txt:
- platform/qt/css2.1/t1204-order-00-c-expected.png:
- platform/qt/css2.1/t1204-order-00-c-expected.txt:
- platform/qt/css2.1/t1204-order-01-d-expected.png:
- platform/qt/css2.1/t1204-order-01-d-expected.txt:
- platform/qt/css2.1/t1204-root-e-expected.png:
- platform/qt/css2.1/t1204-root-e-expected.txt:
- platform/qt/css2.1/t120401-scope-00-b-expected.png:
- platform/qt/css2.1/t120401-scope-00-b-expected.txt:
- platform/qt/css2.1/t120401-scope-01-c-expected.png:
- platform/qt/css2.1/t120401-scope-01-c-expected.txt:
- platform/qt/css2.1/t120401-scope-02-c-expected.png:
- platform/qt/css2.1/t120401-scope-02-c-expected.txt:
- platform/qt/css2.1/t120401-scope-03-c-expected.png:
- platform/qt/css2.1/t120401-scope-03-c-expected.txt:
- platform/qt/css2.1/t120401-scope-04-d-expected.png:
- platform/qt/css2.1/t120401-scope-04-d-expected.txt:
- platform/qt/css2.1/t120403-content-none-00-c-expected.png:
- platform/qt/css2.1/t120403-content-none-00-c-expected.txt:
- platform/qt/css2.1/t120403-display-none-00-c-expected.png:
- platform/qt/css2.1/t120403-display-none-00-c-expected.txt:
- platform/qt/css2.1/t120403-visibility-00-c-expected.png:
- platform/qt/css2.1/t120403-visibility-00-c-expected.txt:
- platform/qt/css2.1/t1205-c561-list-displ-00-b-expected.png: Added.
- platform/qt/css2.1/t1205-c561-list-displ-00-b-expected.txt:
- platform/qt/css2.1/t1205-c563-list-type-00-b-expected.png: Added.
- platform/qt/css2.1/t1205-c563-list-type-00-b-expected.txt:
- platform/qt/css2.1/t1205-c563-list-type-01-b-expected.png: Added.
- platform/qt/css2.1/t1205-c563-list-type-01-b-expected.txt:
- platform/qt/css2.1/t1205-c564-list-img-00-b-g-expected.png: Added.
- platform/qt/css2.1/t1205-c564-list-img-00-b-g-expected.txt:
- platform/qt/css2.1/t1205-c565-list-pos-00-b-expected.png: Added.
- platform/qt/css2.1/t1205-c565-list-pos-00-b-expected.txt:
- platform/qt/css2.1/t1205-c566-list-stl-00-e-ag-expected.png: Added.
- platform/qt/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt:
- platform/qt/css2.1/t1205-c566-list-stl-01-c-g-expected.png: Added.
- platform/qt/css2.1/t1205-c566-list-stl-01-c-g-expected.txt:
- platform/qt/css2.1/t1401-c531-color-00-a-expected.png:
- platform/qt/css2.1/t1401-c531-color-00-a-expected.txt:
- platform/qt/css2.1/t1402-c45-bg-canvas-00-b-expected.png:
- platform/qt/css2.1/t1402-c45-bg-canvas-00-b-expected.txt:
- platform/qt/css2.1/t140201-c532-bgcolor-00-a-expected.png: Added.
- platform/qt/css2.1/t140201-c532-bgcolor-00-a-expected.txt:
- platform/qt/css2.1/t140201-c532-bgcolor-01-b-expected.png: Added.
- platform/qt/css2.1/t140201-c532-bgcolor-01-b-expected.txt:
- platform/qt/css2.1/t140201-c533-bgimage-00-a-expected.png: Added.
- platform/qt/css2.1/t140201-c533-bgimage-00-a-expected.txt:
- platform/qt/css2.1/t140201-c533-bgimage-01-b-g-expected.png: Added.
- platform/qt/css2.1/t140201-c533-bgimage-01-b-g-expected.txt:
- platform/qt/css2.1/t140201-c534-bgre-00-b-ag-expected.png: Added.
- platform/qt/css2.1/t140201-c534-bgre-00-b-ag-expected.txt:
- platform/qt/css2.1/t140201-c534-bgre-01-b-ag-expected.png:
- platform/qt/css2.1/t140201-c534-bgre-01-b-ag-expected.txt:
- platform/qt/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png: Added.
- platform/qt/css2.1/t140201-c535-bg-fixd-00-b-g-expected.txt:
- platform/qt/css2.1/t140201-c536-bgpos-00-b-ag-expected.png: Added.
- platform/qt/css2.1/t140201-c536-bgpos-00-b-ag-expected.txt:
- platform/qt/css2.1/t140201-c536-bgpos-01-b-ag-expected.png:
- platform/qt/css2.1/t140201-c536-bgpos-01-b-ag-expected.txt:
- platform/qt/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png:
- platform/qt/css2.1/t140201-c537-bgfxps-00-c-ag-expected.txt:
- platform/qt/css2.1/t1504-c523-font-style-00-b-expected.png: Added.
- platform/qt/css2.1/t1504-c523-font-style-00-b-expected.txt:
- platform/qt/css2.1/t1505-c524-font-var-00-b-expected.png:
- platform/qt/css2.1/t1505-c524-font-var-00-b-expected.txt:
- platform/qt/css2.1/t1506-c525-font-wt-00-b-expected.png: Added.
- platform/qt/css2.1/t1506-c525-font-wt-00-b-expected.txt:
- platform/qt/css2.1/t1507-c526-font-sz-00-b-expected.png: Added.
- platform/qt/css2.1/t1507-c526-font-sz-00-b-expected.txt:
- platform/qt/css2.1/t1507-c526-font-sz-01-b-a-expected.png: Added.
- platform/qt/css2.1/t1507-c526-font-sz-01-b-a-expected.txt:
- platform/qt/css2.1/t1507-c526-font-sz-02-b-a-expected.png: Added.
- platform/qt/css2.1/t1507-c526-font-sz-02-b-a-expected.txt:
- platform/qt/css2.1/t1507-c526-font-sz-03-f-a-expected.png: Added.
- platform/qt/css2.1/t1507-c526-font-sz-03-f-a-expected.txt:
- platform/qt/css2.1/t1508-c527-font-00-b-expected.png: Added.
- platform/qt/css2.1/t1508-c527-font-00-b-expected.txt:
- platform/qt/css2.1/t1508-c527-font-01-b-expected.png: Added.
- platform/qt/css2.1/t1508-c527-font-01-b-expected.txt:
- platform/qt/css2.1/t1508-c527-font-02-b-expected.png: Added.
- platform/qt/css2.1/t1508-c527-font-02-b-expected.txt:
- platform/qt/css2.1/t1508-c527-font-04-b-expected.png: Added.
- platform/qt/css2.1/t1508-c527-font-04-b-expected.txt:
- platform/qt/css2.1/t1508-c527-font-05-b-expected.png: Added.
- platform/qt/css2.1/t1508-c527-font-05-b-expected.txt:
- platform/qt/css2.1/t1508-c527-font-07-b-expected.png: Added.
- platform/qt/css2.1/t1508-c527-font-07-b-expected.txt:
- platform/qt/css2.1/t1508-c527-font-08-b-expected.png: Added.
- platform/qt/css2.1/t1508-c527-font-08-b-expected.txt:
- platform/qt/css2.1/t1508-c527-font-09-b-expected.png: Added.
- platform/qt/css2.1/t1508-c527-font-09-b-expected.txt: Added.
- platform/qt/css2.1/t1508-c527-font-10-c-expected.png: Added.
- platform/qt/css2.1/t1508-c527-font-10-c-expected.txt:
- platform/qt/css2.1/t1601-c547-indent-01-d-expected.png:
- platform/qt/css2.1/t1601-c547-indent-01-d-expected.txt:
- platform/qt/css2.1/t1602-c546-txt-align-00-b-expected.png:
- platform/qt/css2.1/t1602-c546-txt-align-00-b-expected.txt:
- platform/qt/css2.1/t1604-c541-word-sp-01-b-a-expected.png:
- platform/qt/css2.1/t1604-c541-word-sp-01-b-a-expected.txt:
- platform/qt/css2.1/t1606-c562-white-sp-00-b-ag-expected.png:
- platform/qt/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt:
- 8:09 AM Changeset in webkit [123619] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] Calendar picker popup displays at wrong scale when deviceScaleFactor != 1.
https://bugs.webkit.org/show_bug.cgi?id=92177
Manually tested at deviceScaleFactor = 1 and 2.
Patch by Kevin Ellis <kevers@chromium.org> on 2012-07-25
Reviewed by Kent Tamura.
The device scale factor was not being set for the calendar popup.
As a result, the popup was rendered too small on hidpi displays.
This patch sets the device scale factor for any page popup.
- src/WebPagePopupImpl.cpp:
(WebKit::WebPagePopupImpl::initPage):
- 8:05 AM Changeset in webkit [123618] by
-
- 3 edits2 adds in trunk
Web Inspector: disabling property should remove "overriden" decoration from overriden UA shorthand.
https://bugs.webkit.org/show_bug.cgi?id=92253
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Bug fix with a test and more compilation markup.
Test: inspector/styles/styles-disable-then-enable-overriden-ua.html
- inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype.update):
(WebInspector.StylePropertyTreeElement):
(WebInspector.StylePropertyTreeElement.prototype):
LayoutTests:
- inspector/styles/styles-disable-then-enable-overriden-ua-expected.txt: Added.
- inspector/styles/styles-disable-then-enable-overriden-ua.html: Added.
- 7:59 AM Changeset in webkit [123617] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Don't touch a tile buffer while it's still on its way to the GPU
https://bugs.webkit.org/show_bug.cgi?id=91992
Patch by Arvid Nilsson <anilsson@rim.com> on 2012-07-25
Reviewed by Adam Treat.
PR: 141439
The copyPreviousContentsToBackSurfaceOfTile() call will also modify
buffer contents, move it after the blit generation condvar to make sure
we've waited for the buffer to become available first.
This is done as part of some general BackingStorePrivate::render()
cleanup in PR 141439.
Internally reviewed by Jakob Petsovits.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::render):
- 7:55 AM Changeset in webkit [123616] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Improve ObjectPropertiesSection UI by adding a tooltip for the value.
https://bugs.webkit.org/show_bug.cgi?id=92225
Reviewed by Pavel Feldman.
Added tooltip with property value description on the property's valueElement.
- inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.prototype.update):
- 7:12 AM Changeset in webkit [123615] by
-
- 63 edits55 adds1 delete in trunk/LayoutTests
[Qt] css2.1/t040* rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92248
Unreviewed.
- platform/qt-5.0/Skipped:
- platform/qt/css2.1/t040102-keywords-00-b-expected.png: Added.
- platform/qt/css2.1/t040102-keywords-00-b-expected.txt:
- platform/qt/css2.1/t040102-keywords-01-b-expected.png: Added.
- platform/qt/css2.1/t040102-keywords-01-b-expected.txt:
- platform/qt/css2.1/t040103-case-00-b-expected.png: Added.
- platform/qt/css2.1/t040103-case-00-b-expected.txt:
- platform/qt/css2.1/t040103-case-01-c-expected.png: Added.
- platform/qt/css2.1/t040103-case-01-c-expected.txt:
- platform/qt/css2.1/t040103-escapes-00-b-expected.png: Added.
- platform/qt/css2.1/t040103-escapes-00-b-expected.txt:
- platform/qt/css2.1/t040103-escapes-01-b-expected.png:
- platform/qt/css2.1/t040103-escapes-01-b-expected.txt:
- platform/qt/css2.1/t040103-escapes-02-d-expected.png: Added.
- platform/qt/css2.1/t040103-escapes-02-d-expected.txt:
- platform/qt/css2.1/t040103-escapes-03-b-expected.png: Added.
- platform/qt/css2.1/t040103-escapes-03-b-expected.txt:
- platform/qt/css2.1/t040103-escapes-04-b-expected.png: Added.
- platform/qt/css2.1/t040103-escapes-04-b-expected.txt:
- platform/qt/css2.1/t040103-escapes-05-c-expected.png: Added.
- platform/qt/css2.1/t040103-escapes-05-c-expected.txt:
- platform/qt/css2.1/t040103-escapes-06-b-expected.png: Added.
- platform/qt/css2.1/t040103-escapes-06-b-expected.txt:
- platform/qt/css2.1/t040103-escapes-07-b-expected.png: Added.
- platform/qt/css2.1/t040103-escapes-07-b-expected.txt:
- platform/qt/css2.1/t040103-escapes-08-b-expected.png: Added.
- platform/qt/css2.1/t040103-escapes-08-b-expected.txt:
- platform/qt/css2.1/t040103-ident-00-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-00-c-expected.txt:
- platform/qt/css2.1/t040103-ident-01-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-01-c-expected.txt:
- platform/qt/css2.1/t040103-ident-02-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-02-c-expected.txt:
- platform/qt/css2.1/t040103-ident-03-c-expected.txt: Removed.
- platform/qt/css2.1/t040103-ident-04-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-04-c-expected.txt:
- platform/qt/css2.1/t040103-ident-05-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-05-c-expected.txt:
- platform/qt/css2.1/t040103-ident-06-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-06-c-expected.txt:
- platform/qt/css2.1/t040103-ident-07-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-07-c-expected.txt:
- platform/qt/css2.1/t040103-ident-08-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-08-c-expected.txt:
- platform/qt/css2.1/t040103-ident-09-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-09-c-expected.txt:
- platform/qt/css2.1/t040103-ident-10-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-10-c-expected.txt:
- platform/qt/css2.1/t040103-ident-11-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-11-c-expected.txt:
- platform/qt/css2.1/t040103-ident-12-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-12-c-expected.txt:
- platform/qt/css2.1/t040103-ident-13-c-expected.png: Added.
- platform/qt/css2.1/t040103-ident-13-c-expected.txt:
- platform/qt/css2.1/t040105-atkeyw-00-b-expected.png: Added.
- platform/qt/css2.1/t040105-atkeyw-00-b-expected.txt:
- platform/qt/css2.1/t040105-atkeyw-01-b-expected.png: Added.
- platform/qt/css2.1/t040105-atkeyw-01-b-expected.txt:
- platform/qt/css2.1/t040105-atkeyw-02-b-expected.png: Added.
- platform/qt/css2.1/t040105-atkeyw-02-b-expected.txt:
- platform/qt/css2.1/t040105-atrule-00-b-expected.png: Added.
- platform/qt/css2.1/t040105-atrule-00-b-expected.txt:
- platform/qt/css2.1/t040105-atrule-01-b-expected.png: Added.
- platform/qt/css2.1/t040105-atrule-01-b-expected.txt:
- platform/qt/css2.1/t040105-atrule-02-b-expected.png: Added.
- platform/qt/css2.1/t040105-atrule-02-b-expected.txt:
- platform/qt/css2.1/t040105-atrule-03-b-expected.png: Added.
- platform/qt/css2.1/t040105-atrule-03-b-expected.txt:
- platform/qt/css2.1/t040105-atrule-04-b-expected.png: Added.
- platform/qt/css2.1/t040105-atrule-04-b-expected.txt:
- platform/qt/css2.1/t040105-import-00-b-expected.png: Added.
- platform/qt/css2.1/t040105-import-00-b-expected.txt:
- platform/qt/css2.1/t040105-import-01-b-expected.png: Added.
- platform/qt/css2.1/t040105-import-01-b-expected.txt:
- platform/qt/css2.1/t040105-import-10-b-expected.png:
- platform/qt/css2.1/t040105-import-10-b-expected.txt:
- platform/qt/css2.1/t040109-c17-comments-00-b-expected.png: Added.
- platform/qt/css2.1/t040109-c17-comments-00-b-expected.txt:
- platform/qt/css2.1/t040109-c17-comments-01-b-expected.png: Added.
- platform/qt/css2.1/t040109-c17-comments-01-b-expected.txt:
- platform/qt/css2.1/t0402-c71-fwd-parsing-00-f-expected.png: Added.
- platform/qt/css2.1/t0402-c71-fwd-parsing-00-f-expected.txt:
- platform/qt/css2.1/t0402-c71-fwd-parsing-01-f-expected.png: Added.
- platform/qt/css2.1/t0402-c71-fwd-parsing-01-f-expected.txt:
- platform/qt/css2.1/t0402-c71-fwd-parsing-02-f-expected.png: Added.
- platform/qt/css2.1/t0402-c71-fwd-parsing-02-f-expected.txt:
- platform/qt/css2.1/t0402-c71-fwd-parsing-03-f-expected.png: Added.
- platform/qt/css2.1/t0402-c71-fwd-parsing-03-f-expected.txt:
- platform/qt/css2.1/t0402-c71-fwd-parsing-04-f-expected.png: Added.
- platform/qt/css2.1/t0402-c71-fwd-parsing-04-f-expected.txt:
- platform/qt/css2.1/t0402-syntax-01-f-expected.png: Added.
- platform/qt/css2.1/t0402-syntax-01-f-expected.txt:
- platform/qt/css2.1/t0402-syntax-02-f-expected.png: Added.
- platform/qt/css2.1/t0402-syntax-02-f-expected.txt:
- platform/qt/css2.1/t0402-syntax-03-f-expected.png: Added.
- platform/qt/css2.1/t0402-syntax-03-f-expected.txt:
- platform/qt/css2.1/t0402-syntax-04-f-expected.png: Added.
- platform/qt/css2.1/t0402-syntax-04-f-expected.txt:
- platform/qt/css2.1/t0402-syntax-05-f-expected.png: Added.
- platform/qt/css2.1/t0402-syntax-05-f-expected.txt:
- platform/qt/css2.1/t0402-syntax-06-f-expected.png: Added.
- platform/qt/css2.1/t0402-syntax-06-f-expected.txt:
- platform/qt/css2.1/t040302-c61-ex-len-00-b-a-expected.png: Added.
- platform/qt/css2.1/t040302-c61-ex-len-00-b-a-expected.txt:
- platform/qt/css2.1/t040302-c61-phys-len-00-b-expected.png: Added.
- platform/qt/css2.1/t040302-c61-phys-len-00-b-expected.txt:
- platform/qt/css2.1/t040302-c61-rel-len-00-b-ag-expected.png: Added.
- platform/qt/css2.1/t040302-c61-rel-len-00-b-ag-expected.txt:
- platform/qt/css2.1/t040303-c62-percent-00-b-ag-expected.png:
- platform/qt/css2.1/t040303-c62-percent-00-b-ag-expected.txt:
- platform/qt/css2.1/t040304-c64-uri-00-a-g-expected.png: Added.
- platform/qt/css2.1/t040304-c64-uri-00-a-g-expected.txt:
- platform/qt/css2.1/t040306-c63-color-00-b-ag-expected.png: Added.
- platform/qt/css2.1/t040306-c63-color-00-b-ag-expected.txt:
- platform/qt/css2.1/t040306-syntax-01-f-expected.png: Added.
- platform/qt/css2.1/t040306-syntax-01-f-expected.txt:
- platform/qt/css2.1/t040307-syntax-01-b-expected.png: Added.
- platform/qt/css2.1/t040307-syntax-01-b-expected.txt:
- 6:58 AM Changeset in webkit [123614] by
-
- 6 edits in trunk/Tools
[NRWT] Rename baseline_search_path() to default_baseline_search_path()
https://bugs.webkit.org/show_bug.cgi?id=92122
Reviewed by Dirk Pranke.
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.baseline_version_dir):
(Port.baseline_search_path):
(Port):
(Port.default_baseline_search_path):
(Port.expected_baselines):
- Scripts/webkitpy/layout_tests/port/base_unittest.py:
(PortTest.test_additional_platform_directory):
- Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.default_baseline_search_path):
- Scripts/webkitpy/layout_tests/port/qt.py:
(QtPort.default_baseline_search_path):
- Scripts/webkitpy/layout_tests/port/win.py:
(WinPort.default_baseline_search_path):
- 6:52 AM Changeset in webkit [123613] by
-
- 3 edits1 delete in trunk/LayoutTests
[Qt] Fix rebaseline for two tests in svg/hixie
https://bugs.webkit.org/show_bug.cgi?id=92244
Reviewed by Alexis Menard.
- platform/qt-5.0/svg/hixie/intrinsic/003-expected.txt: Removed.
- platform/qt/svg/hixie/error/017-expected.txt:
- platform/qt/svg/hixie/intrinsic/003-expected.png:
- 6:48 AM Changeset in webkit [123612] by
-
- 18 edits2 adds in trunk
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=91931
Reviewed by Vsevolod Vlasov.
- Synthetic shorthand values are now only returned for source-less styles
- CSSAgents reports longhands along with the property names in getSupportedCSSProperties
- StylesSidebarPane now has two paths: for source-enabled styles and for CSSOM-based ones (UA styles)
- CSSStyleModel uses style metainfo as a source of shorthand / longhand relationship now
Test: inspector/styles/styles-overriden-properties.html
- inspector/Inspector.json:
- inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::getSupportedCSSProperties):
- inspector/InspectorCSSAgent.h:
(InspectorCSSAgent):
- inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyle::styleWithProperties):
- inspector/front-end/CSSCompletions.js:
(WebInspector.CSSCompletions):
(WebInspector.CSSCompletions.requestCSSNameCompletions):
(WebInspector.CSSCompletions.prototype._closest):
(WebInspector.CSSCompletions.prototype.longhands):
(WebInspector.CSSCompletions.prototype.shorthands):
- inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleDeclaration):
(WebInspector.CSSStyleDeclaration.prototype.longhandProperties):
(WebInspector.CSSStyleDeclaration.prototype.shorthandValue):
(WebInspector.CSSStyleDeclaration.prototype.newBlankProperty):
(WebInspector.CSSProperty):
(WebInspector.CSSProperty.parsePayload):
- inspector/front-end/SourceCSSTokenizer.js:
(WebInspector.SourceCSSTokenizer):
- inspector/front-end/SourceCSSTokenizer.re2js:
- inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype.isPropertyOverloaded):
(WebInspector.StylePropertiesSection.prototype.update):
(WebInspector.StylePropertiesSection.prototype.onpopulate):
(WebInspector.StylePropertyTreeElement.prototype):
LayoutTests: Web Inspector: Redundant Style Declarations Missing in Styles Section
https://bugs.webkit.org/show_bug.cgi?id=91931
Reviewed by Vsevolod Vlasov.
- http/tests/inspector/elements-test.js:
(initialize_ElementTest.InspectorTest.dumpStyleTreeItem):
- inspector/elements/elements-panel-styles-expected.txt:
- inspector/styles/force-pseudo-state-expected.txt:
- inspector/styles/inject-stylesheet-expected.txt:
- inspector/styles/lazy-computed-style-expected.txt:
- inspector/styles/styles-overriden-properties-expected.txt: Added.
- inspector/styles/styles-overriden-properties.html: Added.
- inspector/styles/styles-update-from-js-expected.txt:
- platform/chromium/inspector/styles/inject-stylesheet-expected.txt: Removed.
- 6:31 AM Changeset in webkit [123611] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt/Skipped: Skip 2 more tests because of minor 32/64 bit differences.
- 6:18 AM Changeset in webkit [123610] by
-
- 4 edits in trunk/Source/WebKit/blackberry
[BlackBerry] notifyContentRendered() call missing in two spots
https://bugs.webkit.org/show_bug.cgi?id=92153
RIM PR 173340
Reviewed by Antonio Gomes.
In dispatchDidFirstVisualLayout() and repaint() in
immediate mode, we render but don't notify the
WebPageClient that the content was modified.
In the long run, we should probably keep track of
the modified reason from within render() itself
and use this to automatically notify the client
from within blitContents() and/or invalidateWindow(),
depending on the rendering path. That's somewhat of
a medium-size undertaking though; for now, adding
the call directly to the renderVisibleContents()
call sites will do.
This patch also adds a blitVisibleContents() to
dispatchDidFirstVisualLayout() where it was
inexplicably missing, probably on account of
old code that was never updated.
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::repaint):
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::resumeBackingStore):
- WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::dispatchDidFirstVisuallyNonEmptyLayout):
- 6:00 AM Changeset in webkit [123609] by
-
- 27 edits2 adds in trunk/LayoutTests
[Qt] svg/dom, svg/filters, svg/foreignObject rebaseline after new test fonts.
https://bugs.webkit.org/show_bug.cgi?id=92243
Unreviewed gardening.
These tests have been skipped because monospace fonts weren't properly used by
layout tests. After r121971, the test results are normal again.
- platform/qt-5.0/Skipped:
- platform/qt/svg/dom/SVGPathSegList-cloning-expected.png:
- platform/qt/svg/dom/SVGPathSegList-cloning-expected.txt:
- platform/qt/svg/dom/SVGPathSegList-segment-modification-expected.png:
- platform/qt/svg/dom/SVGPathSegList-segment-modification-expected.txt:
- platform/qt/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.png:
- platform/qt/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.txt:
- platform/qt/svg/filters/feColorMatrix-values-expected.txt:
- platform/qt/svg/filters/feComposite-expected.png: Added.
- platform/qt/svg/filters/feComposite-expected.txt:
- platform/qt/svg/filters/filter-on-filter-for-text-expected.png:
- platform/qt/svg/filters/filter-on-filter-for-text-expected.txt:
- platform/qt/svg/filters/filter-on-tspan-expected.png:
- platform/qt/svg/filters/filter-on-tspan-expected.txt:
- platform/qt/svg/filters/filter-width-update-expected.png:
- platform/qt/svg/filters/filter-width-update-expected.txt:
- platform/qt/svg/filters/sourceAlpha-expected.png: Added.
- platform/qt/svg/filters/sourceAlpha-expected.txt:
- platform/qt/svg/foreignObject/fO-parent-display-changes-expected.txt:
- platform/qt/svg/foreignObject/fO-parent-display-none-expected.txt:
- platform/qt/svg/foreignObject/fO-parent-display-none-with-relative-pos-content-expected.txt:
- platform/qt/svg/foreignObject/fO-parent-of-parent-display-none-expected.txt:
- platform/qt/svg/foreignObject/fO-parent-of-parent-display-none-with-relative-pos-content-expected.txt:
- platform/qt/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.png:
- platform/qt/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
- platform/qt/svg/foreignObject/svg-document-as-direct-child-expected.txt:
- platform/qt/svg/foreignObject/svg-document-in-html-document-expected.png:
- platform/qt/svg/foreignObject/svg-document-in-html-document-expected.txt:
- 5:32 AM Changeset in webkit [123608] by
-
- 69 edits2 adds in trunk/LayoutTests
[Qt] svg/hixie rebaseline after new test fonts.
https://bugs.webkit.org/show_bug.cgi?id=92242
Unreviewed gardening.
These tests have been skipped because monospace fonts weren't properly used by
layout tests. After r121971, the test results are normal again.
- platform/qt-5.0/Skipped:
- platform/qt/svg/hixie/dynamic/002-expected.txt:
- platform/qt/svg/hixie/error/002-expected.txt:
- platform/qt/svg/hixie/error/003-expected.png:
- platform/qt/svg/hixie/error/003-expected.txt:
- platform/qt/svg/hixie/error/010-expected.png:
- platform/qt/svg/hixie/error/010-expected.txt:
- platform/qt/svg/hixie/error/011-expected.png:
- platform/qt/svg/hixie/error/011-expected.txt:
- platform/qt/svg/hixie/error/013-expected.png:
- platform/qt/svg/hixie/error/013-expected.txt:
- platform/qt/svg/hixie/error/017-expected.png:
- platform/qt/svg/hixie/error/017-expected.txt:
- platform/qt/svg/hixie/intrinsic/001-expected.png:
- platform/qt/svg/hixie/intrinsic/001-expected.txt:
- platform/qt/svg/hixie/intrinsic/002-expected.png:
- platform/qt/svg/hixie/intrinsic/002-expected.txt:
- platform/qt/svg/hixie/intrinsic/003-expected.png:
- platform/qt/svg/hixie/intrinsic/003-expected.txt:
- platform/qt/svg/hixie/links/002-expected.png:
- platform/qt/svg/hixie/links/002-expected.txt:
- platform/qt/svg/hixie/mixed/003-expected.png:
- platform/qt/svg/hixie/mixed/003-expected.txt:
- platform/qt/svg/hixie/mixed/004-expected.txt: Added.
- platform/qt/svg/hixie/mixed/005-expected.txt: Added.
- platform/qt/svg/hixie/mixed/006-expected.png:
- platform/qt/svg/hixie/mixed/006-expected.txt:
- platform/qt/svg/hixie/mixed/007-expected.txt:
- platform/qt/svg/hixie/mixed/008-expected.png:
- platform/qt/svg/hixie/mixed/008-expected.txt:
- platform/qt/svg/hixie/mixed/009-expected.png:
- platform/qt/svg/hixie/mixed/009-expected.txt:
- platform/qt/svg/hixie/mixed/010-expected.png:
- platform/qt/svg/hixie/mixed/010-expected.txt:
- platform/qt/svg/hixie/mixed/011-expected.png:
- platform/qt/svg/hixie/mixed/011-expected.txt:
- platform/qt/svg/hixie/perf/001-expected.txt:
- platform/qt/svg/hixie/perf/002-expected.txt:
- platform/qt/svg/hixie/perf/003-expected.png:
- platform/qt/svg/hixie/perf/003-expected.txt:
- platform/qt/svg/hixie/perf/004-expected.png:
- platform/qt/svg/hixie/perf/004-expected.txt:
- platform/qt/svg/hixie/perf/005-expected.png:
- platform/qt/svg/hixie/perf/005-expected.txt:
- platform/qt/svg/hixie/perf/006-expected.png:
- platform/qt/svg/hixie/perf/006-expected.txt:
- platform/qt/svg/hixie/perf/007-expected.png:
- platform/qt/svg/hixie/perf/007-expected.txt:
- platform/qt/svg/hixie/processing-model/003-expected.png:
- platform/qt/svg/hixie/processing-model/003-expected.txt:
- platform/qt/svg/hixie/processing-model/004-expected.png:
- platform/qt/svg/hixie/processing-model/004-expected.txt:
- platform/qt/svg/hixie/rendering-model/003-expected.png:
- platform/qt/svg/hixie/rendering-model/003-expected.txt:
- platform/qt/svg/hixie/rendering-model/004-expected.png:
- platform/qt/svg/hixie/rendering-model/004-expected.txt:
- platform/qt/svg/hixie/text/002-expected.png:
- platform/qt/svg/hixie/text/002-expected.txt:
- platform/qt/svg/hixie/text/003-expected.png:
- platform/qt/svg/hixie/text/003-expected.txt:
- platform/qt/svg/hixie/text/003a-expected.png:
- platform/qt/svg/hixie/text/003a-expected.txt:
- platform/qt/svg/hixie/text/003b-expected.png:
- platform/qt/svg/hixie/text/003b-expected.txt:
- platform/qt/svg/hixie/viewbox/002-expected.txt:
- platform/qt/svg/hixie/viewbox/003-expected.txt:
- platform/qt/svg/hixie/viewbox/preserveAspectRatio/001-expected.png:
- platform/qt/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt:
- platform/qt/svg/hixie/viewbox/preserveAspectRatio/002-expected.png:
- platform/qt/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt:
- 5:28 AM Changeset in webkit [123607] by
-
- 3 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt-4.8/Skipped: Unskip now passing tests. (bug85203)
- platform/qt/Skipped: Skip new tests without expected files.
- 4:57 AM Changeset in webkit [123606] by
-
- 3 edits3 adds in trunk
Implement ColorSuggestionPicker page popup
https://bugs.webkit.org/show_bug.cgi?id=92109
Reviewed by Kent Tamura.
.:
- ManualTests/forms/color-suggestion-picker.html: Added. Tests colorSuggestionPicker.{js,css}
Source/WebCore:
Implements ColorSuggestionPicker page popup. This will be used in
certain ports as the datalist UI for <input type=color>.
No new tests because there is no way to open the popup yet.
- Resources/colorSuggestionPicker.css: Added.
(body):
(#main):
(.color-swatch):
(.color-swatch:hover):
(.color-swatch-container):
(.other-color):
- Resources/colorSuggestionPicker.js: Added.
(getScrollbarWidth):When there are more than 20 colors we need to
increase the window width to accommodate the scroll bar.
(createElement):
(handleMessage):
(initialize):
(handleArgumentsTimeout):
(validateArguments):
(submitValue): Calls setValueAndClosePopup with a numValue of 0.
(handleCancel): Calls setValueAndClosePopup with a numValue of -1.
(chooseOtherColor): Calls setValueAndClosePopup with a numValue of -2.
(ColorPicker):
(ColorPicker.prototype._layout): Lays out the color swatches in a 5x4
grid.
(ColorPicker.prototype._handleSwatchClick):
- WebCore.gyp/WebCore.gyp:
- 4:54 AM Changeset in webkit [123605] by
-
- 2 edits in trunk/Source/WebCore
Fix arithmetic composite filter for auto-vectorization
https://bugs.webkit.org/show_bug.cgi?id=92123
Reviewed by Nikolas Zimmermann.
Since only clamping of the result prevents GCC from auto-vectorizing the inner loop, this patch
adds a faster version of the inner loop to handle cases where clamping is unnecessary,
- platform/graphics/filters/FEComposite.cpp:
(WebCore::computeArithmeticPixelsUnclamped):
(WebCore::arithmeticSoftware):
- 4:46 AM Changeset in webkit [123604] by
-
- 19 edits in trunk
[EFL] Use eina_stringshare_add instead of strdup.
https://bugs.webkit.org/show_bug.cgi?id=92072
Reviewed by Kentaro Hara.
Eina of EFL libraries supports a string functionality that replaces strdup. So, EFL port needs
to replace strdup with eina_stringshare_add function.
Source/WebKit/efl:
In addition, some API descriptions need to be modified according to ewk APIs's parameter and
return type change.
- WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::runJavaScriptPrompt):
- ewk/ewk_cookies.cpp:
(ewk_cookies_get_all):
(ewk_cookies_cookie_free):
- ewk/ewk_cookies.h:
- ewk/ewk_frame.cpp:
(ewk_frame_script_execute):
(ewk_frame_selection_get):
(ewk_frame_resources_location_get):
(ewk_frame_plain_text_get):
- ewk/ewk_frame.h:
- ewk/ewk_intent.cpp:
(ewk_intent_suggestions_get):
(ewk_intent_extra_get):
(ewk_intent_extra_names_get):
- ewk/ewk_intent.h:
- ewk/ewk_js.cpp:
(ewk_js_variant_to_npvariant):
(ewk_js_object_new):
- ewk/ewk_view.cpp:
(_ewk_view_smart_run_javascript_prompt):
(ewk_view_selection_get):
(ewk_view_run_javascript_prompt):
(ewk_view_run_open_panel):
- ewk/ewk_view.h:
- ewk/ewk_view_private.h:
Source/WebKit2:
- UIProcess/API/efl/ewk_intent.cpp:
(ewk_intent_suggestions_get):
(ewk_intent_extra_get):
- UIProcess/API/efl/ewk_intent.h:
Tools:
DumpRenderTree also needs to be modified according to ewk APIs's parameter change.
- DumpRenderTree/efl/DumpRenderTree.cpp:
(dumpFramesAsText):
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::onFrameIntentNew):
- DumpRenderTree/efl/DumpRenderTreeView.cpp:
(onJavaScriptPrompt):
- 4:28 AM Changeset in webkit [123603] by
-
- 1 edit1 add in trunk/LayoutTests
[EFL] Rebaseline for changed mathml dump after r123492
https://bugs.webkit.org/show_bug.cgi?id=92234
Unreviewed, EFL rebaseline.
Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-07-25
- platform/efl/mathml/msub-anonymous-child-render-crash-expected.txt: Added.
- 4:15 AM Changeset in webkit [123602] by
-
- 2 edits in trunk/Source/WebCore
Fix blend filter for autovectorizing
https://bugs.webkit.org/show_bug.cgi?id=91398
Reviewed by Nikolas Zimmermann.
Get rid of wrapper classes, and use functions directly as template argument.
- platform/graphics/filters/FEBlend.cpp:
(WebCore::feBlendNormal):
(WebCore::feBlendMultiply):
(WebCore::feBlendScreen):
(WebCore::feBlendDarken):
(WebCore::feBlendLighten):
(WebCore::feBlendUnknown):
(WebCore::platformApply):
(WebCore::FEBlend::platformApplyGeneric):
- 4:03 AM Changeset in webkit [123601] by
-
- 5 edits in trunk/Source/WebCore
Add methods to ColorChooserClient so the color chooser can show suggestions
https://bugs.webkit.org/show_bug.cgi?id=92114
Reviewed by Kent Tamura.
Added methods to ColorChooserClient so the color chooser can ask the
client for suggestions and current color.
No new tests. The methods are not used yet.
- html/ColorInputType.cpp:
(WebCore::ColorInputType::currentColor): Returns what color the color
chooser should display.
(WebCore):
(WebCore::ColorInputType::shouldShowSuggestions): Returns if the UI for
suggestions should be shown.
(WebCore::ColorInputType::suggestions): Returns a list of colors to be
suggested to the user.
- html/ColorInputType.h:
(ColorInputType):
- html/HTMLInputElement.h:
(HTMLInputElement): Made dataList() public.
- platform/ColorChooserClient.h:
(ColorChooserClient):
- 3:35 AM Changeset in webkit [123600] by
-
- 11 edits in trunk/Source/WebCore
Replace int with long in test IDL files
https://bugs.webkit.org/show_bug.cgi?id=92181
Reviewed by Adam Barth.
int is not a valid type in WebIDL. It should be long.
We should replace int with long in bindings/scripts/test/*.idl.
This is a follow-up patch for r123550.
Test: bindings/scripts/test/TestObj.idl
- bindings/scripts/test/CPP/WebDOMTestObj.cpp:
(WebDOMTestObj::readOnlyLongAttr):
(WebDOMTestObj::Attr):
(WebDOMTestObj::setAttr):
(WebDOMTestObj::voidMethodWithArgs):
(WebDOMTestObj::Method):
(WebDOMTestObj::MethodWithArgs):
(WebDOMTestObj::objMethodWithArgs):
- bindings/scripts/test/CPP/WebDOMTestObj.h:
- bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(webkit_dom_test_obj_set_property):
(webkit_dom_test_obj_get_property):
(webkit_dom_test_obj_class_init):
(webkit_dom_test_obj_void_method_with_args):
(webkit_dom_test_obj_method):
(webkit_dom_test_obj_method_with_args):
(webkit_dom_test_obj_obj_method_with_args):
(webkit_dom_test_obj_get_read_only_long_attr):
(webkit_dom_test_obj_get_attr):
(webkit_dom_test_obj_set_attr):
(webkit_dom_test_obj_get_strawberry):
(webkit_dom_test_obj_set_strawberry):
- bindings/scripts/test/GObject/WebKitDOMTestObj.h:
- bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore):
(WebCore::jsTestObjReadOnlyLongAttr):
(WebCore::jsTestObjConstructorStaticReadOnlyLongAttr):
(WebCore::jsTestObjAttr):
(WebCore::setJSTestObjAttr):
(WebCore::setJSTestObjStrawberry):
(WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionMethod):
(WebCore::jsTestObjPrototypeFunctionMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionMethodReturningSequence):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
- bindings/scripts/test/JS/JSTestObj.h:
(WebCore):
- bindings/scripts/test/ObjC/DOMTestObj.h:
- bindings/scripts/test/ObjC/DOMTestObj.mm:
(-[DOMTestObj readOnlyLongAttr]):
(-[DOMTestObj Attr]):
(-[DOMTestObj setAttr:]):
(-[DOMTestObj voidMethodWithArgs:strArg:objArg:]):
(-[DOMTestObj Method]):
(-[DOMTestObj MethodWithArgs:strArg:objArg:]):
(-[DOMTestObj objMethodWithArgs:strArg:objArg:]):
(-[DOMTestObj customMethodWithArgs:strArg:objArg:]):
- bindings/scripts/test/TestObj.idl:
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::readOnlyLongAttrAttrGetter):
(WebCore::TestObjV8Internal::staticReadOnlyLongAttrAttrGetter):
(WebCore::TestObjV8Internal::AttrAttrGetter):
(WebCore::TestObjV8Internal::AttrAttrSetter):
(WebCore::TestObjV8Internal::strawberryAttrSetter):
(WebCore::TestObjV8Internal::voidMethodWithArgsCallback):
(WebCore::TestObjV8Internal::MethodCallback):
(WebCore::TestObjV8Internal::MethodWithArgsCallback):
(WebCore::TestObjV8Internal::objMethodWithArgsCallback):
(WebCore::TestObjV8Internal::methodReturningSequenceCallback):
(WebCore::TestObjV8Internal::overloadedMethod2Callback):
(WebCore::TestObjV8Internal::overloadedMethod4Callback):
(WebCore):
(WebCore::ConfigureV8TestObjTemplate):
- 3:26 AM Changeset in webkit [123599] by
-
- 3 edits in trunk/Tools
[WTR][EFL] Wheel events are not emitted
https://bugs.webkit.org/show_bug.cgi?id=92094
Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-07-25
Reviewed by Csaba Osztrogonác.
Wheel events are not emitted, therefore, layout tests that use mouseScrollBy method are failing.
- WebKitTestRunner/efl/EventSenderProxyEfl.cpp:
(WTR::dispatchMouseScrollByEvent):
(WTR::EventSenderProxy::mouseScrollBy):
- WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
(WTR::PlatformWebView::PlatformWebView):
(WTR::PlatformWebView::focus):
- 3:09 AM Changeset in webkit [123598] by
-
- 3 edits2 adds in trunk
A validation bubble should not be modifiable.
https://bugs.webkit.org/show_bug.cgi?id=92217
Reviewed by Kent Tamura.
Source/WebCore:
A user can set -webkit-user-modify: read-write to validation message elements.
This might cause a undesired crash like Bug 65738. They should be unmodifiable.
Test: fast/forms/validation-user-modify.html
- css/html.css:
Added -webkit-user-modify: read-only !important; for these elements so that they won't be
changed by a user.
(::-webkit-validation-bubble):
(::-webkit-validation-bubble-message):
(::-webkit-validation-bubble-text-block):
(::-webkit-validation-bubble-heading):
(::-webkit-validation-bubble-arrow):
(::-webkit-validation-bubble-arrow-clipper):
LayoutTests:
- fast/forms/validation-message-user-modify-expected.txt: Added.
- fast/forms/validation-message-user-modify.html: Added.
- 3:00 AM Changeset in webkit [123597] by
-
- 4 edits3 adds in trunk/Source/WebKit
[EFL] Add File Chooser API
https://bugs.webkit.org/show_bug.cgi?id=91957
Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-07-25
Reviewed by Hajime Morita.
Source/WebKit:
Add ewk_file_chooser source and header.
- PlatformEfl.cmake:
Source/WebKit/efl:
Add APIs for file chooser. These APIs allow an application(like a browser) queries informations
about multiple files allowed, directory upload allowed, accept mimetypes list,
accept file extentions list, selected files list and capture to support HTML media capture.
- ewk/EWebKit.h:
- ewk/ewk_file_chooser.cpp: Added.
(_Ewk_File_Chooser):
(ewk_file_chooser_allows_multiple_files_get):
(ewk_file_chooser_allows_directory_upload_get):
(ewk_file_chooser_accept_mimetypes_get):
(ewk_file_chooser_accept_file_extentions_get):
(ewk_file_chooser_selected_files_get):
(ewk_file_chooser_capture_get):
(ewk_file_chooser_new):
(ewk_file_chooser_free):
- ewk/ewk_file_chooser.h: Added.
- ewk/ewk_file_chooser_private.h: Added.
(WebCore):
- 2:54 AM Changeset in webkit [123596] by
-
- 3 edits15 adds in trunk/LayoutTests
[Qt] Unreviewed gardening, update Qt5 specific test results.
- platform/qt-5.0-wk1/fast/text/whitespace/028-expected.png: Added.
- platform/qt-5.0-wk1/fast/text/whitespace/028-expected.txt: Added.
- platform/qt-5.0-wk2/fast/text/whitespace/028-expected.png: Added.
- platform/qt-5.0-wk2/fast/text/whitespace/028-expected.txt: Added.
- platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.png: Added.
- platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.txt: Added.
- platform/qt-5.0/svg/as-image/img-preserveAspectRatio-support-1-expected.png:
- platform/qt-5.0/svg/as-image/img-preserveAspectRatio-support-1-expected.txt:
- platform/qt-5.0/svg/as-object/object-box-sizing-no-width-height-expected.png: Added.
- platform/qt-5.0/svg/as-object/object-box-sizing-no-width-height-expected.txt: Added.
- platform/qt-5.0/svg/batik/text/longTextOnPath-expected.png: Added.
- platform/qt-5.0/svg/batik/text/longTextOnPath-expected.txt: Added.
- platform/qt-5.0/svg/carto.net/tabgroup-expected.png: Added.
- platform/qt-5.0/svg/carto.net/tabgroup-expected.txt: Added.
- 2:43 AM Changeset in webkit [123595] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
Patch by Balazs Ankes <bank@inf.u-szeged.hu> on 2012-07-25
- platform/qt/Skipped:
- 2:30 AM Changeset in webkit [123594] by
-
- 1 edit1 add in trunk/LayoutTests
Unreviewed GTK gardening, updating one mathml test baseline after r123492.
- platform/gtk/mathml/msub-anonymous-child-render-crash-expected.txt: Added.
- 2:16 AM Changeset in webkit [123593] by
-
- 4 edits in trunk/Source/WebKit2
[EFL][WK2] Add ewk_view_cursor_set to change cursor.
https://bugs.webkit.org/show_bug.cgi?id=89140
Reviewed by Hajime Morita.
Implement ewk_view_cursor_set to support cursor changes.
- UIProcess/API/efl/PageClientImpl.cpp:
(WebKit::PageClientImpl::setCursor): Called ewk_view_cursor_set.
- UIProcess/API/efl/ewk_view.cpp:
(_Ewk_View_Private_Data):
(_Ewk_View_Private_Data::_Ewk_View_Private_Data):
(_Ewk_View_Private_Data::~_Ewk_View_Private_Data):
(_ewk_view_priv_new): Check whether ecore_x can be used.
(_ewk_view_smart_add):
Change order of initialization to use base structure in _ewk_view_priv_new.
(ewk_view_cursor_set): Added to set cursor.
- UIProcess/API/efl/ewk_view_private.h:
- 2:05 AM Changeset in webkit [123592] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
Patch by Balazs Ankes <bank@inf.u-szeged.hu> on 2012-07-25
- platform/qt/Skipped:
- 2:03 AM Changeset in webkit [123591] by
-
- 6 edits1 add in trunk/Source/WebKit2
[EFL][WK2] Update uri when the active URI is changed while loading.
https://bugs.webkit.org/show_bug.cgi?id=92001
Reviewed by Hajime Morita.
For now, ewk_view_uri_get just return the last uri of setter.
This patch updates the uri of ewk_view when it is changed while loading.
- UIProcess/API/efl/ewk_view.cpp:
(ewk_view_uri_update):
Added to check whether current active URI has changed and send uri,changed
signal if it has changed.
(ewk_view_uri_set):
Called ewk_view_uri_update to make sure the active uri is updated when the
load operation is started.
(ewk_view_reload): Ditto.
(ewk_view_reload_bypass_cache): Ditto.
(ewk_view_load_finished): Ditto.
(ewk_view_load_provisional_redirect): Ditto.
(ewk_view_load_provisional_started): Ditto.
(ewk_view_html_string_load): Ditto.
- UIProcess/API/efl/ewk_view.h: Updated comment for uri,changed signal.
- UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestEnvironment.cpp:
(EWK2UnitTest::EWK2UnitTestEnvironment::urlForResource):
Added to get url of custom resource for test.
- UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestEnvironment.h:
- UIProcess/API/efl/tests/resources/redirect_uri_to_default.html:
Added to test ewk_view_uri_get when the page is redirected.
- UIProcess/API/efl/tests/test_ewk2_view.cpp: Ditto.
(onLoadFinishedForRedirection):
(TEST_F): Added new test case whether ewk_view_uri_get returns correct uri when
the page is redirected.
- 2:00 AM Changeset in webkit [123590] by
-
- 2 edits in trunk/Source/WTF
[Qt] There are parallel GC related crashes regularly
https://bugs.webkit.org/show_bug.cgi?id=90957
Rubber-stamped by Zoltan Herczeg.
- wtf/Platform.h: Disable parallel GC temporarily on Qt until proper fix.
- 1:55 AM EFLWebKit edited by
- harfbuzz dependency (diff)
- 1:42 AM Changeset in webkit [123589] by
-
- 2 edits in trunk/Source/WebKit/chromium
Another unreviewed win build fix against r123569.
- tests/IDBAbortOnCorruptTest.cpp:
- 1:35 AM Changeset in webkit [123588] by
-
- 2 edits in trunk/Source/WebCore
[Qt][WK2] Disable CopyToTexture for GraphicsSurfaceMac.
https://bugs.webkit.org/show_bug.cgi?id=92159
Disable CopyToTexture feature for GraphicsSurface on Mac.
While this is actually working, it is currently used for Tiles
that are single buffered, and therefore requires a call to glFlush.
This call blocks the GPU for about 40ms which would make smooth animations impossible.
Reviewed by Noam Rosenthal.
- platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp:
(WebCore::GraphicsSurface::platformCreate):
(WebCore::GraphicsSurface::platformImport):
- 1:30 AM Changeset in webkit [123587] by
-
- 6 edits2 adds in trunk
[EFL][WK2] Add ewk_main.{cpp,h} to EFL WK2
https://bugs.webkit.org/show_bug.cgi?id=92101
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-25
Reviewed by Kenneth Rohde Christiansen.
Added a centralized place for general initialization in UI process for EFL WK2.
Source/WebKit2:
- PlatformEfl.cmake:
- UIProcess/API/efl/EWebKit2.h:
- UIProcess/API/efl/ewk_main.cpp: Added.
(ewk_init): General initialization.
(ewk_shutdown): General freeing.
(_ewk_init_body): An aux function.
- UIProcess/API/efl/ewk_main.h: Added.
Tools:
- MiniBrowser/efl/main.c: Added using of newly added ewk_init() and ewk_shutdown() functions.
(main):
- WebKitTestRunner/efl/main.cpp: Ditto.
(main):
- 1:18 AM Changeset in webkit [123586] by
-
- 7 edits in trunk/Source/WebCore
[Chromium] Fix up includes in HarfBuzzNGFace.h
https://bugs.webkit.org/show_bug.cgi?id=92127
Reviewed by Hajime Morita.
Move constructors of FontPlatformData from headers to corresponding cpp files
so that we can use forward declaration for HarfBuzzNGFace instead of including HarfBuzzNGFace.h.
This way we can include hb.h in HarfBuzzNGFace.h.
No new tests. No changes in behavior.
- platform/graphics/FontPlatformData.cpp:
(WebCore::FontPlatformData::FontPlatformData): Moved from header file.
(WebCore):
- platform/graphics/FontPlatformData.h:
(WebCore):
(FontPlatformData): Moved to cpp file.
- platform/graphics/cocoa/FontPlatformDataCocoa.mm: Include HarfBuzzNGFace.h
- platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp:
(WebCore::FontPlatformData::FontPlatformData): Moved from header file.
(WebCore):
- platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.h:
(WebCore):
(FontPlatformData): Moved to cpp file.
- platform/graphics/harfbuzz/ng/HarfBuzzNGFace.h: Include hb.h.
- 1:00 AM Changeset in webkit [123585] by
-
- 3 edits in trunk/Source/WebKit/chromium
Unreviewed win build fix against r123569.
- tests/IDBAbortOnCorruptTest.cpp:
- tests/IDBDatabaseBackendTest.cpp:
- 12:42 AM Changeset in webkit [123584] by
-
- 2 edits in trunk/Source/JavaScriptCore
REGRESSION(r123505): Date.getYear() returns the same as Date.getFullYear()
https://bugs.webkit.org/show_bug.cgi?id=92218
Reviewed by Csaba Osztrogonác.
- runtime/DatePrototype.cpp:
(JSC::dateProtoFuncGetYear): Added the missing offset of 1900 to the return value.
- 12:32 AM Changeset in webkit [123583] by
-
- 2 edits1 add6 deletes in trunk/LayoutTests
fast/events/panScroll-click-hyperlink.html test should be put in platform/win
https://bugs.webkit.org/show_bug.cgi?id=92111
Reviewed by Daniel Bates.
Move the test into platform/win directory where other pan scrolling tests reside,
and remove other ports' baselines as they just indicated that pan scrolling is not
supported on those platforms. chromium-win and qt-win platforms still pass the test
but should cope with the default baseline just fine.
- platform/chromium-linux/fast/events/panScroll-click-hyperlink-expected.txt: Removed.
- platform/chromium-win/fast/events/panScroll-click-hyperlink-expected.txt: Removed.
- platform/efl/fast/events/panScroll-click-hyperlink-expected.txt: Removed.
- platform/gtk/TestExpectations:
- platform/mac/fast/events/panScroll-click-hyperlink-expected.txt: Removed.
- platform/qt/fast/events/panScroll-click-hyperlink-expected.txt: Removed.
- platform/win/fast/events/panScroll-click-hyperlink.html: Renamed from LayoutTests/fast/events/panScroll-click-hyperlink.html.
- 12:22 AM Changeset in webkit [123582] by
-
- 7 edits1 add in trunk
QualifiedName's HashSet should be big enough to hold at least all the static names
https://bugs.webkit.org/show_bug.cgi?id=91891
Patch by Benjamin Poulain <bpoulain@apple.com> && Joseph Pecoraro <Joseph Pecoraro> on 2012-07-24
Reviewed by Darin Adler.
Source/WebCore:
QualifiedName's table has a standard size of 64 buckets. When initializing WebKit,
we create 850 static QualifiedName for the standard names (HTMLNames, SVGNames etc).
The small base size forces us to grow and rehash the table several time on startup.
This patch solves the issue by defining the initial table size to the minimum size that
can hold all the static QualifiedName.
- dom/QualifiedName.cpp:
(QualifiedNameHashTraits):
- dom/make_names.pl:
(printNamesHeaderFile):
Source/WTF:
Add a static struct to compute the HashTable capacity for any given size at compile time.
This allow us to create HashTraits giving the minimumSize without hardcoding the values.
- wtf/HashTable.h:
(OneifyLowBits):
(UpperPowerOfTwoBound):
(HashTableCapacityForSize): Compute the HashTable capacity at compile time.
Tools:
Add a test for WTF::hashTableCapacityForSize.
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/WTF/HashSet.cpp: Added.
(InitialCapacityTestHashTraits):
(TestWebKitAPI::testInitialCapacity):
(TestWebKitAPI::generateTestCapacityUpToSize):
(TestWebKitAPI::TEST):