Timeline
Mar 16, 2013:
- 11:46 PM Changeset in webkit [146006] by
-
- 8 edits in trunk/Source
Disable High DPI Canvas on iOS
https://bugs.webkit.org/show_bug.cgi?id=112511
Reviewed by Joseph Pecoraro.
Source/JavaScriptCore:
- Configurations/FeatureDefines.xcconfig:
Source/WebCore:
- Configurations/FeatureDefines.xcconfig:
Source/WebKit/mac:
- Configurations/FeatureDefines.xcconfig:
Source/WebKit2:
- Configurations/FeatureDefines.xcconfig:
- 10:26 PM Changeset in webkit [146005] by
-
- 5 edits in trunk/Source/WebKit/chromium
Unreviewed, rolling out r145898.
http://trac.webkit.org/changeset/145898
https://bugs.webkit.org/show_bug.cgi?id=112512
Causing flakiness on webkit_unit_tests on android bots on
chromium.webkit and chromium.linux (Requested by jochen on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-16
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setPageScaleFactor):
(WebKit::WebViewImpl::applyScrollAndScale):
- src/WebViewImpl.h:
(WebViewImpl):
- tests/WebFrameTest.cpp:
- tests/WebViewTest.cpp:
- 2:26 PM Changeset in webkit [146004] by
-
- 2 edits in trunk/LayoutTests
http/tests/notifications/legacy/window-show-on-click.html is flakey
https://bugs.webkit.org/show_bug.cgi?id=112499
- platform/mac/TestExpectations:
- 1:47 PM Changeset in webkit [146003] by
-
- 2 edits in trunk/Source/WebKit/chromium
Remove redundant checks from WebInputEvent::isGestureEventType
https://bugs.webkit.org/show_bug.cgi?id=112503
Reviewed by Darin Fisher.
GesturePinchBegin, GesturePinchEnd and GesturePinchUpdate were checked
for twice.
This was found by experimenting with a potential new Clang warning.
- public/WebInputEvent.h:
(WebKit::WebInputEvent::isGestureEventType):
- 12:43 PM Changeset in webkit [146002] by
-
- 2 edits in trunk/LayoutTests
inspector/elements/highlight-node-scaled.html is flakey
https://bugs.webkit.org/show_bug.cgi?id=112502
Mark this test as flakey.
- platform/mac/TestExpectations:
- 12:32 PM Changeset in webkit [146001] by
-
- 2 edits in trunk/Source/WebCore
Reflected video elements hit assertion
https://bugs.webkit.org/show_bug.cgi?id=112490
Disable reflections on video again, since there's some bad behavior
caused by an underlying system framework.
- platform/graphics/ca/mac/PlatformCALayerMac.mm:
(PlatformCALayer::clone):
- 12:20 PM Changeset in webkit [146000] by
-
- 2 edits in trunk/LayoutTests
svg/batik/paints/gradientLimit.svg is flakey. Also fix
a couple of recent typos in TestExpectations.
- platform/mac/TestExpectations:
- 12:10 PM Changeset in webkit [145999] by
-
- 2 edits in trunk/LayoutTests
Notification test is flakey
https://bugs.webkit.org/show_bug.cgi?id=112499
- platform/mac/TestExpectations:
- 12:10 PM Changeset in webkit [145998] by
-
- 2 edits in trunk/LayoutTests
Another slow sputnik test.
- platform/mac/TestExpectations:
- 11:19 AM Changeset in webkit [145997] by
-
- 2 edits in trunk/LayoutTests
Fix typos. Also mark fast/frames/flattening/frameset-flattening-advanced.html
as flakey.
- platform/mac/TestExpectations:
- 11:00 AM Changeset in webkit [145996] by
-
- 2 edits in trunk/LayoutTests
https://bugs.webkit.org/show_bug.cgi?id=93560
These WebGL tests are flakey on Lion too.
- platform/mac-lion/TestExpectations:
- 10:56 AM Changeset in webkit [145995] by
-
- 2 edits in trunk/LayoutTests
Change fast/events/controlclick-no-onclick.html to be a skip rather than a fail,
since it times out.
- platform/mac-wk2/TestExpectations:
- 10:08 AM Changeset in webkit [145994] by
-
- 3 edits2 adds in trunk
[v8] Disable binding integrity check for WebCore::Text
https://bugs.webkit.org/show_bug.cgi?id=112462
Reviewed by Kentaro Hara.
Source/WebCore:
Test: fast/dom/split-cdata.xml
- dom/Text.idl:
LayoutTests:
- fast/dom/split-cdata-expected.txt: Added.
- fast/dom/split-cdata.xml: Added.
- 9:43 AM Changeset in webkit [145993] by
-
- 2 edits10 adds2 deletes in trunk/LayoutTests
fast/frames/sandboxed-iframe-scripting is flakey
https://bugs.webkit.org/show_bug.cgi?id=112482
Reviewed by Simon Fraser.
Tests that rely on multiple 'iframe' elements loading in a specific
order are a Bad Idea™. This patch splits
'fast/frames/sandboxed-iframe-scripting.html' out into five tests, and
changes two of them (#2 and #4) to use message passing in order to
test in a way that 'js-test-{pre,post}' can cleanly report.
- fast/frames/sandboxed-iframe-scripting-01-expected.txt: Added.
- fast/frames/sandboxed-iframe-scripting-01.html: Added.
- fast/frames/sandboxed-iframe-scripting-02-expected.txt: Added.
- fast/frames/sandboxed-iframe-scripting-02.html: Added.
- fast/frames/sandboxed-iframe-scripting-03-expected.txt: Added.
- fast/frames/sandboxed-iframe-scripting-03.html: Added.
- fast/frames/sandboxed-iframe-scripting-04-expected.txt: Added.
- fast/frames/sandboxed-iframe-scripting-04.html: Added.
- fast/frames/sandboxed-iframe-scripting-05-expected.txt: Added.
- fast/frames/sandboxed-iframe-scripting-05.html: Added.
- fast/frames/sandboxed-iframe-scripting-expected.txt: Removed.
- fast/frames/sandboxed-iframe-scripting.html: Removed.
- platform/mac/TestExpectations:
Remove the skipped test, since it no longer exists.
- 9:41 AM Changeset in webkit [145992] by
-
- 2 edits in trunk/LayoutTests
Update test expectations for content shell.
Unreviewed gardening.
- platform/chromium/ContentShellTestExpectations:
- 8:50 AM Changeset in webkit [145991] by
-
- 2 edits in trunk/LayoutTests
Mark some ref tests as failing on Lion.
- platform/mac-lion/TestExpectations:
- 8:45 AM Changeset in webkit [145990] by
-
- 2 edits in trunk/LayoutTests
Mark some more sputnik tests as slow in debug.
- platform/mac/TestExpectations:
- 7:26 AM BadContent edited by
- Blacklist a spamming account. (diff)
- 4:21 AM WebKitGTK/2.0.x edited by
- (diff)
- 4:18 AM Changeset in webkit [145989] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0/Source/WebCore
Merge r145808 - [GTK] Wrong ASSERT in AudioDestinationGstreamer::stop
https://bugs.webkit.org/show_bug.cgi?id=112344
Patch by Xan Lopez <xlopez@igalia.com> on 2013-03-14
Reviewed by Philippe Normand.
Correct erroneous ASSERT, we want both member variables to exist.
- platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
(WebCore::AudioDestinationGStreamer::stop):
- 1:51 AM Changeset in webkit [145988] by
-
- 27 edits2 adds in trunk
AX: aria-hidden on container does not hide descendant popup buttons
https://bugs.webkit.org/show_bug.cgi?id=112373
Reviewed by Ryosuke Niwa.
Source/WebCore:
There are a number of subclass AX objects that implement accessibilityIsIgnored()
to always return false. This means that even if their parent is aria-hidden=true
they still show up in the tree.
This re-organizes this base case of aria-hidden into AccessibilityObject so that
it can be re-used by these special subclasses where appropriate.
Test: accessibility/aria-hidden-hides-all-elements.html
- accessibility/AccessibilityImageMapLink.h:
(WebCore::AccessibilityImageMapLink::isImageMapLink):
- accessibility/AccessibilityList.cpp:
(WebCore::AccessibilityList::computeAccessibilityIsIgnored):
- accessibility/AccessibilityListBox.cpp:
(WebCore):
- accessibility/AccessibilityListBox.h:
(AccessibilityListBox):
- accessibility/AccessibilityListBoxOption.cpp:
(WebCore::AccessibilityListBoxOption::computeAccessibilityIsIgnored):
- accessibility/AccessibilityMediaControls.cpp:
(WebCore::AccessibilityMediaControl::computeAccessibilityIsIgnored):
(WebCore::AccessibilityMediaControlsContainer::computeAccessibilityIsIgnored):
(WebCore::AccessibilityMediaTimeDisplay::computeAccessibilityIsIgnored):
- accessibility/AccessibilityMediaControls.h:
(AccessibilityMediaControlsContainer):
- accessibility/AccessibilityMenuList.h:
(WebCore::AccessibilityMenuList::roleValue):
- accessibility/AccessibilityMenuListOption.cpp:
(WebCore::AccessibilityMenuListOption::computeAccessibilityIsIgnored):
- accessibility/AccessibilityMenuListPopup.cpp:
(WebCore::AccessibilityMenuListPopup::computeAccessibilityIsIgnored):
- accessibility/AccessibilityMockObject.cpp:
(WebCore::AccessibilityMockObject::computeAccessibilityIsIgnored):
(WebCore):
- accessibility/AccessibilityMockObject.h:
(AccessibilityMockObject):
- accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::accessibilityIsIgnoredDefaultForObject):
(WebCore):
(WebCore::AccessibilityObject::ariaIsHidden):
(WebCore::AccessibilityObject::accessibilityIsIgnoredBase):
- accessibility/AccessibilityObject.h:
(AccessibilityObject):
- accessibility/AccessibilityProgressIndicator.cpp:
(WebCore::AccessibilityProgressIndicator::computeAccessibilityIsIgnored):
- accessibility/AccessibilityRenderObject.cpp:
(WebCore):
(WebCore::AccessibilityRenderObject::accessibilityIsIgnoredBase):
(WebCore::AccessibilityRenderObject::addImageMapChildren):
- accessibility/AccessibilityRenderObject.h:
(AccessibilityRenderObject):
- accessibility/AccessibilityScrollbar.h:
(AccessibilityScrollbar):
- accessibility/AccessibilitySlider.cpp:
(WebCore):
(WebCore::AccessibilitySliderThumb::computeAccessibilityIsIgnored):
- accessibility/AccessibilitySlider.h:
(AccessibilitySlider):
- accessibility/AccessibilitySpinButton.h:
(WebCore::AccessibilitySpinButton::roleValue):
(AccessibilitySpinButtonPart):
LayoutTests:
- accessibility/aria-hidden-hides-all-elements-expected.txt: Added.
- accessibility/aria-hidden-hides-all-elements.html: Added.
- 12:43 AM Changeset in webkit [145987] by
-
- 1 edit4 adds1 delete in trunk/LayoutTests
Mac rebaseline after r145977.
- platform/chromium-mac/platform/mac/fast: Added.
- platform/chromium-mac/platform/mac/fast/forms: Added.
- platform/chromium-mac/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt: Added.
- platform/chromium/platform/mac/fast/forms: Removed.
- platform/chromium/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt: Removed.
- platform/mac/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt: Added.
Mar 15, 2013:
- 11:16 PM Changeset in webkit [145986] by
-
- 2 edits in trunk/LayoutTests
Mark two media/track tests as flakey. Tracked by webkit.org/b/112492
- platform/mac/TestExpectations:
- 10:58 PM Changeset in webkit [145985] by
-
- 1 edit1 delete in trunk/LayoutTests
Remove result in platform/mac/platform/mac
- platform/mac/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt: Removed.
- 10:06 PM Changeset in webkit [145984] by
-
- 2 edits in trunk/LayoutTests
Fix typo in TestExpectations file.
- platform/mac/TestExpectations:
- 9:56 PM Changeset in webkit [145983] by
-
- 2 edits in trunk/Source/WebCore
Reflected video elements hit assertion on Lion
https://bugs.webkit.org/show_bug.cgi?id=112490
Disable the new reflected video functionality added in r145915
on Lion because of a nasty re-entrancy problem. Tracked by bug 112490.
- platform/graphics/ca/mac/PlatformCALayerMac.mm:
(PlatformCALayer::clone):
- 9:40 PM Changeset in webkit [145982] by
-
- 4 edits4 adds in trunk
[CSS Exclusions] shape-outside on floats for circle and ellipse shapes
https://bugs.webkit.org/show_bug.cgi?id=98673
Source/WebCore:
Patch by Bem Jones-Bey <Bem Jones-Bey> on 2013-03-15
Reviewed by Dirk Schulze.
Enable circles and ellipses for shape-outside on floats. Most of the
code already supports them, just needed to turn them on and add tests.
Tests: fast/exclusions/shape-outside-floats/shape-outside-floats-simple-circle.html
fast/exclusions/shape-outside-floats/shape-outside-floats-simple-ellipse.html
- rendering/ExclusionShapeOutsideInfo.cpp:
(WebCore::ExclusionShapeOutsideInfo::isEnabledFor): Enable circles and
ellipses. Also add a check for if the RenderBox is floating, since
that test should have been there all along, as shape outside is
only supported on floats for now.
LayoutTests:
Patch by Bem Jones-Bey <Bem Jones-Bey> on 2013-03-15
Reviewed by Dirk Schulze.
Tests for circles and ellipses on floats.
- fast/exclusions/resources/rounded-rectangle.js:
(defined): Helper function to test and see if a js value is defined.
(convertToRoundedRect): Convert a circle or ellipse dimensions to a rounded rect.
(generateShapeOutsideOnFloat): Add ability to generate circles and
ellipses, since they are just special cases of rounded rectangles.
(generateSimulatedShapeOutsideOnFloat): Add ability to simulate
circles and ellipses, by treating them as rounded rectangles. Also
fix minor style issue with an if statement.
(xOutset): Remove unneeded condition in if statement.
- fast/exclusions/shape-outside-floats/shape-outside-floats-simple-circle-expected.html: Added.
- fast/exclusions/shape-outside-floats/shape-outside-floats-simple-circle.html: Added.
- fast/exclusions/shape-outside-floats/shape-outside-floats-simple-ellipse-expected.html: Added.
- fast/exclusions/shape-outside-floats/shape-outside-floats-simple-ellipse.html: Added.
- 9:37 PM Changeset in webkit [145981] by
-
- 2 edits in trunk/Tools
REGRESSION (r144884?): WebKit2.DOMWindowExtensionBasic API test is asserting
https://bugs.webkit.org/show_bug.cgi?id=112205
Disable this API test until Geoff can fix it.
- TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic.cpp:
(TestWebKitAPI::TEST):
- 8:49 PM Changeset in webkit [145980] by
-
- 2 edits in trunk/LayoutTests
Rebaseline after r145977.
- platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
- 8:47 PM Changeset in webkit [145979] by
-
- 2 edits in trunk/LayoutTests
Rebaseline after r145977.
- platform/mac/fast/forms/input-appearance-spinbutton-expected.txt:
- 8:25 PM Changeset in webkit [145978] by
-
- 13 edits in trunk/LayoutTests
Unreviewed new baselines after r145977.
https://bugs.webkit.org/show_bug.cgi?id=110837
- platform/chromium-mac-lion/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png:
- platform/chromium-mac-lion/platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance-expected.png:
- platform/chromium-mac-lion/platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance-expected.png:
- platform/chromium-mac-lion/platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.png:
- platform/chromium-mac-snowleopard/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png:
- platform/chromium-mac-snowleopard/platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance-expected.png:
- platform/chromium-mac-snowleopard/platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance-expected.png:
- platform/chromium-mac-snowleopard/platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.png:
- platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.png:
- platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance-expected.png:
- platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance-expected.png:
- platform/chromium-mac/platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.png:
- 7:27 PM Changeset in webkit [145977] by
-
- 159 edits in trunk
Convert old flexbox uses in html.css to new flexbox (non-<select>)
https://bugs.webkit.org/show_bug.cgi?id=110837
Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-03-15
Reviewed by Ojan Vafai.
Source/WebCore:
Covered by existing tests.
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::layout):
After we set our descendants' heights, we need to mark them for
layout.
(WebCore::RenderTextControlSingleLine::createInnerBlockStyle):
Use new-flexbox style setters.
- css/html.css:
(input::-webkit-textfield-decoration-container):
(input[type="search"]::-webkit-search-cancel-button):
(input[type="search"]::-webkit-search-decoration):
(input[type="search"]::-webkit-search-results-decoration):
(input[type="search"]::-webkit-search-results-button):
(input::-webkit-inner-spin-button):
(input::-webkit-input-speech-button):
(textarea):
(input[type="file"]):
(input[type="color"]::-webkit-color-swatch-wrapper):
(input[type="color"]::-webkit-color-swatch):
(::-webkit-validation-bubble-message):
(::-webkit-validation-bubble-text-block):
- css/themeWin.css:
(input[type="search"]::-webkit-search-results-decoration):
(input[type="search"]::-webkit-search-results-button):
Convert -webkit-box to -webkit-flex and adjust related properties.
Notably switch to auto margins for centering the speech button as well
as the search result and cancel buttons to stay compatible with the
previous centering behaviour. This does not produce visible
differences but eliminates the render tree dump changes.
- html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::createShadowSubtree):
- html/shadow/TextControlInnerElements.cpp:
(WebCore::TextControlInnerContainer::TextControlInnerContainer):
(WebCore):
(WebCore::TextControlInnerContainer::create):
(WebCore::TextControlInnerContainer::createRenderer):
- html/shadow/TextControlInnerElements.h:
(TextControlInnerContainer):
(WebCore):
- rendering/RenderTextControl.cpp:
(WebCore::RenderTextControlInnerContainer::RenderTextControlInnerContainer):
(WebCore):
(WebCore::RenderTextControlInnerContainer::~RenderTextControlInnerContainer):
- rendering/RenderTextControl.h:
(WebCore):
(RenderTextControlInnerContainer):
Create a new DOM element & renderer type for the textfield-decoration
div (the direct child of the <input> in the shadow dom if we have a
special input field). This is necessary because new-flexbox uses a
different algorithm for calculating the baseline, which would
otherwise cause an <input> and an <input type=search> to not be
aligned with each other.
The new renderer just calls back to RenderBlock for calculating the
baseline.
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::layout):
Make sure to mark renderers as needing layout when we change their
style. This didn't use to be necessary because old-flexbox relayouts
children even when they are not marked for needing layout.
(WebCore::RenderTextControlSingleLine::createInnerBlockStyle):
Use new-flexbox CSS properties.
- html/shadow/TextFieldDecorationElement.cpp:
(WebCore::TextFieldDecorationElement::decorate):
Use new-flexbox CSS properties.
LayoutTests:
- fast/forms/placeholder-position-expected.txt:
- platform/chromium-linux/fast/css/input-search-padding-expected.txt:
- platform/chromium-linux/fast/forms/box-shadow-override-expected.txt:
- platform/chromium-linux/fast/forms/control-restrict-line-height-expected.txt:
- platform/chromium-linux/fast/forms/input-appearance-height-expected.txt:
- platform/chromium-linux/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt:
- platform/chromium-linux/fast/forms/search-styled-expected.txt:
- platform/chromium-linux/fast/forms/searchfield-heights-expected.txt:
- platform/chromium-linux/fast/forms/validation-message-appearance-expected.txt:
- platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.txt:
- platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.txt:
- platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.txt:
- platform/chromium-mac-lion/fast/forms/search-rtl-expected.txt:
- platform/chromium-mac-snowleopard/fast/forms/search-rtl-expected.txt:
- platform/chromium-mac-snowleopard/fast/repaint/search-field-cancel-expected.txt:
- platform/chromium-mac/fast/css/text-overflow-input-expected.txt:
- platform/chromium-mac/fast/forms/box-shadow-override-expected.txt:
- platform/chromium-mac/fast/forms/control-restrict-line-height-expected.txt:
- platform/chromium-mac/fast/forms/input-appearance-height-expected.txt:
- platform/chromium-mac/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt:
- platform/chromium-mac/fast/forms/placeholder-pseudo-style-expected.txt:
- platform/chromium-mac/fast/forms/search-rtl-expected.txt:
- platform/chromium-mac/fast/forms/search-vertical-alignment-expected.txt:
- platform/chromium-mac/fast/forms/searchfield-heights-expected.txt:
- platform/chromium-mac/fast/forms/validation-message-appearance-expected.txt:
- platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.txt:
- platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.txt:
- platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.txt:
- platform/chromium-win-xp/fast/forms/search-styled-expected.txt:
- platform/chromium-win/fast/css/input-search-padding-expected.txt:
- platform/chromium-win/fast/css/text-input-with-webkit-border-radius-expected.txt:
- platform/chromium-win/fast/css/text-overflow-input-expected.txt:
- platform/chromium-win/fast/forms/box-shadow-override-expected.txt:
- platform/chromium-win/fast/forms/control-restrict-line-height-expected.txt:
- platform/chromium-win/fast/forms/input-appearance-height-expected.txt:
- platform/chromium-win/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/chromium-win/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt:
- platform/chromium-win/fast/forms/number/number-appearance-spinbutton-layer-expected.txt:
- platform/chromium-win/fast/forms/placeholder-position-expected.txt:
- platform/chromium-win/fast/forms/placeholder-pseudo-style-expected.txt:
- platform/chromium-win/fast/forms/search-cancel-button-style-sharing-expected.txt:
- platform/chromium-win/fast/forms/search-display-none-cancel-button-expected.txt:
- platform/chromium-win/fast/forms/search-rtl-expected.txt:
- platform/chromium-win/fast/forms/search-styled-expected.txt:
- platform/chromium-win/fast/forms/search-vertical-alignment-expected.txt:
- platform/chromium-win/fast/forms/searchfield-heights-expected.txt:
- platform/chromium-win/fast/forms/validation-message-appearance-expected.txt:
- platform/chromium-win/fast/repaint/search-field-cancel-expected.txt:
- platform/chromium-win/fast/replaced/width100percent-searchfield-expected.txt:
- platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.txt:
- platform/chromium-win/fast/speech/input-appearance-searchandspeech-expected.txt:
- platform/chromium-win/fast/speech/input-appearance-speechbutton-expected.txt:
- platform/chromium-win/fast/speech/speech-bidi-rendering-expected.txt:
- platform/chromium/fast/css/input-search-padding-expected.txt:
- platform/chromium/fast/css/text-input-with-webkit-border-radius-expected.txt:
- platform/chromium/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/chromium/fast/forms/number/number-appearance-spinbutton-layer-expected.txt:
- platform/chromium/fast/forms/search-cancel-button-style-sharing-expected.txt:
- platform/chromium/fast/forms/search-display-none-cancel-button-expected.txt:
- platform/chromium/fast/forms/search-rtl-expected.txt:
- platform/chromium/fast/forms/search-styled-expected.txt:
- platform/chromium/fast/repaint/search-field-cancel-expected.txt:
- platform/chromium/fast/replaced/width100percent-searchfield-expected.txt:
- platform/chromium/fast/speech/speech-bidi-rendering-expected.txt:
- platform/efl/fast/css/input-search-padding-expected.txt:
- platform/efl/fast/css/text-input-with-webkit-border-radius-expected.txt:
- platform/efl/fast/css/text-overflow-input-expected.txt:
- platform/efl/fast/forms/box-shadow-override-expected.txt:
- platform/efl/fast/forms/control-restrict-line-height-expected.txt:
- platform/efl/fast/forms/input-appearance-height-expected.txt:
- platform/efl/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/efl/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt:
- platform/efl/fast/forms/number/number-appearance-spinbutton-layer-expected.txt:
- platform/efl/fast/forms/placeholder-position-expected.txt:
- platform/efl/fast/forms/placeholder-pseudo-style-expected.txt:
- platform/efl/fast/forms/search-cancel-button-style-sharing-expected.txt:
- platform/efl/fast/forms/search-display-none-cancel-button-expected.txt:
- platform/efl/fast/forms/search-rtl-expected.txt:
- platform/efl/fast/forms/search-styled-expected.txt:
- platform/efl/fast/forms/search-vertical-alignment-expected.txt:
- platform/efl/fast/forms/searchfield-heights-expected.txt:
- platform/efl/fast/forms/validation-message-appearance-expected.txt:
- platform/efl/fast/repaint/search-field-cancel-expected.txt:
- platform/efl/fast/replaced/width100percent-searchfield-expected.txt:
- platform/gtk/fast/css/input-search-padding-expected.txt:
- platform/gtk/fast/css/text-input-with-webkit-border-radius-expected.txt:
- platform/gtk/fast/css/text-overflow-input-expected.txt:
- platform/gtk/fast/forms/box-shadow-override-expected.txt:
- platform/gtk/fast/forms/control-restrict-line-height-expected.txt:
- platform/gtk/fast/forms/input-appearance-height-expected.txt:
- platform/gtk/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/gtk/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt:
- platform/gtk/fast/forms/number/number-appearance-spinbutton-layer-expected.txt:
- platform/gtk/fast/forms/placeholder-position-expected.txt:
- platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt:
- platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.txt:
- platform/gtk/fast/forms/search-display-none-cancel-button-expected.txt:
- platform/gtk/fast/forms/search-rtl-expected.txt:
- platform/gtk/fast/forms/search-styled-expected.txt:
- platform/gtk/fast/forms/search-vertical-alignment-expected.txt:
- platform/gtk/fast/forms/searchfield-heights-expected.txt:
- platform/gtk/fast/forms/validation-message-appearance-expected.txt:
- platform/gtk/fast/repaint/search-field-cancel-expected.txt:
- platform/gtk/fast/replaced/width100percent-searchfield-expected.txt:
- platform/gtk/fast/speech/input-appearance-searchandspeech-expected.txt:
- platform/mac/fast/css/input-search-padding-expected.txt:
- platform/mac/fast/css/text-input-with-webkit-border-radius-expected.txt:
- platform/mac/fast/css/text-overflow-input-expected.txt:
- platform/mac/fast/forms/box-shadow-override-expected.txt:
- platform/mac/fast/forms/control-restrict-line-height-expected.txt:
- platform/mac/fast/forms/input-appearance-height-expected.txt:
- platform/mac/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/mac/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt:
- platform/mac/fast/forms/number/number-appearance-spinbutton-layer-expected.txt:
- platform/mac/fast/forms/placeholder-pseudo-style-expected.txt:
- platform/mac/fast/forms/search-cancel-button-style-sharing-expected.txt:
- platform/mac/fast/forms/search-display-none-cancel-button-expected.txt:
- platform/mac/fast/forms/search-rtl-expected.txt:
- platform/mac/fast/forms/search-styled-expected.txt:
- platform/mac/fast/forms/search-vertical-alignment-expected.txt:
- platform/mac/fast/forms/searchfield-heights-expected.txt:
- platform/mac/fast/forms/validation-message-appearance-expected.txt:
- platform/mac/fast/repaint/search-field-cancel-expected.txt:
- platform/mac/fast/replaced/width100percent-searchfield-expected.txt:
- platform/mac/fast/speech/speech-bidi-rendering-expected.txt:
- platform/qt-5.0/fast/forms/placeholder-pseudo-style-expected.txt:
- platform/qt/fast/css/input-search-padding-expected.txt:
- platform/qt/fast/css/text-input-with-webkit-border-radius-expected.txt:
- platform/qt/fast/css/text-overflow-input-expected.txt:
- platform/qt/fast/forms/box-shadow-override-expected.txt:
- platform/qt/fast/forms/control-restrict-line-height-expected.txt:
- platform/qt/fast/forms/number/number-appearance-rtl-expected.txt:
- platform/qt/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt:
- platform/qt/fast/forms/number/number-appearance-spinbutton-layer-expected.txt:
- platform/qt/fast/forms/placeholder-position-expected.txt:
- platform/qt/fast/forms/placeholder-pseudo-style-expected.txt:
- platform/qt/fast/forms/search-cancel-button-style-sharing-expected.txt:
- platform/qt/fast/forms/search-display-none-cancel-button-expected.txt:
- platform/qt/fast/forms/search-rtl-expected.txt:
- platform/qt/fast/forms/search-styled-expected.txt:
- platform/qt/fast/forms/search-vertical-alignment-expected.txt:
- platform/qt/fast/repaint/search-field-cancel-expected.txt:
- platform/qt/fast/replaced/width100percent-searchfield-expected.txt:
- platform/qt/fast/speech/input-appearance-searchandspeech-expected.txt:
Automated search & replace of RenderDeprecatedFlexibleBox ->
RenderFlexibleBox
- platform/mac/fast/forms/color/input-appearance-color-expected.txt:
- platform/chromium-mac/fast/forms/color/input-appearance-color-expected.txt:
- platform/chromium-win/fast/forms/color/input-appearance-color-expected.txt:
- platform/chromium-linux/fast/forms/color/input-appearance-color-expected.png:
This test shows a minor layout difference (less spacing between
paragraphs with an <input type=color>). The underlying reason is
alignment/baseline-differences with the new flexbox code, and the new
behaviour makes more sense in general (this becomes obvious when
putting text or a <input type=text> next to an <input type=color>).
- platform/chromium/TestExpectations:
Mark input-appearance-color as needing rebaseline on Mac/Win. All
non-Chromium ports ignore fast/forms/color because the feature isn't
enabled, so their TestExpectations need no update.
- 7:22 PM Changeset in webkit [145976] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled Chromium DEPS to r188504. Requested by
"Dana Jansens" <danakj@chromium.org> via sheriffbot.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-15
- DEPS:
- 7:13 PM Changeset in webkit [145975] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed attempted build fix for Chromium Windows after r145929.
Verified this fix builds and works on Linux.
https://bugs.webkit.org/show_bug.cgi?id=96798
- bindings/v8/V8Binding.cpp:
(WebCore):
- 6:22 PM Changeset in webkit [145974] by
-
- 3 edits2 adds in trunk/LayoutTests
Added some expected results that should be the same across platforms.
Removed some tests needing rebaseline from Mac TestExpectations.
- compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents-expected.txt: Added.
- compositing/overflow/paint-neg-z-order-descendants-into-scrolling-contents-layer-expected.txt: Added.
- platform/mac-wk2/TestExpectations:
- platform/mac/TestExpectations:
- 6:20 PM Changeset in webkit [145973] by
-
- 5 edits in trunk/Source/WebCore
Merge MainResourceLoader::willSendRequest into DocumentLoader
https://bugs.webkit.org/show_bug.cgi?id=109757
This is one of the steps to merging MainResourceLoader entirely into
DocumentLoader, given the lack of clear division of responsibility
between the two.
Reviewed by Antti Koivisto.
No new tests, refactor only.
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::mainResourceData):
(WebCore::DocumentLoader::isPostOrRedirectAfterPost):
(WebCore::DocumentLoader::willSendRequest):
(WebCore::DocumentLoader::callContinueAfterNavigationPolicy):
(WebCore::DocumentLoader::continueAfterNavigationPolicy):
(WebCore::DocumentLoader::startLoadingMainResource):
- loader/DocumentLoader.h:
- loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::resourceData):
(WebCore::MainResourceLoader::redirectReceived):
(WebCore::MainResourceLoader::continueAfterContentPolicy):
(WebCore::MainResourceLoader::reportMemoryUsage):
(WebCore::MainResourceLoader::handleSubstituteDataLoadNow):
(WebCore::MainResourceLoader::load):
- loader/MainResourceLoader.h:
(WebCore::MainResourceLoader::takeIdentifierFromResourceLoader): Temporarily
exposed for moving from a normal load to SubstituteData load on redirect.
- 6:11 PM Changeset in webkit [145972] by
-
- 2 edits in trunk/Source/WebCore
Disable EXT_draw_buffers WebGL extension on Mac
https://bugs.webkit.org/show_bug.cgi?id=112486
Reviewed by Kenneth Russell.
- html/canvas/EXTDrawBuffers.cpp:
(WebCore::EXTDrawBuffers::supported):
- 5:54 PM Changeset in webkit [145971] by
-
- 1 edit6 adds in trunk/LayoutTests
Unreviewed addition of expectations for test added in r145915.
- platform/chromium-mac-lion/compositing/video/video-reflection-expected.png: Added.
- platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/video/video-reflection-expected.png: Added.
- platform/chromium-mac/compositing/video/video-reflection-expected.png: Added.
- platform/chromium-mac/platform/chromium/virtual/softwarecompositing/video/video-reflection-expected.png: Added.
- platform/chromium-win/compositing/video/video-reflection-expected.png: Added.
- platform/chromium-win/platform/chromium/virtual/softwarecompositing/video/video-reflection-expected.png: Added.
- 5:43 PM Changeset in webkit [145970] by
-
- 5 edits9 deletes in trunk
[chromium] Remove the background filter blur layout tests
https://bugs.webkit.org/show_bug.cgi?id=112372
Reviewed by James Robinson.
Source/WebCore:
Remove the now-unused hacks to regression test the background
filter blur compositor feature.
- testing/Internals.cpp:
- testing/Internals.h:
(Internals):
- testing/Internals.idl:
LayoutTests:
Given that we now have the ability to write pixel tests directly against
the compositor, these tests are no longer needed to guard against
regressions, and have been duplicated for the compositor as pixel tests
in https://codereview.chromium.org/12518026/ and
https://codereview.chromium.org/12518026/.
- platform/chromium/compositing/filters/background-filter-blur-expected.png: Removed.
- platform/chromium/compositing/filters/background-filter-blur-expected.txt: Removed.
- platform/chromium/compositing/filters/background-filter-blur-off-axis-expected.png: Removed.
- platform/chromium/compositing/filters/background-filter-blur-off-axis-expected.txt: Removed.
- platform/chromium/compositing/filters/background-filter-blur-off-axis.html: Removed.
- platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png: Removed.
- platform/chromium/compositing/filters/background-filter-blur-outsets-expected.txt: Removed.
- platform/chromium/compositing/filters/background-filter-blur-outsets.html: Removed.
- platform/chromium/compositing/filters/background-filter-blur.html: Removed.
- 5:37 PM Changeset in webkit [145969] by
-
- 2 edits in trunk/LayoutTests
Mark fast/frames/sandboxed-iframe-scripting as flakey.
webkit.org/b/104848 supposedly fixed fast/frames/sandboxed-iframe-parsing-space-characters.html,
so remove it.
- platform/mac/TestExpectations:
- 5:36 PM Changeset in webkit [145968] by
-
- 16 edits in trunk/Source/WebKit/blackberry
[BlackBerry] BlackBerry::Platform::Graphics::GraphicsContext integration related changes in Source/WebKit/blackberry
https://bugs.webkit.org/show_bug.cgi?id=112467
Reviewed by Rob Buis.
PR 293208
This patch contains contributions from many members of the BlackBerry
WebKit team:
Mike Lattanzio
Arvid Nilsson
Jakob Petsovits
Konrad Piascik
Jeff Rogers
Filip Spacek
- Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::render):
(BlackBerry::WebKit::BackingStorePrivate::blitVisibleContents):
(BlackBerry::WebKit::BackingStorePrivate::compositeContents):
(BlackBerry::WebKit::BackingStorePrivate::tileSize):
- Api/WebOverlay.cpp:
(BlackBerry::WebKit::WebOverlayPrivate::drawContents):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::paintContents):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::WebOverlayLayerCompositingThreadClient):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setContentsToImage):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::clearUploadedContents):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::setContentsToColor):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::uploadTexturesIfNeeded):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::drawTextures):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::WebOverlayPrivateCompositingThread):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::removeFromParent):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::setContentsToImage):
- Api/WebOverlay.h:
- Api/WebOverlayClient.h:
- Api/WebOverlay_p.h:
(WebOverlayPrivate):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::showDebugBorders):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::showRepaintCounter):
(WebOverlayLayerCompositingThreadClient):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::image):
(WebOverlayPrivateCompositingThread):
- Api/WebPageCompositor.cpp:
(BlackBerry::WebKit::WebPageCompositorPrivate::WebPageCompositorPrivate):
- WebKitSupport/BackingStoreTile.cpp:
(BlackBerry::WebKit::TileBuffer::~TileBuffer):
(BlackBerry::WebKit::TileBuffer::nativeBuffer):
(BlackBerry::WebKit::TileBuffer::paintBackground):
- WebKitSupport/DefaultTapHighlight.cpp:
(BlackBerry::WebKit::DefaultTapHighlight::paintContents):
(BlackBerry::WebKit::DefaultTapHighlight::showDebugBorders):
(WebKit):
(BlackBerry::WebKit::DefaultTapHighlight::showRepaintCounter):
- WebKitSupport/DefaultTapHighlight.h:
(DefaultTapHighlight):
- WebKitSupport/InspectorOverlayBlackBerry.cpp:
(BlackBerry::WebKit::InspectorOverlay::showDebugBorders):
(WebKit):
(BlackBerry::WebKit::InspectorOverlay::showRepaintCounter):
- WebKitSupport/InspectorOverlayBlackBerry.h:
(InspectorOverlay):
- WebKitSupport/SelectionOverlay.cpp:
(BlackBerry::WebKit::SelectionOverlay::draw):
(BlackBerry::WebKit::SelectionOverlay::hide):
(BlackBerry::WebKit::SelectionOverlay::paintContents):
(BlackBerry::WebKit::SelectionOverlay::showDebugBorders):
(WebKit):
(BlackBerry::WebKit::SelectionOverlay::showRepaintCounter):
- WebKitSupport/SelectionOverlay.h:
(SelectionOverlay):
- WebKitSupport/SurfacePool.cpp:
(BlackBerry::WebKit::SurfacePool::createPlatformGraphicsContext):
(BlackBerry::WebKit::SurfacePool::destroyPlatformGraphicsContext):
(BlackBerry::WebKit::SurfacePool::waitForBuffer):
(BlackBerry::WebKit::SurfacePool::notifyBuffersComposited):
(BlackBerry::WebKit::SurfacePool::destroyPlatformSync):
- WebKitSupport/SurfacePool.h:
- 5:20 PM Changeset in webkit [145967] by
-
- 7 edits1 delete in trunk
plugins/netscape-plugin-setwindow-size*.html and plugins/pass-different-npp-struct.html should be async
https://bugs.webkit.org/show_bug.cgi?id=112478
Reviewed by Tony Chang.
There is nothing that ensures that the log messages from the plugin
come in before the layout test finished loading.
Tools:
- DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp:
(PassDifferentNPPStruct::NPP_SetWindow):
- DumpRenderTree/TestNetscapePlugIn/main.cpp:
(NPP_SetWindow):
LayoutTests:
- platform/mac-wk2/plugins/netscape-plugin-setwindow-size-2-expected.txt: Removed.
- plugins/netscape-plugin-setwindow-size-2.html:
- plugins/netscape-plugin-setwindow-size.html:
- plugins/pass-different-npp-struct.html:
- 4:52 PM Changeset in webkit [145966] by
-
- 2 edits in trunk/LayoutTests
Mark some more sputnik tests as slow in debug.
- platform/mac/TestExpectations:
- 4:40 PM Changeset in webkit [145965] by
-
- 4 edits in trunk/Source/WebCore
Reduce amount of platform specific code in MessagePortChannel
https://bugs.webkit.org/show_bug.cgi?id=112469
Reviewed by Sam Weinig.
- dom/MessagePortChannel.h: Ifdefed out an unused channel() function, except for Chromium, where it is used. We certainly don't want to expose this implementation detail as a public function.
- dom/default/PlatformMessagePortChannel.h: Removed functions that are no longer delegated. Made class contents all public, as it's now basically a data storage for MessagePortChannel.
- dom/default/PlatformMessagePortChannel.cpp: (WebCore::MessagePortChannel::createChannel): (WebCore::MessagePortChannel::~MessagePortChannel): (WebCore::MessagePortChannel::entangleIfOpen): (WebCore::MessagePortChannel::disentangle): (WebCore::MessagePortChannel::postMessageToRemote): (WebCore::MessagePortChannel::tryGetMessageFromRemote): (WebCore::MessagePortChannel::close): (WebCore::MessagePortChannel::isConnectedTo): (WebCore::MessagePortChannel::hasPendingActivity): (WebCore::MessagePortChannel::locallyEntangledPort): (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel): (WebCore::PlatformMessagePortChannel::entangledChannel): Moved code from PlatformMessagePortChannel to MessagePortChannel. Added some FIXMEs.
- 4:36 PM Changeset in webkit [145964] by
-
- 2 edits in trunk/LayoutTests
New baseline for this test on Lion.
- platform/mac-lion/platform/mac/fast/text/vertical-no-sideways-expected.txt:
- 4:30 PM Changeset in webkit [145963] by
-
- 4 edits in trunk/Source
Disable suppressesIncrementalRendering for the Web Inspector.
This ends up causing the Inspector to show blank for a couple seconds before
it does its first paint. During that time the bare window chrome is showing
when the Inspector's background and other simple elements count be painting.
This causes the Inspector to look like it is loading slower than reality.
Source/WebKit/mac:
https://bugs.webkit.org/show_bug.cgi?id=112300
rdar://problem/13412219
Reviewed by Geoff Garen.
- WebCoreSupport/WebInspectorClient.mm:
(-[WebInspectorWindowController init]): Disable suppressesIncrementalRendering.
Source/WebKit2:
https://bugs.webkit.org/show_bug.cgi?id=112300
rdar://problem/13412219
Reviewed by Geoff Garen.
- UIProcess/WebInspectorProxy.cpp:
(WebKit::createInspectorPageGroup): Disable suppressesIncrementalRendering.
- 4:30 PM Changeset in webkit [145962] by
-
- 6 edits in trunk/Source
[BlackBerry] Expose the compositing thread layer's draw rectangle to aid hit testing
https://bugs.webkit.org/show_bug.cgi?id=112255
Reviewed by Rob Buis.
PR 308284.
Reviewed internally by Yongxin Dai.
Source/WebCore:
Add a getter for the layer renderer of a compositing thread layer.
No change in behavior, no new tests.
- platform/graphics/blackberry/LayerCompositingThread.h:
(WebCore::LayerCompositingThread::layerRenderer):
Source/WebKit/blackberry:
The cached draw rectangle is useful for hit testing. Add a getter for
this compositing thread layer property to the public WebOverlay API.
We name this getter using terminology familiar from the
ViewportAccessor interface, to clarify which coordinate system the
getter uses (pixel coordinates relative to the viewport).
Note that WebKit-thread flavor of WebOverlay is not currently used by
any API client and is marked obsolete. It is used internally in WebKit,
but for that case using GraphicsLayer directly works well. This will
allow the complexity of WebOverlay to be significantly reduced in the
future, by removing the WebKit-thread flavor entirely.
- Api/WebOverlay.cpp:
(BlackBerry::WebKit::WebOverlay::pixelViewportRect):
(WebKit):
(BlackBerry::WebKit::WebOverlayPrivateWebKitThread::pixelViewportRect):
(BlackBerry::WebKit::WebOverlayPrivateCompositingThread::pixelViewportRect):
- Api/WebOverlay.h:
(WebKit):
- Api/WebOverlay_p.h:
(WebOverlayPrivate):
(WebOverlayPrivateWebKitThread):
(WebOverlayPrivateCompositingThread):
- 4:29 PM Changeset in webkit [145961] by
-
- 6 edits in trunk/Source/WebKit2
Delay creating the Inspector window so we don't cause a CoreIPC deadlock.
Other changes include:
- Create the Inspector WKView at the correct size so it does not need to resize later when added to the window.
- Update the minimum and initial window sizes to better match the new UI.
- Store the Inspector window frame in WebKit preferences so each page group can have different saved window frames. Handy for inspecting the Inspector.
https://bugs.webkit.org/show_bug.cgi?id=112300
rdar://problem/13412219
Reviewed by Geoff Garen.
- Shared/WebPreferencesStore.cpp:
(WebKit::defaultValueForKey):
Added FOR_EACH_WEBKIT_STRING_PREFERENCE_NOT_IN_WEBCORE.
- Shared/WebPreferencesStore.h:
(FOR_EACH_WEBKIT_STRING_PREFERENCE_NOT_IN_WEBCORE):
Added. Needed to keep WebPage::updatePreferences for trying to set WebCore::Settings.
- UIProcess/WebInspectorProxy.cpp:
(WebKit::WebInspectorProxy::minimumWindowWidth):
(WebKit::WebInspectorProxy::initialWindowWidth):
Bumped the values to work better with the new UI.
- UIProcess/WebInspectorProxy.h:
(WebKit::WebInspectorProxy::windowFrameDidChange):
Added.
- UIProcess/mac/WebInspectorProxyMac.mm:
(-[WKWebInspectorProxyObjCAdapter windowDidMove:]):
(-[WKWebInspectorProxyObjCAdapter windowDidResize:]):
Call WebInspectorProxy::windowFrameDidChange.
(WebKit::WebInspectorProxy::createInspectorWindow):
Use the preferences for the page group to get the window frame.
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
Stop calling platformAttach or createInspectorWindow, do it in platformOpen.
(WebKit::WebInspectorProxy::platformOpen):
Call platformAttach or createInspectorWindow here instead.
(WebKit::WebInspectorProxy::windowFrameDidChange):
Added. Store the frame in the page group's preferences.
(WebKit::WebInspectorProxy::platformAttach):
(WebKit::WebInspectorProxy::platformDetach):
Remove code that called setHidden:. We don't need to do that anymore.
- 4:18 PM Changeset in webkit [145960] by
-
- 2 edits in tags/Safari-537.34/Source/WebCore
Merged r145958. <rdar://problem/13434350>
- 4:14 PM Changeset in webkit [145959] by
-
- 4 edits in trunk/Source/WebCore
Convert <select> to new-flexbox
https://bugs.webkit.org/show_bug.cgi?id=112395
Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-03-15
Reviewed by Ojan Vafai.
Covered by existing tests.
- css/html.css:
(select):
(select[size][multiple]):
(select[size="1"]):
Use new-style flexbox properties.
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::RenderMenuList):
(WebCore::RenderMenuList::createInnerBlock):
(WebCore::RenderMenuList::adjustInnerStyle):
(WebCore::RenderMenuList::removeChild):
RenderDeprecatedFlexibleBox -> RenderFlexibleBox, and use the
new-style flexbox properties. Use margin:auto for centering to get
the old safe-centering behavior.
- rendering/RenderMenuList.h:
(RenderMenuList):
Inherit from RenderFlexibleBox. Override baseline methods to call the
RenderBlock methods
- 4:11 PM Changeset in webkit [145958] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION (r145820): Stop over-retaining CFDataRefs in SharedBuffer::maybeTransferPlatformData()
https://bugs.webkit.org/show_bug.cgi?id=112474
Reviewed by Simon Fraser.
Transfer ownership of m_cfData to the local variable rather than leaking a reference.
- platform/cf/SharedBufferCF.cpp:
(WebCore::SharedBuffer::maybeTransferPlatformData):
- 4:01 PM Changeset in webkit [145957] by
-
- 3 edits in trunk/Source/WebKit/chromium
[Chromium] Focus Plugin on TouchStart
https://bugs.webkit.org/show_bug.cgi?id=112385
Reviewed by Adam Barth.
- src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::handleMouseEvent):
- src/WebPluginContainerImpl.h:
(WebPluginContainerImpl):
- 4:00 PM Changeset in webkit [145956] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r136062. <rdar://problem/13334906>
- 3:54 PM Changeset in webkit [145955] by
-
- 2 edits in trunk/Source/WebCore
New context extensions restored improperly
https://bugs.webkit.org/show_bug.cgi?id=112156
Patch by Rajeev Sarvaria <rsarvaria@blackberry.com> on 2013-03-15
Reviewed by Rob Buis.
Sets up extensions after new context is created for restoration.
Previous extensions set up is lost when context is initially lost.
Cannot create a test as change is not visible from the web. When a context
is lost, WebGLRenderingContext drops m_context. Upon restoration a new context
object is created without available extensions initialized. Calling isEnabled
within setupFlags leads to the eventual initialization of extensions for the
new context.
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::maybeRestoreContext):
- 3:22 PM Changeset in webkit [145954] by
-
- 7 edits2 adds in trunk
TextIterator emits LF for a br element inside an empty input element
https://bugs.webkit.org/show_bug.cgi?id=112275
Patch by Aurimas Liutikas <aurimas@chromium.org> on 2013-03-15
Reviewed by Ryosuke Niwa.
Source/WebCore:
Adding a check to avoid emiting LF for br elements inside a shadow tree
of an input element.
Test: editing/text-iterator/basic-iteration.html
editing/text-iterator/basic-iteration-shadowdom.html
- editing/TextIterator.cpp:
(WebCore::shouldEmitNewlineForNode):
(WebCore::TextIterator::handleNonTextNode):
(WebCore::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator):
(WebCore::SimplifiedBackwardsTextIterator::handleNonTextNode):
(WebCore::SimplifiedBackwardsTextIterator::exitNode):
- editing/TextIterator.h:
(SimplifiedBackwardsTextIterator):
LayoutTests:
- editing/text-iterator/basic-iteration-expected.txt: Extended to add two more cases.
- editing/text-iterator/basic-iteration-shadowdom-expected.txt: Added.
- editing/text-iterator/basic-iteration-shadowdom.html: Added.
- editing/text-iterator/script-tests/basic-iteration.js: Extended to add two mroe cases.
- platform/mac/TestExpectations:
- 3:19 PM Changeset in webkit [145953] by
-
- 8 edits1 add in trunk/Source
[BlackBerry] Allow an embedder to position child windows using window coordinates
https://bugs.webkit.org/show_bug.cgi?id=112236
Reviewed by Rob Buis.
PR 232752
Source/WebCore:
The LayerCompositingThread can now position the video window using
either document or window coordinates.
The LayerRenderer class gets a new client interface. This allows us to
avoid state duplication by delegating decisions directly to the client,
which can then be in charge of the (one and only) state.
The context is moved over to the client, as well as delegation of the
decision on whether to clear the surface every frame.
Also, the decision on which coordinate system to use for positioning
child windows is delegated to the client interface.
No new tests, not testable using DRT.
- platform/graphics/blackberry/LayerCompositingThread.cpp:
(WebCore::LayerCompositingThread::drawTextures):
- platform/graphics/blackberry/LayerRenderer.cpp:
(WebCore::LayerRenderer::create):
(WebCore::LayerRenderer::LayerRenderer):
(WebCore::LayerRenderer::setViewport):
(WebCore::LayerRenderer::compositeLayers):
(WebCore::LayerRenderer::toWebKitWindowCoordinates):
(WebCore::LayerRenderer::makeContextCurrent):
- platform/graphics/blackberry/LayerRenderer.h:
(WebCore):
(LayerRenderer):
(WebCore::LayerRenderer::client):
- platform/graphics/blackberry/LayerRendererClient.h: Added.
(Graphics):
(WebCore):
(LayerRendererClient):
(WebCore::LayerRendererClient::~LayerRendererClient):
Source/WebKit/blackberry:
Child windows used to always be positioned in document coordinates,
which requires the
BlackBerry::Platform::Graphics::Window::virtualRect() of the parent
window to be kept in sync with the document visible content rect.
This is easy if there's a one-to-one correspondence between windows
and scrollable frames.
However, for an embedder that can display an entire scene graph (where
the web page is just one of the nodes) in one window, several
scrollable nodes may be present in that window, and it's difficult to
know which scrollable node to sync the virtualRect with. It could also
lead to conflicts, if two scrollable nodes have child windows.
For the latter scenario, it makes more sense to use window coordinates
to place child windows.
The internal default is to use document coordinates, for legacy
reasons.
When an external WebPageCompositor is attached, we switch to using
window coordinates instead of document coordinates by default. The
behavior is still configurable using the new public
setChildWindowPlacement method.
- Api/WebPageCompositor.cpp:
(BlackBerry::WebKit::WebPageCompositorPrivate::WebPageCompositorPrivate):
(BlackBerry::WebKit::WebPageCompositorPrivate::setContext):
(BlackBerry::WebKit::WebPageCompositorPrivate::prepareFrame):
(BlackBerry::WebKit::WebPageCompositorPrivate::render):
(BlackBerry::WebKit::WebPageCompositorPrivate::drawLayers):
(BlackBerry::WebKit::WebPageCompositorPrivate::shouldClearSurfaceBeforeCompositing):
(WebKit):
(BlackBerry::WebKit::WebPageCompositorPrivate::shouldChildWindowsUseDocumentCoordinates):
(BlackBerry::WebKit::WebPageCompositor::WebPageCompositor):
(BlackBerry::WebKit::WebPageCompositor::setChildWindowPlacement):
- Api/WebPageCompositor.h:
- Api/WebPageCompositor_p.h:
(BlackBerry::WebKit::WebPageCompositorPrivate::setChildWindowPlacement):
(WebPageCompositorPrivate):
- 3:13 PM Changeset in webkit [145952] by
-
- 2 edits2 copies in branches/chromium/1410
Merge 145726 "Fix body background image geometry calculation"
Fix body background image geometry calculation
https://bugs.webkit.org/show_bug.cgi?id=112226
Reviewed by Stephen Chenney.
Source/WebCore:
Images that depend on a container size require a call to set the container size before
rendering, and a call to look up the correct image during painting.
The body's renderer is special in that it may not be the renderer that actually paints its
background. This patch fixes a bug where the correct RenderObject was used for looking up
the image, but not for setting the container size. This fixes SVG background images on body.
Test: svg/as-background-image/svg-as-background-body.html
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintFillLayerExtended):
(WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
This change introduces clientForBackgroundImage in the background geometry calculation.
This is very similar to how the client is looked up in paintFillLayerExtended.
- rendering/RenderBoxModelObject.h:
The new signature for calculateBackgroundImageGeometry now mirrors
paintFillLayerExtended, containing a parameter for the correct background renderer.
(RenderBoxModelObject):
LayoutTests:
This test is required to have a repeating background, as we optimize non-repeating
backgrounds so the bug is not hit. A light green color is used so the text is still
readable, and gridlines are present to prove the correct container size is being used.
- svg/as-background-image/svg-as-background-body-expected.html: Added.
- svg/as-background-image/svg-as-background-body.html: Added.
TBR=pdr@google.com
Review URL: https://codereview.chromium.org/12712011
- 3:12 PM Changeset in webkit [145951] by
-
- 5 edits in trunk/Source/WebKit2
[GTK] Enforce the C++11 standard when compiling WebKit2
https://bugs.webkit.org/show_bug.cgi?id=112169
Reviewed by Gustavo Noronha Silva.
With a limited set of supported compilers the WebKit2 source code can now
be built with the C++11 language standard enforced.
- GNUmakefile.am:
- UIProcess/API/gtk/WebKitWebContext.cpp:
(injectedBundleDirectory): Adjust the string literals concatenation, moving away from empty strings
(which C++11 refuses to handle as concatenation operators) and using whitespace instead.
- UIProcess/InspectorServer/gtk/WebInspectorServerGtk.cpp:
(WebKit::WebInspectorServer::platformResourceForPath): Ditto.
- UIProcess/gtk/WebInspectorProxyGtk.cpp:
(WebKit::inspectorFilesBasePath): Ditto.
- 3:11 PM Changeset in webkit [145950] by
-
- 3 edits in branches/safari-536.30-branch/Source/WebCore
Merged r132970. <rdar://problem/13335073>
- 3:09 PM Changeset in webkit [145949] by
-
- 2 edits in trunk/Source/WTF
[iOS] Update StringImpl's equal to have a single version on all supported Apple CPUs
https://bugs.webkit.org/show_bug.cgi?id=112400
Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-03-15
Reviewed by Michael Saboff.
- wtf/text/StringImpl.h:
(WTF::equal):
Tweak the code to make it work on older Apple CPUs:
-Use external "ouput" variable instead of the registers R9 and R12. This gets rid
of some register pressure previously imposed on the compiler. (Clang nicely
choose R9 and R12 when needed, following iOS ABI).
-Instead of using "R3" for storing the length / 4, update the length by -4 on
each iteration and work in the negative space for the tail. This frees one register
which is then used for isEqual.
-Get rid of the unconditional branch from the loop. By using subs and working in the
negative space, we can test for the Carry flag to jump back to the next LDR.
- 3:05 PM Changeset in webkit [145948] by
-
- 2 edits in trunk/Tools
Have the mac port support per_test_timeout in webkitpy
https://bugs.webkit.org/show_bug.cgi?id=112466
Reviewed by Dirk Pranke.
Both WTR and DRT handle --timeout arguments, so we can
have the scripts pass the timeout values down to the tools.
- Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.supports_per_test_timeout):
- 2:57 PM Changeset in webkit [145947] by
-
- 4 edits in trunk/Source/JavaScriptCore
Don't also clone StructureRareData when cloning Structure.
<http://webkit.org/b/111672>
Reviewed by Mark Hahnenberg.
We were cloning a lot of StructureRareData with only the previousID pointer set since
the enumerationCache is not shared between clones.
Let the Structure copy constructor decide whether it wants to clone the rare data.
The decision is made by StructureRareData::needsCloning() and will currently always
return false, since StructureRareData only holds on to caches at present.
This may change in the future as more members are added to StructureRareData.
- runtime/Structure.cpp:
(JSC::Structure::Structure):
(JSC::Structure::cloneRareDataFrom):
- runtime/StructureInlines.h:
(JSC::Structure::create):
- 2:55 PM Changeset in webkit [145946] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
- platform/gtk/TestExpectations: Adding failure expectations for IDB tests that regressed with r145929.
- 2:52 PM Changeset in webkit [145945] by
-
- 24 edits9 deletes in trunk
Roll out r145838
https://bugs.webkit.org/show_bug.cgi?id=112458
Unreviewed. Requested by Filip Pizlo.
Source/JavaScriptCore:
- CMakeLists.txt:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
- dfg/DFGOperations.cpp:
- interpreter/CallFrame.h:
(JSC::ExecState::objectPrototypeTable):
- jit/JITStubs.cpp:
(JSC::getByVal):
- llint/LLIntSlowPaths.cpp:
(JSC::LLInt::getByVal):
- runtime/CommonIdentifiers.h:
- runtime/JSCell.cpp:
(JSC):
- runtime/JSCell.h:
(JSCell):
- runtime/JSCellInlines.h:
(JSC):
(JSC::JSCell::fastGetOwnProperty):
- runtime/JSGlobalData.cpp:
(JSC):
(JSC::JSGlobalData::JSGlobalData):
(JSC::JSGlobalData::~JSGlobalData):
- runtime/JSGlobalData.h:
(JSGlobalData):
- runtime/JSObject.cpp:
(JSC):
- runtime/JSObject.h:
(JSObject):
(JSC):
- runtime/Lookup.cpp:
(JSC::setUpStaticFunctionSlot):
- runtime/ObjectPrototype.cpp:
(JSC):
(JSC::ObjectPrototype::finishCreation):
(JSC::ObjectPrototype::getOwnPropertySlot):
(JSC::ObjectPrototype::getOwnPropertyDescriptor):
- runtime/ObjectPrototype.h:
(JSC::ObjectPrototype::create):
(ObjectPrototype):
- runtime/PropertyMapHashTable.h:
(JSC::PropertyTable::findWithString):
- runtime/Structure.h:
(Structure):
- runtime/StructureInlines.h:
(JSC::Structure::get):
LayoutTests:
- fast/js/regress/script-tests/string-lookup-hit-identifier.js: Removed.
- fast/js/regress/script-tests/string-lookup-hit.js: Removed.
- fast/js/regress/script-tests/string-lookup-miss.js: Removed.
- fast/js/regress/string-lookup-hit-expected.txt: Removed.
- fast/js/regress/string-lookup-hit-identifier-expected.txt: Removed.
- fast/js/regress/string-lookup-hit-identifier.html: Removed.
- fast/js/regress/string-lookup-hit.html: Removed.
- fast/js/regress/string-lookup-miss-expected.txt: Removed.
- fast/js/regress/string-lookup-miss.html: Removed.
- 2:52 PM Changeset in webkit [145944] by
-
- 7 edits in trunk/Source
Expose whether a UserGestureToken still has gestures via WebKit API
https://bugs.webkit.org/show_bug.cgi?id=112342
Reviewed by Adam Barth.
Source/WebCore:
- dom/UserGestureIndicator.cpp:
- dom/UserGestureIndicator.h:
(UserGestureToken):
Source/WebKit/chromium:
- public/WebUserGestureToken.h:
(WebUserGestureToken):
- src/WebUserGestureToken.cpp:
(WebKit::WebUserGestureToken::hasGestures):
(WebKit):
- tests/WebUserGestureTokenTest.cpp:
(WebCore::TEST):
- 2:50 PM Changeset in webkit [145943] by
-
- 12 edits in trunk/Source/WebCore
Convert inspector to new-flexbox
https://bugs.webkit.org/show_bug.cgi?id=112399
Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-03-15
Reviewed by Ojan Vafai.
No new tests, refactoring.
- inspector/front-end/auditsPanel.css:
(.audit-launcher-view .audit-launcher-view-content):
(.audit-launcher-view div.button-container):
(.audit-launcher-view div.button-container > button):
- inspector/front-end/dialog.css:
(.dialog):
- inspector/front-end/elementsPanel.css:
(.sidebar-pane.composite .metrics):
- inspector/front-end/helpScreen.css:
(.help-window-main):
(.help-content):
- inspector/front-end/inspector.css:
(#toolbar):
(#toolbar-controls):
(#toolbar-dropdown .scrollable-content):
(#toolbar-dropdown .toolbar-item):
(.toolbar-item.close-left, .toolbar-item.close-right):
- inspector/front-end/nativeMemoryProfiler.css:
(.memory-pie-chart-container):
(.memory-pie-chart):
- inspector/front-end/networkPanel.css:
(.network-item-view.visible):
- inspector/front-end/panelEnablerView.css:
(.panel-enabler-view .flexible-space):
- inspector/front-end/profilesPanel.css:
(.profile-launcher-view-content):
(.control-profiling):
- inspector/front-end/splitView.css:
(.sidebar-overlay):
- inspector/front-end/tabbedPane.css:
(.tabbed-pane):
(.tabbed-pane-content):
Replace -webkit-box with -webkit-flex, -webkit-box-orient with
-webkit-flex-direction, etc.
- 2:37 PM Changeset in webkit [145942] by
-
- 5 edits2 copies in branches/safari-536.30-branch
Merged r132724. <rdar://problem/13335007>
- 2:30 PM Changeset in webkit [145941] by
-
- 6 edits in branches/safari-536.30-branch
Merged r132511. <rdar://problem/13334997>
- 2:28 PM Changeset in webkit [145940] by
-
- 30 edits in trunk
Source/WebCore: Remove unused unified textchecker variable
https://bugs.webkit.org/show_bug.cgi?id=112362
Patch by Rouslan Solomakhin <rouslan@chromium.org> on 2013-03-15
Reviewed by Tony Chang.
The variable m_originalUnifiedSpellCheckerEnabled is never used. The generated
code from Settings.in already backs up and restores unified textchecker setting.
- testing/InternalSettings.h: Remove unusued m_originalUnifiedSpellCheckerEnabled variable.
Tools: Remove setAsynchronousSpellCheckingEnabled from test runners
https://bugs.webkit.org/show_bug.cgi?id=112362
Patch by Rouslan Solomakhin <rouslan@chromium.org> on 2013-03-15
Reviewed by Tony Chang.
Remove setAsynchronousSpellCheckingEnabled from test runners. The setting is now
in internals.settings, so all ports can share it.
- DumpRenderTree/TestRunner.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/TestRunner.h: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/chromium/TestRunner/src/TestRunner.h: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/efl/TestRunnerEfl.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/gtk/TestRunnerGtk.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/mac/TestRunnerMac.mm: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/qt/TestRunnerQt.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/qt/TestRunnerQt.h: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/win/TestRunnerWin.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
- DumpRenderTree/wx/TestRunnerWx.cpp: Remove setAsynchronousSpellCheckingEnabled() method.
LayoutTests: Move setAsynchronousSpellCheckingEnabled to internals.settings
https://bugs.webkit.org/show_bug.cgi?id=112362
Patch by Rouslan Solomakhin <rouslan@chromium.org> on 2013-03-15
Reviewed by Tony Chang.
Changed the tests from using testRunner.setAsynchronousSpellCheckingEnabled(bool)
with port-specific implementations to use internals.settings.setAsynchronousSpellCheckingEnabled(bool)
with one common implementation, similar to internals.settings.setUnifiedTextCheckerEnabled(bool).
Changed the tests to not reset these settings when they finish, because the test harness resets
the settings automatically.
- editing/spelling/grammar-markers-hidpi.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/grammar-markers.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/grammar-paste.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/resources/util.js: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/script-tests/spellcheck-paste.js: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/spellcheck-async-mutation.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/spellcheck-async-remove-frame.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/spellcheck-async.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/spellcheck-paste-disabled.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/spellcheck-queue.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/spellcheck-sequencenum.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- editing/spelling/spelling-marker-description.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- platform/chromium/editing/spelling/delete-misspelled-word.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- platform/chromium/editing/spelling/move-cursor-to-misspelled-word.html: Use internals.settings.setAsynchronousSpellCheckingEnabled(bool) instead of testRunner.setAsynchronousSpellCheckingEnabled(bool).
- 2:26 PM Changeset in webkit [145939] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merge 132287. <rdar://problem/13335000>
- 2:16 PM Changeset in webkit [145938] by
-
- 3 edits3 adds in branches/safari-536.30-branch
Merge 131709. <rdar://problem/13334885>
- 2:13 PM Changeset in webkit [145937] by
-
- 4 edits2 adds in trunk
Auto height column flexboxes with border and padding are too short
https://bugs.webkit.org/show_bug.cgi?id=112398
Reviewed by Tony Chang.
Source/WebCore:
Test: css3/flexbox/auto-height-column-with-border-and-padding.html
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::mainAxisContentExtent):
computeLogicalHeight expects that you pass in the border-box logicalHeight, not
the contentLogicalHeight. Since we subtract the border, padding and scrollbar height from
the returned m_extent, if we pass in the contentLogicalHeight and the flexbox is auto-sized
then we end up incorrectly subtracting border, padding and scrollbar height from the
contentLogicalHeight.
LayoutTests:
- css3/flexbox/auto-height-column-with-border-and-padding-expected.html: Added.
- css3/flexbox/auto-height-column-with-border-and-padding.html: Added.
- css3/flexbox/resources/flexbox.css:
(.flex-one-one-auto):
- 2:06 PM Changeset in webkit [145936] by
-
- 41 edits in trunk/Source/WebCore/platform/gtk/po
Unreviewed, build fix. Also gather translatable strings from WebKit2 files.
- POTFILES.in: added WebKit2GTK+ files that have translatable strings.
- ar.po: regenerated.
- as.po: ditto.
- bg.po: ditto.
- cs.po: ditto.
- de.po: ditto.
- el.po: ditto.
- en_CA.po: ditto.
- en_GB.po: ditto.
- eo.po: ditto.
- es.po: ditto.
- et.po: ditto.
- eu.po: ditto.
- fr.po: ditto.
- gl.po: ditto.
- gu.po: ditto.
- he.po: ditto.
- hi.po: ditto.
- hu.po: ditto.
- id.po: ditto.
- it.po: ditto.
- ko.po: ditto.
- lt.po: ditto.
- lv.po: ditto.
- mr.po: ditto.
- nb.po: ditto.
- nl.po: ditto.
- pa.po: ditto.
- pl.po: ditto.
- pt.po: ditto.
- pt_BR.po: ditto.
- ro.po: ditto.
- ru.po: ditto.
- sl.po: ditto.
- sr.po: ditto.
- sr@latin.po: ditto.
- sv.po: ditto.
- uk.po: ditto.
- vi.po: ditto.
- zh_CN.po: ditto.
- 1:34 PM Changeset in webkit [145935] by
-
- 2 edits in trunk/Source/WTF
[iOS] Fix the length pass to memcmp in the fallback versions of String's equal
https://bugs.webkit.org/show_bug.cgi?id=112463
Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-03-15
Reviewed by Ryosuke Niwa.
- wtf/text/StringImpl.h:
(WTF::equal): It might be a good idea to compare the full UChar strings...
- 1:33 PM Changeset in webkit [145934] by
-
- 7 edits in trunk/Source/WebCore
RenderSnapshottedPlugIn can't be a RenderBlock (what if it's display: inline?)
https://bugs.webkit.org/show_bug.cgi?id=112432
<rdar://problem/13187211>
Reviewed by Simon Fraser and Dean Jackson.
Re-use code from PLUGIN_PROXY_FOR_VIDEO to allow RenderEmbeddedObject to lay out its children,
and make RenderSnapshottedPlugIn a RenderEmbeddedObject subclass once again. This will ensure that
RenderSnapshottedPlugIn lays itself out in the page the same as the RenderEmbeddedObject it replaces did,
preventing snapshotted plug-ins from breaking the layout when they are display: inline.
- html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::defaultEventHandler):
RenderSnapshottedPlugIn is a RenderEmbeddedObject subclass again, so we need to check
for it when we have a RenderEmbeddedObject, instead of when we don't.
- page/FrameView.cpp:
(WebCore::FrameView::updateWidget):
Ditto.
- rendering/RenderEmbeddedObject.cpp:
(WebCore::RenderEmbeddedObject::layout):
(WebCore::RenderEmbeddedObject::canHaveChildren):
Allow RenderEmbeddedObject to have and lay out children if it is a RenderSnapshottedPlugIn.
Also, preserve the code that allows children if it is a media element and PLUGIN_PROXY_FOR_VIDEO is enabled.
Don't call addWidgetToUpdate for instances which will never have a widget, like RenderSnapshottedPlugIn.
- rendering/RenderEmbeddedObject.h:
(RenderEmbeddedObject):
We need canHaveChildren() and children() and m_children now.
Add canHaveWidget(), which returns true. Subclasses can override if need be.
- rendering/RenderSnapshottedPlugIn.h: Add canHaveWidget(), which is false for RenderSnapshottedPlugIn.
- rendering/RenderSnapshottedPlugIn.cpp:
(WebCore::RenderSnapshottedPlugIn::RenderSnapshottedPlugIn):
(WebCore::RenderSnapshottedPlugIn::layout):
(WebCore::RenderSnapshottedPlugIn::getCursor):
Make RenderSnapshottedPlugIn a RenderEmbeddedObject.
(WebCore::RenderSnapshottedPlugIn::paint):
Paint our children.
- 1:24 PM Changeset in webkit [145933] by
-
- 7 edits in trunk/Source/JavaScriptCore
Cleanup of DFG and Baseline JIT debugging code
https://bugs.webkit.org/show_bug.cgi?id=111871
Reviewed by Geoffrey Garen.
Fixed various debug related issue in baseline and DFG JITs. See below.
- dfg/DFGRepatch.cpp:
(JSC::DFG::dfgLinkClosureCall): Used pointerDump() to handle when calleeCodeBlock is NULL.
- dfg/DFGScratchRegisterAllocator.h: Now use ScratchBuffer::activeLengthPtr() to get
pointer to scratch register length.
(JSC::DFG::ScratchRegisterAllocator::preserveUsedRegistersToScratchBuffer):
(JSC::DFG::ScratchRegisterAllocator::restoreUsedRegistersFromScratchBuffer):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::checkConsistency): Added missing case labels for DataFormatOSRMarker,
DataFormatDead, and DataFormatArguments and made them RELEASE_ASSERT_NOT_REACHED();
- jit/JITCall.cpp:
(JSC::JIT::privateCompileClosureCall): Used pointerDump() to handle when calleeCodeBlock is NULL.
- jit/JITCall32_64.cpp:
(JSC::JIT::privateCompileClosureCall): Used pointerDump() to handle when calleeCodeBlock is NULL.
- runtime/JSGlobalData.h:
(JSC::ScratchBuffer::ScratchBuffer): Fixed buffer allocation alignment to
be on a double boundary.
(JSC::ScratchBuffer::setActiveLength):
(JSC::ScratchBuffer::activeLength):
(JSC::ScratchBuffer::activeLengthPtr):
- 1:12 PM Changeset in webkit [145932] by
-
- 34 edits2 adds in trunk
[Custom Elements] Any HTMLElement subclass should become a superclass of custom element
https://bugs.webkit.org/show_bug.cgi?id=110436
Reviewed by Dimitri Glazkov.
Source/WebCore:
This change introduces "type extension" concept of custom elements.
With the type extension, each custom elements are able to inherit
from not only HTMLElement, but also any HTML element. To make it work,
this change extends the plumbing.
This change does following changes:
Data structure:
- Let CustomElementConstructor objects being keyed by pair of (element name, local name) as the standard requries, instead of just using single name. See CustomElementRegistry::ConstructorMap and CustomElementRegistry::find().
- Creates mapping from WrapperTypeInfo to element name. This map can be looked-up by generated functions like findHTMLTagNameOfV8Type(). With this table, WebKit can determine the custom element local name of given prototype object. See make_names.pl. Note that V8 prototype object knows associated WrapperTypeInfo. See r144865.
Hooking up element lifecyle:
- Create appropriate C++ instance for each custom element. Before this change, the C++ backend of custom elements were always HTMLUnknownElements or HTMLElement. See CustomElementConstructor::createElement() and ElementFactories in make_names.pl.
- Hooks up element construction and element wrapper creation for custom element "before" non-custom case instead of "after" that. We do this because custom element needs to override non-custom case when @is attribute is given for otherwise-non-custom elements like <div is=x-bar>. See make_names.pl.
- Gives @is attributes to elements if needed. See setTypeExtension() call sites like Document::createElement(), Document::createElementtNS() and CustomElementConstructor::createElementt()
Test: fast/dom/custom/document-register-type-extensions.html
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
- bindings/scripts/test/V8/V8Float64Array.h:
- bindings/scripts/test/V8/V8TestActiveDOMObject.h:
- bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
- bindings/scripts/test/V8/V8TestEventConstructor.h:
- bindings/scripts/test/V8/V8TestEventTarget.h:
- bindings/scripts/test/V8/V8TestException.h:
- bindings/scripts/test/V8/V8TestInterface.h:
- bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
- bindings/scripts/test/V8/V8TestNamedConstructor.h:
- bindings/scripts/test/V8/V8TestNode.h:
- bindings/scripts/test/V8/V8TestObj.h:
- bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
- bindings/scripts/test/V8/V8TestTypedefs.h:
- bindings/v8/CustomElementHelpers.cpp:
(WebCore::hasValidPrototypeChain):
(WebCore::CustomElementHelpers::isValidPrototypeParameter):
(WebCore::CustomElementHelpers::findLocalName):
(WebCore):
(WebCore::CustomElementHelpers::findWrapperType):
- bindings/v8/CustomElementHelpers.h:
(CustomElementHelpers):
- bindings/v8/V8CustomElement.cpp:
(WebCore::V8CustomElement::createWrapper):
- bindings/v8/V8CustomElement.h:
(V8CustomElement):
(WebCore::V8CustomElement::wrap):
(WebCore::V8CustomElement::constructorOf):
- bindings/v8/WrapperTypeInfo.h:
(WrapperTypeTraits): Added.
- bindings/v8/custom/V8CustomElementConstructorCustom.cpp:
(WebCore::V8CustomElementConstructor::callAsFunctionCallback):
- dom/CustomElementConstructor.cpp:
(WebCore::CustomElementConstructor::create):
(WebCore::CustomElementConstructor::CustomElementConstructor):
(WebCore::CustomElementConstructor::createElement):
(WebCore::setTypeExtension):
- dom/CustomElementConstructor.h:
(CustomElementConstructor):
(WebCore::CustomElementConstructor::document):
(WebCore::CustomElementConstructor::typeName):
(WebCore::CustomElementConstructor::localName):
- dom/CustomElementRegistry.cpp:
(WebCore::nameIncludesHyphen):
(WebCore::CustomElementRegistry::isValidName):
(WebCore::CustomElementRegistry::registerElement):
(WebCore::CustomElementRegistry::findFor):
(WebCore::CustomElementRegistry::find):
(WebCore::CustomElementRegistry::createElement):
- dom/CustomElementRegistry.h:
(CustomElementRegistry):
- dom/Document.cpp:
(WebCore::Document::createElement):
(WebCore::Document::createElementNS):
(WebCore::Document::registerElement):
- dom/Document.h:
(Document):
(WebCore::Document::registry): Moved from Document.cpp to be inlined.
- dom/Document.idl:
- dom/make_names.pl:
(printFactoryCppFile):
(printWrapperFactoryCppFile):
(printWrapperFactoryHeaderFile):
- html/HTMLAttributeNames.in: Added @is attribute
LayoutTests:
- fast/dom/custom/document-register-basic-expected.txt:
- fast/dom/custom/document-register-basic.html:
- fast/dom/custom/document-register-type-extensions-expected.txt: Added.
- fast/dom/custom/document-register-type-extensions.html: Added.
- 12:33 PM Changeset in webkit [145931] by
-
- 7 edits in trunk/Source
Add runtime check for improper register allocations in DFG
https://bugs.webkit.org/show_bug.cgi?id=112380
Reviewed by Geoffrey Garen.
Source/JavaScriptCore:
Added framework to check for register allocation within a branch source - target range. All register allocations
are saved using the offset in the code stream where the allocation occurred. Later when a jump is linked, the
currently saved register allocations are checked to make sure that they didn't occur in the range of code that was
jumped over. This protects against the case where an allocation could have spilled register contents to free up
a register and that spill only occurs on one path of a many through the code. A subsequent fill of the spilled
register may load garbage. See https://bugs.webkit.org/show_bug.cgi?id=111777 for one such bug.
This code is protected by the compile time check of #if ENABLE(DFG_REGISTER_ALLOCATION_VALIDATION).
The check is only done during the processing of SpeculativeJIT::compile(Node* node) and its callees.
- assembler/AbstractMacroAssembler.h:
(JSC::AbstractMacroAssembler::Jump::link): Invoke register allocation checks using source and target of link.
(JSC::AbstractMacroAssembler::Jump::linkTo): Invoke register allocation checks using source and target of link.
(AbstractMacroAssembler):
(RegisterAllocationOffset): New helper class to store the instruction stream offset and compare against a
jump range.
(JSC::AbstractMacroAssembler::RegisterAllocationOffset::RegisterAllocationOffset):
(JSC::AbstractMacroAssembler::RegisterAllocationOffset::check):
(JSC::AbstractMacroAssembler::addRegisterAllocationAtOffset):
(JSC::AbstractMacroAssembler::clearRegisterAllocationOffsets):
(JSC::AbstractMacroAssembler::checkRegisterAllocationAgainstBranchRange):
- dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::allocate):
- dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
Source/WTF:
- wtf/Platform.h: Added new ENABLE_DFG_REGISTER_ALLOCATION_VALIDATION compilation flag to
enable generation of register allocation checking. This is on for debug builds.
- 12:03 PM Changeset in webkit [145930] by
-
- 20 edits in trunk/Source/WebCore
Minor cleanup in worker code
https://bugs.webkit.org/show_bug.cgi?id=112455
Reviewed by Anders Carlsson.
- Added OVERRIDE keywords.
- Toned down FIXMEs about single MessagePort versions of functions. It's not a given that we'll want to get rid of them even when implementing array versions.
- Explicitly marked virtual destructors as virtual.
- dom/MessageEvent.cpp:
- dom/MessageEvent.h:
- workers/Worker.cpp:
- workers/Worker.h: Removed an unused version of postMessage() that took no MessagePorts. This makes it less confusing why MessagePortArray is passed by pointer, and not by reference.
- workers/DedicatedWorkerContext.cpp: (WebCore::DedicatedWorkerContext::~DedicatedWorkerContext):
- workers/DedicatedWorkerContext.h: Added a destructor instead of an implicit one. Removed an unused version of postMessage() that took no MessagePorts.
- workers/SharedWorker.h: Removed an unused virtual function (thank you OVERRIDE!)
- dom/MessagePort.cpp:
- dom/MessagePort.h:
- loader/WorkerThreadableLoader.h:
- page/DOMWindow.h:
- workers/AbstractWorker.h:
- workers/DedicatedWorkerThread.h:
- workers/SharedWorkerContext.h:
- workers/SharedWorkerThread.h:
- workers/WorkerContext.h:
- workers/WorkerMessagingProxy.h:
- workers/WorkerObjectProxy.h:
- workers/WorkerScriptLoader.h:
- 11:58 AM Changeset in webkit [145929] by
-
- 27 edits2 copies1 add in trunk
[V8] Binding: Implement EnforceRange IDL Attribute for long long conversions
https://bugs.webkit.org/show_bug.cgi?id=96798
Reviewed by Kentaro Hara.
Source/WebCore:
Implement [EnforceRange] attribute for V8 bindings, which specifies throwing behavior
on conversions outside int/uint 32/64 ranges and edge cases like NaNs and Infinities.
Conversely, conversions without this attribute should *not* throw.
Tests: fast/js/webidl-type-mapping.html:
fast/dom/non-numeric-values-numeric-parameters.html
fast/js/script-tests/select-options-add.html
storage/indexeddb/intversion-bad-parameters.html
- Modules/indexeddb/IDBCursor.cpp: Remove custom range enforcement for advance()
- Modules/indexeddb/IDBCursor.h: Adjust type to match WebIDL.
- Modules/indexeddb/IDBCursor.idl: Specify [EnforceRange] and type matches spec WebIDL.
- Modules/indexeddb/IDBFactory.cpp: Remove custom range enforcement for open()
- Modules/indexeddb/IDBFactory.h: Adjust type to match WebIDL.
- Modules/indexeddb/IDBFactory.idl: Specify [EnforceRange] and type matches spec WebIDL.
- bindings/scripts/CodeGeneratorJS.pm:
(JSValueToNative): Add FIXME to support [EnforceRange]
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateNormalAttrSetter): Handle [EnforceRange] in attribute setters
(GenerateParametersCheck): Handle [EnforceRange] in parameters.
(JSValueToNative): Pass EnforceRange to toInt() functions as appropriate.
- bindings/scripts/IDLAttributes.txt:
- bindings/scripts/test/TestObj.idl: Tests w/ [EnforceRange]
- bindings/scripts/test/V8/V8TestObj.cpp: Updated expectations
- bindings/scripts/test/V8/V8TestTypedefs.cpp: Updated expectations.
- bindings/v8/V8Binding.cpp: Overloads for toInt() variants that handle constraints.
(WebCore::toInt32):
(WebCore::toUInt32):
(WebCore::toInt64):
(WebCore::toUInt64):
- bindings/v8/V8Binding.h: Ditto, plus helpers for callers not expecting errors.
(WebCore::toInt32):
(WebCore::toUInt32):
(WebCore::toInt64):
(WebCore::toUInt64):
- bindings/v8/V8BindingMacros.h: Helper macros for type conversions that may throw.
- testing/TypeConversions.h: Added new members with EnforceRange constraint.
- testing/TypeConversions.idl: Ditto.
LayoutTests:
Some of the tests for HTMLOptionsCollection.add() assumed it should throw for
Infinities and NaNs, but this is not what the DOM+WebIDL specs say. (Firefox doesn't throw
so this does not appear to be a web-compat issue.) This updates the tests/expectations so
that V8 passes. JSC expectations are FAIL in a few places since it still incorrectly throws
on Infinity/NaN -> int32 conversion (existing tests) and does not implement EnforceRange
(new tests).
Tne non-numeric-values-numeric-parameters test was also broken for NaN testing, reporting
incorrect results which hid some of this behavior.
- fast/dom/non-numeric-values-numeric-parameters-expected.txt: Failing behavior for JSC.
- fast/dom/script-tests/non-numeric-values-numeric-parameters.js: HTMLOptionsCollection.add()
should not throw on NaNs/Infinities.
- fast/js/script-tests/select-options-add.js: Ditto.
- fast/js/select-options-add-expected.txt: Failing behavior for JSC.
- fast/js/webidl-type-mapping-expected.txt: Ditto.
- fast/js/webidl-type-mapping.html: Added test cases for [EnforceRange]
- platform/chromium/fast/dom/non-numeric-values-numeric-parameters-expected.txt: Added - passing behavior for V8.
- platform/chromium/fast/js/select-options-add-expected.txt: Ditto.
- platform/chromium/fast/js/webidl-type-mapping-expected.txt: Added.
- storage/indexeddb/intversion-bad-parameters-expected.txt: Added non-finite test cases.
- storage/indexeddb/resources/intversion-bad-parameters.js: Ditto.
- 11:58 AM Changeset in webkit [145928] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r130999. <rdar://problem/13334880>
- 11:52 AM Changeset in webkit [145927] by
-
- 2 edits in trunk/LayoutTests
Marking sputnik/Conformance/10_Execution_Contexts/10.1_Definitions/10.1.8_Arguments_Object/S10.1.8_A3_T2.html
as a Slow test.
- platform/mac/TestExpectations:
- 11:47 AM Changeset in webkit [145926] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: [Network] Refine JSDocs in NetworkRequest.js
https://bugs.webkit.org/show_bug.cgi?id=112412
Reviewed by Vsevolod Vlasov.
Return types for some members are confusing (Object).
- inspector/front-end/NetworkManager.js: Fixed JSDocs.
- inspector/front-end/NetworkRequest.js: Ditto. Plus minor refactorings.
- 11:43 AM Changeset in webkit [145925] by
-
- 2 edits in trunk/Tools
Fix the stupid unit tests.
- Scripts/webkitpy/layout_tests/port/mac_unittest.py:
(test_sample_process):
- 11:26 AM Changeset in webkit [145924] by
-
- 4 edits2 adds in trunk
REGRESSION (r127277): CSS URIs with multi-byte Unicode escape sequences fail to parse
https://bugs.webkit.org/show_bug.cgi?id=112436
Reviewed by Michael Saboff.
Source/WebCore:
r127277 modified the CSS parser to use 8-bit strings when possible.
However, it failed to handle URIs that contain Unicode escape sequences
that expand to multi-byte characters. Not only would the URI fail to
parse, but so would the remainder of the input string.
Fix this by producing a 16-bit result when we detect a URI with a
multi-byte Unicode escape, like we do for identifiers and other strings.
Test: fast/css/url-with-multi-byte-unicode-escape.html
- css/CSSParser.cpp:
(WebCore::checkAndSkipString): Changed to be a free function since it
doesn't access CSSParser's internal state.
(WebCore::CSSParser::findURI): Added a function that consolidates the
logic of finding the start and end pointers of the URI and the quote
character (if encountered), starting at the current character.
(WebCore::CSSParser::parseURIInternal): Removed duplicated logic for
finding the URI bounds (this now lives in findURI()) and logic for
setting the token type and updating the current character (this now
lives in parseURI()).
(WebCore::CSSParser::parseURI): Find the URI and parse it. If a
multi-byte Unicode escape is encountered, rewind to the beginning of
the URI and re-parse with a 16-bit string as the destination.
- css/CSSParser.h:
LayoutTests:
- fast/css/url-with-multi-byte-unicode-escape-expected.txt: Added.
- fast/css/url-with-multi-byte-unicode-escape.html: Added.
- 11:16 AM Changeset in webkit [145923] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled Chromium DEPS to r188418. Requested by
"Adam Barth" <abarth@webkit.org> via sheriffbot.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-15
- DEPS:
- 11:10 AM Changeset in webkit [145922] by
-
- 8 edits1 delete in trunk/Source/WebCore
[JSC] Remove custom WebAudio mark functions that we can generate instead.
<http://webkit.org/b/110976>
Reviewed by Eric Carlson.
Remove custom JSC mark functions for AudioContext and ScriptProcessorNode since they
are trivial to generate.
- Modules/webaudio/AudioContext.idl:
- Modules/webaudio/ScriptProcessorNode.idl:
- GNUmakefile.list.am:
- UseJSC.cmake:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSAudioContextCustom.cpp:
- bindings/js/JSScriptProcessorNodeCustom.cpp: Removed.
- 11:08 AM Changeset in webkit [145921] by
-
- 62 edits in branches/chromium/1441/Source
Revert 145802 "[V8] Store main world and non-main world template..."
[V8] Store main world and non-main world templates separately.
https://bugs.webkit.org/show_bug.cgi?id=111724
Patch by Marja Hölttä <marja@chromium.org> on 2013-03-14
Reviewed by Jochen Eisinger.
This is needed for generating specialized bindings for the main
world (bug 110874).
Source/WebCore:
No new tests (updated existing bindings tests).
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateDomainSafeFunctionGetter):
(GenerateNormalAttrSetter):
(GenerateParametersCheckExpression):
(GenerateParametersCheck):
(GenerateImplementation):
(JSValueToNative):
(CreateCustomSignature):
- bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore::Float64ArrayV8Internal::fooMethod):
(WebCore::ConfigureV8Float64ArrayTemplate):
(WebCore::V8Float64Array::GetTemplate):
(WebCore::V8Float64Array::HasInstance):
- bindings/scripts/test/V8/V8Float64Array.h:
(V8Float64Array):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::excitingFunctionMethod):
(WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
(WebCore::ConfigureV8TestActiveDOMObjectTemplate):
(WebCore::V8TestActiveDOMObject::GetTemplate):
(WebCore::V8TestActiveDOMObject::HasInstance):
- bindings/scripts/test/V8/V8TestActiveDOMObject.h:
(V8TestActiveDOMObject):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore::V8TestCustomNamedGetter::GetTemplate):
(WebCore::V8TestCustomNamedGetter::HasInstance):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
(V8TestCustomNamedGetter):
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore::V8TestEventConstructor::GetTemplate):
(WebCore::V8TestEventConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestEventConstructor.h:
(V8TestEventConstructor):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore::TestEventTargetV8Internal::dispatchEventMethod):
(WebCore::ConfigureV8TestEventTargetTemplate):
(WebCore::V8TestEventTarget::GetTemplate):
(WebCore::V8TestEventTarget::HasInstance):
- bindings/scripts/test/V8/V8TestEventTarget.h:
(V8TestEventTarget):
- bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::V8TestException::GetTemplate):
(WebCore::V8TestException::HasInstance):
- bindings/scripts/test/V8/V8TestException.h:
(V8TestException):
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetter):
(WebCore::TestInterfaceV8Internal::supplementalMethod2Method):
(WebCore::ConfigureV8TestInterfaceTemplate):
(WebCore::V8TestInterface::GetTemplate):
(WebCore::V8TestInterface::HasInstance):
- bindings/scripts/test/V8/V8TestInterface.h:
(V8TestInterface):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore::V8TestMediaQueryListListener::GetTemplate):
(WebCore::V8TestMediaQueryListListener::HasInstance):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
(V8TestMediaQueryListListener):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructor::GetTemplate):
(WebCore::V8TestNamedConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestNamedConstructor.h:
(V8TestNamedConstructor):
- bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore::V8TestNode::GetTemplate):
(WebCore::V8TestNode::HasInstance):
- bindings/scripts/test/V8/V8TestNode.h:
(V8TestNode):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::testObjAttrAttrSetter):
(WebCore::TestObjV8Internal::XMLObjAttrAttrSetter):
(WebCore::TestObjV8Internal::typedArrayAttrAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetter):
(WebCore::TestObjV8Internal::mutablePointAttrSetter):
(WebCore::TestObjV8Internal::immutablePointAttrSetter):
(WebCore::TestObjV8Internal::voidMethodWithArgsMethod):
(WebCore::TestObjV8Internal::longMethodWithArgsMethod):
(WebCore::TestObjV8Internal::objMethodWithArgsMethod):
(WebCore::TestObjV8Internal::methodThatRequiresAllArgsAndThrowsMethod):
(WebCore::TestObjV8Internal::overloadedMethod1Method):
(WebCore::TestObjV8Internal::overloadedMethod2Method):
(WebCore::TestObjV8Internal::overloadedMethod8Method):
(WebCore::TestObjV8Internal::overloadedMethodMethod):
(WebCore::TestObjV8Internal::convert1Method):
(WebCore::TestObjV8Internal::convert2Method):
(WebCore::TestObjV8Internal::convert4Method):
(WebCore::TestObjV8Internal::convert5Method):
(WebCore::TestObjV8Internal::variadicNodeMethodMethod):
(WebCore::ConfigureV8TestObjTemplate):
(WebCore::V8TestObj::GetTemplate):
(WebCore::V8TestObj::HasInstance):
- bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::TestOverloadedConstructorsV8Internal::constructor1):
(WebCore::TestOverloadedConstructorsV8Internal::constructor2):
(WebCore::TestOverloadedConstructorsV8Internal::constructor3):
(WebCore::TestOverloadedConstructorsV8Internal::constructor):
(WebCore::V8TestOverloadedConstructors::GetTemplate):
(WebCore::V8TestOverloadedConstructors::HasInstance):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
(V8TestOverloadedConstructors):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
(WebCore::V8TestSerializedScriptValueInterface::HasInstance):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
(V8TestSerializedScriptValueInterface):
- bindings/scripts/test/V8/V8TestTypedefs.cpp:
(WebCore::TestTypedefsV8Internal::funcMethod):
(WebCore::ConfigureV8TestTypedefsTemplate):
(WebCore::V8TestTypedefs::GetTemplate):
(WebCore::V8TestTypedefs::HasInstance):
- bindings/scripts/test/V8/V8TestTypedefs.h:
(V8TestTypedefs):
- bindings/v8/Dictionary.cpp:
(WebCore::Dictionary::get):
- bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::visitNodeWrappers):
- bindings/v8/SerializedScriptValue.cpp:
- bindings/v8/V8AdaptorFunction.cpp:
(WebCore::V8AdaptorFunction::getTemplate):
- bindings/v8/V8Binding.cpp:
(WebCore::toDOMStringList):
(WebCore::toXPathNSResolver):
- bindings/v8/V8Binding.h:
(WebCore):
(WebCore::toRefPtrNativeArray):
- bindings/v8/V8Collection.cpp:
(WebCore::toOptionsCollectionSetter):
- bindings/v8/V8GCController.cpp:
- bindings/v8/V8NPObject.cpp:
(WebCore::npObjectInvokeImpl):
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::reportMemoryUsage):
(WebCore::V8PerIsolateData::hasPrivateTemplate):
(WebCore::V8PerIsolateData::privateTemplate):
(WebCore::V8PerIsolateData::rawTemplate):
(WebCore::V8PerIsolateData::hasInstance):
- bindings/v8/V8PerIsolateData.h:
(WebCore::V8PerIsolateData::rawTemplateMap):
(V8PerIsolateData):
(WebCore::V8PerIsolateData::templateMap):
- bindings/v8/V8Utilities.cpp:
(WebCore::extractTransferables):
- bindings/v8/custom/V8ArrayBufferViewCustom.h:
(WebCore::constructWebGLArray):
(WebCore::setWebGLArrayHelper):
- bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
(WebCore::V8AudioBufferSourceNode::bufferAttrSetterCustom):
- bindings/v8/custom/V8BlobCustom.cpp:
(WebCore::V8Blob::constructorCustom):
- bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
(WebCore::toCanvasStyle):
- bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::setDragImageMethodCustom):
- bindings/v8/custom/V8CryptoCustom.cpp:
(WebCore::V8Crypto::getRandomValuesMethodCustom):
- bindings/v8/custom/V8DOMFormDataCustom.cpp:
(WebCore::V8DOMFormData::constructorCustom):
(WebCore::V8DOMFormData::appendMethodCustom):
- bindings/v8/custom/V8DataViewCustom.cpp:
(WebCore::V8DataView::constructorCustom):
- bindings/v8/custom/V8DocumentCustom.cpp:
(WebCore::V8Document::evaluateMethodCustom):
- bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
(WebCore::V8HTMLMediaElement::controllerAttrSetterCustom):
- bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
(WebCore::V8HTMLOptionsCollection::addMethodCustom):
- bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
(WebCore::removeElement):
- bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::isHTMLAllCollectionMethodCustom):
(WebCore::V8InjectedScriptHost::typeMethodCustom):
(WebCore::V8InjectedScriptHost::getEventListenersMethodCustom):
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
- bindings/v8/custom/V8NodeCustom.cpp:
(WebCore::V8Node::insertBeforeMethodCustom):
(WebCore::V8Node::replaceChildMethodCustom):
(WebCore::V8Node::removeChildMethodCustom):
(WebCore::V8Node::appendChildMethodCustom):
- bindings/v8/custom/V8NodeListCustom.cpp:
(WebCore::V8NodeList::opaqueRootForGC):
- bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
(WebCore::toWebGLUniformLocation):
(WebCore::V8WebGLRenderingContext::getAttachedShadersMethodCustom):
(WebCore::V8WebGLRenderingContext::getProgramParameterMethodCustom):
(WebCore::V8WebGLRenderingContext::getShaderParameterMethodCustom):
(WebCore::V8WebGLRenderingContext::getUniformMethodCustom):
(WebCore::vertexAttribAndUniformHelperf):
(WebCore::uniformHelperi):
(WebCore::uniformMatrixHelper):
- bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::isDocumentType):
(WebCore::V8XMLHttpRequest::sendMethodCustom):
Source/WebKit/chromium:
- src/WebArrayBuffer.cpp:
(WebKit::WebArrayBuffer::createFromV8Value):
- src/WebArrayBufferView.cpp:
(WebKit::WebArrayBufferView::createFromV8Value):
- src/WebBindings.cpp:
(WebKit::getRangeImpl):
(WebKit::getNodeImpl):
(WebKit::getElementImpl):
(WebKit::getArrayBufferImpl):
(WebKit::getArrayBufferViewImpl):
- 11:05 AM Changeset in webkit [145920] by
-
- 1 add in branches/chromium/1441/codereview.settings
for drovering
- 11:04 AM Changeset in webkit [145919] by
-
- 1 copy in branches/chromium/1441
branching for 1441 to revert top crasher.
- 11:03 AM Changeset in webkit [145918] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed build fix. Rename local variable which was colliding with class method.
- platform/graphics/ca/win/PlatformCALayerWin.cpp:
(PlatformCALayer::clone):
- 11:00 AM Changeset in webkit [145917] by
-
- 4 edits in trunk/Source
IndexedDB: Handle success events arriving after context stopped
https://bugs.webkit.org/show_bug.cgi?id=112451
Reviewed by Tony Chang.
Source/WebCore:
In multiprocess ports, events from the back-end can arrive in the form of
onXXX() calls after the script execution context has stopped. These need to
be ignored. This was already done in most cases, but missing for two overloads
of IDBRequest::onSuccess() - void and int64_t.
Test: webkit_unit_test IDBRequestTest.EventsAfterStopping
- Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::onSuccess): Early return if context has stopped.
(WebCore::IDBRequest::onSuccessInternal): ASSERT() that callers have checked context.
Source/WebKit/chromium:
- tests/IDBRequestTest.cpp:
(WebKit::TEST_F): Add cases for onSuccess() and onSuccess(int64_t)
- 10:59 AM Changeset in webkit [145916] by
-
- 8 edits in trunk
Collect samples for unresponsive web processes
https://bugs.webkit.org/show_bug.cgi?id=112409
Tools:
Reviewed by Tim Horton.
When we detect that a subprocess was unresponsive, run the 'sample'
tool on that process, for the Mac port.
The sample will be linked to from the results.html page, next
to the crash log link.
- Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager._look_for_new_crash_logs): Before looking for crash logs,
look for samples on disk.
- Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
(TestResultWriter):
(TestResultWriter.copy_sample_file): Teach TestResultWriter about
-sample.txt files, and have it copy their contents to a new file
next to the test that spawned them (as we do for crash logs).
- Scripts/webkitpy/layout_tests/port/base.py:
(Port.look_for_new_samples): Base class does nothing for sampling.
- Scripts/webkitpy/layout_tests/port/driver.py:
(Driver._check_for_driver_crash): Kick off a sample if we detected
that the subprocess was unresponsive.
- Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.sample_file_path): Utility to generate the file path
to the generated sample files at the top level of layout-test-results.
(MacPort.look_for_new_crash_logs): Fix typo
(MacPort.look_for_new_samples): New function to find sample files.
(MacPort.sample_process): Use the utility function to get the file path.
LayoutTests:
Reviewed by Tim Horton.
Add links for samples, which some platforms will show for unresponsive WebProcess timeouts.
- fast/harness/results.html:
- 10:58 AM Changeset in webkit [145915] by
-
- 6 edits3 adds in trunk
REGRESSION: -webkit-box-reflect does not show on video elements
https://bugs.webkit.org/show_bug.cgi?id=112397
Reviewed by Simon Fraser.
Source/WebCore:
Test: compositing/video/video-reflection.html
Support cloning specific CALayer subtypes in PlatformCALayer,
which allows reflections to work correctly for those layer types.
Specifically, add support for cloning AVPlayerLayer layers.
- platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::cloneLayer): Moved most of the
implementation to PlatformCALayer::clone().
- platform/graphics/ca/PlatformCALayer.h:
- platform/graphics/ca/mac/PlatformCALayerMac.mm:
(PlatformCALayer::PlatformCALayer): Set the layerType to
LayerTypeAVPlayerLayer if the PlatformLayer parameter is an
AVPlayerLayer.
(PlatformCALayer::clone): Moved from GraphicsLayerCA::cloneLayer().
Copy the player value to the new layer, if the current layer is
a LayerTypeAVPlayerLayer.
(PlatformCALayer::playerLayer):
- platform/graphics/ca/win/PlatformCALayerWin.cpp:
(PlatformCALayer::clone): Moved from GraphicsLayerCA::cloneLayer().
May want to add support for AVCFPlayerLayers in the future.
LayoutTests:
- compositing/video/video-reflection-expected.png: Added.
- compositing/video/video-reflection-expected.txt: Added.
- compositing/video/video-reflection.html: Added.
- 10:45 AM Changeset in webkit [145914] by
-
- 46 edits in trunk/Source
Hide MainResourceLoader from the outside world
https://bugs.webkit.org/show_bug.cgi?id=109971
Reviewed by Adam Barth.
Source/WebCore:
No new tests, refactor only.
- WebCore.exp.in:
- dom/Document.cpp:
- html/HTMLEmbedElement.cpp:
- html/MediaDocument.cpp:
- html/PluginDocument.cpp:
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::mainResourceLoader):
(WebCore::DocumentLoader::finishedLoading):
(WebCore::DocumentLoader::receivedData):
(WebCore::DocumentLoader::setMainResourceDataBufferingPolicy):
- loader/DocumentLoader.h:
- loader/EmptyClients.h:
- loader/FrameLoader.cpp:
- loader/FrameLoaderClient.h:
- loader/MainResourceLoader.cpp:
- loader/appcache/ApplicationCacheGroup.cpp:
- loader/appcache/ApplicationCacheHost.cpp:
Source/WebKit/blackberry:
- WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::convertMainResourceLoadToDownload):
- WebCoreSupport/FrameLoaderClientBlackBerry.h:
(FrameLoaderClientBlackBerry):
Source/WebKit/chromium:
- src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::convertMainResourceLoadToDownload):
- src/FrameLoaderClientImpl.h:
(FrameLoaderClientImpl):
Source/WebKit/efl:
- WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::convertMainResourceLoadToDownload):
- WebCoreSupport/FrameLoaderClientEfl.h:
(FrameLoaderClientEfl):
Source/WebKit/gtk:
- WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
- WebCoreSupport/FrameLoaderClientGtk.h:
(FrameLoaderClient):
Source/WebKit/mac:
- WebCoreSupport/WebFrameLoaderClient.h:
(WebFrameLoaderClient):
- WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::convertMainResourceLoadToDownload):
Source/WebKit/qt:
- WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::convertMainResourceLoadToDownload):
- WebCoreSupport/FrameLoaderClientQt.h:
(FrameLoaderClientQt):
Source/WebKit/win:
- WebFrame.cpp:
(WebFrame::convertMainResourceLoadToDownload):
- WebFrame.h:
Source/WebKit/wince:
- WebCoreSupport/FrameLoaderClientWinCE.cpp:
(WebKit::FrameLoaderClientWinCE::convertMainResourceLoadToDownload):
- WebCoreSupport/FrameLoaderClientWinCE.h:
(FrameLoaderClientWinCE):
Source/WebKit/wx:
- WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::convertMainResourceLoadToDownload):
- WebKitSupport/FrameLoaderClientWx.h:
(FrameLoaderClientWx):
Source/WebKit2:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::convertMainResourceLoadToDownload):
- WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
(WebFrameLoaderClient):
- WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::convertMainResourceLoadToDownload):
- WebProcess/WebPage/WebFrame.h:
(WebFrame):
- 10:31 AM Changeset in webkit [145913] by
-
- 77 edits in trunk/Source
Replace static_casts with to* helper functions.
https://bugs.webkit.org/show_bug.cgi?id=112401
Reviewed by Stephen Chenney.
to* helper functions are preferred over static_cast calls since they
help to catch bad casts easily on the testing infrastructure.
Source/WebCore:
- accessibility/AccessibilityObject.cpp:
(WebCore::appendAccessibilityObject):
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::visiblePositionForPoint):
- accessibility/AccessibilityScrollView.cpp:
(WebCore::AccessibilityScrollView::webAreaObject):
(WebCore::AccessibilityScrollView::documentFrameView):
(WebCore::AccessibilityScrollView::parentObject):
(WebCore::AccessibilityScrollView::parentObjectIfExists):
- accessibility/chromium/AXObjectCacheChromium.cpp:
(WebCore::AXObjectCache::postPlatformNotification):
- bindings/js/JSPluginElementFunctions.cpp:
(WebCore::pluginScriptObjectFromPluginViewBase):
- bindings/js/PageScriptDebugServer.cpp:
(WebCore::PageScriptDebugServer::setJavaScriptPaused):
- bindings/js/ScriptController.cpp:
(WebCore::ScriptController::createScriptInstanceForWidget):
- bindings/js/ScriptControllerQt.cpp:
(WebCore::ScriptController::createScriptInstanceForWidget):
- bindings/v8/ScriptController.cpp:
(WebCore::ScriptController::createScriptInstanceForWidget):
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::appendFormData):
- page/EventHandler.cpp:
(WebCore::EventHandler::subframeForTargetNode):
(WebCore::EventHandler::passGestureEventToWidget):
- page/Frame.cpp:
(WebCore::Frame::frameForWidget):
- page/FrameView.cpp:
(WebCore::collectFrameViewChildren):
(WebCore::FrameView::hasCustomScrollbars):
(WebCore::FrameView::convertToContainingView):
(WebCore::FrameView::convertFromContainingView):
(WebCore::FrameView::removeChild):
- page/FrameView.h:
(WebCore::toFrameView):
(WebCore):
- page/Page.cpp:
(WebCore::Page::collectPluginViews):
- page/chromium/EventHandlerChromium.cpp:
(WebCore::EventHandler::passWheelEventToWidget):
- page/efl/EventHandlerEfl.cpp:
(WebCore::EventHandler::passWheelEventToWidget):
- page/gtk/EventHandlerGtk.cpp:
(WebCore::EventHandler::passWheelEventToWidget):
- page/mac/EventHandlerMac.mm:
(WebCore::EventHandler::passWheelEventToWidget):
- page/qt/EventHandlerQt.cpp:
(WebCore::EventHandler::passWheelEventToWidget):
- page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::computeNonFastScrollableRegion):
- page/win/EventHandlerWin.cpp:
(WebCore::EventHandler::passWheelEventToWidget):
- page/wx/EventHandlerWx.cpp:
(WebCore::EventHandler::passWheelEventToWidget):
- platform/ScrollView.h:
(WebCore::toScrollView):
(WebCore):
- platform/Scrollbar.cpp:
(WebCore::Scrollbar::isScrollViewScrollbar):
(WebCore::Scrollbar::mouseUp):
(WebCore::Scrollbar::axObjectCache):
- platform/Widget.h:
(WebCore::Widget::isScrollView):
- platform/blackberry/PlatformScreenBlackBerry.cpp:
(WebCore::toUserSpace):
- platform/efl/ScrollbarEfl.cpp:
(ScrollbarEfl::setParent):
- platform/qt/PlatformSupportQt.cpp:
(WebCore::PlatformSupport::popupsAllowed):
(WebCore::PlatformSupport::pluginScriptableObject):
- plugins/IFrameShimSupport.cpp:
(WebCore::getPluginOcclusions):
- plugins/PluginView.h:
(WebCore::toPluginView):
(WebCore):
- plugins/PluginViewBase.h:
(WebCore::PluginViewBase::isPluginViewBase):
(PluginViewBase):
(WebCore::toPluginViewBase):
(WebCore):
- plugins/blackberry/PluginViewBlackBerry.cpp:
(WebCore::PluginView::updatePluginWidget):
(WebCore::PluginView::updateBuffer):
(WebCore::PluginView::paint):
(WebCore::PluginView::handleScrollEvent):
(WebCore::PluginView::calculateClipRect):
(WebCore::PluginView::handleFullScreenAllowedEvent):
(WebCore::PluginView::handleFullScreenExitEvent):
(WebCore::PluginView::setParent):
(WebCore::PluginView::setNPWindowIfNeeded):
(WebCore::PluginView::platformGetValue):
(WebCore::PluginView::platformStart):
(WebCore::PluginView::platformDestroy):
(WebCore::PluginView::setBackgroundPlay):
- plugins/blackberry/PluginViewPrivateBlackBerry.cpp:
(WebCore::PluginViewPrivate::setVisibleRects):
(WebCore::PluginViewPrivate::showKeyboard):
(WebCore::PluginViewPrivate::requestFullScreen):
(WebCore::PluginViewPrivate::requestCenterFitZoom):
(WebCore::PluginViewPrivate::lockOrientation):
(WebCore::PluginViewPrivate::unlockOrientation):
(WebCore::PluginViewPrivate::preventIdle):
- plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::updatePluginWidget):
- plugins/mac/PluginViewMac.mm:
(WebCore::PluginView::platformStart):
- plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::updatePluginWidget):
- plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::updatePluginWidget):
(WebCore::PluginView::paintIntoTransformedContext):
(WebCore::PluginView::paintWindowedPluginIntoContext):
(WebCore::PluginView::paint):
(WebCore::PluginView::handleMouseEvent):
(WebCore::PluginView::setNPWindowRect):
(WebCore::PluginView::snapshot):
- rendering/RenderBox.cpp:
(WebCore::RenderBox::addLayoutOverflow):
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
- rendering/RenderEmbeddedObject.cpp:
(WebCore::RenderEmbeddedObject::allowsAcceleratedCompositing):
(WebCore::RenderEmbeddedObject::viewCleared):
(WebCore::RenderEmbeddedObject::nodeAtPoint):
(WebCore::RenderEmbeddedObject::scroll):
- rendering/RenderFlexibleBox.h:
(WebCore::toRenderFlexibleBox):
(WebCore):
- rendering/RenderFrame.cpp:
(WebCore::RenderFrame::viewCleared):
- rendering/RenderFrameBase.cpp:
(WebCore::RenderFrameBase::layoutWithFlattening):
- rendering/RenderIFrame.cpp:
(WebCore::RenderIFrame::contentRootRenderer):
(WebCore::RenderIFrame::layoutSeamlessly):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::shouldPropagateCompositingToEnclosingFrame):
- rendering/RenderPart.cpp:
(WebCore::RenderPart::requiresAcceleratedCompositing):
(WebCore::RenderPart::embeddedContentBox):
(WebCore::RenderPart::nodeAtPoint):
- rendering/RenderRuby.cpp:
(WebCore::rubyBeforeBlock):
(WebCore::rubyAfterBlock):
(WebCore::lastRubyRun):
(WebCore::findRubyRunParent):
- rendering/RenderTreeAsText.cpp:
(WebCore::write):
- rendering/RenderWidget.cpp:
(WebCore::RenderWidget::paintContents):
(WebCore::RenderWidget::setOverlapTestResult):
(WebCore::RenderWidget::updateWidgetPosition):
Source/WebKit/blackberry:
- Api/WebPage.cpp:
(BlackBerry::WebKit::frameForNode):
(BlackBerry::WebKit::needsLayoutRecursive):
- WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::redirectDataToPlugin):
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::ensureFocusPluginElementVisible):
Source/WebKit/chromium:
- src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::scrollRect):
(WebKit::WebPluginContainerImpl::setWantsWheelEvents):
(WebKit::WebPluginContainerImpl::handleMouseEvent):
- tests/ScrollingCoordinatorChromiumTest.cpp:
(WebKit::TEST_F):
Source/WebKit/efl:
- WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::redirectDataToPlugin):
Source/WebKit/gtk:
- WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::FrameLoaderClient::redirectDataToPlugin):
Source/WebKit/mac:
- WebView/WebRenderNode.mm:
(copyRenderNode):
- WebView/WebView.mm:
(-[WebView _addScrollerDashboardRegionsForFrameView:dashboardRegions:]):
Source/WebKit/qt:
- WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::redirectDataToPlugin):
Source/WebKit/win:
- WebCoreSupport/EmbeddedWidget.cpp:
(EmbeddedWidget::frameRectsChanged):
- WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::redirectDataToPlugin):
Source/WebKit/wince:
- WebCoreSupport/FrameLoaderClientWinCE.cpp:
(WebKit::FrameLoaderClientWinCE::redirectDataToPlugin):
Source/WebKit/wx:
- WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::redirectDataToPlugin):
Source/WebKit2:
- Shared/WebRenderObject.cpp:
(WebKit::WebRenderObject::WebRenderObject):
- 10:11 AM Changeset in webkit [145912] by
-
- 2 edits in trunk
[GTK] acceleration_backend_description does not concatenate "(gles2"
https://bugs.webkit.org/show_bug.cgi?id=112405
Patch by Jae Hyun Park <jae.park@company100.net> on 2013-03-15
Reviewed by Martin Robinson.
In FindDependencies.m4, acceleration_backend_description string does not
concatenate if there is a space between the operator and the operand.
- Source/autotools/FindDependencies.m4:
- 10:07 AM Changeset in webkit [145911] by
-
- 3 edits2 adds in trunk
Source/WebCore: [Texmap] REGRESSION (r144190): Failure at style with preserve-3d and opacity
https://bugs.webkit.org/show_bug.cgi?id=112370
According to spec, we avoid masking and clipping when preserves-3d is enabled.
However, opacity should still work.
Allowing opacity when preserves-3d is on.
Patch by No'am Rosenthal <Noam Rosenthal> on 2013-03-15
Reviewed by Caio Marcelo de Oliveira Filho.
Test: compositing/overlap-blending/preserves3d-opacity.html
- platform/graphics/texmap/TextureMapperGL.cpp:
- platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::paintRecursive):
LayoutTests: [Texmap] REGRESSION (r144190): Failure at style with webkit-transform and opacity
https://bugs.webkit.org/show_bug.cgi?id=112370
Patch by No'am Rosenthal <Noam Rosenthal> on 2013-03-15
Reviewed by Caio Marcelo de Oliveira Filho.
New ref-test for opacity+preserves-3d.
- compositing/overlap-blending/preserves3d-opacity-expected.html: Added.
- compositing/overlap-blending/preserves3d-opacity.html: Added.
- 9:56 AM Changeset in webkit [145910] by
-
- 4 edits in tags/Safari-537.34/Source
Versioning
- 9:51 AM Changeset in webkit [145909] by
-
- 2 edits in trunk/Source/WebCore
Get rid of useless forward declaration.
https://bugs.webkit.org/show_bug.cgi?id=112449
Patch by Konrad Piascik <kpiascik@blackberry.com> on 2013-03-15
Reviewed by Stephen Chenney.
No behavioural change
- svg/SVGRectElement.cpp:
- 9:26 AM Changeset in webkit [145908] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: make CPU profiler show timings using the same time unit [ms]
https://bugs.webkit.org/show_bug.cgi?id=112356
That makes it much easier to compare values when looking at the data.
Patch by Alexei Filippov <alph@chromium.org> on 2013-03-15
Reviewed by Yury Semikhatsky.
- inspector/front-end/ProfileDataGridTree.js:
(WebInspector.ProfileDataGridNode.prototype.get data.formatMilliseconds):
- 9:24 AM Changeset in webkit [145907] by
-
- 17 edits in trunk/Source/WebCore
Implement support for nullable types in the bindings generator
https://bugs.webkit.org/show_bug.cgi?id=111728
Reviewed by Kentaro Hara.
This patch adds support for nullable types in the bindings
generator, as described in section 3.10.22 of WebIDL:
interface MyInterface {
readonly attribute boolean? value; true, false or null.
};
The IDL Parser has been modified to record whether attributes are
nullable. Question marks from the type will always be stripped
from the domAttribute->signature->type field. Once support for
this has been completely implemented, we'll be able to remove a
bunch of custom bindings, i.e. those of Device Orientation.
Any getter for an attribute which returns a nullable type will be
called with an additional attribute (passed by reference) named
"isNull". This will be the last argument passed to the method,
unless an exception code (ec) argument will be passed as well.
The CPP, GObject and ObjC bindings will not change behavior following
this patch, although they have been modified to call the WebCore
methods for nullable attributes with the correct signature. The
V8 and JS binding generators do have modified behavior, in that they
will actually return v8Null/jsNull when isNull == true.
Tested by existing binding tests and the new nullable attribute
tests in the bindings/scripts/test/ directory.
- bindings/scripts/CodeGeneratorCPP.pm:
(GenerateImplementation):
- bindings/scripts/CodeGeneratorGObject.pm:
(GenerateProperty):
(GenerateFunction):
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
- bindings/scripts/CodeGeneratorObjC.pm:
(GenerateImplementation):
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateNormalAttrGetter):
- bindings/scripts/IDLParser.pm:
(typeHasNullableSuffix):
(typeRemoveNullableSuffix):
(parseAttributeRest):
(parseOptionalOrRequiredArgument):
(parseAttributeRestOld):
- bindings/scripts/test/CPP/WebDOMTestObj.cpp:
(WebDOMTestObj::nullableDoubleAttribute):
(WebDOMTestObj::nullableLongAttribute):
(WebDOMTestObj::nullableBooleanAttribute):
(WebDOMTestObj::nullableStringAttribute):
(WebDOMTestObj::nullableLongSettableAttribute):
(WebDOMTestObj::setNullableLongSettableAttribute):
(WebDOMTestObj::nullableStringValue):
(WebDOMTestObj::setNullableStringValue):
- 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_get_nullable_double_attribute):
(webkit_dom_test_obj_get_nullable_long_attribute):
(webkit_dom_test_obj_get_nullable_boolean_attribute):
(webkit_dom_test_obj_get_nullable_string_attribute):
(webkit_dom_test_obj_get_nullable_long_settable_attribute):
(webkit_dom_test_obj_set_nullable_long_settable_attribute):
(webkit_dom_test_obj_get_nullable_string_value):
(webkit_dom_test_obj_set_nullable_string_value):
- bindings/scripts/test/GObject/WebKitDOMTestObj.h:
- bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore):
(WebCore::jsTestObjNullableDoubleAttribute):
(WebCore::jsTestObjNullableLongAttribute):
(WebCore::jsTestObjNullableBooleanAttribute):
(WebCore::jsTestObjNullableStringAttribute):
(WebCore::jsTestObjNullableLongSettableAttribute):
(WebCore::jsTestObjNullableStringValue):
(WebCore::setJSTestObjNullableLongSettableAttribute):
(WebCore::setJSTestObjNullableStringValue):
- bindings/scripts/test/JS/JSTestObj.h:
(WebCore):
- bindings/scripts/test/ObjC/DOMTestObj.h:
- bindings/scripts/test/ObjC/DOMTestObj.mm:
(-[DOMTestObj nullableDoubleAttribute]):
(-[DOMTestObj nullableLongAttribute]):
(-[DOMTestObj nullableBooleanAttribute]):
(-[DOMTestObj nullableStringAttribute]):
(-[DOMTestObj nullableLongSettableAttribute]):
(-[DOMTestObj setNullableLongSettableAttribute:]):
(-[DOMTestObj nullableStringValue]):
(-[DOMTestObj setNullableStringValue:]):
- bindings/scripts/test/TestObj.idl:
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::nullableDoubleAttributeAttrGetter):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::nullableDoubleAttributeAttrGetterCallback):
(WebCore::TestObjV8Internal::nullableLongAttributeAttrGetter):
(WebCore::TestObjV8Internal::nullableLongAttributeAttrGetterCallback):
(WebCore::TestObjV8Internal::nullableBooleanAttributeAttrGetter):
(WebCore::TestObjV8Internal::nullableBooleanAttributeAttrGetterCallback):
(WebCore::TestObjV8Internal::nullableStringAttributeAttrGetter):
(WebCore::TestObjV8Internal::nullableStringAttributeAttrGetterCallback):
(WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrGetter):
(WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrGetterCallback):
(WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrSetter):
(WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrSetterCallback):
(WebCore::TestObjV8Internal::nullableStringValueAttrGetter):
(WebCore::TestObjV8Internal::nullableStringValueAttrGetterCallback):
(WebCore::TestObjV8Internal::nullableStringValueAttrSetter):
(WebCore::TestObjV8Internal::nullableStringValueAttrSetterCallback):
(WebCore):
- 8:37 AM Changeset in webkit [145906] by
-
- 64 edits in trunk/Source
[V8] Store main world and non-main world templates separately.
https://bugs.webkit.org/show_bug.cgi?id=111724
Patch by Marja Hölttä <marja@chromium.org> on 2013-03-15
Reviewed by Jochen Eisinger.
This is needed for generating specialized bindings for the main
world (bug 110874).
Source/WebCore:
No new tests (updated existing bindings tests).
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateDomainSafeFunctionGetter):
(GenerateNormalAttrSetter):
(GenerateParametersCheckExpression):
(GenerateParametersCheck):
(GenerateImplementation):
(JSValueToNative):
(CreateCustomSignature):
- bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore::Float64ArrayV8Internal::fooMethod):
(WebCore::ConfigureV8Float64ArrayTemplate):
(WebCore::V8Float64Array::GetTemplate):
(WebCore::V8Float64Array::HasInstance):
(WebCore):
(WebCore::V8Float64Array::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8Float64Array.h:
(V8Float64Array):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::excitingFunctionMethod):
(WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
(WebCore::ConfigureV8TestActiveDOMObjectTemplate):
(WebCore::V8TestActiveDOMObject::GetTemplate):
(WebCore::V8TestActiveDOMObject::HasInstance):
(WebCore):
(WebCore::V8TestActiveDOMObject::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestActiveDOMObject.h:
(V8TestActiveDOMObject):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore::V8TestCustomNamedGetter::GetTemplate):
(WebCore::V8TestCustomNamedGetter::HasInstance):
(WebCore):
(WebCore::V8TestCustomNamedGetter::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
(V8TestCustomNamedGetter):
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore::V8TestEventConstructor::GetTemplate):
(WebCore::V8TestEventConstructor::HasInstance):
(WebCore):
(WebCore::V8TestEventConstructor::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestEventConstructor.h:
(V8TestEventConstructor):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore::TestEventTargetV8Internal::dispatchEventMethod):
(WebCore::ConfigureV8TestEventTargetTemplate):
(WebCore::V8TestEventTarget::GetTemplate):
(WebCore::V8TestEventTarget::HasInstance):
(WebCore):
(WebCore::V8TestEventTarget::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestEventTarget.h:
(V8TestEventTarget):
- bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::V8TestException::GetTemplate):
(WebCore::V8TestException::HasInstance):
(WebCore):
(WebCore::V8TestException::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestException.h:
(V8TestException):
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetter):
(WebCore::TestInterfaceV8Internal::supplementalMethod2Method):
(WebCore::ConfigureV8TestInterfaceTemplate):
(WebCore::V8TestInterface::GetTemplate):
(WebCore::V8TestInterface::HasInstance):
(WebCore):
(WebCore::V8TestInterface::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestInterface.h:
(V8TestInterface):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore::V8TestMediaQueryListListener::GetTemplate):
(WebCore::V8TestMediaQueryListListener::HasInstance):
(WebCore):
(WebCore::V8TestMediaQueryListListener::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
(V8TestMediaQueryListListener):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructor::GetTemplate):
(WebCore::V8TestNamedConstructor::HasInstance):
(WebCore):
(WebCore::V8TestNamedConstructor::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestNamedConstructor.h:
(V8TestNamedConstructor):
- bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore::V8TestNode::GetTemplate):
(WebCore::V8TestNode::HasInstance):
(WebCore):
(WebCore::V8TestNode::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestNode.h:
(V8TestNode):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::testObjAttrAttrSetter):
(WebCore::TestObjV8Internal::XMLObjAttrAttrSetter):
(WebCore::TestObjV8Internal::typedArrayAttrAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetter):
(WebCore::TestObjV8Internal::mutablePointAttrSetter):
(WebCore::TestObjV8Internal::immutablePointAttrSetter):
(WebCore::TestObjV8Internal::voidMethodWithArgsMethod):
(WebCore::TestObjV8Internal::longMethodWithArgsMethod):
(WebCore::TestObjV8Internal::objMethodWithArgsMethod):
(WebCore::TestObjV8Internal::methodThatRequiresAllArgsAndThrowsMethod):
(WebCore::TestObjV8Internal::overloadedMethod1Method):
(WebCore::TestObjV8Internal::overloadedMethod2Method):
(WebCore::TestObjV8Internal::overloadedMethod8Method):
(WebCore::TestObjV8Internal::overloadedMethodMethod):
(WebCore::TestObjV8Internal::convert1Method):
(WebCore::TestObjV8Internal::convert2Method):
(WebCore::TestObjV8Internal::convert4Method):
(WebCore::TestObjV8Internal::convert5Method):
(WebCore::TestObjV8Internal::variadicNodeMethodMethod):
(WebCore::ConfigureV8TestObjTemplate):
(WebCore::V8TestObj::GetTemplate):
(WebCore::V8TestObj::HasInstance):
(WebCore):
(WebCore::V8TestObj::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::TestOverloadedConstructorsV8Internal::constructor1):
(WebCore::TestOverloadedConstructorsV8Internal::constructor2):
(WebCore::TestOverloadedConstructorsV8Internal::constructor3):
(WebCore::TestOverloadedConstructorsV8Internal::constructor):
(WebCore::V8TestOverloadedConstructors::GetTemplate):
(WebCore::V8TestOverloadedConstructors::HasInstance):
(WebCore):
(WebCore::V8TestOverloadedConstructors::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
(V8TestOverloadedConstructors):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
(WebCore::V8TestSerializedScriptValueInterface::HasInstance):
(WebCore):
(WebCore::V8TestSerializedScriptValueInterface::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
(V8TestSerializedScriptValueInterface):
- bindings/scripts/test/V8/V8TestTypedefs.cpp:
(WebCore::TestTypedefsV8Internal::funcMethod):
(WebCore::ConfigureV8TestTypedefsTemplate):
(WebCore::V8TestTypedefs::GetTemplate):
(WebCore::V8TestTypedefs::HasInstance):
(WebCore):
(WebCore::V8TestTypedefs::HasInstanceInAnyWorld):
- bindings/scripts/test/V8/V8TestTypedefs.h:
(V8TestTypedefs):
- bindings/v8/Dictionary.cpp:
(WebCore::Dictionary::get):
- bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::visitNodeWrappers):
- bindings/v8/SerializedScriptValue.cpp:
- bindings/v8/V8AdaptorFunction.cpp:
(WebCore::V8AdaptorFunction::getTemplate):
- bindings/v8/V8Binding.cpp:
(WebCore::toDOMStringList):
(WebCore::toXPathNSResolver):
- bindings/v8/V8Binding.h:
(WebCore):
(WebCore::toRefPtrNativeArray):
- bindings/v8/V8Collection.cpp:
(WebCore::toOptionsCollectionSetter):
- bindings/v8/V8GCController.cpp:
- bindings/v8/V8NPObject.cpp:
(WebCore::npObjectInvokeImpl):
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::reportMemoryUsage):
(WebCore::V8PerIsolateData::hasPrivateTemplate):
(WebCore::V8PerIsolateData::privateTemplate):
(WebCore::V8PerIsolateData::rawTemplate):
(WebCore::V8PerIsolateData::hasInstance):
- bindings/v8/V8PerIsolateData.h:
(WebCore::V8PerIsolateData::rawTemplateMap):
(V8PerIsolateData):
(WebCore::V8PerIsolateData::templateMap):
- bindings/v8/V8Utilities.cpp:
(WebCore::extractTransferables):
- bindings/v8/custom/V8ArrayBufferViewCustom.h:
(WebCore::constructWebGLArray):
(WebCore::setWebGLArrayHelper):
- bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
(WebCore::V8AudioBufferSourceNode::bufferAttrSetterCustom):
- bindings/v8/custom/V8BlobCustom.cpp:
(WebCore::V8Blob::constructorCustom):
- bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
(WebCore::toCanvasStyle):
- bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::setDragImageMethodCustom):
- bindings/v8/custom/V8CryptoCustom.cpp:
(WebCore::V8Crypto::getRandomValuesMethodCustom):
- bindings/v8/custom/V8DOMFormDataCustom.cpp:
(WebCore::V8DOMFormData::constructorCustom):
(WebCore::V8DOMFormData::appendMethodCustom):
- bindings/v8/custom/V8DataViewCustom.cpp:
(WebCore::V8DataView::constructorCustom):
- bindings/v8/custom/V8DocumentCustom.cpp:
(WebCore::V8Document::evaluateMethodCustom):
- bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
(WebCore::V8HTMLMediaElement::controllerAttrSetterCustom):
- bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
(WebCore::V8HTMLOptionsCollection::addMethodCustom):
- bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
(WebCore::removeElement):
- bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::isHTMLAllCollectionMethodCustom):
(WebCore::V8InjectedScriptHost::typeMethodCustom):
(WebCore::V8InjectedScriptHost::getEventListenersMethodCustom):
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
- bindings/v8/custom/V8NodeCustom.cpp:
(WebCore::V8Node::insertBeforeMethodCustom):
(WebCore::V8Node::replaceChildMethodCustom):
(WebCore::V8Node::removeChildMethodCustom):
(WebCore::V8Node::appendChildMethodCustom):
- bindings/v8/custom/V8NodeListCustom.cpp:
(WebCore::V8NodeList::opaqueRootForGC):
- bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
(WebCore::toWebGLUniformLocation):
(WebCore::V8WebGLRenderingContext::getAttachedShadersMethodCustom):
(WebCore::V8WebGLRenderingContext::getProgramParameterMethodCustom):
(WebCore::V8WebGLRenderingContext::getShaderParameterMethodCustom):
(WebCore::V8WebGLRenderingContext::getUniformMethodCustom):
(WebCore::vertexAttribAndUniformHelperf):
(WebCore::uniformHelperi):
(WebCore::uniformMatrixHelper):
- bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::isDocumentType):
(WebCore::V8XMLHttpRequest::sendMethodCustom):
Source/WebKit/chromium:
- src/WebArrayBuffer.cpp:
(WebKit::WebArrayBuffer::createFromV8Value):
- src/WebArrayBufferView.cpp:
(WebKit::WebArrayBufferView::createFromV8Value):
- src/WebBindings.cpp:
(WebKit::getRangeImpl):
(WebKit::getNodeImpl):
(WebKit::getElementImpl):
(WebKit::getArrayBufferImpl):
(WebKit::getArrayBufferViewImpl):
- 7:14 AM Changeset in webkit [145905] by
-
- 64 edits in trunk/Source
Unreviewed, rolling out r145802.
http://trac.webkit.org/changeset/145802
https://bugs.webkit.org/show_bug.cgi?id=112444
This broke Chrome. (Requested by marja on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-15
Source/WebCore:
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateDomainSafeFunctionGetter):
(GenerateNormalAttrSetter):
(GenerateParametersCheckExpression):
(GenerateParametersCheck):
(GenerateImplementation):
(JSValueToNative):
(CreateCustomSignature):
- bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore::Float64ArrayV8Internal::fooMethod):
(WebCore::ConfigureV8Float64ArrayTemplate):
(WebCore::V8Float64Array::GetTemplate):
(WebCore::V8Float64Array::HasInstance):
- bindings/scripts/test/V8/V8Float64Array.h:
(V8Float64Array):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::excitingFunctionMethod):
(WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
(WebCore::ConfigureV8TestActiveDOMObjectTemplate):
(WebCore::V8TestActiveDOMObject::GetTemplate):
(WebCore::V8TestActiveDOMObject::HasInstance):
- bindings/scripts/test/V8/V8TestActiveDOMObject.h:
(V8TestActiveDOMObject):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore::V8TestCustomNamedGetter::GetTemplate):
(WebCore::V8TestCustomNamedGetter::HasInstance):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
(V8TestCustomNamedGetter):
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore::V8TestEventConstructor::GetTemplate):
(WebCore::V8TestEventConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestEventConstructor.h:
(V8TestEventConstructor):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore::TestEventTargetV8Internal::dispatchEventMethod):
(WebCore::ConfigureV8TestEventTargetTemplate):
(WebCore::V8TestEventTarget::GetTemplate):
(WebCore::V8TestEventTarget::HasInstance):
- bindings/scripts/test/V8/V8TestEventTarget.h:
(V8TestEventTarget):
- bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::V8TestException::GetTemplate):
(WebCore::V8TestException::HasInstance):
- bindings/scripts/test/V8/V8TestException.h:
(V8TestException):
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetter):
(WebCore::TestInterfaceV8Internal::supplementalMethod2Method):
(WebCore::ConfigureV8TestInterfaceTemplate):
(WebCore::V8TestInterface::GetTemplate):
(WebCore::V8TestInterface::HasInstance):
- bindings/scripts/test/V8/V8TestInterface.h:
(V8TestInterface):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore::V8TestMediaQueryListListener::GetTemplate):
(WebCore::V8TestMediaQueryListListener::HasInstance):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
(V8TestMediaQueryListListener):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructor::GetTemplate):
(WebCore::V8TestNamedConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestNamedConstructor.h:
(V8TestNamedConstructor):
- bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore::V8TestNode::GetTemplate):
(WebCore::V8TestNode::HasInstance):
- bindings/scripts/test/V8/V8TestNode.h:
(V8TestNode):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::testObjAttrAttrSetter):
(WebCore::TestObjV8Internal::XMLObjAttrAttrSetter):
(WebCore::TestObjV8Internal::typedArrayAttrAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetter):
(WebCore::TestObjV8Internal::mutablePointAttrSetter):
(WebCore::TestObjV8Internal::immutablePointAttrSetter):
(WebCore::TestObjV8Internal::voidMethodWithArgsMethod):
(WebCore::TestObjV8Internal::longMethodWithArgsMethod):
(WebCore::TestObjV8Internal::objMethodWithArgsMethod):
(WebCore::TestObjV8Internal::methodThatRequiresAllArgsAndThrowsMethod):
(WebCore::TestObjV8Internal::overloadedMethod1Method):
(WebCore::TestObjV8Internal::overloadedMethod2Method):
(WebCore::TestObjV8Internal::overloadedMethod8Method):
(WebCore::TestObjV8Internal::overloadedMethodMethod):
(WebCore::TestObjV8Internal::convert1Method):
(WebCore::TestObjV8Internal::convert2Method):
(WebCore::TestObjV8Internal::convert4Method):
(WebCore::TestObjV8Internal::convert5Method):
(WebCore::TestObjV8Internal::variadicNodeMethodMethod):
(WebCore::ConfigureV8TestObjTemplate):
(WebCore::V8TestObj::GetTemplate):
(WebCore::V8TestObj::HasInstance):
- bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::TestOverloadedConstructorsV8Internal::constructor1):
(WebCore::TestOverloadedConstructorsV8Internal::constructor2):
(WebCore::TestOverloadedConstructorsV8Internal::constructor3):
(WebCore::TestOverloadedConstructorsV8Internal::constructor):
(WebCore::V8TestOverloadedConstructors::GetTemplate):
(WebCore::V8TestOverloadedConstructors::HasInstance):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
(V8TestOverloadedConstructors):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
(WebCore::V8TestSerializedScriptValueInterface::HasInstance):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
(V8TestSerializedScriptValueInterface):
- bindings/scripts/test/V8/V8TestTypedefs.cpp:
(WebCore::TestTypedefsV8Internal::funcMethod):
(WebCore::ConfigureV8TestTypedefsTemplate):
(WebCore::V8TestTypedefs::GetTemplate):
(WebCore::V8TestTypedefs::HasInstance):
- bindings/scripts/test/V8/V8TestTypedefs.h:
(V8TestTypedefs):
- bindings/v8/Dictionary.cpp:
(WebCore::Dictionary::get):
- bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::visitNodeWrappers):
- bindings/v8/SerializedScriptValue.cpp:
- bindings/v8/V8AdaptorFunction.cpp:
(WebCore::V8AdaptorFunction::getTemplate):
- bindings/v8/V8Binding.cpp:
(WebCore::toDOMStringList):
(WebCore::toXPathNSResolver):
- bindings/v8/V8Binding.h:
(WebCore::toRefPtrNativeArray):
(WebCore):
- bindings/v8/V8Collection.cpp:
(WebCore::toOptionsCollectionSetter):
- bindings/v8/V8GCController.cpp:
- bindings/v8/V8NPObject.cpp:
(WebCore::npObjectInvokeImpl):
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::reportMemoryUsage):
(WebCore::V8PerIsolateData::hasPrivateTemplate):
(WebCore::V8PerIsolateData::privateTemplate):
(WebCore::V8PerIsolateData::rawTemplate):
(WebCore::V8PerIsolateData::hasInstance):
- bindings/v8/V8PerIsolateData.h:
(WebCore::V8PerIsolateData::rawTemplateMap):
(WebCore::V8PerIsolateData::templateMap):
(V8PerIsolateData):
- bindings/v8/V8Utilities.cpp:
(WebCore::extractTransferables):
- bindings/v8/custom/V8ArrayBufferViewCustom.h:
(WebCore::constructWebGLArray):
(WebCore::setWebGLArrayHelper):
- bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
(WebCore::V8AudioBufferSourceNode::bufferAttrSetterCustom):
- bindings/v8/custom/V8BlobCustom.cpp:
(WebCore::V8Blob::constructorCustom):
- bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
(WebCore::toCanvasStyle):
- bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::setDragImageMethodCustom):
- bindings/v8/custom/V8CryptoCustom.cpp:
(WebCore::V8Crypto::getRandomValuesMethodCustom):
- bindings/v8/custom/V8DOMFormDataCustom.cpp:
(WebCore::V8DOMFormData::constructorCustom):
(WebCore::V8DOMFormData::appendMethodCustom):
- bindings/v8/custom/V8DataViewCustom.cpp:
(WebCore::V8DataView::constructorCustom):
- bindings/v8/custom/V8DocumentCustom.cpp:
(WebCore::V8Document::evaluateMethodCustom):
- bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
(WebCore::V8HTMLMediaElement::controllerAttrSetterCustom):
- bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
(WebCore::V8HTMLOptionsCollection::addMethodCustom):
- bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
(WebCore::removeElement):
- bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::isHTMLAllCollectionMethodCustom):
(WebCore::V8InjectedScriptHost::typeMethodCustom):
(WebCore::V8InjectedScriptHost::getEventListenersMethodCustom):
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
- bindings/v8/custom/V8NodeCustom.cpp:
(WebCore::V8Node::insertBeforeMethodCustom):
(WebCore::V8Node::replaceChildMethodCustom):
(WebCore::V8Node::removeChildMethodCustom):
(WebCore::V8Node::appendChildMethodCustom):
- bindings/v8/custom/V8NodeListCustom.cpp:
(WebCore::V8NodeList::opaqueRootForGC):
- bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
(WebCore::toWebGLUniformLocation):
(WebCore::V8WebGLRenderingContext::getAttachedShadersMethodCustom):
(WebCore::V8WebGLRenderingContext::getProgramParameterMethodCustom):
(WebCore::V8WebGLRenderingContext::getShaderParameterMethodCustom):
(WebCore::V8WebGLRenderingContext::getUniformMethodCustom):
(WebCore::vertexAttribAndUniformHelperf):
(WebCore::uniformHelperi):
(WebCore::uniformMatrixHelper):
- bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::isDocumentType):
(WebCore::V8XMLHttpRequest::sendMethodCustom):
Source/WebKit/chromium:
- src/WebArrayBuffer.cpp:
(WebKit::WebArrayBuffer::createFromV8Value):
- src/WebArrayBufferView.cpp:
(WebKit::WebArrayBufferView::createFromV8Value):
- src/WebBindings.cpp:
(WebKit::getRangeImpl):
(WebKit::getNodeImpl):
(WebKit::getElementImpl):
(WebKit::getArrayBufferImpl):
(WebKit::getArrayBufferViewImpl):
- 7:05 AM Changeset in webkit [145904] by
-
- 38 edits in trunk/Source/WebCore
Unreviewed, rolling out r145896.
http://trac.webkit.org/changeset/145896
https://bugs.webkit.org/show_bug.cgi?id=112443
Chrome broken by r145802 and this builds on top of it.
(Requested by marja on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-15
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateNormalAttrGetterCallback):
(GenerateNormalAttrGetter):
(GenerateNormalAttrSetterCallback):
(GenerateNormalAttrSetter):
(GenerateNamedConstructor):
(GenerateBatchedAttributeData):
(GenerateSingleBatchedAttribute):
(GenerateImplementation):
(GenerateCallbackImplementation):
(GenerateFunctionCallString):
(CreateCustomSignature):
(NativeToJSValue):
- bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore::ConfigureV8Float64ArrayTemplate):
(WebCore::V8Float64Array::GetTemplate):
(WebCore::V8Float64Array::HasInstance):
- bindings/scripts/test/V8/V8Float64Array.h:
(WebCore):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::ConfigureV8TestActiveDOMObjectTemplate):
(WebCore::V8TestActiveDOMObject::GetTemplate):
(WebCore::V8TestActiveDOMObject::HasInstance):
- bindings/scripts/test/V8/V8TestActiveDOMObject.h:
(WebCore):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore::ConfigureV8TestCustomNamedGetterTemplate):
(WebCore::V8TestCustomNamedGetter::GetTemplate):
(WebCore::V8TestCustomNamedGetter::HasInstance):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
(WebCore):
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore):
(WebCore::ConfigureV8TestEventConstructorTemplate):
(WebCore::V8TestEventConstructor::GetTemplate):
(WebCore::V8TestEventConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestEventConstructor.h:
(WebCore):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore::ConfigureV8TestEventTargetTemplate):
(WebCore::V8TestEventTarget::GetTemplate):
(WebCore::V8TestEventTarget::HasInstance):
- bindings/scripts/test/V8/V8TestEventTarget.h:
(WebCore):
- bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::ConfigureV8TestExceptionTemplate):
(WebCore::V8TestException::GetTemplate):
(WebCore::V8TestException::HasInstance):
- bindings/scripts/test/V8/V8TestException.h:
(WebCore):
- bindings/scripts/test/V8/V8TestInterface.cpp:
(TestInterfaceV8Internal):
(WebCore):
(WebCore::ConfigureV8TestInterfaceTemplate):
(WebCore::V8TestInterface::GetTemplate):
(WebCore::V8TestInterface::HasInstance):
- bindings/scripts/test/V8/V8TestInterface.h:
(WebCore):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore::ConfigureV8TestMediaQueryListListenerTemplate):
(WebCore::V8TestMediaQueryListListener::GetTemplate):
(WebCore::V8TestMediaQueryListListener::HasInstance):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
(WebCore):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructorConstructor::GetTemplate):
(WebCore::ConfigureV8TestNamedConstructorTemplate):
(WebCore::V8TestNamedConstructor::GetTemplate):
(WebCore::V8TestNamedConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestNamedConstructor.h:
(WebCore):
- bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore::ConfigureV8TestNodeTemplate):
(WebCore::V8TestNode::GetTemplate):
(WebCore::V8TestNode::HasInstance):
- bindings/scripts/test/V8/V8TestNode.h:
(WebCore):
- bindings/scripts/test/V8/V8TestObj.cpp:
(TestObjV8Internal):
(WebCore):
(WebCore::ConfigureV8TestObjTemplate):
(WebCore::V8TestObj::GetTemplate):
(WebCore::V8TestObj::HasInstance):
- bindings/scripts/test/V8/V8TestObj.h:
(WebCore):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::ConfigureV8TestOverloadedConstructorsTemplate):
(WebCore::V8TestOverloadedConstructors::GetTemplate):
(WebCore::V8TestOverloadedConstructors::HasInstance):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
(WebCore):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore):
(WebCore::ConfigureV8TestSerializedScriptValueInterfaceTemplate):
(WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
(WebCore::V8TestSerializedScriptValueInterface::HasInstance):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
(WebCore):
- bindings/scripts/test/V8/V8TestTypedefs.cpp:
(WebCore):
(WebCore::ConfigureV8TestTypedefsTemplate):
(WebCore::V8TestTypedefs::GetTemplate):
(WebCore::V8TestTypedefs::HasInstance):
- bindings/scripts/test/V8/V8TestTypedefs.h:
(WebCore):
- bindings/v8/DOMDataStore.h:
(DOMDataStore):
- bindings/v8/V8DOMConfiguration.cpp:
- bindings/v8/V8DOMConfiguration.h:
(V8DOMConfiguration):
- bindings/v8/custom/V8DOMWindowCustom.cpp:
- bindings/v8/custom/V8EventTargetCustom.cpp:
- bindings/v8/custom/V8IDBAnyCustom.cpp:
- bindings/v8/custom/V8MicroDataItemValueCustom.cpp:
- bindings/v8/custom/V8WorkerContextCustom.cpp:
- 6:52 AM Changeset in webkit [145903] by
-
- 3 edits2 deletes in trunk/Source/WebCore
[BlackBerry] Remove PlatformSupport
https://bugs.webkit.org/show_bug.cgi?id=112438
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-15
Reviewed by Rob Buis.
This class only contains getFontFamilyForCharacters(), which was
moved from PlatformSupport to FontCache in r129257.
This patch does the same for the BlackBerry port.
- platform/graphics/FontCache.h:
(FontCache):
- platform/graphics/blackberry/FontCacheBlackBerry.cpp:
(WebCore::FontCache::getFontFamilyForCharacters):
(WebCore):
(WebCore::FontCache::getFontDataForCharacters):
- platform/graphics/blackberry/PlatformSupport.cpp: Removed.
- platform/graphics/blackberry/PlatformSupport.h: Removed.
- 6:50 AM Changeset in webkit [145902] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] FontPlatformData: remove TextOrientation parameter
https://bugs.webkit.org/show_bug.cgi?id=112135
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-15
Reviewed by Rob Buis.
I forgot to remove the #include "TextOrientation.h" line as
well. This file no longer exists.
- platform/graphics/blackberry/FontCustomPlatformData.h:
- 6:35 AM Changeset in webkit [145901] by
-
- 3 edits in trunk/Source/WebCore
DataGrid should reveal and select next/previous DataGridNode upon deletion of selected node
https://bugs.webkit.org/show_bug.cgi?id=112404
Patch by Sankeerth V S <sankeerth.vs@samsung.com> on 2013-03-15
Reviewed by Vsevolod Vlasov.
No new tests as this is a UI related change.
While deleting the entries of the data grid by clicking on 'Delete'
status bar button, deletion of selected node should trigger selection of
next possible (backward/forward) DataGridNode.
- inspector/front-end/DOMStorageItemsView.js:
(WebInspector.DOMStorageItemsView.prototype._deleteButtonClicked):
- inspector/front-end/DataGrid.js:
(WebInspector.DataGrid.prototype._keyDown):
(WebInspector.DataGrid.prototype.changeNodeAfterDeletion):
- 6:29 AM Changeset in webkit [145900] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Flame Chart. Draw timeline grid over flame chart items.
https://bugs.webkit.org/show_bug.cgi?id=112439
Reviewed by Pavel Feldman.
I've used WebInspector.TimelineGrid
- inspector/front-end/FlameChart.js:
(WebInspector.FlameChart):
(WebInspector.FlameChart.Calculator):
(WebInspector.FlameChart.Calculator.prototype._updateBoundaries):
(WebInspector.FlameChart.Calculator.prototype.computePosition):
(WebInspector.FlameChart.Calculator.prototype.formatTime):
(WebInspector.FlameChart.Calculator.prototype.maximumBoundary):
(WebInspector.FlameChart.Calculator.prototype.minimumBoundary):
(WebInspector.FlameChart.Calculator.prototype.boundarySpan):
(WebInspector.FlameChart.prototype.update):
- 5:48 AM Changeset in webkit [145899] by
-
- 4 edits in trunk
[Qt] Build error with building with Qt 5.1
https://bugs.webkit.org/show_bug.cgi?id=112435
Reviewed by Noam Rosenthal.
QAccessibleWidget has moved to private.
.:
- Source/widgetsapi.pri:
Source/WebKit/qt:
- WidgetApi/qwebviewaccessible_p.h:
- 5:32 AM Changeset in webkit [145898] by
-
- 5 edits in trunk/Source/WebKit/chromium
[Chromium] Compositor is applying scroll offset using 'programmatic' API
https://bugs.webkit.org/show_bug.cgi?id=109712
Reviewed by James Robinson.
Ensure that the compositor uses non-programmatic APIs to scroll and
scale.
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setPageScaleFactor):
(WebKit::WebViewImpl::updateMainFrameScrollPosition):
(WebKit):
(WebKit::WebViewImpl::applyScrollAndScale):
- src/WebViewImpl.h:
(WebViewImpl):
- tests/WebFrameTest.cpp:
- tests/WebViewTest.cpp:
- 5:21 AM Changeset in webkit [145897] by
-
- 3 edits in trunk/LayoutTests
Unreviewed -- remove test expectations for timeline-receive-response-event and remove
another source of flakiness in the test.
- inspector/timeline/timeline-receive-response-event.html:
- platform/chromium/TestExpectations:
- 4:45 AM WebKitGTK/2.0.x edited by
- (diff)
- 4:14 AM Changeset in webkit [145896] by
-
- 38 edits in trunk/Source/WebCore
[V8] Add machinery for generating specialized bindings for the main world
https://bugs.webkit.org/show_bug.cgi?id=111417
Patch by Marja Hölttä <marja@chromium.org> on 2013-03-15
Reviewed by Kentaro Hara.
The new specialized bindings will be faster, because they don't need to
do the "main world, isolated world or a worker" check, but can right
away assume that we're in the main world.
This patch generates main world bindings for getters and setters.
No new tests (updated existing bindings tests).
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateNormalAttrGetterCallback):
(GenerateNormalAttrGetter):
(GenerateNormalAttrSetterCallback):
(GenerateNormalAttrSetter):
(GenerateNamedConstructor):
(GenerateBatchedAttributeData):
(GenerateSingleBatchedAttribute):
(GenerateImplementation):
(GenerateCallbackImplementation):
(GenerateFunctionCallString):
(CreateCustomSignature):
(NativeToJSValue):
- bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore::ConfigureV8Float64ArrayTemplate):
(WebCore::V8Float64Array::GetTemplate):
(WebCore::V8Float64Array::HasInstance):
- bindings/scripts/test/V8/V8Float64Array.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::excitingAttrAttrGetterForMainWorld):
(TestActiveDOMObjectV8Internal):
(WebCore::TestActiveDOMObjectV8Internal::excitingAttrAttrGetterCallbackForMainWorld):
(WebCore):
(WebCore::ConfigureV8TestActiveDOMObjectTemplate):
(WebCore::V8TestActiveDOMObject::GetTemplate):
(WebCore::V8TestActiveDOMObject::HasInstance):
- bindings/scripts/test/V8/V8TestActiveDOMObject.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore::ConfigureV8TestCustomNamedGetterTemplate):
(WebCore::V8TestCustomNamedGetter::GetTemplate):
(WebCore::V8TestCustomNamedGetter::HasInstance):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore::TestEventConstructorV8Internal::attr1AttrGetterForMainWorld):
(TestEventConstructorV8Internal):
(WebCore::TestEventConstructorV8Internal::attr1AttrGetterCallbackForMainWorld):
(WebCore::TestEventConstructorV8Internal::attr2AttrGetterForMainWorld):
(WebCore::TestEventConstructorV8Internal::attr2AttrGetterCallbackForMainWorld):
(WebCore):
(WebCore::ConfigureV8TestEventConstructorTemplate):
(WebCore::V8TestEventConstructor::GetTemplate):
(WebCore::V8TestEventConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestEventConstructor.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore::ConfigureV8TestEventTargetTemplate):
(WebCore::V8TestEventTarget::GetTemplate):
(WebCore::V8TestEventTarget::HasInstance):
- bindings/scripts/test/V8/V8TestEventTarget.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::TestExceptionV8Internal::nameAttrGetterForMainWorld):
(TestExceptionV8Internal):
(WebCore::TestExceptionV8Internal::nameAttrGetterCallbackForMainWorld):
(WebCore):
(WebCore::ConfigureV8TestExceptionTemplate):
(WebCore::V8TestException::GetTemplate):
(WebCore::V8TestException::HasInstance):
- bindings/scripts/test/V8/V8TestException.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::TestInterfaceV8Internal::supplementalStaticReadOnlyAttrAttrGetterForMainWorld):
(TestInterfaceV8Internal):
(WebCore::TestInterfaceV8Internal::supplementalStaticReadOnlyAttrAttrGetterCallbackForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrGetterForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrGetterCallbackForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrSetterForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrSetterCallbackForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStr1AttrGetterForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStr1AttrGetterCallbackForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStr2AttrGetterForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStr2AttrGetterCallbackForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStr2AttrSetterForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStr2AttrSetterCallbackForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStr3AttrGetterCallbackForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalStr3AttrSetterCallbackForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalNodeAttrGetterForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalNodeAttrGetterCallbackForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetterForMainWorld):
(WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetterCallbackForMainWorld):
(WebCore):
(WebCore::ConfigureV8TestInterfaceTemplate):
(WebCore::V8TestInterface::GetTemplate):
(WebCore::V8TestInterface::HasInstance):
- bindings/scripts/test/V8/V8TestInterface.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore::ConfigureV8TestMediaQueryListListenerTemplate):
(WebCore::V8TestMediaQueryListListener::GetTemplate):
(WebCore::V8TestMediaQueryListListener::HasInstance):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructorConstructor::GetTemplate):
(WebCore::ConfigureV8TestNamedConstructorTemplate):
(WebCore::V8TestNamedConstructor::GetTemplate):
(WebCore::V8TestNamedConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestNamedConstructor.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore::ConfigureV8TestNodeTemplate):
(WebCore::V8TestNode::GetTemplate):
(WebCore::V8TestNode::HasInstance):
- bindings/scripts/test/V8/V8TestNode.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::readOnlyLongAttrAttrGetterForMainWorld):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::readOnlyLongAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::readOnlyStringAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::readOnlyStringAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::readOnlyTestObjAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::readOnlyTestObjAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::staticReadOnlyLongAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::staticReadOnlyLongAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::staticStringAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::staticStringAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::staticStringAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::staticStringAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::enumAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::enumAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::enumAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::enumAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::shortAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::shortAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::shortAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::shortAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::unsignedShortAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::unsignedShortAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::unsignedShortAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::unsignedShortAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::longAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::longAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::longAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::longAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::longLongAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::longLongAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::longLongAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::longLongAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::unsignedLongLongAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::unsignedLongLongAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::unsignedLongLongAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::unsignedLongLongAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::stringAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::stringAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::stringAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::stringAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::testObjAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::testObjAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::testObjAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::testObjAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::XMLObjAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::XMLObjAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::XMLObjAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::XMLObjAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::createAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::createAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::createAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::createAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedStringAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedStringAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedStringAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedStringAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedIntegralAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedIntegralAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedIntegralAttrAttrSetter):
(WebCore::TestObjV8Internal::reflectedIntegralAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedIntegralAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedUnsignedIntegralAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedUnsignedIntegralAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedUnsignedIntegralAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedUnsignedIntegralAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedBooleanAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedBooleanAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedBooleanAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedBooleanAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedURLAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedURLAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedURLAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedURLAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomIntegralAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomIntegralAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomIntegralAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomIntegralAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomURLAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomURLAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomURLAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::reflectedCustomURLAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::typedArrayAttrAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::typedArrayAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::typedArrayAttrAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::typedArrayAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::attrWithGetterExceptionAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::attrWithGetterExceptionAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::attrWithGetterExceptionAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::attrWithGetterExceptionAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::attrWithSetterExceptionAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::attrWithSetterExceptionAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::attrWithSetterExceptionAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::attrWithSetterExceptionAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::stringAttrWithGetterExceptionAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::stringAttrWithGetterExceptionAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::stringAttrWithGetterExceptionAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::stringAttrWithGetterExceptionAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::stringAttrWithSetterExceptionAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::stringAttrWithSetterExceptionAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::stringAttrWithSetterExceptionAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::stringAttrWithSetterExceptionAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::customAttrAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::customAttrAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptStateAttributeAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptStateAttributeAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptStateAttributeAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptStateAttributeAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr1AttrGetterForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr1AttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr1AttrSetterForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr1AttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr2AttrGetterForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr2AttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr2AttrSetterForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr2AttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr3AttrGetterForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr3AttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr3AttrSetterForMainWorld):
(WebCore::TestObjV8Internal::conditionalAttr3AttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::cachedAttribute1AttrGetterForMainWorld):
(WebCore::TestObjV8Internal::cachedAttribute1AttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::cachedAttribute2AttrGetterForMainWorld):
(WebCore::TestObjV8Internal::cachedAttribute2AttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::anyAttributeAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::anyAttributeAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::anyAttributeAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::anyAttributeAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::enabledAtRuntimeAttr1AttrGetterForMainWorld):
(WebCore::TestObjV8Internal::enabledAtRuntimeAttr1AttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::enabledAtRuntimeAttr1AttrSetterForMainWorld):
(WebCore::TestObjV8Internal::enabledAtRuntimeAttr1AttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::enabledAtRuntimeAttr2AttrGetterForMainWorld):
(WebCore::TestObjV8Internal::enabledAtRuntimeAttr2AttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::enabledAtRuntimeAttr2AttrSetterForMainWorld):
(WebCore::TestObjV8Internal::enabledAtRuntimeAttr2AttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::floatArrayAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::floatArrayAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::floatArrayAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::floatArrayAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::doubleArrayAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::doubleArrayAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::doubleArrayAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::doubleArrayAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::contentDocumentAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::contentDocumentAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::mutablePointAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::mutablePointAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::mutablePointAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::mutablePointAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::immutablePointAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::immutablePointAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::immutablePointAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::immutablePointAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::strawberryAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::strawberryAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::strawberryAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::strawberryAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::strictFloatAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::strictFloatAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::strictFloatAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::strictFloatAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::descriptionAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::descriptionAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::idAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::idAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::idAttrSetterForMainWorld):
(WebCore::TestObjV8Internal::idAttrSetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::hashAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::hashAttrGetterCallbackForMainWorld):
(WebCore::TestObjV8Internal::replaceableAttributeAttrGetterForMainWorld):
(WebCore::TestObjV8Internal::replaceableAttributeAttrGetterCallbackForMainWorld):
(WebCore):
(WebCore::ConfigureV8TestObjTemplate):
(WebCore::V8TestObj::GetTemplate):
(WebCore::V8TestObj::HasInstance):
- bindings/scripts/test/V8/V8TestObj.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::ConfigureV8TestOverloadedConstructorsTemplate):
(WebCore::V8TestOverloadedConstructors::GetTemplate):
(WebCore::V8TestOverloadedConstructors::HasInstance):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrGetterForMainWorld):
(TestSerializedScriptValueInterfaceV8Internal):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrGetterCallbackForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrSetterForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrSetterCallbackForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::readonlyValueAttrGetterForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::readonlyValueAttrGetterCallbackForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrGetterForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrGetterCallbackForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrSetterForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrSetterCallbackForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::portsAttrGetterForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::portsAttrGetterCallbackForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedReadonlyValueAttrGetterForMainWorld):
(WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedReadonlyValueAttrGetterCallbackForMainWorld):
(WebCore):
(WebCore::ConfigureV8TestSerializedScriptValueInterfaceTemplate):
(WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
(WebCore::V8TestSerializedScriptValueInterface::HasInstance):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/scripts/test/V8/V8TestTypedefs.cpp:
(WebCore::TestTypedefsV8Internal::unsignedLongLongAttrAttrGetterForMainWorld):
(TestTypedefsV8Internal):
(WebCore::TestTypedefsV8Internal::unsignedLongLongAttrAttrGetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::unsignedLongLongAttrAttrSetterForMainWorld):
(WebCore::TestTypedefsV8Internal::unsignedLongLongAttrAttrSetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::immutableSerializedScriptValueAttrGetterForMainWorld):
(WebCore::TestTypedefsV8Internal::immutableSerializedScriptValueAttrGetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::immutableSerializedScriptValueAttrSetterForMainWorld):
(WebCore::TestTypedefsV8Internal::immutableSerializedScriptValueAttrSetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::attrWithGetterExceptionAttrGetterForMainWorld):
(WebCore::TestTypedefsV8Internal::attrWithGetterExceptionAttrGetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::attrWithGetterExceptionAttrSetterForMainWorld):
(WebCore::TestTypedefsV8Internal::attrWithGetterExceptionAttrSetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::attrWithSetterExceptionAttrGetterForMainWorld):
(WebCore::TestTypedefsV8Internal::attrWithSetterExceptionAttrGetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::attrWithSetterExceptionAttrSetterForMainWorld):
(WebCore::TestTypedefsV8Internal::attrWithSetterExceptionAttrSetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::stringAttrWithGetterExceptionAttrGetterForMainWorld):
(WebCore::TestTypedefsV8Internal::stringAttrWithGetterExceptionAttrGetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::stringAttrWithGetterExceptionAttrSetterForMainWorld):
(WebCore::TestTypedefsV8Internal::stringAttrWithGetterExceptionAttrSetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::stringAttrWithSetterExceptionAttrGetterForMainWorld):
(WebCore::TestTypedefsV8Internal::stringAttrWithSetterExceptionAttrGetterCallbackForMainWorld):
(WebCore::TestTypedefsV8Internal::stringAttrWithSetterExceptionAttrSetterForMainWorld):
(WebCore::TestTypedefsV8Internal::stringAttrWithSetterExceptionAttrSetterCallbackForMainWorld):
(WebCore):
(WebCore::ConfigureV8TestTypedefsTemplate):
(WebCore::V8TestTypedefs::GetTemplate):
(WebCore::V8TestTypedefs::HasInstance):
- bindings/scripts/test/V8/V8TestTypedefs.h:
(WebCore::toV8ForMainWorld):
(WebCore):
(WebCore::toV8FastForMainWorld):
- bindings/v8/DOMDataStore.h:
(WebCore::DOMDataStore::getWrapperForMainWorld):
(DOMDataStore):
- bindings/v8/V8DOMConfiguration.cpp:
(WebCore::V8DOMConfiguration::addToTemplate):
(WebCore):
- bindings/v8/V8DOMConfiguration.h:
(V8DOMConfiguration):
- bindings/v8/custom/V8DOMWindowCustom.cpp:
(WebCore::toV8ForMainWorld):
(WebCore):
- bindings/v8/custom/V8EventTargetCustom.cpp:
(WebCore::toV8ForMainWorld):
(WebCore):
- bindings/v8/custom/V8IDBAnyCustom.cpp:
(WebCore::toV8ForMainWorld):
(WebCore):
- bindings/v8/custom/V8MicroDataItemValueCustom.cpp:
(WebCore::toV8ForMainWorld):
(WebCore):
- bindings/v8/custom/V8WorkerContextCustom.cpp:
(WebCore::toV8ForMainWorld):
(WebCore):
- 4:07 AM Changeset in webkit [145895] by
-
- 2 edits in trunk/Source/WebKit/qt
[Qt] Unreviewed trivial DRT ASSERT fix
r145805 erroneously added setController calls for device orientation/motion
mock clients. Those ASSERT, the controller ctor already calls setController
on the client.
- WebCoreSupport/QWebPageAdapter.cpp:
(QWebPageAdapter::initializeWebCorePage):
- 3:46 AM Changeset in webkit [145894] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Flame Chart. xOffset calculates incorrectly when chart width less that canvas.width.
https://bugs.webkit.org/show_bug.cgi?id=112423
Reviewed by Yury Semikhatsky.
I extracted xOffset assigment procedure into a separate function.
Drive by fix: size and posion of anchor element was adjusted.
Drive by fix: we will not paint item if it is not visible.
- inspector/front-end/FlameChart.js:
(WebInspector.FlameChart.prototype._maxXOffset):
(WebInspector.FlameChart.prototype._setXOffset):
(WebInspector.FlameChart.prototype._canvasDragging):
(WebInspector.FlameChart.prototype._onMouseMove):
(WebInspector.FlameChart.prototype._adjustXOffset):
(WebInspector.FlameChart.prototype._adjustXScale):
(WebInspector.FlameChart.prototype.draw):
- 3:40 AM Changeset in webkit [145893] by
-
- 2 edits in trunk/Source/WebCore
[Texmap] Change brightness filter to match new spec
https://bugs.webkit.org/show_bug.cgi?id=112422
New filters spec specifies an intercept of 0 instead of 1.
This is already done for the software version in http://trac.webkit.org/changeset/139770.
This patch adjusts the value for the accelerated version.
Patch by Noam Rosenthal <Noam Rosenthal> on 2013-03-15
Reviewed by Allan Sandfeld Jensen.
Filter tests are currently disabled on Qt/GTK/EFL, but they would need to be rebaselined once enabled.
- platform/graphics/texmap/TextureMapperShaderProgram.cpp:
- 3:22 AM Changeset in webkit [145892] by
-
- 2 edits in trunk/Source/WebCore
Call release() when a RefPtr is returned.
https://bugs.webkit.org/show_bug.cgi?id=112420
Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2013-03-15
Reviewed by Eric Seidel.
release() should be called on a RefPtr to convert it to a PassRefPtr.
No new tests needed, no behavior changes.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseImageResolution):
(WebCore::CSSParser::parseImageSet):
- 3:18 AM Changeset in webkit [145891] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [Network] InitiatorComparator is not reflexive/antisymmetric.
https://bugs.webkit.org/show_bug.cgi?id=112341
Reviewed by Vsevolod Vlasov.
When both objects do not have initiator: f(a, b) = f(b, a) = -1
Furthermore: redirected responses are mixed with "other".
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkDataGridNode.prototype._refreshInitiatorCell):
Remember "displayed" initiator type.
(WebInspector.NetworkDataGridNode.InitiatorComparator):
Recall "diaplayed" initiator type for more precise comparison.
- 3:17 AM Changeset in webkit [145890] by
-
- 4 edits in trunk/Tools
[Qt] Remove simple getters and setters from TestRunnerQt
https://bugs.webkit.org/show_bug.cgi?id=112343
Reviewed by Benjamin Poulain.
The removed functions and boolean members
are being replaced by the implementations in the
generic TestRunner.h.
- DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(DumpRenderTree::dumpFrameScrollPosition):
(DumpRenderTree::dumpFramesAsText):
(DumpRenderTree::dump):
(DumpRenderTree::titleChanged):
(DumpRenderTree::dumpDatabaseQuota):
(DumpRenderTree::dumpApplicationCacheQuota):
(DumpRenderTree::statusBarMessage):
(DumpRenderTree::createWindow):
- DumpRenderTree/qt/TestRunnerQt.cpp:
(TestRunnerQt::reset):
- DumpRenderTree/qt/TestRunnerQt.h:
(TestRunnerQt):
- 3:08 AM Changeset in webkit [145889] by
-
- 7 edits in trunk/Source/WebCore
Web Inspector: show image decode performed off main thread on timeline
https://bugs.webkit.org/show_bug.cgi?id=111159
Reviewed by Pavel Feldman.
- add handling of Decode Image event to TimelineTraceEventProcessorr;
- only log platform events for the main thread;
- extract constants for trace events produced by platform instrumentation.
- inspector/InspectorTimelineAgent.cpp:
(TimelineRecordType):
- inspector/InspectorTimelineAgent.h:
(TimelineRecordType):
- inspector/TimelineTraceEventProcessor.cpp:
(WebCore::TimelineTraceEventProcessor::TimelineTraceEventProcessor):
(WebCore::TimelineTraceEventProcessor::onImageDecodeBegin):
(WebCore):
(WebCore::TimelineTraceEventProcessor::onImageDecodeEnd):
- inspector/TimelineTraceEventProcessor.h:
(TimelineTraceEventProcessor):
- platform/PlatformInstrumentation.cpp:
(WebCore):
- platform/PlatformInstrumentation.h:
(PlatformInstrumentation):
(WebCore):
(WebCore::PlatformInstrumentation::willDecodeImage):
(WebCore::PlatformInstrumentation::didDecodeImage):
(WebCore::PlatformInstrumentation::willResizeImage):
(WebCore::PlatformInstrumentation::didResizeImage):
- 1:38 AM Changeset in webkit [145888] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Flame Chart. When user zooms the chart, the point under cursor has to be the zooming center.
https://bugs.webkit.org/show_bug.cgi?id=112417
Reviewed by Yury Semikhatsky.
It converts the cursor position into time,
changes the scale factor and calculates the new offset for the canvas.
- inspector/front-end/FlameChart.js:
(WebInspector.FlameChart.prototype._adjustXScale):
(WebInspector.FlameChart.prototype._onMouseWheel):
- 1:33 AM Changeset in webkit [145887] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
- platform/gtk/TestExpectations: Adding a failure expectation for the reftest added in r145847
that is failing due to disabled subpixel layout on the GTK port.
- 1:28 AM Changeset in webkit [145886] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [Network] Sort columns context menu items alphabetically.
https://bugs.webkit.org/show_bug.cgi?id=112321
Reviewed by Pavel Feldman.
Problem: columns are presented in "natural" order,
so it is hard to find specific item.
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._getConfigurableColumnIDs):
Generate list of column IDs sorted alphabetically.
(WebInspector.NetworkLogView.prototype._contextMenu):
Use alphabetically sorted list of column IDs.
- 1:24 AM Changeset in webkit [145885] by
-
- 4 edits2 adds in trunk
Crash at RenderStyle::inheritFrom reported by fuzzer
https://bugs.webkit.org/show_bug.cgi?id=112322
Reviewed by Hajime Morrita.
Source/WebCore:
pseudoStyleForElement should check whether a parent style of a given
element is available or not. If a given element's parent is
an insertion point whose reset-style-inheritance is true, the parent
style is not available. Need to use defaultStyleForElement.
Test: fast/dom/shadow/insertion-point-resetStyleInheritance-with-pseudo-element-crash.html
- css/StyleResolver.cpp:
(WebCore::StyleResolver::styleForElement):
Removed cloneForParent. Instead, made m_state own parentStyle, i.e.
changed m_parentStyle in class State from RenderStyle* to
RefPtr<RenderStyle>.
(WebCore::StyleResolver::pseudoStyleForElement):
If an actual parent style of a given element is not available, use
defaultStyleForElement. This is the same logic as styleForElement.
- css/StyleResolver.h:
(WebCore::StyleResolver::State::setParentStyle):
Modified the parameter to use PassRefPtr<RenderStyle>.
(WebCore::StyleResolver::State::parentStyle):
(State):
LayoutTests:
- fast/dom/shadow/insertion-point-resetStyleInheritance-with-pseudo-element-crash-expected.txt: Added.
- fast/dom/shadow/insertion-point-resetStyleInheritance-with-pseudo-element-crash.html: Added.
- 1:08 AM Changeset in webkit [145884] by
-
- 3 edits2 adds in trunk
[CSS Regions] Selecting text inside an empty region causes selection outside the region area
https://bugs.webkit.org/show_bug.cgi?id=107752
Reviewed by David Hyatt.
Source/WebCore:
When performing hit testing inside a flow thread, we need to make sure that
we actually hit some node from the flow thread content and not the flow thread
itself (which would set the hit test result node to the document node, allowing
wrong selection of content outside the empty region).
Test: fast/regions/selecting-text-in-empty-region.html
- rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::hitTestFlowThreadPortionInRegion):
LayoutTests:
Add test showing that you cannot select content outside a empty region (without flow thread content).
- fast/regions/selecting-text-in-empty-region-expected.txt: Added.
- fast/regions/selecting-text-in-empty-region.html: Added.
- 1:06 AM Changeset in webkit [145883] by
-
- 2 edits in trunk/Source/WebCore
[Texmap] layerRect should be used instead of contents rect for scrollable layer hit tests.
https://bugs.webkit.org/show_bug.cgi?id=112413
Patch by Luiz Agostini <luiz.agostini@nokia.com> on 2013-03-15
Reviewed by Noam Rosenthal.
Using layerRect() instead of m_state.contentsRect for scrollable layer hit test.
- platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::scrollableLayerHitTestCondition):
- 1:04 AM Changeset in webkit [145882] by
-
- 2 edits in trunk/Tools
Update the link on build.webkit.org to refer to perf.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=112416
Reviewed by Philip Rogers.
Updated the link. Also updated the template to use HTML5 DOCTYPE.
- BuildSlaveSupport/build.webkit.org-config/templates/root.html:
- 12:13 AM Changeset in webkit [145881] by
-
- 2 edits in trunk/Tools
Build fix for Tools/GtkLauncher/Programs_GtkLauncher-main.o if gstreamer is not installed
https://bugs.webkit.org/show_bug.cgi?id=112394
Patch by Tobias Mueller <tobiasmue@gnome.org> on 2013-03-15
Reviewed by Philippe Normand.
- GtkLauncher/main.c:
(main): Guard using the gstreamer function with #ifdef WTF_USE_GSTREAMER
- 12:13 AM Changeset in webkit [145880] by
-
- 7 edits in trunk/Source/WebKit2
[WK2][EFL] Get rid of WebPageProxy::viewWidget() method
https://bugs.webkit.org/show_bug.cgi?id=112289
Reviewed by Alexey Proskuryakov.
Web page should not be aware of platform-specific view.
- UIProcess/API/efl/EwkView.cpp:
(wkPageToEvasObjectMap):
(EwkView::EwkView):
(EwkView::~EwkView):
(EwkView::toEvasObject):
EwkView::toEvasObject() relies on static map rather than on
removed WebPageProxy::viewWidget() method.
- UIProcess/API/efl/EwkView.h:
- UIProcess/API/efl/ewk_text_checker.cpp:
(uniqueSpellDocumentTag):
- UIProcess/cairo/BackingStoreCairo.cpp:
(WebKit::BackingStore::incorporateUpdate):
Now uses EwkView::toEvasObject().
- UIProcess/WebPageProxy.h:
(WebPageProxy):
- UIProcess/efl/WebPageProxyEfl.cpp:
Removed WebPageProxy::viewWidget() method.
Mar 14, 2013:
- 11:28 PM Changeset in webkit [145879] by
-
- 4 edits in trunk/Source
Versioning.
- 11:26 PM Changeset in webkit [145878] by
-
- 1 copy in tags/Safari-537.34
New Tag.
- 11:22 PM Changeset in webkit [145877] by
-
- 2 edits in trunk/Source/WebCore
Redundant if statement in RenderTextControlSingleLine::layout should be removed
https://bugs.webkit.org/show_bug.cgi?id=112406
Reviewed by Andreas Kling.
Covered by existing tests added in r145239.
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::layout):
- 11:01 PM Changeset in webkit [145876] by
-
- 3 edits2 deletes in trunk
Unreviewed, rolling out r145864.
http://trac.webkit.org/changeset/145864
https://bugs.webkit.org/show_bug.cgi?id=112408
should fix XMLDocumentParser instead of CSSDefaultStyleSheet
(Requested by tasak on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-14
Source/WebCore:
- css/CSSDefaultStyleSheets.cpp:
(WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
LayoutTests:
- fast/css/ensure-default-style-sheets-crash-expected.txt: Removed.
- fast/css/ensure-default-style-sheets-crash.xhtml: Removed.
- 10:29 PM Changeset in webkit [145875] by
-
- 16 edits in trunk/Source/WebCore
Web Inspector: [DataGrid] Specify columns with array of descriptors.
https://bugs.webkit.org/show_bug.cgi?id=112338
Reviewed by Pavel Feldman.
Currently columns are specified by Object that maps
column identifiers to column descriptors. Iteration order over
Object keys is not guaranteed.
Array should be used to specify column order.
- inspector/front-end/DataGrid.js: Change consrtructor parameter type.
- inspector/front-end/ApplicationCacheItemsView.js: Adopt changes.
- inspector/front-end/CPUProfileView.js: Ditto.
- inspector/front-end/CSSSelectorProfileView.js: Ditto.
- inspector/front-end/CanvasProfileView.js: Ditto.
- inspector/front-end/CookieItemsView.js: Ditto.
- inspector/front-end/CookiesTable.js: Ditto.
- inspector/front-end/DOMStorageItemsView.js: Ditto.
- inspector/front-end/DirectoryContentView.js: Ditto.
- inspector/front-end/HeapSnapshot.js: Ditto.
- inspector/front-end/HeapSnapshotDataGrids.js: Ditto.
- inspector/front-end/IndexedDBViews.js: Ditto.
- inspector/front-end/NativeMemorySnapshotView.js: Ditto.
- inspector/front-end/NetworkPanel.js: Ditto.
- inspector/front-end/ResourceWebSocketFrameView.js: Ditto.
- 10:26 PM Changeset in webkit [145874] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Flame Chart. Support scrolling by dragging.
https://bugs.webkit.org/show_bug.cgi?id=112346
Reviewed by Yury Semikhatsky.
Drag hander was added. It seems that simple repaint works well.
When the user starts dragging we hide the popover, change offset
and do update for the new canvas image.
Drive by change: Due to new way of scrolling the canvas I changed
the behaiviour of the wheel events. Now wheel scrolls if Shift key pressed
and zooms if not.
- inspector/front-end/FlameChart.js:
(WebInspector.FlameChart):
(WebInspector.FlameChart.prototype._startCanvasDragging):
(WebInspector.FlameChart.prototype._canvasDragging):
(WebInspector.FlameChart.prototype._endCanvasDragging):
(WebInspector.FlameChart.prototype._onMouseWheel):
- 10:14 PM Changeset in webkit [145873] by
-
- 12 edits in trunk
[Shadow Dom]: Non Bubbling events in ShadowDOM dispatch in an incorrect order
https://bugs.webkit.org/show_bug.cgi?id=112214
Reviewed by Dimitri Glazkov.
Source/WebCore:
Fix the order of event dispatching for Shadow DOM.
So far, an event whose event phase should be set to AT_TARGET,
e.g. event at shadow hosts, is dispatched in bubbling phase in the
whole event path. This patch fixed the order of event dispatching
so that an event whose event phase must be set to AT_TARGET phase
is dispatched in capturing phase rather than bubbling phase.
The spec is here:
https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#event-dispatch
5.5 Event Dispatch says:
- When capturing, which entails processing step 3 of the event
dispatch algorithm, the Event eventPhase attribute must return
AT_TARGET if the relative target is same as the node on which
event listeners are invoked
- When bubbling, which entails
processing step 6 of the event dispatch algorithm, the event
listeners must not be invoked on a node if it is the same as its
relative target
No new tests. Update existing layout tests.
- dom/EventDispatcher.cpp:
(WebCore::EventDispatcher::dispatchEventAtCapturing):
(WebCore::EventDispatcher::dispatchEventAtBubbling):
LayoutTests:
- fast/dom/shadow/cppevent-in-shadow-expected.txt:
- fast/dom/shadow/cppevent-input-in-shadow-expected.txt:
- fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt:
- fast/dom/shadow/shadow-boundary-events-expected.txt:
- fast/dom/shadow/shadow-boundary-events.html:
- fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node-expected.txt:
- fast/dom/shadow/shadow-dom-event-dispatching-fallback-nodes-expected.txt:
- fast/dom/shadow/shadow-dom-event-dispatching-non-distributed-nodes-expected.txt:
- fast/dom/shadow/shadow-dom-event-dispatching-text-node-in-shadow-root-expected.txt:
- 9:47 PM Changeset in webkit [145872] by
-
- 2 edits in trunk/LayoutTests
Not reviewed: Chromium TestExpectations cleanup prepared by kbr@
- platform/chromium/TestExpectations:
- 9:25 PM Changeset in webkit [145871] by
-
- 3 edits4 adds in trunk
Backspace/delete at start of table cell shouldn't step out of cell
https://bugs.webkit.org/show_bug.cgi?id=35372
Patch by Shezan Baig <Shezan Baig> on 2013-03-14
Reviewed by Ryosuke Niwa.
Source/WebCore:
Make Delete and ForwardDelete commands be no-ops if we are at the first
position or last position of a table cell respectively.
Tests: editing/deleting/backspace-at-table-cell-beginning.html
editing/deleting/forward-delete-at-table-cell-ending.html
- editing/TypingCommand.cpp:
(WebCore::TypingCommand::deleteKeyPressed):
(WebCore::TypingCommand::forwardDeleteKeyPressed):
LayoutTests:
- editing/deleting/backspace-at-table-cell-beginning-expected.txt: Added.
- editing/deleting/backspace-at-table-cell-beginning.html: Added.
- editing/deleting/forward-delete-at-table-cell-ending-expected.txt: Added.
- editing/deleting/forward-delete-at-table-cell-ending.html: Added.
- 8:37 PM Changeset in webkit [145870] by
-
- 9 edits2 adds in trunk
Clickable area is incorrect for elements with border-radius
https://bugs.webkit.org/show_bug.cgi?id=95373
Patch by Xidorn Quan <quanxunzhen@gmail.com> on 2013-03-14
Reviewed by Simon Fraser.
Source/WebCore:
As RenderBlock doesn't see rounded rect which comes from border-radius
in nodeAtPoint, the rounded corner seems to have an 'invisible' square
box which catches hits. So we added check on whether hitTestPoint also
intersects the rounded rect when hasBorderRadius is set.
This patch is based on Takashi Sakamoto's work in
https://bugs.webkit.org/show_bug.cgi?id=95373
Test: fast/borders/border-radius-position.html
- platform/graphics/FloatQuad.cpp:
(WebCore):
(WebCore::lineIntersectsCircle):
(WebCore::FloatQuad::intersectsCircle):
(WebCore::FloatQuad::intersectsEllipse):
- platform/graphics/FloatQuad.h:
(FloatQuad):
- platform/graphics/RoundedRect.cpp:
(WebCore::RoundedRect::intersectsQuad):
(WebCore):
- platform/graphics/RoundedRect.h:
(RoundedRect):
- rendering/HitTestLocation.cpp:
(WebCore::HitTestLocation::intersects):
(WebCore):
- rendering/HitTestLocation.h:
(HitTestLocation):
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::nodeAtPoint):
LayoutTests:
This test is based on Takashi Sakamoto's work in
https://bugs.webkit.org/show_bug.cgi?id=95373
- fast/borders/border-radius-position-expected.txt: Added.
- fast/borders/border-radius-position.html: Added.
- 8:30 PM Changeset in webkit [145869] by
-
- 12 edits in trunk
REGRESSION(r145169): [Mac][WK2] http/tests/security/cross-frame-access-put.html fails.
<http://webkit.org/b/111815>
<rdar://problem/13380145>
Reviewed by Anders Carlsson.
Source/WebKit2:
Call getWindowFrame() to see if the UI client wants to override the window frame before sending
a WindowAndViewFramesChanged message to the web process.
This fixes a glitch in WTR and the Web Inspector where incorrect window frames were being used.
- UIProcess/mac/WebPageProxyMac.mm:
(WebKit::WebPageProxy::windowAndViewFramesChanged):
Tools:
Add PlatformWebView::didInitializeClients() and call it after setting up all the clients
after creating a PlatformWebView. Otherwise, the initial WindowAndViewFramesChanged message
will be sent before there's a UI client set up to adjust the frame with WTR's fake origin.
- WebKitTestRunner/PlatformWebView.h:
(PlatformWebView):
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::createOtherPage):
(WTR::TestController::createWebViewWithOptions):
- WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::didInitializeClients):
LayoutTests:
- platform/mac-wk2/TestExpectations:
- 7:41 PM Changeset in webkit [145868] by
-
- 8 edits in trunk/LayoutTests
plugins/plugin-clip-subframe.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=112324
Patch by John Bauman <jbauman@chromium.org> on 2013-03-14
Reviewed by Ryosuke Niwa.
Ignore duplicate SetWindow calls with identical arguments. Plugins
will ignore these so they're not a problem, and they can cause
flakiness on mac-wk2.
- platform/chromium-linux/plugins/plugin-clip-subframe-expected.txt:
- platform/chromium-mac/plugins/plugin-clip-subframe-expected.txt:
- platform/chromium-win/plugins/plugin-clip-subframe-expected.txt:
- platform/mac-wk2/plugins/plugin-clip-subframe-expected.txt:
- platform/mac/plugins/plugin-clip-subframe-expected.txt:
- plugins/plugin-clip-subframe-expected.txt:
- plugins/resources/plugin-clip-subframe-iframe.html:
- 7:18 PM Changeset in webkit [145867] by
-
- 1 edit6 copies in branches/chromium/1410
[Chromium] Unreviewed, merge r145239.
- 7:08 PM Changeset in webkit [145866] by
-
- 3 edits2 adds in trunk
AX: Crash when removing aria-menu item from DOM
https://bugs.webkit.org/show_bug.cgi?id=112396
Reviewed by Tim Horton.
Source/WebCore:
Prevent nil access to items in the ARIA menu flow when deleting
objects from the DOM.
Test: accessibility/menu-item-crash.html
- accessibility/AccessibilityNodeObject.cpp:
(WebCore::siblingWithAriaRole):
(WebCore::AccessibilityNodeObject::menuButtonForMenu):
LayoutTests:
- accessibility/menu-item-crash-expected.txt: Added.
- accessibility/menu-item-crash.html: Added.
- 7:02 PM Changeset in webkit [145865] by
-
- 6 edits2 adds in trunk
[Shadow]: left side of ::-webkit-distributed selector not working as expected
https://bugs.webkit.org/show_bug.cgi?id=110825
Reviewed by Dimitri Glazkov.
Source/WebCore:
Make functional pseudo distributed elements work even when a left side element has specifiers.
Test: fast/dom/shadow/distributed-pseudo-element-specifiers-in-left-side.html
- css/CSSParser.cpp:
(WebCore::CSSParser::rewriteSpecifiersWithNamespaceIfNeeded):
Make it call rewriteSpecifiersForShadowDistributed() if required.
(WebCore::CSSParser::rewriteSpecifiersWithElementName):
Updated so that it can generate a correct chain of
CSSParserSelectors even when '::distributed()' is used with an
element, which might be empty, with specifiers.
e.g. When parsing a selector of 'content.content-class::-webkit-distributed(div)', the following happens:
- rewriteSpecifiersWithElementName(...) is called with:
elementName is: "content"
specifiers is: [.content-class] -> [::-webkit-distributed]
- Looking for a distributed pseudo element in the specifiers and found it at the end of tagHistory chain of the specifiers.
- The result of calling specifiers->prependTagSelector(tag) is:
specifiers is: [content] -> [.content-class] -> [::-webkit-distributed]
- rewriteSpecifiersForShadowDistributed() is called with:
specifiers is: [content] -> [.content-class] -> [::-webkit-distributed]
distributedPseudoElementSelector is: [::-webkit-distributed]
- An argumentSelector of the distributedPseudoElementSelector is:
argumentSelector is: [div]
- Remove the distributed pseudo element selector from the specifiers.
specifiers is: [content] -> [.content-class]
Note that one pseudo-element may appear per complex selector
and the pseudo-element may appear only if the subject of the
selector is the last compound selector in the selector.
- Append specifiers to the end of the argument selector with a relation of ShadowDistributed:
argumentSelector is: [div] -(ShadowDistributed)-> [content] -> [.content-class]
- Returns the argument selector as a return value.
(WebCore::CSSParser::rewriteSpecifiersForShadowDistributed): As explained.
- css/CSSParserValues.cpp:
(WebCore):
(WebCore::CSSParserSelector::findDistributedPseudoElementSelector):
- css/CSSParserValues.h:
(CSSParserSelector):
(WebCore::CSSParserSelector::clearTagHistory):
LayoutTests:
- fast/dom/shadow/distributed-pseudo-element-specifiers-in-left-side-expected.html: Added.
- fast/dom/shadow/distributed-pseudo-element-specifiers-in-left-side.html: Added.
- 6:50 PM Changeset in webkit [145864] by
-
- 3 edits2 adds in trunk
Crash at CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement reported by fuzzer
https://bugs.webkit.org/show_bug.cgi?id=112328
Reviewed by Dimitri Glazkov.
Source/WebCore:
ensureDefaultStyleSheets should check whether page() is null or not.
Test: fast/css/ensure-default-style-sheets-crash.xhtml
- css/CSSDefaultStyleSheets.cpp:
(WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
LayoutTests:
- fast/css/ensure-default-style-sheets-crash-expected.txt: Added.
- fast/css/ensure-default-style-sheets-crash.xhtml: Added.
- 5:52 PM Changeset in webkit [145863] by
-
- 2 edits in trunk/Tools
[EFL][MiniBrowser] Add a search field to the MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=112122
Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2013-03-14
Reviewed by Kenneth Rohde Christiansen.
Implement a search field to test API ewk_view_text_find() and add a shortcut 'ctrl' + f.
- MiniBrowser/efl/main.c:
(_Browser_Window):
(search_box_show):
(search_box_hide):
(on_key_down):
(on_url_changed):
(on_search_field_aborted):
(on_search_field_activated):
(on_search_field_clicked):
(on_search_backward_button_clicked):
(on_search_forward_button_clicked):
(window_create):
- 5:51 PM Changeset in webkit [145862] by
-
- 2 edits in trunk/LayoutTests
Unreviewed test expectations update. Expanded suppression.
- platform/chromium/TestExpectations:
- 5:48 PM Changeset in webkit [145861] by
-
- 8 edits in trunk/Tools
Cleanup: Remove g_resourceLoader.
https://bugs.webkit.org/show_bug.cgi?id=112305
Reviewed by Dirk Pranke.
Removing another global.
Now, each dashboard creates its own loader, rather than having
a general global one.
Remove usage of g_resourceLoader.isLoadingComplete from
handleLocationChange by ensuring that handleLocationChange is
never called before the loader is done. It was called in two
places before: 1 was from the callback when the loader is done,
so that was obviously true, and the other was from onhashchange,
where it would just return rather than running. Instead, lets
only register the onhashchange handler once the loader is
setup, so the check is no longer necessary.
Remove isLoadingComplete since it is now unused.
Callback for loader is now initializeHistory, rather than just
handleLocationChange which will set up the hashchange handler now.
This will all eventually be moving to a new History object.
- TestResultServer/static-dashboards/aggregate_results.html:
- TestResultServer/static-dashboards/dashboard_base.js:
(handleLocationChange):
(intializeHistory):
(decompressResults):
- TestResultServer/static-dashboards/flakiness_dashboard.js:
(generatePage):
- TestResultServer/static-dashboards/loader.js:
(.):
- TestResultServer/static-dashboards/loader_unittests.js:
- TestResultServer/static-dashboards/timeline_explorer.html:
- TestResultServer/static-dashboards/treemap.html:
- 5:45 PM Changeset in webkit [145860] by
-
- 2 edits in trunk/Source/JavaScriptCore
REGRESSION(r145000): Crash loading arstechnica.com when Safari Web Inspector is open
https://bugs.webkit.org/show_bug.cgi?id=111868
Reviewed by Antti Koivisto.
Don't allow non-local property lookup when the debugger is enabled.
- bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::resolve):
- 5:10 PM Changeset in webkit [145859] by
-
- 4 edits in trunk
Build: Remove XSLT option and depend hard on XSLT.
You will now not be able to give --disable-xslt or --enable-xslt
because it is not optional anymore.
https://bugs.webkit.org/show_bug.cgi?id=112368
Patch by Tobias Mueller <tobiasmue@gnome.org> on 2013-03-14
Reviewed by Martin Robinson.
- Source/autotools/FindDependencies.m4:
Always check for libxslt
- Source/autotools/PrintBuildConfiguration.m4:
Removed printing out the value of XSLT
- Source/autotools/ReadCommandLineArguments.m4:
Removed reading XSLT options
- 5:07 PM Changeset in webkit [145858] by
-
- 1 edit8 adds in trunk/LayoutTests
Unreviewed gardening. Added images for new test.
- platform/chromium-mac-lion/platform/chromium/scrollbars/short-scrollbar-expected.png: Added.
- platform/chromium-mac-snowleopard/platform/chromium/scrollbars/short-scrollbar-expected.png: Added.
- platform/chromium-mac/platform/chromium/scrollbars/short-scrollbar-expected.png: Added.
- platform/chromium-win/platform/chromium/scrollbars/short-scrollbar-expected.png: Added.
- 5:02 PM Changeset in webkit [145857] by
-
- 20 edits in trunk/LayoutTests
Fix flaky layout tests that rely on setTimeout()s firing after <body> is parsed
https://bugs.webkit.org/show_bug.cgi?id=112306
Reviewed by Eric Seidel.
These tests all rely in one way or another on the body of a setTimeout set in an inline <script> in the <head>
firing after the <body> element is generated by the HTML parser. This is a flaky pattern since the HTML parser
may yield when parsing a </script> or when runnnig out of bytes from the network. In practice, this pattern used
to be not terribly flaky for layout tests loaded from disk unless there was a large GC pause. However, since the
threaded HTML parser yields more frequently when hitting a </script> this flakes more.
These tests were found by identifying layout tests that call setTimeout before the document's body exists by
modifying the code, then intersecting that set with tests that are flaky on the chromium flakiness dashboard.
- editing/inserting/insert-text-into-empty-frameset-crash.html:
- editing/style/apply-style-crash.html:
- fast/block/float/float-originating-line-deleted-crash.html:
- fast/block/float/floats-not-cleared-crash.html:
- fast/block/line-layout/inline-box-wrapper-crash.html:
- fast/css/positioned-in-relative-position-inline-crash.html:
- fast/css/user-stylesheet-crash.html:
- fast/encoding/script-in-head.html:
- fast/forms/textarea-placeholder-relayout-assertion.html:
- fast/frames/seamless/seamless-form-get.html:
- fast/frames/seamless/seamless-form-post-named.html:
- fast/frames/seamless/seamless-window-location-href.html:
- fast/frames/seamless/seamless-window-location-replace.html:
- fast/inline/update-always-create-line-boxes-full-layout-crash.html:
- fast/innerHTML/innerHTML-iframe.html:
- fast/js/same-origin-subframe-about-blank.html:
- fast/multicol/span/removal-of-multicol-span-crash.html:
- fast/text/international/bidi-neutral-in-mixed-direction-run-crash.html:
- fast/writing-mode/overhanging-float-legend-crash.html:
- 4:40 PM May 2013 Meeting edited by
- (diff)
- 4:33 PM Changeset in webkit [145856] by
-
- 3 edits in trunk/Source/WebCore
Check to ensure MultisampleRenderbuffer creation succeeds
https://bugs.webkit.org/show_bug.cgi?id=111780
Patch by Brandon Jones <bajones@google.com> on 2013-03-14
Reviewed by Kenneth Russell.
On OSX systems using AMD graphics chips the allocation of large
Multisample Renderbuffers in Chromium would fail without any indication
of failure. Attempting to draw to the buffer resulted in garbage being
rendered onscreen. This could be reproduced by opening a full-page
WebGL app and pressing (Command + "-") several times. This patch adds an
additional check during DrawingBuffer resize to verify that the resized
buffer is valid.
- platform/graphics/gpu/DrawingBuffer.cpp:
(WebCore):
(WebCore::DrawingBuffer::checkBufferIntegrity):
(WebCore::DrawingBuffer::reset):
- platform/graphics/gpu/DrawingBuffer.h:
(DrawingBuffer):
- 4:29 PM Changeset in webkit [145855] by
-
- 4 edits in trunk/Source
[chromium] Make zoom filter independent of the layer size.
https://bugs.webkit.org/show_bug.cgi?id=112221
Reviewed by Stephen White.
Source/Platform:
Make the zoom filter hold a zoom amount and an inset.
- chromium/public/WebFilterOperation.h:
(WebKit::WebFilterOperation::zoomInset):
(WebFilterOperation):
(WebKit::WebFilterOperation::createZoomFilter):
(WebKit::WebFilterOperation::setZoomInset):
(WebKit::WebFilterOperation::WebFilterOperation):
Source/WebKit/chromium:
- tests/FilterOperationsTest.cpp:
(WebKit):
(WebKit::TEST):
- 4:22 PM May 2013 Meeting edited by
- Add "improving wiki pages" as a hackathon (diff)
- 3:43 PM Changeset in webkit [145854] by
-
- 6 edits1 add in trunk
Character orientation should follow UTR50 specs for vertical layout.
https://bugs.webkit.org/show_bug.cgi?id=112213
<rdar://problem/12880943>
Reviewed by Ryosuke Niwa.
Source/WebCore:
platform/mac/fast/text/vertical-no-sideways.html: Modified to cover samples
of the additional character ranges that should not be rotated in vertical layout.
Added pixel results.
This patch modifies shouldIgnoreRotation to include all the characters that
should not be rotated sideways in vertical layout according to the UTR50 draft 6
specifications. It also fixes rotation for Emojii.
- platform/graphics/FontFastPath.cpp:
(WebCore::shouldIgnoreRotation):
(WebCore::isInRange): Added.
- platform/graphics/mac/FontMac.mm:
(WebCore::showGlyphsWithAdvances): Adds the proper transforms to ensure
Emojii also are drawn correctly upright.
LayoutTests:
- platform/mac/fast/text/vertical-no-sideways.html: Modified to cover samples
of the additional character ranges that should not be rotated in vertical layout.
- platform/mac/platform/mac/fast/text/vertical-no-sideways-expected.txt:
- platform/mac/platform/mac/fast/text/vertical-no-sideways-expected.png: Added.
- 3:30 PM Changeset in webkit [145853] by
-
- 5 edits in branches/safari-534.59-branch/Source
Versioning.
- 3:30 PM Changeset in webkit [145852] by
-
- 1 copy in tags/Safari-534.59.6
New Tag.
- 3:16 PM Changeset in webkit [145851] by
-
- 16 edits in branches/safari-534.59-branch
Merged r138606. <rdar://problem/13424275>
- 3:10 PM Changeset in webkit [145850] by
-
- 2 edits in trunk/LayoutTests
Unreviewed test expectations updates. Suppressed a couple of
failures and adjusted a couple of existing expectations.
- platform/chromium/TestExpectations:
- 3:07 PM HackingGtk edited by
- Cleaned up old information, conglomerated links at the top (diff)
- 2:54 PM Changeset in webkit [145849] by
-
- 76 edits in trunk
Add selectTrailingWhitespaceEnabled setting to WebCore::Page
https://bugs.webkit.org/show_bug.cgi?id=109404
Patch by Manuel Rego Casasnovas <Manuel Rego Casasnovas> on 2013-03-14
Reviewed by Tony Chang.
Source/WebCore:
Covered by
editing/selection/doubleclick-inline-first-last-contenteditable.html.
- page/Settings.cpp:
(WebCore): Configure default value for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled seetings as they are different in
Chromium port depending on the OS.
- page/Settings.in: Add new setting.
Source/WebKit/blackberry:
Use new settings for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled.
Remove code related to DRT as it is not needed anymore.
- Api/DumpRenderTreeClient.h:
- WebCoreSupport/EditorClientBlackBerry.cpp:
(WebCore::EditorClientBlackBerry::smartInsertDeleteEnabled):
(WebCore::EditorClientBlackBerry::isSelectTrailingWhitespaceEnabled):
Source/WebKit/chromium:
Use new Page settings for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled and update API accordingly.
WebSettings API is required by DRT in order to set the proper default
values which are different from browser defaults.
- public/WebSettings.h: Add new API to manage smartInsertDeleteEnabled
and selectTrailingWhitespaceEnabled settings.
- public/WebViewClient.h: Remove API related to smartInsertDeleteEnabled
and selectTrailingWhitespaceEnabled as they will be managed from page
settings from now on.
- src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::smartInsertDeleteEnabled):
(WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled): Use new
settings for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled.
- src/WebSettingsImpl.cpp: Implement methods establishing the page
settings.
(WebKit::WebSettingsImpl::setSelectTrailingWhitespaceEnabled):
(WebKit):
(WebKit::WebSettingsImpl::setSmartInsertDeleteEnabled):
- src/WebSettingsImpl.h:
(WebSettingsImpl): Implement new API to manage the new settings.
Source/WebKit/efl:
Use new settings for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled.
Remove code related to DRT as it is not needed anymore.
- WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
- WebCoreSupport/DumpRenderTreeSupportEfl.h:
- WebCoreSupport/EditorClientEfl.cpp:
(WebCore::EditorClientEfl::smartInsertDeleteEnabled):
(WebCore::EditorClientEfl::isSelectTrailingWhitespaceEnabled):
(WebCore::EditorClientEfl::EditorClientEfl):
- WebCoreSupport/EditorClientEfl.h:
(EditorClientEfl):
Source/WebKit/gtk:
Use new settings for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled.
Remove code related to DRT as it is not needed anymore.
- WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
- WebCoreSupport/DumpRenderTreeSupportGtk.h:
(DumpRenderTreeSupportGtk):
- WebCoreSupport/EditorClientGtk.cpp:
(WebKit::EditorClient::smartInsertDeleteEnabled):
(WebKit::EditorClient::isSelectTrailingWhitespaceEnabled):
(WebKit::EditorClient::EditorClient):
- WebCoreSupport/EditorClientGtk.h:
(EditorClient):
Source/WebKit/mac:
Use new settings for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled.
- WebCoreSupport/WebEditorClient.mm:
(WebEditorClient::smartInsertDeleteEnabled):
(WebEditorClient::isSelectTrailingWhitespaceEnabled):
- WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]): Initialize
settings from NSUserDefaults.
(-[WebView setSelectTrailingWhitespaceEnabled:]):
(-[WebView isSelectTrailingWhitespaceEnabled]):
(-[WebView setSmartInsertDeleteEnabled:]):
(-[WebView smartInsertDeleteEnabled]):
- WebView/WebViewData.h:
- WebView/WebViewData.mm:
(-[WebViewPrivate init]):
Source/WebKit/qt:
Use new settings for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled.
Remove code related to DRT as it is not needed anymore.
- WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- WebCoreSupport/DumpRenderTreeSupportQt.h:
- WebCoreSupport/EditorClientQt.cpp:
(WebCore::EditorClientQt::smartInsertDeleteEnabled):
(WebCore::EditorClientQt::toggleSmartInsertDelete):
(WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled):
(WebCore::EditorClientQt::EditorClientQt):
- WebCoreSupport/EditorClientQt.h:
(EditorClientQt):
Source/WebKit/win:
Use new settings for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled.
- WebCoreSupport/WebEditorClient.cpp:
(WebEditorClient::smartInsertDeleteEnabled):
(WebEditorClient::isSelectTrailingWhitespaceEnabled):
- WebView.cpp:
(WebView::WebView):
(WebView::setSmartInsertDeleteEnabled):
(WebView::smartInsertDeleteEnabled):
(WebView::setSelectTrailingWhitespaceEnabled):
(WebView::isSelectTrailingWhitespaceEnabled):
- WebView.h:
(WebView):
Source/WebKit/wince:
Use new settings for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled.
- WebCoreSupport/EditorClientWinCE.cpp:
(WebKit::EditorClientWinCE::smartInsertDeleteEnabled):
(WebKit::EditorClientWinCE::isSelectTrailingWhitespaceEnabled):
Source/WebKit/wx:
Use new settings for smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled.
- WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::smartInsertDeleteEnabled):
(WebCore::EditorClientWx::isSelectTrailingWhitespaceEnabled):
Tools:
Removes all the code related to smartInsertDeleteEnabled and
selectTrailingWhitespaceEnabled settings as they will be managed from
internals from now on.
- DumpRenderTree/TestRunner.cpp:
(TestRunner::staticFunctions):
- DumpRenderTree/TestRunner.h:
(TestRunner):
- DumpRenderTree/blackberry/DumpRenderTree.cpp:
(WebKit):
(BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
- DumpRenderTree/blackberry/DumpRenderTreeBlackBerry.h:
(DumpRenderTree):
- DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp:
- DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h:
(WebTestRunner::WebTestProxy::didStopLoading):
- DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
(WebTestRunner::TestRunner::TestRunner):
(WebTestRunner::TestRunner::reset):
- DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
(TestRunner):
- DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp:
(WebTestRunner::WebPreferences::applyTo): Set default values for
smartInsertDeleteEnabled and selectTrailingWhitespaceEnabled settings as
Chromium DRT default values are different from Chromium browser.
- DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp:
- DumpRenderTree/chromium/WebViewHost.cpp:
- DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):
- DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
- DumpRenderTree/efl/TestRunnerEfl.cpp:
- DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetDefaultsToConsistentValues):
- DumpRenderTree/gtk/TestRunnerGtk.cpp:
- DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebViewToConsistentStateBeforeTesting):
- DumpRenderTree/mac/TestRunnerMac.mm:
- DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::WebPage::resetSettings):
- DumpRenderTree/qt/TestRunnerQt.cpp:
- DumpRenderTree/qt/TestRunnerQt.h:
(TestRunnerQt):
- DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):
- DumpRenderTree/win/TestRunnerWin.cpp:
- DumpRenderTree/wx/TestRunnerWx.cpp:
LayoutTests:
Replace testRunner.setSelectTrailingWhitespaceEnabled by
internals.settings.setSelectTrailingWhitespaceEnabled in tests.
Be sure that trailingWhitespaceEnabled and
selectTrailingWhitespaceEnabled are set to opposite values as they are
mutually exclusive.
- editing/deleting/smart-editing-disabled.html:
- editing/selection/doubleclick-beside-cr-span.html:
- editing/selection/doubleclick-whitespace-crash.html:
- editing/selection/doubleclick-whitespace-img-crash.html:
- editing/selection/doubleclick-whitespace.html:
- editing/selection/script-tests/doubleclick-inline-first-last-contenteditable.js:
- editing/spelling/resources/util.js:
(initSpellTest):
- editing/spelling/spelling-double-clicked-word-with-underscores.html:
- editing/spelling/spelling-double-clicked-word.html:
- platform/wk2/TestExpectations: Unflag
editing/selection/doubleclick-inline-first-last-contenteditable.html
as it passes now.
- 2:14 PM Changeset in webkit [145848] by
-
- 11 edits in trunk/Source/JavaScriptCore
Objective-C API: Objective-C functions exposed to JavaScript have the wrong type (object instead of function)
https://bugs.webkit.org/show_bug.cgi?id=105892
Reviewed by Geoffrey Garen.
Changed ObjCCallbackFunction to subclass JSCallbackFunction which already has all of the machinery to call
functions using the C API. Since ObjCCallbackFunction is now a JSCell, we changed the old implementation of
ObjCCallbackFunction to be the internal implementation and keep track of all the proper data so that we
don't have to put all of that in the header, which will now be included from C++ files (e.g. JSGlobalObject.cpp).
- API/JSCallbackFunction.cpp: Change JSCallbackFunction to allow subclassing. Originally it was internally
passing its own Structure up the chain of constructors, but we now want to be able to pass other Structures as well.
(JSC::JSCallbackFunction::JSCallbackFunction):
(JSC::JSCallbackFunction::create):
- API/JSCallbackFunction.h:
(JSCallbackFunction):
- API/JSWrapperMap.mm: Changed interface to tryUnwrapBlock.
(tryUnwrapObjcObject):
- API/ObjCCallbackFunction.h:
(ObjCCallbackFunction): Moved into the JSC namespace, just like JSCallbackFunction.
(JSC::ObjCCallbackFunction::createStructure): Overridden so that the correct ClassInfo gets used since we have
a destructor.
(JSC::ObjCCallbackFunction::impl): Getter for the internal impl.
- API/ObjCCallbackFunction.mm:
(JSC::ObjCCallbackFunctionImpl::ObjCCallbackFunctionImpl): What used to be ObjCCallbackFunction is now
ObjCCallbackFunctionImpl. It handles the Objective-C specific parts of managing callback functions.
(JSC::ObjCCallbackFunctionImpl::~ObjCCallbackFunctionImpl):
(JSC::objCCallbackFunctionCallAsFunction): Same as the old one, but now it casts to ObjCCallbackFunction and grabs the impl
rather than using JSObjectGetPrivate.
(JSC::ObjCCallbackFunction::ObjCCallbackFunction): New bits to allow being part of the JSCell hierarchy.
(JSC::ObjCCallbackFunction::create):
(JSC::ObjCCallbackFunction::destroy):
(JSC::ObjCCallbackFunctionImpl::call): Handles the actual invocation, just like it used to.
(objCCallbackFunctionForInvocation):
(tryUnwrapBlock): Changed to check the ClassInfo for inheritance directly, rather than going through the C API call.
- API/tests/testapi.mm: Added new test to make sure that doing Function.prototype.toString.call(f) won't result in
an error when f is an Objective-C method or block underneath the covers.
- runtime/JSGlobalObject.cpp: Added new Structure for ObjCCallbackFunction.
(JSC::JSGlobalObject::reset):
(JSC::JSGlobalObject::visitChildren):
- runtime/JSGlobalObject.h:
(JSGlobalObject):
(JSC::JSGlobalObject::objcCallbackFunctionStructure):
- 2:10 PM Changeset in webkit [145847] by
-
- 2 edits2 adds in trunk/LayoutTests
[CSS Exclusions] shape-outside on floats for rounded rectangle shapes
https://bugs.webkit.org/show_bug.cgi?id=100299
Patch by Bem Jones-Bey <Bem Jones-Bey> on 2013-03-14
Reviewed by Dirk Schulze.
Adding tests for rounded rectangles. The code already supports them,
but that was more of a happy accident. These tests makes it more
likely to stay that way.
- fast/exclusions/resources/rounded-rectangle.js:
(xOutset): Function to determine the offset for the outside shape.
(generateShapeOutsideOnFloat): Generate a shape outside on a float.
(generateSimulatedShapeOutsideOnFloat): Simulate a shape outside on a
float using a large number of smaller floats.
- fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-expected.html: Added.
- fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle.html: Added.
- 2:05 PM Changeset in webkit [145846] by
-
- 2 edits in trunk/Source/WebKit2
[WebKit2] Only preprocess sandbox profiles if we're building for the OS X SDK
https://bugs.webkit.org/show_bug.cgi?id=112330
Reviewed by David Kilzer.
We shouldn't preprocess sandbox profiles just because the computer
we're building on is a Mac. We should only do it if we're actually
building for the OS X SDK.
- DerivedSources.make: Check if $PLATFORM_NAME is macosx rather than if
$OS is MACOS.
- 1:56 PM Changeset in webkit [145845] by
-
- 10 edits in trunk/Source/WebKit2
Support private browsing on a per-page basis
<rdar://problem/11969491>
Reviewed by Timothy Horton.
Adds WKPageSetOverridePrivateBrowsingEnabled and WKPageGetOverridePrivateBrowsingEnabled.
- Shared/WebPageCreationParameters.cpp:
(WebKit::WebPageCreationParameters::encode):
(WebKit::WebPageCreationParameters::decode):
- Shared/WebPageCreationParameters.h:
(WebPageCreationParameters):
- UIProcess/API/C/WKPage.cpp:
(WKPageSetOverridePrivateBrowsingEnabled):
(WKPageGetOverridePrivateBrowsingEnabled):
- UIProcess/API/C/WKPagePrivate.h:
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::creationParameters):
(WebKit::WebPageProxy::setOverridePrivateBrowsingEnabled):
- UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::overridePrivateBrowsingEnabled):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::updatePreferences):
(WebKit::WebPage::setOverridePrivateBrowsingEnabled):
- WebProcess/WebPage/WebPage.h:
- WebProcess/WebPage/WebPage.messages.in:
Pipe through.
- 1:49 PM Changeset in webkit [145844] by
-
- 8 edits4 adds in trunk
[chromium] Short scrollbar has empty track rect even when buttons have no size.
https://bugs.webkit.org/show_bug.cgi?id=102580
Patch by Robert Flack <flackr@chromium.org> on 2013-03-14
Reviewed by James Robinson.
When computing the scrollbar track rect, don't assume the button's height is the track width.
Source/WebCore:
Test: platform/chromium/scrollbars/short-scrollbar.html
Note however that this doesn't expose the bug on any tested platforms and mock scrollbars
don't use ScrollbarThemeChromium.cpp. Manually running this test on linux chromiumos will
show the now present scrollbar track and thumb.
- platform/chromium/ScrollbarThemeChromium.cpp:
(WebCore::ScrollbarThemeChromium::trackRect):
LayoutTests:
- platform/chromium-linux/fast/forms/basic-textareas-expected.png:
- platform/chromium-linux/fast/forms/basic-textareas-quirks-expected.png:
- platform/chromium-linux/fast/overflow/overflow-x-y-expected.png:
- platform/chromium-linux/fast/parser/open-comment-in-textarea-expected.png:
- platform/chromium-linux/fast/replaced/width100percent-textarea-expected.png:
- platform/chromium-linux/platform/chromium/scrollbars/short-scrollbar-expected.png: Added.
- platform/chromium/scrollbars/short-scrollbar-expected.txt: Added.
- platform/chromium/scrollbars/short-scrollbar.html: Added.
- 1:29 PM Changeset in webkit [145843] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Show syntax highlight for application/javascript in Resource Preview tab
https://bugs.webkit.org/show_bug.cgi?id=112355
Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-14
Reviewed by Pavel Feldman.
No new tests.
Return canonical mimeType in requestContent method of
NetworkRequest.js
- inspector/front-end/NetworkRequest.js:
(WebInspector.NetworkRequest.prototype.requestContent):
- 1:14 PM Changeset in webkit [145842] by
-
- 3 edits in trunk/Source/JavaScriptCore
Objective-C API: Nested dictionaries are not converted properly in the Objective-C binding
https://bugs.webkit.org/show_bug.cgi?id=112377
Reviewed by Oliver Hunt.
Accidental reassignment of the root task in the container conversion logic was causing the last
array or dictionary processed to be returned in the case of nested containers.
- API/JSValue.mm:
(containerValueToObject):
- API/tests/testapi.mm:
- 1:08 PM Changeset in webkit [145841] by
-
- 12 edits in trunk
[EFL] Use CROSS_PLATFORM_CONTEXT_MENU
https://bugs.webkit.org/show_bug.cgi?id=111877
Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2013-03-14
Reviewed by Caio Marcelo de Oliveira Filho.
.:
- Source/cmake/OptionsEfl.cmake: add -DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=1
Source/WebCore:
Now EFL uses the CROSS_PLATFORM_CONTEXT_MENUS
USE flag. This flag provides a full cross-platform
representation of a ContextMenu and a ContextMenuItem.
The embedder can then decide how to show this and neither
WebCore nor WebCore/platform need to know any platform
specific code about the menus, even though they could.
No new tests needed, no behavior changes.
- platform/ContextMenu.h:
(ContextMenu):
- platform/ContextMenuItem.h:
(WebCore):
- platform/PlatformMenuDescription.h:
(WebCore):
- platform/efl/ContextMenuEfl.cpp:
(WebCore::ContextMenu::ContextMenu):
(WebCore::ContextMenu::getContextMenuItems):
(WebCore::ContextMenu::createPlatformContextMenuFromItems):
(WebCore::ContextMenu::platformContextMenu):
- platform/efl/ContextMenuItemEfl.cpp:
(WebCore::ContextMenuItem::platformContextMenuItem):
Source/WebKit/efl:
Adjust ContextMenuClient to use the CROSS_PLATFORM_CONTEXT_MENUS USE flag
by implementing customizeMenu() instead of getCustomMenuFromDefaultItems()
and by calling coreMenu->items() instead of coreMenu->platformDescription().
- WebCoreSupport/ContextMenuClientEfl.cpp:
(WebCore::ContextMenuClientEfl::customizeMenu):
- WebCoreSupport/ContextMenuClientEfl.h:
(ContextMenuClientEfl):
- ewk/ewk_contextmenu.cpp:
(ewk_context_menu_new):
- 1:04 PM Changeset in webkit [145840] by
-
- 4 edits in trunk/Source/WebCore
[CSS Grid Layout] resolveContentBasedTrackSizingFunctions should iterate over the grid items not the grid tracks
https://bugs.webkit.org/show_bug.cgi?id=112299
Reviewed by Tony Chang.
Our initial implementation would iterate over the grid tracks. This was equivalent as no items were spanning but
once grid items spans, they start to contribute to several grid tracks differently. This change aligns our code
with what the specification does.
One upside of doing a grid items' iteration is that the complexity should be better in all cases as we don't do
a full grid walking (which is potentially quadratic), only some extra grid tracks' iteration (which are linear).
Refactoring, there should be no change in behavior.
- rendering/RenderGrid.cpp:
(WebCore::RenderGrid::computedUsedBreadthOfGridTracks):
Moved the |availableLogicalSpace| update into resolveContentBasedTrackSizingFunctions. This simplifies and consolidate our handling.
(WebCore::RenderGrid::resolveContentBasedTrackSizingFunctions):
Updated the core loop to iterator over grid items and not grid tracks. This idea is that now resolveContentBasedTrackSizingFunctionsForItems
uses a filtering function to only process the appropriate grid tracks.
(WebCore::RenderGrid::resolveContentBasedTrackSizingFunctionsForItems):
Updated to filter the grid tracks here (this matches the |TracksForGrowth| spec logic that is merely a filtering function).
- rendering/RenderGrid.h:
Added a new typedef and updated resolveContentBasedTrackSizingFunctionsForItems to use it.
- rendering/style/GridTrackSize.h:
(WebCore::GridTrackSize::hasMinOrMaxContentMinTrackBreadth):
(WebCore::GridTrackSize::hasMaxContentMinTrackBreadth):
(WebCore::GridTrackSize::hasMinOrMaxContentMaxTrackBreadth):
(WebCore::GridTrackSize::hasMaxContentMaxTrackBreadth):
Added the following filtering function, which matches the values from |TracksForGrowth| in the specification.
- 12:55 PM Changeset in webkit [145839] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0
Unreviewed. Pre-release version bump.
- Source/autotools/Versions.m4: Bump version to 1.11.92 for people
already using the webkit-2.0 branch.
- 12:42 PM Changeset in webkit [145838] by
-
- 24 edits9 adds in trunk
JSObject fast by-string access optimizations should work even on the prototype chain, and even when the result is undefined
https://bugs.webkit.org/show_bug.cgi?id=112233
Source/JavaScriptCore:
Reviewed by Oliver Hunt.
Extended the existing fast access path for String keys to work over the entire prototype chain,
not just the self access case. This will fail as soon as it sees an object that intercepts
getOwnPropertySlot, so this patch also ensures that ObjectPrototype does not fall into that
category. This is accomplished by making ObjectPrototype eagerly reify all of its properties.
This is safe for ObjectPrototype because it's so common and we expect all of its properties to
be reified for any interesting programs anyway. A new idiom for adding native functions to
prototypes is introduced, which ought to work well for any other prototypes that we wish to do
this conversion for.
This is a >60% speed-up in the case that you frequently do by-string lookups that "miss", i.e.
they don't turn up anything.
- CMakeLists.txt:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
- dfg/DFGOperations.cpp:
- interpreter/CallFrame.h:
(JSC::ExecState::objectConstructorTable):
- jit/JITStubs.cpp:
(JSC::getByVal):
- llint/LLIntSlowPaths.cpp:
(JSC::LLInt::getByVal):
- runtime/CommonIdentifiers.h:
- runtime/JSCell.cpp:
(JSC::JSCell::getByStringSlow):
(JSC):
- runtime/JSCell.h:
(JSCell):
- runtime/JSCellInlines.h:
(JSC):
(JSC::JSCell::getByStringAndKey):
(JSC::JSCell::getByString):
- runtime/JSGlobalData.cpp:
(JSC):
(JSC::JSGlobalData::JSGlobalData):
(JSC::JSGlobalData::~JSGlobalData):
- runtime/JSGlobalData.h:
(JSGlobalData):
- runtime/JSObject.cpp:
(JSC::JSObject::putDirectNativeFunction):
(JSC):
- runtime/JSObject.h:
(JSObject):
(JSC):
- runtime/Lookup.cpp:
(JSC::setUpStaticFunctionSlot):
- runtime/ObjectPrototype.cpp:
(JSC):
(JSC::ObjectPrototype::finishCreation):
(JSC::ObjectPrototype::create):
- runtime/ObjectPrototype.h:
(ObjectPrototype):
- runtime/PropertyMapHashTable.h:
(JSC::PropertyTable::findWithString):
- runtime/Structure.h:
(Structure):
- runtime/StructureInlines.h:
(JSC::Structure::get):
(JSC):
LayoutTests:
Reviewed by Oliver Hunt.
- fast/js/regress/script-tests/string-lookup-hit-identifier.js: Added.
(result):
- fast/js/regress/script-tests/string-lookup-hit.js: Added.
(result):
- fast/js/regress/script-tests/string-lookup-miss.js: Added.
(result):
- fast/js/regress/string-lookup-hit-expected.txt: Added.
- fast/js/regress/string-lookup-hit-identifier-expected.txt: Added.
- fast/js/regress/string-lookup-hit-identifier.html: Added.
- fast/js/regress/string-lookup-hit.html: Added.
- fast/js/regress/string-lookup-miss-expected.txt: Added.
- fast/js/regress/string-lookup-miss.html: Added.
- 12:35 PM Changeset in webkit [145837] by
-
- 1 edit1 add in releases/WebKitGTK/webkit-2.0/Source/WebKit2
Unreviewed build fix. Add missing file.
- UIProcess/API/gtk/WebKitForwardDeclarations.h: Added.
- 12:18 PM Changeset in webkit [145836] by
-
- 12 edits1 delete in releases/WebKitGTK/webkit-2.0/Source/WebKit2
Split WebKitDefines.h in two files.
Reviewed by Gustavo Noronha Silva.
The WebKitDefines.h header has been split moving the forward
declarations specific to the UI process API to a new file
WebKitForwardDeclarations.h. This way we can share the
WebKitDefines.h header and remove the WebKitWebExtensionDefines.h
header used in the web extensions API.
- GNUmakefile.list.am:
- UIProcess/API/gtk/WebKitContextMenu.h:
- UIProcess/API/gtk/WebKitContextMenuItem.h:
- UIProcess/API/gtk/WebKitDefines.h:
- UIProcess/API/gtk/WebKitDownload.h:
- UIProcess/API/gtk/WebKitFindController.h:
- UIProcess/API/gtk/WebKitPrintOperation.h:
- UIProcess/API/gtk/WebKitURISchemeRequest.h:
- UIProcess/API/gtk/WebKitWebView.h:
- WebProcess/InjectedBundle/API/gtk/WebKitWebExtension.h:
- WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionDefines.h: Removed.
- WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h:
- 12:13 PM Changeset in webkit [145835] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled Chromium DEPS to r188004. Requested by
"Dana Jansens" <danakj@chromium.org> via sheriffbot.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-14
- DEPS:
- 12:06 PM Changeset in webkit [145834] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] Gradient: don't use the default setPlatformGradientSpaceTransform()
https://bugs.webkit.org/show_bug.cgi?id=112246
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-14
Reviewed by Xan Lopez.
BlackBerry has its own implementation.
- platform/graphics/Gradient.cpp:
(WebCore):
- 11:52 AM Changeset in webkit [145833] by
-
- 3 edits in trunk/Source/WebKit/qt
[Qt][WK1] REGRESSION(r145784): Blend tests are failing
https://bugs.webkit.org/show_bug.cgi?id=112333
Patch by Rik Cabanier <cabanier@adobe.com> on 2013-03-14
Reviewed by Ryosuke Niwa.
Added code to passed compositing prefence to WebCore.
- Api/qwebsettings.cpp:
(QWebSettingsPrivate::apply):
(QWebSettings::QWebSettings):
- Api/qwebsettings.h:
- 11:38 AM Changeset in webkit [145832] by
-
- 2 edits in trunk/LayoutTests
Unreviewed expectations updates for a couple of failing tests.
- platform/chromium/TestExpectations:
- 11:37 AM Changeset in webkit [145831] by
-
- 4 edits in trunk/Source/WebCore
[GStreamer] simulateAudioInterruption needs to be guarded by ENABLE(VIDEO)"
https://bugs.webkit.org/show_bug.cgi?id=112358
Guarded with ENABLE(VIDEO) to prevent problems when it is not
enabled.
Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2013-03-14
Reviewed by Philippe Normand.
- 11:32 AM Changeset in webkit [145830] by
-
- 15 edits in trunk/Source/WebCore
Tighten up the type bounds for SVGPropertyInfo callback parameters
https://bugs.webkit.org/show_bug.cgi?id=111786
Reviewed by Philip Rogers.
Update SVGPropertyInfo's callbacks to pass SVGElement* parameters instead of void*. This
allows us to perform some ASSERT-based type checking before downcasting in implementors.
To avoid adding virtual methods unused in release builds to the base class (and overrides
in descendants), for subtypes lacking polymorphic type markers (isXXX()) the check is
performed using hasTagName() instead.
The patch is also removing the lookupOrCreateWrapperForAnimatedProperty() SVGPropertyInfo
callback for SVGViewSpec properties, because
a) it doesn't appear to be reachable (SVGViewSpec doesn't have a backing element and
thus cannot have an associated animator)
b) it interferes with the parameter specialization described above (SVGViewSpec does not
inherit from SVGElement)
No new tests, refactoring only.
- svg/SVGElement.cpp:
(WebCore::SVGElement::synchronizeRequiredFeatures):
(WebCore::SVGElement::synchronizeRequiredExtensions):
(WebCore::SVGElement::synchronizeSystemLanguage):
- svg/SVGElement.h:
(SVGElement):
- svg/SVGMarkerElement.cpp:
(WebCore::SVGMarkerElement::synchronizeOrientType):
(WebCore::SVGMarkerElement::lookupOrCreateOrientTypeWrapper):
- svg/SVGMarkerElement.h:
(SVGMarkerElement):
(WebCore::toSVGMarkerElement):
(WebCore):
- svg/SVGPathElement.cpp:
(WebCore::SVGPathElement::lookupOrCreateDWrapper):
(WebCore::SVGPathElement::synchronizeD):
- svg/SVGPathElement.h:
(SVGPathElement):
(WebCore::toSVGPathElement):
(WebCore):
- svg/SVGPolyElement.cpp:
(WebCore::SVGPolyElement::synchronizePoints):
(WebCore::SVGPolyElement::lookupOrCreatePointsWrapper):
- svg/SVGPolyElement.h:
(SVGPolyElement):
(WebCore::toSVGPolyElement):
(WebCore):
- svg/SVGTextContentElement.cpp:
(WebCore::SVGTextContentElement::synchronizeTextLength):
(WebCore::SVGTextContentElement::lookupOrCreateTextLengthWrapper):
- svg/SVGTextContentElement.h:
(SVGTextContentElement):
(WebCore::toSVGTextContentElement):
(WebCore):
Change SVGPropertyInfo callback params to SVGElement* and replace static casts with
conversion wrappers. Implement conversion wrappers where needed.
- svg/SVGViewSpec.cpp:
(WebCore::SVGViewSpec::viewBoxPropertyInfo):
(WebCore::SVGViewSpec::preserveAspectRatioPropertyInfo):
(WebCore::SVGViewSpec::transformPropertyInfo):
(WebCore::SVGViewSpec::lookupOrCreateViewBoxWrapper):
(WebCore::SVGViewSpec::lookupOrCreatePreserveAspectRatioWrapper):
(WebCore::SVGViewSpec::lookupOrCreateTransformWrapper):
- svg/SVGViewSpec.h:
(SVGViewSpec):
Remove SVGPropertyInfo-based lookupOrCreate* callbacks and updated the methods' parameters
to SVGViewSpec*. Remove now-unneeded casts.
- svg/properties/SVGAnimatedPropertyMacros.h:
(WebCore):
- svg/properties/SVGPropertyInfo.h:
(WebCore):
(SVGPropertyInfo):
Update callback declarations.
- 11:20 AM Changeset in webkit [145829] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] Add tools/protoc_wrapper to directories pulled in Chromium-in-WebKit configuration
https://bugs.webkit.org/show_bug.cgi?id=112363
Patch by James Robinson <jamesr@chromium.org> on 2013-03-14
Reviewed by Kenneth Russell.
Chromium r187704 added a reference to this script to src/gpu/gpu.gyp, which we pull in the Chromium-in-WebKit
configuration. This adds the script to DEPS so we can roll past that rev.
- DEPS:
- 10:40 AM Changeset in webkit [145828] by
-
- 5 edits3 adds in trunk
DFG bytecode parser is too aggressive about getting rid of GetLocals on captured variables
https://bugs.webkit.org/show_bug.cgi?id=112287
<rdar://problem/13342340>
Reviewed by Oliver Hunt.
Source/JavaScriptCore:
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dumpBytecode):
(JSC::CodeBlock::finalizeUnconditionally):
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::getLocal):
LayoutTests:
- fast/js/dfg-captured-var-get-local-expected.txt: Added.
- fast/js/dfg-captured-var-get-local.html: Added.
- fast/js/jsc-test-list:
- fast/js/script-tests/dfg-captured-var-get-local.js: Added.
(foo):
- 10:38 AM Changeset in webkit [145827] by
-
- 11 edits in trunk/Source
Move platform-specific typedefs to PlatformMenuDescription.h
https://bugs.webkit.org/show_bug.cgi?id=111876
Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2013-03-14
Reviewed by Caio Marcelo de Oliveira Filho.
Source/WebCore:
Cross platform Context Menu platform-specific typedefs fit better
in PlatformMenuDescription.h and should not be part of the classes
ContextMenu and ContextMenuItem. We have also renamed them to
PlatformContextMenu and PlatformContextMenuItem instead of NativeMenu
and NativeMenuItem respectively.
No new tests needed since no behavior has changed.
- platform/ContextMenu.h:
(ContextMenu):
- platform/ContextMenuItem.h:
(ContextMenuItem):
- platform/PlatformMenuDescription.h:
(WebCore):
- platform/efl/ContextMenuEfl.cpp:
(WebCore::ContextMenu::createPlatformContextMenuFromItems):
(WebCore::ContextMenu::platformContextMenu):
- platform/efl/ContextMenuItemEfl.cpp:
(WebCore::ContextMenuItem::platformContextMenuItem):
- platform/win/ContextMenuItemWin.cpp:
(WebCore):
(WebCore::ContextMenuItem::platformContextMenuItem):
- platform/win/ContextMenuWin.cpp:
(WebCore::ContextMenu::createPlatformContextMenuFromItems):
(WebCore::ContextMenu::platformContextMenu):
Source/WebKit/win:
Rename NativeMenuItem to PlatformContextMenuItem and the getter
function call.
- WebCoreSupport/WebContextMenuClient.cpp:
(WebContextMenuClient::customizeMenu):
(WebContextMenuClient::contextMenuItemSelected):
- WebView.cpp:
(WebView::handleContextMenuEvent):
- 10:27 AM Changeset in webkit [145826] by
-
- 18 edits in trunk/Source/WebCore
Crash in DumpRenderTree at com.apple.WebCore: WebCore::CaptionUserPreferences::captionPreferencesChanged + 185
https://bugs.webkit.org/show_bug.cgi?id=112051
Reviewed by Eric Carlson.
No new tests; fixes a crash during media/video-controls-captions-trackmenu.html.
Instead of relying on a registration system which can fail when an element's document does not have a page,
Elements will register for captionPreferencesChanged() notifications directly with their owning Document.
CaptionUserPreferences, in turn, will notify all Documents in its PageGroup, rather than only directly
registered listeners.
- dom/Document.cpp:
(WebCore::Document::registerForCaptionPreferencesChangedCallbacks): Added. Notify the CaptionUserPreferences that someone
is interested in captionPreferencesChanged notfications.
(WebCore::Document::unregisterForCaptionPreferencesChangedCallbacks): Added.
(WebCore::Document::captionPreferencesChanged): Added. Pass to all registered elements.
- dom/Document.h:
- dom/Element.h:
(WebCore::Element::captionPreferencesChanged): Added. Empty; intended
to be overridden by subclasses.
- history/CachedPage.cpp:
(WebCore::CachedPage::CachedPage): Initialize m_needsCaptionPreferenceChanged member.
(WebCore::CachedPage::restore): Call captionPreferencesChanged() if necessary.
- history/CachedPage.h:
(WebCore::CachedPage::markForCaptionPreferencesChanged): Set the m_needsCaptionPreferenceChanged member.
- history/PageCache.cpp:
(WebCore::PageCache::markPagesForCaptionPreferencesChanged): Pass to every CachedPage.
- history/PageCache.h:
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::HTMLMediaElement): Register with the Document.
(WebCore::HTMLMediaElement::~HTMLMediaElement): Unregister with same.
(WebCore::HTMLMediaElement::attach): Remove previous registration call.
- html/HTMLMediaElement.h:
- page/CaptionUserPreferences.cpp:
(WebCore::CaptionUserPreferences::captionPreferencesChanged): Pass to the
PageGroup.
- page/CaptionUserPreferences.h:
(WebCore::CaptionUserPreferences::setInterestedInCaptionPreferenceChanges):
Empty; intended to be overridden by subclasses.
- page/CaptionUserPreferencesMac.h:
- page/CaptionUserPreferencesMac.mm:
(WebCore::CaptionUserPreferencesMac::setInterestedInCaptionPreferenceChanges):
Renamed from registerForPreferencesChangedCallbacks().
(WebCore::CaptionUserPreferencesMac::captionPreferencesChanged):
Replace call to havePreferenceChangeListeners() with m_listeningForPreferenceChanges.
- page/Page.cpp:
(WebCore::Page::captionPreferencesChanged):
Pass to every contained Document.
- page/Page.h:
- page/CaptionUserPreferences.cpp:
(WebCore::CaptionUserPreferences::captionPreferencesChanged): Pass to the PageGroup.
- page/CaptionUserPreferences.h:
- page/PageGroup.cpp:
(WebCore::PageGroup::captionPreferencesChanged): Pass to every page, as well as pages in the PageCache.
- page/PageGroup.h:
- 10:11 AM Changeset in webkit [145825] by
-
- 1 edit in branches/chromium/1410/LayoutTests/platform/chromium/TestExpectations
Merge 144700 "Unreviewed gardening."
Just merged https://codereview.chromium.org/12817006/ into the 26 milestone. I am also
merging this in order to suppress two test failures on chromium-mac. These tests are
no cause for concern (since chromium-mac does not use the scrolling code I have
changed) and these will be given new baselines in a future milestone. See
https://code.google.com/p/chromium/issues/detail?id=174255
Unreviewed gardening.
- platform/chromium/TestExpectations: touch-gesture-noscroll-body-* are failing on mac.
TBR=tdanderson@chromium.org
Review URL: https://codereview.chromium.org/12870005
- 10:08 AM Changeset in webkit [145824] by
-
- 2 edits in trunk/Source/WebCore
IndexedDB: Histogram leveldb open errors.
https://bugs.webkit.org/show_bug.cgi?id=112307
Reviewed by Tony Chang.
No new tests, I don't know if there's a good way to test histograms.
- platform/leveldb/LevelDBDatabase.cpp:
(WebCore::LevelDBDatabase::open):
- 10:06 AM Changeset in webkit [145823] by
-
- 2 edits in trunk/LayoutTests
Unreviewed flakiness fix following r145727: filter out coalescing records while dumping timeline record structure.
- inspector/timeline/timeline-receive-response-event.html:
- 10:01 AM Changeset in webkit [145822] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION(r145305) Performance: 1.3% mac-release-10.6-webkit-latest/intl2/times/t change after rev 145300
https://bugs.webkit.org/show_bug.cgi?id=112125
Reviewed by Julien Chaffraix.
When detecting cases where a loaded image may need to move up into the padding created by the row's baseline
we don't need to do anything if the row doesn't have a baseline yet.
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::layout):
- 9:55 AM Changeset in webkit [145821] by
-
- 12 edits12 copies in branches/chromium/1410
Merge 144519 "EventHandler::handleGestureScrollUpdate() should i..."
EventHandler::handleGestureScrollUpdate() should invoke the user-generated scroll routines
so its behavior matches other user-initiated scrolls
https://bugs.webkit.org/show_bug.cgi?id=109769
Reviewed by James Robinson.
Source/WebCore:
To ensure that the scrolling behavior of GestureScrollUpdate events are consistent with
the scrolling behavior of mousewheel events, use the existing user-generated scroll logic
instead of calling into RenderLayer::scrollByRecursively(). This patch fixes the bug
reported in https://bugs.webkit.org/show_bug.cgi?id=109316, where the example page can
be scrolled using touch but cannot be scrolled using mousewheels.
Note that this patch does not use any of the mousewheel event-handling code.
Tests: fast/events/touch/gesture/touch-gesture-noscroll-body-propagated.html
fast/events/touch/gesture/touch-gesture-noscroll-body-xhidden.html
fast/events/touch/gesture/touch-gesture-noscroll-body-yhidden.html
fast/events/touch/gesture/touch-gesture-noscroll-body.html
- page/EventHandler.cpp:
(WebCore::EventHandler::clear):
(WebCore::EventHandler::handleGestureEvent):
(WebCore::EventHandler::handleGestureScrollBegin):
(WebCore::EventHandler::handleGestureScrollUpdate):
(WebCore::EventHandler::sendScrollEventToView):
By calling this function at the start of handleGestureScrollUpdate() in the case
where |m_scrollGestureHandlingNode| is null, we ensure that the scroll updates
can still scroll the page itself, if possible.
(WebCore):
(WebCore::EventHandler::clearGestureScrollNodes):
- page/EventHandler.h:
(EventHandler):
- platform/PlatformWheelEvent.h:
(WebCore::PlatformWheelEvent::setHasPreciseScrollingDeltas):
Source/WebKit/chromium:
Clear the nodes corresponding to a fling scroll event when the event ends.
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::updateAnimations):
LayoutTests:
Four new layout tests have been added and touch-gesture-scroll-page.html has been
modified to demonstrate that this patch fixes two existing bugs. See the inline
comments below for details.
Because I am now using the existing user-generated scroll logic, the delta for a single
GestureScrollUpdate event will not be propagated to the parent of the targeted node
unless the targeted node has no remaining scrollable area. So the changes to the
existing layout tests have been made to ensure that the targeted node has been fully
scrolled before subsequent GestureScrollUpdate events will scroll the parent(s) of
the targeted node.
I have also removed the function recordScroll() from the existing layout tests
because this function already exists in the included file resources/gesture-helpers.js.
- fast/events/touch/gesture/touch-gesture-noscroll-body-expected.txt: Added.
- fast/events/touch/gesture/touch-gesture-noscroll-body-propagated-expected.txt: Added.
- fast/events/touch/gesture/touch-gesture-noscroll-body-propagated.html: Copied from LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page.html.
- fast/events/touch/gesture/touch-gesture-noscroll-body-xhidden-expected.txt: Added.
- fast/events/touch/gesture/touch-gesture-noscroll-body-xhidden.html: Copied from LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page.html.
- fast/events/touch/gesture/touch-gesture-noscroll-body-yhidden-expected.txt: Added.
- fast/events/touch/gesture/touch-gesture-noscroll-body-yhidden.html: Copied from LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page.html.
- fast/events/touch/gesture/touch-gesture-noscroll-body.html: Copied from LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page.html.
- fast/events/touch/gesture/touch-gesture-scroll-div-not-propagated.html:
- fast/events/touch/gesture/touch-gesture-scroll-div-propagated.html:
- fast/events/touch/gesture/touch-gesture-scroll-div-twice-propagated.html:
- fast/events/touch/gesture/touch-gesture-scroll-iframe-not-propagated.html:
- fast/events/touch/gesture/touch-gesture-scroll-iframe-propagated.html:
- fast/events/touch/gesture/touch-gesture-scroll-page-not-propagated.html:
- fast/events/touch/gesture/touch-gesture-scroll-page-propagated.html:
- fast/events/touch/gesture/touch-gesture-scroll-page.html:
I modified this layout test in order to add test coverage for another bug
which is fixed by this patch: if the hit test performed on a GestureScrollBegin
does not target a specific node, the subsequent GestureScrollUpdate events should
still attempt to scroll the page itself. This is consistent with how mousewheel
events behave.
- platform/chromium/fast/events/touch/gesture/touch-gesture-noscroll-body-expected.txt: Added.
- platform/chromium/fast/events/touch/gesture/touch-gesture-noscroll-body-propagated-expected.txt: Added.
- platform/chromium/fast/events/touch/gesture/touch-gesture-noscroll-body-xhidden-expected.txt: Added.
- platform/chromium/fast/events/touch/gesture/touch-gesture-noscroll-body-yhidden-expected.txt: Added.
These four new layout tests verify that a non-scrollable body will not scroll,
as reported in https://bugs.webkit.org/show_bug.cgi?id=109316.
TBR=tdanderson@chromium.org
Review URL: https://codereview.chromium.org/12817006
- 9:28 AM Changeset in webkit [145820] by
-
- 12 edits in trunk/Source/WebCore
Add a mode to ResourceLoader that takes SharedBuffers instead of raw pointers and lengths.
<rdar://problem/13416953> and https://bugs.webkit.org/show_bug.cgi?id=112310
Reviewed by Andy Estes.
No new tests (No independently testable change in behavior).
Many of the tested platforms deliver data buffers to their ResourceHandles from objects
that encapsulate a data buffer such as NSData (Mac), CFDataRef (CF), or QByteArray (qt).
If those platforms also augmented SharedBuffer to wrap their native object (which Mac/CF do)
and there existed ResourceLoader callbacks to take that SharedBuffer instead of char* + length,
then many resource loads could avoid a useless copy.
At least on Mac, there are some extremely important behind-the-scenes optimizations for NS/CFData
that will be a more important win than simply avoiding a copy.
This patch adds that SharedBuffer-based callback with the hope that all platforms could find a
way to use a buffer-encapsulating object going forward, and we could therefore deprecate the
char* + length version of didReceiveData.
- platform/network/ResourceHandleClient.h:
(WebCore::ResourceHandleClient::didReceiveBuffer): Add a didReceiveBuffer callback that takes
a SharedBuffer object. The default implementation passes raw bytes + length to didReceiveData.
- loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::addDataOrBuffer): Replacing addData(), optionally adding the data from
either a data+length or SharedBuffer
(WebCore::ResourceLoader::didReceiveData): Pipe to didReceiveDataOrBuffer.
(WebCore::ResourceLoader::didReceiveBuffer): Pipe to didReceiveDataOrBuffer.
(WebCore::ResourceLoader::didReceiveDataOrBuffer): Single chokepoint for receiving data.
- loader/ResourceLoader.h: Add OVERRIDE to all of the ResourceHandleClient methods to help catch future mistakes. Remove "virtual" from methods that didn't need it. Make "addData" into "addDataOrBuffer" and make it private.
- loader/NetscapePlugInStreamLoader.cpp:
(WebCore::NetscapePlugInStreamLoader::didReceiveData): Pipe to didReceiveDataOrBuffer.
(WebCore::NetscapePlugInStreamLoader::didReceiveBuffer): Pipe to didReceiveDataOrBuffer.
(WebCore::NetscapePlugInStreamLoader::didReceiveDataOrBuffer): Single chokepoint for receiving data.
- loader/NetscapePlugInStreamLoader.h:
- loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::didReceiveData): Pipe to didReceiveDataOrBuffer.
(WebCore::SubresourceLoader::didReceiveBuffer): Pipe to didReceiveDataOrBuffer.
(WebCore::SubresourceLoader::didReceiveDataOrBuffer): Single chokepoint for receiving data. Also,
rely on ResourceLoader's base implementation for notifying the ResourceLoadNotifier.
- loader/SubresourceLoader.h:
- loader/ResourceBuffer.cpp:
(WebCore::ResourceBuffer::append): Add a mode that appends a SharedBuffer.
- loader/ResourceBuffer.h:
- platform/cf/SharedBufferCF.cpp:
(WebCore::SharedBuffer::maybeTransferPlatformData): Fix a bug where appending data to a CFData-backed
SharedBuffer would re-enter maybeTransferPlatformData and blow out the stack.
- platform/network/mac/ResourceHandleMac.mm:
(-[WebCoreResourceHandleAsDelegate connection:didReceiveData:lengthReceived:]): Send a wrapped NSData
to didReceiveBuffer() instead of sending its char* and length to didReceiveData()
- 9:14 AM Changeset in webkit [145819] by
-
- 7 edits in trunk/Source/WebCore
Web Inspector: nuke bottom up CPU profile calculation on backend
https://bugs.webkit.org/show_bug.cgi?id=112351
Reviewed by Pavel Feldman.
Removed code that builds bottom-up CPU profile on the inspector
backend. Bottom-up view is already built on the front-end from
the top-down profile data.
- bindings/js/ScriptProfile.cpp:
- bindings/js/ScriptProfile.h:
(ScriptProfile):
- bindings/v8/ScriptProfile.cpp:
(WebCore::ScriptProfile::buildInspectorObjectForHead):
- bindings/v8/ScriptProfile.h:
(ScriptProfile):
- inspector/Inspector.json:
- inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::getCPUProfile):
- 9:08 AM Changeset in webkit [145818] by
-
- 88 edits in trunk/Source
Replace static_casts with to* helper functions.
https://bugs.webkit.org/show_bug.cgi?id=112296
Reviewed by Kentaro Hara.
to* helper functions are preferred over static_cast calls since they
help to catch bad casts easily on the testing infrastructure.
Source/WebCore:
- accessibility/AXObjectCache.cpp:
(WebCore::nodeHasRole):
- accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::hasAttribute):
(WebCore::AccessibilityObject::getAttribute):
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::anchorElement):
(WebCore::AccessibilityRenderObject::helpText):
(WebCore::AccessibilityRenderObject::checkboxOrRadioRect):
(WebCore::AccessibilityRenderObject::titleUIElement):
(WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
(WebCore::AccessibilityRenderObject::accessKey):
(WebCore::AccessibilityRenderObject::setElementAttributeValue):
(WebCore::AccessibilityRenderObject::setValue):
(WebCore::AccessibilityRenderObject::activeDescendant):
(WebCore::AccessibilityRenderObject::handleActiveDescendantChanged):
(WebCore::AccessibilityRenderObject::correspondingLabelForControlElement):
(WebCore::AccessibilityRenderObject::inheritsPresentationalRole):
(WebCore::AccessibilityRenderObject::setAccessibleName):
(WebCore::AccessibilityRenderObject::stringRoleForMSAA):
- bindings/gobject/WebKitDOMBinding.cpp:
(WebKit::createWrapper):
- bindings/js/JSClipboardCustom.cpp:
(WebCore::JSClipboard::setDragImage):
- bindings/js/JSElementCustom.cpp:
(WebCore::toJSNewlyCreated):
- bindings/js/JSNodeCustom.cpp:
(WebCore::createWrapperInline):
- bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::setDragImageMethodCustom):
- bindings/v8/custom/V8ElementCustom.cpp:
(WebCore::wrap):
- bindings/v8/custom/V8NodeCustom.cpp:
(WebCore::wrap):
- dom/Document.cpp:
(WebCore::Document::importNode):
(WebCore::Document::recalcStyle):
(WebCore::Document::setFocusedNode):
(WebCore::Document::updateFocusAppearanceTimerFired):
- dom/DocumentStyleSheetCollection.cpp:
(WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets):
- dom/Element.cpp:
(WebCore::Element::offsetParent):
(WebCore::Element::boundsInRootViewSpace):
(WebCore::Element::getBoundingClientRect):
(WebCore::Element::recalcStyle):
(WebCore::Element::computeInheritedLanguage):
(WebCore::Element::lastElementChild):
- dom/LiveNodeList.cpp:
(WebCore::LiveNodeList::namedItem):
- dom/Node.cpp:
(WebCore::Node::dumpStatistics):
(WebCore::Node::normalize):
(WebCore::Node::rootEditableElement):
(WebCore::Node::isDefaultNamespace):
(WebCore::Node::ancestorElement):
(WebCore::appendAttributeDesc):
- dom/Position.cpp:
(WebCore::Position::element):
- dom/Range.cpp:
(WebCore::Range::getBorderAndTextQuads):
- dom/SelectorQuery.cpp:
(WebCore::SelectorDataList::queryFirst):
(WebCore::SelectorDataList::execute):
- dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::recalcStyle):
- dom/StaticHashSetNodeList.cpp:
(WebCore::StaticHashSetNodeList::namedItem):
- editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi):
(WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode):
(WebCore::ApplyStyleCommand::mergeStartWithPreviousIfIdentical):
(WebCore::ApplyStyleCommand::surroundNodeRangeWithElement):
- editing/Editor.cpp:
(WebCore::Editor::applyEditingStyleToBodyElement):
- editing/FrameSelection.cpp:
(WebCore::removingNodeRemovesPosition):
- editing/IndentOutdentCommand.cpp:
(WebCore::IndentOutdentCommand::outdentParagraph):
- editing/MarkupAccumulator.cpp:
(WebCore::MarkupAccumulator::entityMaskForText):
(WebCore::MarkupAccumulator::appendStartMarkup):
(WebCore::MarkupAccumulator::appendEndMarkup):
- editing/ModifySelectionListLevel.cpp:
(WebCore::IncreaseSelectionListLevelCommand::doApply):
- editing/ReplaceSelectionCommand.cpp:
(WebCore::haveSameTagName):
(WebCore::handleStyleSpansBeforeInsertion):
(WebCore::ReplaceSelectionCommand::doApply):
- editing/SplitTextNodeContainingElementCommand.cpp:
(WebCore::SplitTextNodeContainingElementCommand::doApply):
- editing/TextIterator.cpp:
(WebCore::TextIterator::advance):
- editing/htmlediting.cpp:
(WebCore::unsplittableElementForPosition):
(WebCore::enclosingTableCell):
- editing/markup.cpp:
(WebCore::StyledMarkupAccumulator::wrapWithNode):
(WebCore::createMarkupInternal):
(WebCore::createFragmentFromMarkupWithContext):
(WebCore::isPlainTextMarkup):
(WebCore::createFragmentFromText):
- html/HTMLElement.cpp:
(WebCore::HTMLElement::insertAdjacentElement):
(WebCore::contextElementForInsertion):
- html/HTMLFormControlElement.cpp:
(WebCore::focusPostAttach):
(WebCore::updateFromElementCallback):
- html/HTMLFormElement.cpp:
(WebCore::submitElementFromEvent):
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::updateDocNamedItem):
- html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::updateSnapshotInfo):
- html/HTMLViewSourceDocument.cpp:
(WebCore::HTMLViewSourceDocument::addRange):
- html/parser/HTMLTreeBuilder.cpp:
(WebCore::closestFormAncestor):
- html/shadow/MediaControlElementTypes.cpp:
(WebCore::toParentMediaElement):
- html/shadow/TextFieldDecorationElement.h:
(WebCore::toTextFieldDecorationElement):
- inspector/DOMPatchSupport.cpp:
(WebCore::DOMPatchSupport::createDigest):
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::buildObjectForNode):
(WebCore::InspectorDOMAgent::didInvalidateStyleAttr):
- inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyleSheet::inlineStyleSheetText):
- mathml/MathMLElement.h:
(WebCore::toMathMLElement):
- page/ContextMenuController.cpp:
(WebCore::ContextMenuController::populate):
- page/DragController.cpp:
(WebCore::elementUnderMouse):
(WebCore::DragController::startDrag):
- page/FocusController.cpp:
(WebCore::FocusController::advanceFocusInDocumentOrder):
- page/Frame.cpp:
(WebCore::Frame::searchForLabelsBeforeElement):
- page/FrameView.cpp:
(WebCore::FrameView::updateWidget):
- page/SpatialNavigation.cpp:
(WebCore::rectToAbsoluteCoordinates):
- page/animation/ImplicitAnimation.cpp:
(WebCore::ImplicitAnimation::sendTransitionEvent):
- page/animation/KeyframeAnimation.cpp:
(WebCore::KeyframeAnimation::KeyframeAnimation):
(WebCore::KeyframeAnimation::sendAnimationEvent):
- platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::paintMediaFullscreenButton):
(WebCore::RenderThemeEfl::paintMediaMuteButton):
- rendering/FilterEffectRenderer.cpp:
(WebCore::FilterEffectRenderer::buildReferenceFilter):
- rendering/svg/RenderSVGViewportContainer.cpp:
(WebCore::RenderSVGViewportContainer::calcViewport):
- svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::getElementById):
- svg/SVGUseElement.cpp:
(WebCore::isDisallowedElement):
- svg/animation/SVGSMILElement.cpp:
(WebCore::SVGSMILElement::buildPendingResource):
- xml/XPathStep.cpp:
(WebCore::XPath::nodeMatchesBasicTest):
- xml/parser/XMLDocumentParserQt.cpp:
(WebCore::XMLDocumentParser::XMLDocumentParser):
(WebCore::XMLDocumentParser::parseEndElement):
Source/WebKit/blackberry:
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::webContext):
(BlackBerry::WebKit::WebPagePrivate::handleMouseEvent):
(BlackBerry::WebKit::WebPage::setNodeFocus):
(BlackBerry::WebKit::WebPagePrivate::adjustFullScreenElementDimensionsIfNeeded):
- WebCoreSupport/EditorClientBlackBerry.cpp:
(WebCore::EditorClientBlackBerry::shouldSpellCheckFocusedField):
(WebCore::EditorClientBlackBerry::shouldChangeSelectedRange):
- WebKitSupport/BackingStoreClient.cpp:
(BlackBerry::WebKit::BackingStoreClient::absoluteRect):
- WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::toTextControlElement):
(BlackBerry::WebKit::DOMSupport::selectionContainerElement):
- WebKitSupport/FatFingers.cpp:
(BlackBerry::WebKit::FatFingers::getRelevantInfoFromCachedHitTest):
(BlackBerry::WebKit::FatFingers::setSuccessfulFatFingersResult):
- WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::InputHandler::focusedNodeChanged):
(BlackBerry::WebKit::InputHandler::willOpenPopupForNode):
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::inputNodeOverridesTouch):
- WebKitSupport/TouchEventHandler.cpp:
(BlackBerry::WebKit::elementForTapHighlight):
Source/WebKit/chromium:
- src/WebDocument.cpp:
(WebKit::WebDocument::images):
- src/WebElement.cpp:
(WebKit::WebElement::operator PassRefPtr<Element>):
- src/WebPageSerializer.cpp:
(WebCore::retrieveResourcesForFrame):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setFocus):
(WebKit::WebViewImpl::clearFocusedNode):
(WebKit::WebViewImpl::scrollFocusedNodeIntoView):
(WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
Source/WebKit/gtk:
- webkit/webkitwebview.cpp:
(webkit_web_view_query_tooltip):
Source/WebKit/mac:
- WebCoreSupport/WebFrameLoaderClient.mm:
(applyAppleDictionaryApplicationQuirkNonInlinePart):
- WebView/WebHTMLRepresentation.mm:
(searchForLabelsBeforeElement):
Source/WebKit/qt:
- Api/qwebelement.cpp:
(QWebElement::firstChild):
(QWebElement::lastChild):
(QWebElement::nextSibling):
(QWebElement::previousSibling):
(QWebElementCollection::at):
(QWebElementCollection::toList):
- WebCoreSupport/QWebFrameAdapter.cpp:
(QWebHitTestResultPrivate::elementForInnerNode):
Source/WebKit/win:
- WebView.cpp:
(WebView::enterFullscreenForNode):
Source/WebKit2:
- WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
(WebKit::InjectedBundleNodeHandle::elementBounds):
- WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::containsAnyFormElements):
- 9:02 AM Changeset in webkit [145817] by
-
- 2 edits in trunk/LayoutTests
Not reviewed: chromium expectations updated.
- platform/chromium/TestExpectations:
- 8:50 AM Changeset in webkit [145816] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: keep deprecated function stubs in InspectorFrontendHost.
https://bugs.webkit.org/show_bug.cgi?id=112347
Reviewed by Vsevolod Vlasov.
In order to open older front-ends in newer hosts, we need to keep stubs
for deprecated functions. Longer term, we need to wrap all calls to InspectorFrontendHost in the front-end.
- inspector/InspectorFrontendHost.cpp:
(WebCore::InspectorFrontendHost::canInspectWorkers):
(WebCore):
(WebCore::InspectorFrontendHost::hiddenPanels):
- inspector/InspectorFrontendHost.h:
(InspectorFrontendHost):
- inspector/InspectorFrontendHost.idl:
- 8:31 AM Changeset in webkit [145815] by
-
- 3 edits in trunk/Source/WebCore
Fixed styles pane visibility when docked to right.
https://bugs.webkit.org/show_bug.cgi?id=112348
Patch by Vladislav Kaznacheev <kaznacheev@chromium.org> on 2013-03-14
Reviewed by Pavel Feldman.
- inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel.prototype._splitVertically):
- inspector/front-end/SidebarPane.js:
(WebInspector.SidebarPane.prototype.setExpandCallback):
(WebInspector.SidebarPaneTitle):
(WebInspector.SidebarTabbedPane.prototype.addPane):
- 8:25 AM Changeset in webkit [145814] by
-
- 3 edits in trunk/Source/WebCore
[BlackBerry] GraphicsContext3D: implement ImageExtractor::extractImage()
https://bugs.webkit.org/show_bug.cgi?id=112242
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-14
Reviewed by Rob Buis.
In r136282 GraphicsContext3D::getImageData() was refactored in a
new class called ImageExtractor.
This patch implements the necessary changes for the BlackBerry
port, which is still using the old API.
- platform/graphics/GraphicsContext3D.h:
(ImageExtractor):
- platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::~ImageExtractor):
(WebCore):
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):
- 8:18 AM Changeset in webkit [145813] by
-
- 2 edits in trunk/Tools
[Qt] Disable DRT on Windows
Reviewed by Jocelyn Turcotte.
We don't run and maintain DRT on Windows, so let's not try to maintain the build of it.
- qmake/mkspecs/features/configure.prf:
- 8:15 AM Changeset in webkit [145812] by
-
- 14 edits6 adds in trunk
[EFL][WK2] Add an API for adding and removing user style sheets from a page group
https://bugs.webkit.org/show_bug.cgi?id=110728
Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2013-03-14
Reviewed by Gyuyoung Kim.
Source/WebKit2:
This patch implements EwkPageGroup API to provide the interface of WKPageGroup. Using the EwkPageGroup,
applications may create the views with a page group for the specific identifier. Also, this patch
encapsulates the APIs WKPageGroupAddUserStyleSheet and WKPageGroupRemoveAllUserStyleSheets behind
the EwkPageGroup class for adding and removing user style sheets from a page group. WKArrayCreateWithEinaList()
is added as a generic WKArray creation API from Eina_List.
- PlatformEfl.cmake:
- UIProcess/API/C/efl/WKView.cpp:
(createWKView):
- UIProcess/API/efl/EWebKit2.h:
- UIProcess/API/efl/EwkView.cpp:
(EwkView::EwkView):
(EwkView::createEvasObject):
- UIProcess/API/efl/EwkView.h:
(EwkView::ewkPageGroup):
(EwkView):
- UIProcess/API/efl/ewk_view.cpp:
(ewk_view_smart_add):
(ewk_view_page_group_get):
- UIProcess/API/efl/ewk_view.h:
- UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp:
(EWK2UnitTest::EWK2UnitTestBase::SetUp):
- UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.h:
(EWK2UnitTest::EWK2UnitTestBase::setWebView):
- UIProcess/API/efl/tests/test_ewk2_view.cpp:
(TEST_F):
- UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
Tools:
Use the page group to create the view object.
- MiniBrowser/efl/main.c:
(window_create):
- 7:39 AM Changeset in webkit [145811] by
-
- 13 edits2 adds in trunk
[GStreamer] Stopping playback of html5 media when receiving a higher priority audio event needs implementation
https://bugs.webkit.org/show_bug.cgi?id=91611
Source/WebCore:
React to REQUEST_STATE GStreamer message to stop the pipeline when
a higher priority stream is played. When this happens, states are
updated accordingly.
A method was added in the MediaPlayer class and internals to allow
the the test runner to simulate an audio interruption.
Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2013-03-14
Reviewed by Philippe Normand.
Test: media/media-higher-prio-audio-stream.html
- platform/graphics/MediaPlayer.h:
- platform/graphics/MediaPlayer.cpp:
(WebCore):
(MediaPlayer):
(WebCore::MediaPlayer::simulateAudioInterruption): New method
delegating an audio interruption to the private backend to
simulate the use-case where an external application needs
exclusive access to the audio device.
- platform/graphics/MediaPlayerPrivate.h:
(MediaPlayerPrivateInterface):
(WebCore::MediaPlayerPrivateInterface::simulateAudioInterruption):
Added default empty method in the common private header.
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore):
(WebCore::MediaPlayerPrivateGStreamer::createAudioSink):
(WebCore::setAudioStreamPropertiesCallback): Hooked to child-added
signal on the audio sink, delegates on setAudioStreamProperties.
(WebCore::MediaPlayerPrivateGStreamer::setAudioStreamProperties):
Sets the audio stream properties.
(WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
Initializes the new attribute.
(WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer):
Disconnects autoaudiosink signal.
(WebCore::MediaPlayerPrivateGStreamer::changePipelineState):
Changed logging.
(WebCore::MediaPlayerPrivateGStreamer::handleMessage): Reacting to
the REQUEST_STATE message.
(WebCore::MediaPlayerPrivateGStreamer::simulateAudioInterruption):
Added. Injects the REQUEST_STATE message to the pipeline.
(WebCore::MediaPlayerPrivateGStreamer::updateStates): Updating the
playback state if REQUEST_STATE.
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(MediaPlayerPrivateGStreamer): Added new method and attribute.
- testing/Internals.h:
- testing/Internals.idl:
- testing/Internals.cpp:
(WebCore):
(WebCore::Internals::simulateAudioInterruption): Added to call the
method to stop the element because of a higher prio stream at the
tests.
LayoutTests:
Created test, expected result and updated other ports
expectations.
Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2013-03-14
Reviewed by Philippe Normand.
- media/media-higher-prio-audio-stream-expected.txt: Added.
- media/media-higher-prio-audio-stream.html: Added.
- platform/chromium/TestExpectations: Skipped the new test.
- platform/mac/TestExpectations: Skipped the new test.
- platform/qt/TestExpectations: Skipped the new test for Mac and
Win.
- 7:28 AM WebKitGTK/2.0.x edited by
- (diff)
- 7:04 AM Changeset in webkit [145810] by
-
- 3 edits in trunk/Source/WebCore
[Qt] Add support for tiled shadow blur
https://bugs.webkit.org/show_bug.cgi?id=90082
Reviewed by Noam Rosenthal.
Use the optimized ShadowBlur::drawRectShadow as long as we do not
have a rotating transform. Such a transform would go through the
slow path in ShadowBlur anyway, and would end up using a transformed
TransparencyLayer with an alphaMap which causes scaling artifacts
for us.
Tested by fast/canvas/canvas-scale-fillRect-shadow.html
and fast/canvas/canvas-transforms-fillRect-shadow.html
- platform/graphics/ShadowBlur.cpp:
(WebCore::ShadowBlur::drawInsetShadowWithTiling):
Handle scaling transforms when shadows ignore transforms.
(WebCore::ShadowBlur::drawRectShadowWithTiling):
Ditto.
- platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::fillRect):
- 6:59 AM Changeset in webkit [145809] by
-
- 8 edits in trunk/Source/WebCore
Web Inspector: do not aggregate non-main thread timeline events, handle them in a generic fashion
https://bugs.webkit.org/show_bug.cgi?id=112172
Reviewed by Vsevolod Vlasov.
- build nested event trees for non-main thread events similar to how it's done on the main thread;
- drop aggregation logic for Rasterize events;
- extract time conversion logic so that it may be reused in TimelineTraceEventProcessor.
- English.lproj/localizedStrings.js: drive-by: drop duplicate line.
- inspector/InspectorTimelineAgent.cpp:
(WebCore::TimelineTimeConverter::reset):
(WebCore):
(WebCore::InspectorTimelineAgent::pushGCEventRecords):
(WebCore::InspectorTimelineAgent::start):
(WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):
(WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
(WebCore::InspectorTimelineAgent::appendRecord):
(WebCore::InspectorTimelineAgent::sendEvent):
(WebCore::InspectorTimelineAgent::timestamp):
- inspector/InspectorTimelineAgent.h:
(TimelineTimeConverter):
(WebCore::TimelineTimeConverter::TimelineTimeConverter):
(WebCore::TimelineTimeConverter::fromMonotonicallyIncreasingTime):
(WebCore):
(InspectorTimelineAgent):
(WebCore::InspectorTimelineAgent::timeConverter):
- inspector/TimelineRecordFactory.cpp:
(WebCore::TimelineRecordFactory::createBackgroundRecord):
(WebCore):
- inspector/TimelineRecordFactory.h:
(TimelineRecordFactory):
- inspector/TimelineTraceEventProcessor.cpp:
(WebCore::TimelineRecordStack::TimelineRecordStack):
(WebCore):
(WebCore::TimelineRecordStack::addScopedRecord):
(WebCore::TimelineRecordStack::closeScopedRecord):
(WebCore::TimelineRecordStack::addInstantRecord):
(WebCore::TimelineRecordStack::isOpenRecordOfType):
(WebCore::TimelineRecordStack::send):
(WebCore::TimelineTraceEventProcessor::TimelineTraceEventProcessor):
(WebCore::TimelineTraceEventProcessor::onBeginFrame):
(WebCore::TimelineTraceEventProcessor::onRasterTaskBegin):
(WebCore::TimelineTraceEventProcessor::onRasterTaskEnd):
(WebCore::TimelineTraceEventProcessor::createRecord):
- inspector/TimelineTraceEventProcessor.h:
(TimelineRecordStack):
(WebCore::TimelineRecordStack::Entry::Entry):
(Entry):
(WebCore::TimelineRecordStack::TimelineRecordStack):
(WebCore):
(WebCore::TimelineTraceEventProcessor::TimelineThreadState::TimelineThreadState):
(TimelineThreadState):
(TimelineTraceEventProcessor):
(WebCore::TimelineTraceEventProcessor::TraceEvent::TraceEvent):
(WebCore::TimelineTraceEventProcessor::TraceEvent::isNull):
(WebCore::TimelineTraceEventProcessor::threadState):
- 6:56 AM Changeset in webkit [145808] by
-
- 2 edits in trunk/Source/WebCore
[GTK] Wrong ASSERT in AudioDestinationGstreamer::stop
https://bugs.webkit.org/show_bug.cgi?id=112344
Patch by Xan Lopez <xlopez@igalia.com> on 2013-03-14
Reviewed by Philippe Normand.
Correct erroneous ASSERT, we want both member variables to exist.
- platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
(WebCore::AudioDestinationGStreamer::stop):
- 6:36 AM Changeset in webkit [145807] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Flame Chart. Support scroll and zoom with help of mouse wheel.
https://bugs.webkit.org/show_bug.cgi?id=112337
Reviewed by Yury Semikhatsky.
New member variable _xOffset were introduced.
- inspector/front-end/FlameChart.js:
(WebInspector.FlameChart):
(WebInspector.FlameChart.prototype._onMouseMove):
(WebInspector.FlameChart.prototype._adjustXOffset):
(WebInspector.FlameChart.prototype._adjustXScale):
(WebInspector.FlameChart.prototype._onMouseWheel):
(WebInspector.FlameChart.prototype._coordinatesToNodeIndex):
(WebInspector.FlameChart.prototype.onResize):
(WebInspector.FlameChart.prototype.draw):
(WebInspector.FlameChart.prototype._scheduleUpdate):
(WebInspector.FlameChart.prototype.update):
- 5:58 AM BadContent edited by
- Blacklist a spamming account. (diff)
- 5:29 AM Changeset in webkit [145806] by
-
- 3 edits in trunk/Source/WebCore
[Texmap] Synchronize layers only if the layer has been changed.
https://bugs.webkit.org/show_bug.cgi?id=112095
Patch by No'am Rosenthal <Noam Rosenthal> on 2013-03-14
Reviewed by Allan Sandfeld Jensen.
A regression was introduced in r144787, causing an infinite IPC commitState/renderNextFrame
loop.
This patch fixes this by making sure we only commit layer states that have actual pending
changes.
No new tests, this is an optimization.
- platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly):
- platform/graphics/texmap/coordinated/CoordinatedGraphicsState.h:
(CoordinatedGraphicsLayerState):
(WebCore::CoordinatedGraphicsLayerState::hasPendingChanges):
- 4:52 AM Changeset in webkit [145805] by
-
- 23 edits in trunk
[Qt] Improve the handling of mock geolocation, device orientation and motion clients
Reviewed by Tor Arne Vestbø.
The mock versions of these web facing features should be instantiated when
running in DumpRenderTree only. In order for them to work, no extra Qt modules
such as QtLocation are actually needed.
This patch decouples enabling device orientation/motion and geolocation from
the underlying Qt modules and makes them available in developer builds
(!production_build) and backed by mock backends when running in drt.
So if the Qt 5 modules are available, they'll be used (unless drtRun). For
developers the web facing features are always enabled (although requests will
time out) and the mock backends are enabled inside DRT, allowing for the layout
tests to run with less dependencies.
In addition this also enables the mock device motion client, which was
previously never instantiated.
.:
- Source/widgetsapi.pri:
Source/WebCore:
- Target.pri:
- WebCore.pri:
Source/WebKit:
- WebKit1.pri:
- WebKit1.pro:
Source/WebKit/qt:
- WebCoreSupport/QWebFrameAdapter.cpp:
(QWebFrameAdapter::_q_orientationChanged):
- WebCoreSupport/QWebFrameAdapter.h:
- WebCoreSupport/QWebPageAdapter.cpp:
(QWebPageAdapter::initializeWebCorePage):
- WebCoreSupport/QWebPageAdapter.h:
- WidgetApi/qwebframe.cpp:
(QWebFrame::QWebFrame):
- WidgetApi/qwebpage.cpp:
(QWebPage::setFeaturePermission):
Source/WebKit2:
- Target.pri:
- UIProcess/qt/WebContextQt.cpp:
(WebKit::WebContext::platformInitializeWebProcess):
- UIProcess/qt/WebGeolocationProviderQt.cpp:
- WebKit2.pri:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
Tools:
- qmake/mkspecs/features/features.prf:
- 4:46 AM Changeset in webkit [145804] by
-
- 4 edits in trunk/Tools
[Qt] Removing no-ops and simple setters/getters from TestRunnerQt
https://bugs.webkit.org/show_bug.cgi?id=112340
Reviewed by Simon Hausmann.
- DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(DumpRenderTree::dump):
Replace shouldDumpBackForwardList() with TestController:dumpBackForwardList().
(DumpRenderTree::dumpApplicationCacheQuota):
- DumpRenderTree/qt/TestRunnerQt.cpp:
(TestRunnerQt::reset):
- DumpRenderTree/qt/TestRunnerQt.h:
(TestRunnerQt):
- 4:26 AM Changeset in webkit [145803] by
-
- 2 edits in trunk/Source/WebCore
[TexMap] Painting into area of composited tile not cleared
https://bugs.webkit.org/show_bug.cgi?id=112268
Reviewed by Kenneth Rohde Christiansen.
Clip painting to the area that has been cleared, so we
do not accidentally overpaint other areas.
Can be observed in ManualTests/scrollbars/scrollbars-in-composited-layers.html.
- platform/graphics/texmap/TextureMapperImageBuffer.cpp:
(WebCore::BitmapTextureImageBuffer::updateContents):
- 4:12 AM Changeset in webkit [145802] by
-
- 64 edits in trunk/Source
[V8] Store main world and non-main world templates separately.
https://bugs.webkit.org/show_bug.cgi?id=111724
Patch by Marja Hölttä <marja@chromium.org> on 2013-03-14
Reviewed by Jochen Eisinger.
This is needed for generating specialized bindings for the main
world (bug 110874).
Source/WebCore:
No new tests (updated existing bindings tests).
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateDomainSafeFunctionGetter):
(GenerateNormalAttrSetter):
(GenerateParametersCheckExpression):
(GenerateParametersCheck):
(GenerateImplementation):
(JSValueToNative):
(CreateCustomSignature):
- bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore::Float64ArrayV8Internal::fooMethod):
(WebCore::ConfigureV8Float64ArrayTemplate):
(WebCore::V8Float64Array::GetTemplate):
(WebCore::V8Float64Array::HasInstance):
- bindings/scripts/test/V8/V8Float64Array.h:
(V8Float64Array):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::excitingFunctionMethod):
(WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
(WebCore::ConfigureV8TestActiveDOMObjectTemplate):
(WebCore::V8TestActiveDOMObject::GetTemplate):
(WebCore::V8TestActiveDOMObject::HasInstance):
- bindings/scripts/test/V8/V8TestActiveDOMObject.h:
(V8TestActiveDOMObject):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore::V8TestCustomNamedGetter::GetTemplate):
(WebCore::V8TestCustomNamedGetter::HasInstance):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
(V8TestCustomNamedGetter):
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore::V8TestEventConstructor::GetTemplate):
(WebCore::V8TestEventConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestEventConstructor.h:
(V8TestEventConstructor):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore::TestEventTargetV8Internal::dispatchEventMethod):
(WebCore::ConfigureV8TestEventTargetTemplate):
(WebCore::V8TestEventTarget::GetTemplate):
(WebCore::V8TestEventTarget::HasInstance):
- bindings/scripts/test/V8/V8TestEventTarget.h:
(V8TestEventTarget):
- bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::V8TestException::GetTemplate):
(WebCore::V8TestException::HasInstance):
- bindings/scripts/test/V8/V8TestException.h:
(V8TestException):
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetter):
(WebCore::TestInterfaceV8Internal::supplementalMethod2Method):
(WebCore::ConfigureV8TestInterfaceTemplate):
(WebCore::V8TestInterface::GetTemplate):
(WebCore::V8TestInterface::HasInstance):
- bindings/scripts/test/V8/V8TestInterface.h:
(V8TestInterface):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore::V8TestMediaQueryListListener::GetTemplate):
(WebCore::V8TestMediaQueryListListener::HasInstance):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
(V8TestMediaQueryListListener):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructor::GetTemplate):
(WebCore::V8TestNamedConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestNamedConstructor.h:
(V8TestNamedConstructor):
- bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore::V8TestNode::GetTemplate):
(WebCore::V8TestNode::HasInstance):
- bindings/scripts/test/V8/V8TestNode.h:
(V8TestNode):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::testObjAttrAttrSetter):
(WebCore::TestObjV8Internal::XMLObjAttrAttrSetter):
(WebCore::TestObjV8Internal::typedArrayAttrAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetter):
(WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetter):
(WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetter):
(WebCore::TestObjV8Internal::mutablePointAttrSetter):
(WebCore::TestObjV8Internal::immutablePointAttrSetter):
(WebCore::TestObjV8Internal::voidMethodWithArgsMethod):
(WebCore::TestObjV8Internal::longMethodWithArgsMethod):
(WebCore::TestObjV8Internal::objMethodWithArgsMethod):
(WebCore::TestObjV8Internal::methodThatRequiresAllArgsAndThrowsMethod):
(WebCore::TestObjV8Internal::overloadedMethod1Method):
(WebCore::TestObjV8Internal::overloadedMethod2Method):
(WebCore::TestObjV8Internal::overloadedMethod8Method):
(WebCore::TestObjV8Internal::overloadedMethodMethod):
(WebCore::TestObjV8Internal::convert1Method):
(WebCore::TestObjV8Internal::convert2Method):
(WebCore::TestObjV8Internal::convert4Method):
(WebCore::TestObjV8Internal::convert5Method):
(WebCore::TestObjV8Internal::variadicNodeMethodMethod):
(WebCore::ConfigureV8TestObjTemplate):
(WebCore::V8TestObj::GetTemplate):
(WebCore::V8TestObj::HasInstance):
- bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::TestOverloadedConstructorsV8Internal::constructor1):
(WebCore::TestOverloadedConstructorsV8Internal::constructor2):
(WebCore::TestOverloadedConstructorsV8Internal::constructor3):
(WebCore::TestOverloadedConstructorsV8Internal::constructor):
(WebCore::V8TestOverloadedConstructors::GetTemplate):
(WebCore::V8TestOverloadedConstructors::HasInstance):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
(V8TestOverloadedConstructors):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
(WebCore::V8TestSerializedScriptValueInterface::HasInstance):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
(V8TestSerializedScriptValueInterface):
- bindings/scripts/test/V8/V8TestTypedefs.cpp:
(WebCore::TestTypedefsV8Internal::funcMethod):
(WebCore::ConfigureV8TestTypedefsTemplate):
(WebCore::V8TestTypedefs::GetTemplate):
(WebCore::V8TestTypedefs::HasInstance):
- bindings/scripts/test/V8/V8TestTypedefs.h:
(V8TestTypedefs):
- bindings/v8/Dictionary.cpp:
(WebCore::Dictionary::get):
- bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::visitNodeWrappers):
- bindings/v8/SerializedScriptValue.cpp:
- bindings/v8/V8AdaptorFunction.cpp:
(WebCore::V8AdaptorFunction::getTemplate):
- bindings/v8/V8Binding.cpp:
(WebCore::toDOMStringList):
(WebCore::toXPathNSResolver):
- bindings/v8/V8Binding.h:
(WebCore):
(WebCore::toRefPtrNativeArray):
- bindings/v8/V8Collection.cpp:
(WebCore::toOptionsCollectionSetter):
- bindings/v8/V8GCController.cpp:
- bindings/v8/V8NPObject.cpp:
(WebCore::npObjectInvokeImpl):
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::reportMemoryUsage):
(WebCore::V8PerIsolateData::hasPrivateTemplate):
(WebCore::V8PerIsolateData::privateTemplate):
(WebCore::V8PerIsolateData::rawTemplate):
(WebCore::V8PerIsolateData::hasInstance):
- bindings/v8/V8PerIsolateData.h:
(WebCore::V8PerIsolateData::rawTemplateMap):
(V8PerIsolateData):
(WebCore::V8PerIsolateData::templateMap):
- bindings/v8/V8Utilities.cpp:
(WebCore::extractTransferables):
- bindings/v8/custom/V8ArrayBufferViewCustom.h:
(WebCore::constructWebGLArray):
(WebCore::setWebGLArrayHelper):
- bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
(WebCore::V8AudioBufferSourceNode::bufferAttrSetterCustom):
- bindings/v8/custom/V8BlobCustom.cpp:
(WebCore::V8Blob::constructorCustom):
- bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
(WebCore::toCanvasStyle):
- bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::setDragImageMethodCustom):
- bindings/v8/custom/V8CryptoCustom.cpp:
(WebCore::V8Crypto::getRandomValuesMethodCustom):
- bindings/v8/custom/V8DOMFormDataCustom.cpp:
(WebCore::V8DOMFormData::constructorCustom):
(WebCore::V8DOMFormData::appendMethodCustom):
- bindings/v8/custom/V8DataViewCustom.cpp:
(WebCore::V8DataView::constructorCustom):
- bindings/v8/custom/V8DocumentCustom.cpp:
(WebCore::V8Document::evaluateMethodCustom):
- bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
(WebCore::V8HTMLMediaElement::controllerAttrSetterCustom):
- bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
(WebCore::V8HTMLOptionsCollection::addMethodCustom):
- bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
(WebCore::removeElement):
- bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::isHTMLAllCollectionMethodCustom):
(WebCore::V8InjectedScriptHost::typeMethodCustom):
(WebCore::V8InjectedScriptHost::getEventListenersMethodCustom):
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
- bindings/v8/custom/V8NodeCustom.cpp:
(WebCore::V8Node::insertBeforeMethodCustom):
(WebCore::V8Node::replaceChildMethodCustom):
(WebCore::V8Node::removeChildMethodCustom):
(WebCore::V8Node::appendChildMethodCustom):
- bindings/v8/custom/V8NodeListCustom.cpp:
(WebCore::V8NodeList::opaqueRootForGC):
- bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
(WebCore::toWebGLUniformLocation):
(WebCore::V8WebGLRenderingContext::getAttachedShadersMethodCustom):
(WebCore::V8WebGLRenderingContext::getProgramParameterMethodCustom):
(WebCore::V8WebGLRenderingContext::getShaderParameterMethodCustom):
(WebCore::V8WebGLRenderingContext::getUniformMethodCustom):
(WebCore::vertexAttribAndUniformHelperf):
(WebCore::uniformHelperi):
(WebCore::uniformMatrixHelper):
- bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
(WebCore::isDocumentType):
(WebCore::V8XMLHttpRequest::sendMethodCustom):
Source/WebKit/chromium:
- src/WebArrayBuffer.cpp:
(WebKit::WebArrayBuffer::createFromV8Value):
- src/WebArrayBufferView.cpp:
(WebKit::WebArrayBufferView::createFromV8Value):
- src/WebBindings.cpp:
(WebKit::getRangeImpl):
(WebKit::getNodeImpl):
(WebKit::getElementImpl):
(WebKit::getArrayBufferImpl):
(WebKit::getArrayBufferViewImpl):
- 3:51 AM Changeset in webkit [145801] by
-
- 3 edits in trunk/Source/WebCore
Explicitly send only one report via XSSAuditorDelegate.
https://bugs.webkit.org/show_bug.cgi?id=111964
Reviewed by Adam Barth.
This patch pulls the XSSAuditor report generation out into a separate
function in XSSAuditorDelegate::generateViolationReport, and moves the
call to that function into the "have we already notified folks about
violations on this page?" block. This both clarifies the flow in
XSSAuditorDelegate::didBlockScript, and ensures that only one violation
report will be sent per page, which regressed in r145695.
Existing tests verify that reports are generated and sent correctly.
We have no tests for the latter condition: the XSSAuditor tests
currently verify that a report showed up, but they can't verify that
no report appeared without sitting around for a few more than a few
seconds on every run.
- html/parser/XSSAuditorDelegate.cpp:
(WebCore::XSSAuditorDelegate::generateViolationReport):
Pull the report generation logic out to this new function.
(WebCore::XSSAuditorDelegate::didBlockScript):
Move the report generation call into the block that ensures it only
executes for the first violation.
- 3:07 AM Changeset in webkit [145800] by
-
- 4 edits in trunk/Tools
[Qt] Port DRT to use TestRunner::dumpAsText()
https://bugs.webkit.org/show_bug.cgi?id=112260
Reviewed by Benjamin Poulain.
- DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::open):
(WebCore::methodNameStringForFailedTest):
Change parameter from type TestRunnerQt* to TestRunner*.
(WebCore::DumpRenderTree::dump):
TestRunnerQt::shouldDumpPixels() always returned true in our case.
Instead we should rely on TestRunner::generatePixelResults().
- DumpRenderTree/qt/TestRunnerQt.cpp:
(TestRunnerQt::reset):
- DumpRenderTree/qt/TestRunnerQt.h:
(TestRunnerQt):
- 2:49 AM Changeset in webkit [145799] by
-
- 3 edits1 delete in trunk/LayoutTests
[Qt] Unreviewed gardening.
- 2:43 AM Changeset in webkit [145798] by
-
- 15 edits1 move4 adds1 delete in trunk
Empty list items after drag&drop in contentEditable divs
https://bugs.webkit.org/show_bug.cgi?id=110610
Reviewed by Ryosuke Niwa.
Source/WebCore:
Perform a cleanup after moving operations. This will mainly prune
extra placeholders left by the editing algorithms. Also do not
leave empty <li> when moving them around inside a list element.
Tests: editing/pasteboard/cleanup-on-move.html
editing/pasteboard/drag-list-item.html
- editing/MoveSelectionCommand.cpp:
(WebCore::MoveSelectionCommand::doApply): perform
cleanupAfterDeletion().
- editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplaceSelectionCommand::insertAsListItems): do not
insert an empty list item.
- editing/MoveSelectionCommand.cpp:
(WebCore::MoveSelectionCommand::doApply):
- editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplaceSelectionCommand::insertAsListItems):
LayoutTests:
Some placeholders should not be left after performing a cleanup in
move operations, this includes the empty list items generated when
moving around list items inside a list.
I'm also moving drag-list-item.html to editing/pasteboard because
it fits much better there than under editing/selection.
- editing/pasteboard/cleanup-on-move-expected.txt: Added.
- editing/pasteboard/cleanup-on-move.html: Added.
- editing/pasteboard/drag-list-item-expected.txt: Renamed from LayoutTests/editing/selection/drag-list-item-expected.txt.
- editing/pasteboard/drag-list-item.html: Renamed from LayoutTests/editing/selection/drag-list-item.html.
- editing/pasteboard/resources/select-and-drag.js: Added.
(selectAndDragToTarget): Selects nodes and drops them after a target node.
- editing/pasteboard/drag-drop-list-expected.txt: Removed an empty <li>.
- editing/pasteboard/paste-list-004-expected.txt: Removed 2 empty <li>.
- editing/pasteboard/paste-list-004.html: Ditto.
- editing/selection/4895428-1-expected.txt: Removed a <br>.
- editing/selection/4895428-4-expected.txt: Ditto.
- fast/events/ondragenter-expected.txt: Removed a blank line.
- platform/chromium/fast/events/ondragenter-expected.txt: Ditto.
- platform/efl/TestExpectations: Added cleanup-on-move.html to the skipped list.
- platform/mac-wk2/TestExpectations: Ditto.
- platform/qt/TestExpectations: Ditto.
- platform/win/fast/events/ondragenter-expected.txt: Removed a blank line.
- 2:25 AM Changeset in webkit [145797] by
-
- 11 edits5 adds in trunk
Threaded HTML Parser should limit speculation to avoid using too much memory
https://bugs.webkit.org/show_bug.cgi?id=112069
Reviewed by Adam Barth.
Source/WebCore:
This is a speculative fix for memory issues seen in:
https://code.google.com/p/chromium/issues/detail?id=180819
This also fixed https://bugs.webkit.org/show_bug.cgi?id=110546
as a side-effect of simplifying the m_currentChunk handling.
We now tell the background html parser every time we start
a chunk on the main thread (instead of end), which greatly
simplified the checkpoint cleanup code from:
https://trac.webkit.org/changeset/145277
The cost for this is now we have more messages going to the
background thread (and postTask acquires a lock to write to the
message queue). Chromium has more advanced (lock-less) primatives
for message posting, which we'll hopefully add to WebKit in
furture patches.
The outstanding chunks limit has not been tuned. But it makes sense that
we should not keeping infinite speculative tokens around for
large documents with slow-to-load scripts.
- html/parser/BackgroundHTMLInputStream.cpp:
(WebCore::BackgroundHTMLInputStream::BackgroundHTMLInputStream):
(WebCore::BackgroundHTMLInputStream::invalidateCheckpointsBefore):
(WebCore):
(WebCore::BackgroundHTMLInputStream::rewindTo):
- html/parser/BackgroundHTMLInputStream.h:
(BackgroundHTMLInputStream):
(WebCore::BackgroundHTMLInputStream::outstandingCheckpointCount):
(Checkpoint):
(WebCore::BackgroundHTMLInputStream::Checkpoint::isNull):
(WebCore::BackgroundHTMLInputStream::Checkpoint::clear):
- html/parser/BackgroundHTMLParser.cpp:
(WebCore):
(WebCore::BackgroundHTMLParser::startedChunkWithCheckpoint):
(WebCore::BackgroundHTMLParser::pumpTokenizer):
- html/parser/BackgroundHTMLParser.h:
(BackgroundHTMLParser):
- html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::validateSpeculations):
(WebCore::HTMLDocumentParser::discardSpeculationsAndResumeFrom):
(WebCore::HTMLDocumentParser::processParsedChunkFromBackgroundParser):
(WebCore::HTMLDocumentParser::pumpPendingSpeculations):
(WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
- html/parser/HTMLDocumentParser.h:
(HTMLDocumentParser):
LayoutTests:
Test that this fixes https://bugs.webkit.org/show_bug.cgi?id=110546 for the threaded parser.
Ports using the main-thread parser are expected to fail (ASSERT in Debug).
- fast/parser/document-write-partial-entity-before-load-expected.txt: Added.
- fast/parser/document-write-partial-entity-before-load.html: Added.
- fast/parser/external-script-document-write-expected.txt: Added.
- fast/parser/external-script-document-write.html: Added.
- fast/parser/resources/external-script-document-write.js: Added.
- platform/gtk/TestExpectations:
- platform/mac/TestExpectations:
- platform/qt/TestExpectations:
- 2:00 AM Changeset in webkit [145796] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Flame Chart. Minor changes for the popover.
https://bugs.webkit.org/show_bug.cgi?id=112331
Reviewed by Yury Semikhatsky.
popover timeout needs to be decreased a bit.
hidePopover call in onMouseMove doesn't necessary.
We have to keep anchor element unmodified if the hovered item didn't changed.
- inspector/front-end/FlameChart.js:
(WebInspector.FlameChart):
(WebInspector.FlameChart.prototype._onMouseMove):
- 1:57 AM Changeset in webkit [145795] by
-
- 6 edits in trunk/Source
Fix detection of Intel Mac OS X platform on Intel Mac 64-bit
https://bugs.webkit.org/show_bug.cgi?id=112312
Patch by Jonathan Liu <net147@gmail.com> on 2013-03-14
Reviewed by Simon Hausmann.
Source/WebCore:
- platform/gtk/UserAgentGtk.cpp:
(WebCore::platformVersionForUAString):
Source/WebKit/efl:
- ewk/ewk_settings.cpp:
(_ewk_settings_webkit_os_version_get):
Source/WebKit/wx:
- WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::agentOS):
- 1:38 AM Changeset in webkit [145794] by
-
- 4 edits in trunk/LayoutTests
Layout Test plugins/plugin-clip-subframe.html is failing
https://bugs.webkit.org/show_bug.cgi?id=111514
Patch by John Bauman <jbauman@chromium.org> on 2013-03-14
Reviewed by Ryosuke Niwa.
Rebaseline test result due to chromium r185729. Also try to force
layout in test to prevent flakiness on win-dbg.
- platform/chromium-mac/plugins/plugin-clip-subframe-expected.txt:
- platform/chromium/TestExpectations:
- plugins/plugin-clip-subframe.html:
- 1:37 AM Changeset in webkit [145793] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening. Adding a couple of failure expectations for flaky
tests on the debug builder.
- platform/gtk/TestExpectations:
- 1:18 AM WebKitGTK/2.0.x edited by
- (diff)
- 1:16 AM Changeset in webkit [145792] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] InRegionScrollableArea: fix call to visibleContentRect()
https://bugs.webkit.org/show_bug.cgi?id=112244
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-14
Reviewed by Rob Buis.
Since r143295 visibleContentRect() receives an enum, not a boolean.
- WebKitSupport/InRegionScrollableArea.cpp:
(BlackBerry::WebKit::InRegionScrollableArea::InRegionScrollableArea):
- 12:50 AM Changeset in webkit [145791] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0/Source/WebKit2
[GTK] The style of visited links doesn't change in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=112175
Reviewed by Martin Robinson.
The problem is that visited links were not tracked by the web
process. There's a web process initial parameter to set whether
web process should track visited links or not and it's disabled by
default.
- UIProcess/gtk/WebContextGtk.cpp:
(WebKit::WebContext::platformInitializeWebProcess): Always set
shouldTrackVisitedLinks to true.
- 12:38 AM Changeset in webkit [145790] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Flame Chart. Rewrite drawing procedure for better performance.
https://bugs.webkit.org/show_bug.cgi?id=112264
Reviewed by Yury Semikhatsky.
I traverses the profile tree in calculateTimelineData and calculates all the sizes and colors.
Later in draw code we lineary pass the array and draw items.
Also we could easily swap to another format of the profile.
- inspector/front-end/FlameChart.js:
(WebInspector.FlameChart):
(WebInspector.FlameChart.prototype._nodeCount):
(WebInspector.FlameChart.prototype._calculateTimelineData.appendReversedArray):
(WebInspector.FlameChart.prototype._calculateTimelineData):
(WebInspector.FlameChart.prototype._getPopoverAnchor):
(WebInspector.FlameChart.prototype._showPopover):
(WebInspector.FlameChart.prototype._hidePopover):
(WebInspector.FlameChart.prototype._onClick):
(WebInspector.FlameChart.prototype._onMouseMove):
(WebInspector.FlameChart.prototype._coordinatesToNodeIndex):
(WebInspector.FlameChart.prototype.onResize):
(WebInspector.FlameChart.prototype.draw):
- 12:30 AM Changeset in webkit [145789] by
-
- 17 edits in trunk/Source
Add to HistoryItem a way to know if its underlying CachedPage has expired.
https://bugs.webkit.org/show_bug.cgi?id=110652
Reviewed by Brady Eidson.
Source/WebCore:
- WebCore.exp.in: Added WebCore::HistoryItem::isInPageCache and hasCachedPageExpired.
- history/CachedPage.cpp: Add a data member, m_expirationTime, and a function, hasExpired().
- history/CachedPage.h:
- history/HistoryItem.cpp:
(WebCore::HistoryItem::hasCachedPageExpired): Added. returns m_cachedPage's expiration state.
- history/HistoryItem.h:
- history/PageCache.cpp:
(WebCore::PageCache::get): Address the fixme about not using WebKitBackForwardCacheExpirationIntervalKey.
- page/Settings.in: Add backForwardCacheExpirationInterval to the automatically generated setters for Settings.
Source/WebKit/mac:
- History/WebHistoryItem.mm:
(-[WebHistoryItem _isInPageCache]): Added. Just calls and returns core imple's function.
(-[WebHistoryItem _hasCachedPageExpired]): Same thing.
- History/WebHistoryItemPrivate.h:
- WebView/WebPreferences.mm:
(-[WebPreferences _backForwardCacheExpirationInterval]): Address fixme, now that WebCore::Settings
has getters and setters with default value.
- WebView/WebView.mm:
(-[WebView _preferencesChanged:]): call setBackForwardCacheExpirationInterval similar to other settings.
Source/WebKit2:
Hook up hasCachedPageExpired in InjectedBundle's BackForwardListItem.
- WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp:
(WKBundleBackForwardListItemHasCachedPageExpired):
- WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.h:
- WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.h:
(WebKit::InjectedBundleBackForwardListItem::hasCachedPageExpired):
Mar 13, 2013:
- 11:52 PM Changeset in webkit [145788] by
-
- 3 edits2 adds in trunk
Cannot select a canvas element at the beginning or the end of a document
https://bugs.webkit.org/show_bug.cgi?id=112319
Reviewed by Eric Seidel.
Source/WebCore:
The bug was caused by the editing code treating canvas element as if an empty inline element.
Treat it as an "atomic" element for the purpose of determining whether selection can have
an end point in it or not.
Test: editing/pasteboard/copy-paste-content-starting-and-ending-canvas.html
- html/HTMLCanvasElement.h:
(WebCore::HTMLCanvasElement::canContainRangeEndPoint): Added.
LayoutTests:
Add a regression test to copy and paste a content with canvas elements.
- editing/pasteboard/copy-paste-content-starting-and-ending-canvas-expected.txt: Added.
- editing/pasteboard/copy-paste-content-starting-and-ending-canvas.html: Added.
- 10:59 PM Changeset in webkit [145787] by
-
- 35 edits28 adds in trunk
Implement FontLoader interface
https://bugs.webkit.org/show_bug.cgi?id=98395
Patch by Kunihiko Sakamoto <ksakamoto@chromium.org> on 2013-03-13
Reviewed by Eric Seidel.
Source/WebCore:
This patch implements the FontLoader interface defined in CSS Font
Load Events Module Level 3.[1] It adds fontloader attribute to
Document, and adds two interfaces, FontLoader and
CSSFontFaceLoadEvent to WebCore.
[1]: http://dev.w3.org/csswg/css-font-load-events-3/
This feature is guarded by FONT_LOAD_EVENTS compiler flag and
RuntimeEnabledFeatures::fontLoadEventsEnabled() runtime flag.
Tests: fast/css/fontloader-download-error.html
fast/css/fontloader-events.html
fast/css/fontloader-loadingdone.html
fast/css/fontloader-multiple-faces-download-error.html
fast/css/fontloader-multiple-faces.html
fast/css/fontloader-multiple-families.html
http/tests/webfont/fontloader-loading-attribute.html
- CMakeLists.txt: Adding FontLoader/CSSFontFaceLoadEvent files.
- DerivedSources.cpp: Ditto.
- DerivedSources.make: Ditto.
- DerivedSources.pri: Ditto.
- GNUmakefile.list.am: Ditto.
- Target.pri: Ditto.
- WebCore.gypi: Ditto.
- WebCore.vcproj/WebCore.vcproj: Ditto.
- WebCore.vcxproj/WebCore.vcxproj: Ditto.
- WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
- WebCore.xcodeproj/project.pbxproj: Ditto.
- bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue): Add convertValue() for CSSFontFaceRule, DOMError, and VoidCallback.
- bindings/js/JSDictionary.h: Ditto.
- bindings/v8/Dictionary.cpp: Add get() for CSSFontFaceRule, DOMError, and VoidCallback.
(WebCore::Dictionary::get):
- bindings/v8/Dictionary.h: Ditto.
(Dictionary):
- css/CSSFontFace.cpp: Notifies FontLoader as load progresses.
(WebCore::CSSFontFace::fontLoaded):
(WebCore::CSSFontFace::getFontData):
(WebCore::CSSFontFace::notifyFontLoader):
(WebCore::CSSFontFace::notifyLoadingDone):
- css/CSSFontFace.h: Add two member variables. m_rule stores CSSFontFaceRule for the fontface. m_loadState holds current state of the fontface in terms of FontLoader.
(WebCore::CSSFontFace::create): Takes additional parameter of type CSSFontFaceRule.
(WebCore::CSSFontFace::loadState):
(WebCore::CSSFontFace::CSSFontFace):
- css/CSSFontFaceLoadEvent.cpp: Added.
(WebCore::CSSFontFaceLoadEvent::CSSFontFaceLoadEvent):
(WebCore::CSSFontFaceLoadEvent::~CSSFontFaceLoadEvent):
(WebCore::CSSFontFaceLoadEvent::interfaceName):
- css/CSSFontFaceLoadEvent.h: Added.
(CSSFontFaceLoadEventInit):
(CSSFontFaceLoadEvent):
(WebCore::CSSFontFaceLoadEvent::create):
(WebCore::CSSFontFaceLoadEvent::createForFontFaceRule):
(WebCore::CSSFontFaceLoadEvent::createForError):
(WebCore::CSSFontFaceLoadEvent::fontface):
(WebCore::CSSFontFaceLoadEvent::error):
- css/CSSFontFaceLoadEvent.idl: Added.
- css/CSSFontFaceRule.idl: Add JSGenerateToJSObject and JSGenerateToNativeObject as JSC binding needs them.
- css/CSSFontFaceSource.cpp:
(WebCore::CSSFontFaceSource::isDecodeError): Added.
(WebCore::CSSFontFaceSource::ensureFontData): Added.
- css/CSSFontFaceSource.h:
(CSSFontFaceSource):
- css/CSSFontSelector.cpp:
(WebCore::CSSFontSelector::addFontFaceRule): Pass a CSSFontFaceRule to CSSFontFace::create().
(WebCore::CSSFontSelector::getFontData): Moved logic for creating a CSSSegmentedFontFace to a helper function getFontFace().
(WebCore::CSSFontSelector::getFontFace): Added.
- css/CSSFontSelector.h:
- css/CSSSegmentedFontFace.cpp:
(WebCore::CSSSegmentedFontFace::fontLoaded): Fires callbacks when load is completed.
(WebCore::CSSSegmentedFontFace::isLoading): Returns true if any fonts are still loading.
(WebCore::CSSSegmentedFontFace::checkFont): Returns true if all fonts are loaded.
(WebCore::CSSSegmentedFontFace::loadFont): Starts load by calling getFontData().
- css/CSSSegmentedFontFace.h:
(CSSSegmentedFontFace): Declares new functions and a vector to store callbacks.
(LoadFontCallback):
(WebCore::CSSSegmentedFontFace::LoadFontCallback::~LoadFontCallback):
- css/FontLoader.cpp: Added.
(LoadFontCallback): Holds callback functions of FontLoader.loadFont().
(WebCore::LoadFontCallback::create):
(WebCore::LoadFontCallback::createFromParams):
(WebCore::LoadFontCallback::LoadFontCallback):
(WebCore::LoadFontCallback::notifyLoaded):
(WebCore::LoadFontCallback::notifyError):
(WebCore::FontLoader::FontLoader):
(WebCore::FontLoader::~FontLoader):
(WebCore::FontLoader::eventTargetData):
(WebCore::FontLoader::ensureEventTargetData):
(WebCore::FontLoader::interfaceName):
(WebCore::FontLoader::scriptExecutionContext):
(WebCore::FontLoader::didLayout): Fires pending events and callbacks. This is called when layout have completed.
(WebCore::FontLoader::scheduleEvent): Defers event dispatching until layout completes.
(WebCore::FontLoader::firePendingEvents): Dispatches pending events.
(WebCore::FontLoader::beginFontLoading): Schedules loading/loadstart events. This is called from CSSFontFace.
(WebCore::FontLoader::fontLoaded): Schedules load/loadingdone events. This is called from CSSFontFace.
(WebCore::FontLoader::loadError): Schedules error/loadingdone events. This is called from CSSFontFace.
(WebCore::FontLoader::notifyWhenFontsReady): Implements fontloader.notifyWhenFontsReady().
(WebCore::FontLoader::loadingDone): Fires callbacks of notifyWhenFontsReady.
(WebCore::FontLoader::loadFont): Implements fontloader.loadFont().
(WebCore::FontLoader::checkFont): Implements fontloader.checkFont().
(WebCore::FontLoader::resolveFontStyle): Parses the given font parameter using the syntax of CSS 'font' property and creates Font object. The logic is taken from CanvasRenderingContext2D::setFont().
- css/FontLoader.h: Added.
(FontLoader):
(WebCore::FontLoader::create):
(WebCore::FontLoader::loading):
(WebCore::FontLoader::document):
(WebCore::FontLoader::refEventTarget):
(WebCore::FontLoader::derefEventTarget):
- css/FontLoader.idl: Added.
- dom/Document.cpp:
(WebCore::Document::Document):
(WebCore::Document::fontloader): Added.
- dom/Document.h:
(Document): Add m_fontloader and fontloader().
- dom/Document.idl: Add fontloader attribute.
- dom/EventNames.h: Add loading and loadingdone events.
- dom/EventNames.in: Add CSSFontFaceLoadEvent.
- dom/EventTargetFactory.in: Add FontLoader.
- page/FrameView.cpp:
(WebCore::FrameView::performPostLayoutTasks): Calls FontLoader::didLayout().
Tools:
Enable FontLoadEvents runtime flag for TestShell.
- DumpRenderTree/chromium/TestRunner/src/TestInterfaces.cpp:
(WebTestRunner::TestInterfaces::TestInterfaces):
LayoutTests:
Add tests for document.fontloader. Since the feature is currently enabled
only for chromium, the tests are expected to fail on the other ports.
- fast/css/fontloader-download-error-expected.txt: Added.
- fast/css/fontloader-download-error.html: Added.
- fast/css/fontloader-events-expected.txt: Added.
- fast/css/fontloader-events.html: Added.
- fast/css/fontloader-loadingdone-expected.txt: Added.
- fast/css/fontloader-loadingdone.html: Added.
- fast/css/fontloader-multiple-faces-download-error-expected.txt: Added.
- fast/css/fontloader-multiple-faces-download-error.html: Added.
- fast/css/fontloader-multiple-faces-expected.txt: Added.
- fast/css/fontloader-multiple-faces.html: Added.
- fast/css/fontloader-multiple-families-expected.txt: Added.
- fast/css/fontloader-multiple-families.html: Added.
- http/tests/webfont/fontloader-loading-attribute-expected.txt: Added.
- http/tests/webfont/fontloader-loading-attribute.html: Added.
- platform/chromium/fast/css/fontloader-download-error-expected.txt: Added.
- platform/chromium/fast/css/fontloader-events-expected.txt: Added.
- platform/chromium/fast/css/fontloader-loadingdone-expected.txt: Added.
- platform/chromium/fast/css/fontloader-multiple-faces-download-error-expected.txt: Added.
- platform/chromium/fast/css/fontloader-multiple-faces-expected.txt: Added.
- platform/chromium/fast/css/fontloader-multiple-families-expected.txt: Added.
- platform/chromium/http/tests/webfont/fontloader-loading-attribute-expected.txt: Added.
- 10:11 PM Changeset in webkit [145786] by
-
- 7 edits in trunk
Compute image background size when testing for background visibility
https://bugs.webkit.org/show_bug.cgi?id=112313
Reviewed by Simon Fraser.
Source/WebCore:
We can catch more cases where background is fully obscured.
- rendering/RenderBox.cpp:
(WebCore::RenderBox::paintBackground):
Use early returns.
(WebCore::RenderBox::backgroundPaintedExtent):
Compute the bounds for image backgrounds.
(WebCore::RenderBox::backgroundIsKnownToBeOpaqueInRect):
(WebCore::RenderBox::backgroundIsKnownToBeObscured):
Rename to make clear that the answers are certain to one direction only.
- rendering/RenderBox.h:
- rendering/RenderImage.cpp:
(WebCore::RenderImage::boxShadowShouldBeAppliedToBackground):
(WebCore::RenderImage::backgroundIsKnownToBeObscured):
- rendering/RenderImage.h:
LayoutTests:
- fast/repaint/obscured-background-no-repaint.html:
- 9:06 PM Changeset in webkit [145785] by
-
- 13 edits8 adds in trunk
[css3-text] Add support for text-decoration-color
https://bugs.webkit.org/show_bug.cgi?id=91638
Reviewed by Julien Chaffraix.
Source/WebCore:
This patch implements the CSS3's 'text-decoration-color' property, with
'-webkit' vendor prefix.
More info about "text-decoration-color" property can be found here:
http://dev.w3.org/csswg/css-text-decor-3/#text-decoration-color-property
Mozilla implementation (using -moz prefix) is described here:
https://developer.mozilla.org/en/CSS/text-decoration-color
Tests: fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color.html
fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-color.html
fast/css3-text/css3-text-decoration/text-decoration-color.html
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- css/CSSParser.cpp:
(WebCore::isColorPropertyID):
(WebCore::CSSParser::parseValue):
- css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
Added parsing checks for '-webkit-text-decoration-color' property.
- css/CSSPropertyNames.in:
Added '-webkit-text-decoration-color' property name.
- css/StyleBuilder.cpp:
(WebCore::StyleBuilder::StyleBuilder):
Set property handler for '-webkit-text-decoration-color'.
- css/StyleResolver.cpp:
(WebCore::isValidVisitedLinkProperty):
(WebCore::StyleResolver::applyProperty):
Added switch case checks for text-decoration-color property on visited
link checks and property appliance.
- rendering/RenderObject.cpp:
(WebCore::decorationColor):
The newly added property needs to checked here when selecting the text
decoration color.
- rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
(WebCore::RenderStyle::colorIncludingFallback):
(WebCore::RenderStyle::visitedDependentColor):
There is no proper way to check if a property has been set or not, so if
text decoration color fallbacks to default color, it would override the
check for 'text-fill-color' and 'text-stroke-color' properties on
WebCore::decorationColor() static function, changing current behavior,
which can be verified by new failing layout tests (ie.
fast/text/stroking-decorations.html).
- rendering/style/RenderStyle.h:
Added {non-}visited text decoration color getters and setters.
- rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
Added {non-}visited text decoration color variables initialization to
copy constructor and operator assignment functions.
- rendering/style/StyleRareNonInheritedData.h:
(StyleRareNonInheritedData):
Added here as this property is not used regularly.
LayoutTests:
Added layout tests (paint,repaint and getComputedStyle) for
'text-decoration-color' property, with '-webkit' vendor prefix.
- fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color-expected.txt: Added.
- fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color.html: Added.
- fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-color.js: Added.
Added getComputedStyle-based layout test covering a bunch of valid/invalid values.
- fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-color-expected.png: Added.
- fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-color-expected.txt: Added.
- fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-color.html: Added.
Added cross-platform repaint layout test using 'Ahem' font.
- fast/css3-text/css3-text-decoration/text-decoration-color-expected.html: Added.
- fast/css3-text/css3-text-decoration/text-decoration-color.html: Added.
Added cross-platform reference test.
- 8:52 PM Changeset in webkit [145784] by
-
- 22 edits in trunk/Source
create runtime flags for CSS Compositing
https://bugs.webkit.org/show_bug.cgi?id=111818
Patch by Rik Cabanier <cabanier@adobe.com> on 2013-03-13
Reviewed by Ryosuke Niwa.
Source/WebCore:
No new tests, no change in functionality.
Added a runtime flags that enables CSS compositing
- WebCore.exp.in:
- bindings/generic/RuntimeEnabledFeatures.cpp:
(WebCore):
- bindings/generic/RuntimeEnabledFeatures.h:
(RuntimeEnabledFeatures):
(WebCore::RuntimeEnabledFeatures::setCSSCompositingEnabled):
(WebCore::RuntimeEnabledFeatures::cssCompositingEnabled):
- css/CSSParser.cpp:
(WebCore::CSSParserContext::CSSParserContext):
(WebCore::operator==):
(WebCore::isValidKeywordPropertyAndValue):
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseFillProperty):
(WebCore::CSSParser::cssCompositingEnabled):
(WebCore):
- css/CSSParser.h:
- css/CSSParserMode.h:
(CSSParserContext):
- dom/Document.cpp:
(WebCore::Document::cssCompositingEnabled):
(WebCore):
- dom/Document.h:
(Document):
Source/WebKit/chromium:
Added a runtime flags to enable CSS compositing for chromium.
- public/WebRuntimeFeatures.h:
(WebRuntimeFeatures):
- src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableCSSCompositing):
(WebKit):
(WebKit::WebRuntimeFeatures::isCSSCompositingEnabled):
Source/WebKit/mac:
Added a preference to enable CSS compositing.
- WebView/WebPreferenceKeysPrivate.h:
- WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences cssCompositingEnabled]):
(-[WebPreferences setCSSCompositingEnabled:]):
- WebView/WebPreferencesPrivate.h:
- WebView/WebView.mm:
(-[WebView _preferencesChanged:]):
Source/WebKit2:
Added a preference to enable CSS compositing.
- Shared/WebPreferencesStore.h:
(WebKit):
- WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner):
(WebKit::InjectedBundle::setCSSCompositingEnabled):
(WebKit):
- WebProcess/InjectedBundle/InjectedBundle.h:
(InjectedBundle):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
- 8:33 PM Changeset in webkit [145783] by
-
- 2 edits in trunk/Tools
CLeanup: remove unnecessary call to parseParameters.
https://bugs.webkit.org/show_bug.cgi?id=112309
Reviewed by Ojan Vafai.
We call parseCrossDashboardParameters when the dashboard initially
loads to set the state required for loadBuildersList, and then we
call it again once we are fully done with loading, so there is no
reason to call it in the middle of the loading process here.
- TestResultServer/static-dashboards/loader.js:
(.):
- 7:48 PM Changeset in webkit [145782] by
-
- 34 edits6 copies7 moves9 adds in trunk
Quota API: Update IDL to make it match the latest WD
https://bugs.webkit.org/show_bug.cgi?id=88396
Reviewed by Adam Barth.
Source/WebCore:
Add a new interface object (navigator.StorageQuota) and deprecate the old one (window.StorageInfo)
to make the code match with the latest Quota API WD:
http://www.w3.org/TR/quota-api/
Tests: storage/storagequota-query-usage.html
storage/storagequota-request-quota.html
- CMakeLists.txt:
- DerivedSources.cpp:
- DerivedSources.make:
- DerivedSources.pri:
- GNUmakefile.list.am:
- Modules/quota/DOMWindowQuota.cpp:
(WebCore::DOMWindowQuota::webkitStorageInfo): Added a deprecate warning message for the old interface.
- Modules/quota/NavigatorStorageQuota.cpp: Added for the new interface.
- Modules/quota/NavigatorStorageQuota.h: Added for the new interface.
- Modules/quota/NavigatorStorageQuota.idl: Added for the new interface.
- Modules/quota/StorageErrorCallback.cpp:
(WebCore::StorageErrorCallback::CallbackTask::CallbackTask):
(WebCore::StorageErrorCallback::CallbackTask::performTask):
- Modules/quota/StorageErrorCallback.h: Renamed from Source/WebCore/Modules/quota/StorageInfoErrorCallback.h.
(WebCore):
(StorageErrorCallback):
(WebCore::StorageErrorCallback::~StorageErrorCallback):
(WebCore::StorageErrorCallback::CallbackTask::create):
- Modules/quota/StorageErrorCallback.idl: Renamed from Source/WebCore/Modules/quota/StorageInfoErrorCallback.idl.
- Modules/quota/StorageInfo.cpp: Added code to relay requests to the new StorageQuota implementation.
- Modules/quota/StorageInfo.h:
- Modules/quota/StorageInfo.idl:
- Modules/quota/StorageQuota.cpp: Added for the new interface.
- Modules/quota/StorageQuota.h:
(WebCore::StorageQuota::create):
- Modules/quota/StorageQuota.idl: Copied from Source/WebCore/Modules/quota/StorageInfo.idl.
- Modules/quota/StorageQuotaCallback.h: Renamed from Source/WebCore/Modules/quota/StorageInfoQuotaCallback.h.
- Modules/quota/StorageQuotaCallback.idl: Renamed from Source/WebCore/Modules/quota/StorageInfoQuotaCallback.idl.
- Modules/quota/StorageUsageCallback.h: Renamed from Source/WebCore/Modules/quota/StorageInfoUsageCallback.h.
- Modules/quota/StorageUsageCallback.idl: Renamed from Source/WebCore/Modules/quota/StorageInfoUsageCallback.idl.
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.vcxproj/WebCore.vcxproj:
- WebCore.vcxproj/WebCore.vcxproj.filters:
- page/FeatureObserver.h:
Source/WebKit/chromium:
Add a new interface object (navigator.StorageQuota) and deprecate the old one (window.StorageInfo)
to make the code match with the latest Quota API WD:
http://www.w3.org/TR/quota-api/
- WebKit.gyp:
- src/AssertMatchingEnums.cpp:
- src/StorageQuotaChromium.cpp: Renamed from Source/WebKit/chromium/src/StorageInfoChromium.cpp.
(WebCore):
(WebCore::StorageQuota::queryUsageAndQuota):
(WebCore::StorageQuota::requestQuota):
- src/WebStorageQuotaCallbacksImpl.cpp:
(WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
- src/WebStorageQuotaCallbacksImpl.h:
(WebCore):
(WebStorageQuotaCallbacksImpl):
LayoutTests:
- platform/chromium/TestExpectations:
- storage/storagequota-query-usage-expected.txt: Added.
- storage/storagequota-query-usage.html: Added.
- storage/storagequota-request-quota-expected.txt: Added.
- storage/storagequota-request-quota.html: Added.
Rebaselines:
- platform/chromium/fast/dom/everything-to-string-expected.txt: Added.
- platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt:
- platform/chromium/fast/js/global-constructors-expected.txt:
- platform/chromium/http/tests/security/isolatedWorld/all-window-properties-expected.txt: Added.
- platform/chromium/http/tests/security/isolatedWorld/all-window-prototypes-expected.txt: Added.
- 7:36 PM Changeset in webkit [145781] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed. Sort the Xcode project file.
- WebCore.xcodeproj/project.pbxproj:
- 7:15 PM Changeset in webkit [145780] by
-
- 2 edits in trunk/LayoutTests
[WebGL] array-bounds-clamping should use less dramatic numbers
https://bugs.webkit.org/show_bug.cgi?id=112298
<rdar://problem/13415829>
Reviewed by Ken Russell.
Replace Number.MAX_VALUE with a non-infinite number.
- fast/canvas/webgl/array-bounds-clamping.html:
- 6:54 PM Changeset in webkit [145779] by
-
- 2 edits in tags/Safari-537.33.3/Source/WebKit2
Merged r145042. <rdar://problem/13363917>
- 6:51 PM Changeset in webkit [145778] by
-
- 4 edits in tags/Safari-537.33.3/Source
Versioning.
- 6:48 PM Changeset in webkit [145777] by
-
- 1 copy in tags/Safari-537.33.3
New Tag.
- 6:47 PM Changeset in webkit [145776] by
-
- 2 edits in trunk/LayoutTests
Make lint-test-expectations happy with the Apple-Windows TestExpectations files
Unreviewed.
- platform/win/TestExpectations:
- 5:44 PM Changeset in webkit [145775] by
-
- 1 edit in trunk/Source/WebKit/chromium/src/WorkerAsyncFileSystemChromium.cpp
Unreviewed build fix.
- 5:27 PM Changeset in webkit [145774] by
-
- 2 edits in trunk/Source/WebKit/chromium
Enable V8 binding integriy on Android.
https://bugs.webkit.org/show_bug.cgi?id=112297
Patch by Chris Palmer <palmer@google.com> on 2013-03-13
Reviewed by Adam Barth.
- features.gypi:
- 5:23 PM Changeset in webkit [145773] by
-
- 1 edit in trunk/Source/WebKit/chromium/src/WorkerAsyncFileSystemChromium.cpp
Unreviewd build fix.
- 5:03 PM Changeset in webkit [145772] by
-
- 3 edits in trunk/Source/WebCore
[HTMLTemplateElement] EOF should unwind the stack of template insertion modes iteratively
https://bugs.webkit.org/show_bug.cgi?id=111907
Reviewed by Adam Barth.
No behavioral changes. This patch only aligns our parser implementation with the present spec.
- html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processTemplateEndTag):
(WebCore::HTMLTreeBuilder::processEndOfFileForInTemplateContents):
(WebCore::HTMLTreeBuilder::processEndOfFile):
- html/parser/HTMLTreeBuilder.h:
(HTMLTreeBuilder):
- 5:01 PM Changeset in webkit [145771] by
-
- 16 edits in trunk/Source
Source/WebCore: FileSystem mods: Changes to snapshot file creation to reduce dependencies on blob URLs.
Adding a new minimal BlobDataHandle class which will be reimplemented/built upon in later CLs. In this
patch, it's just enough to refactor the FileSystem code to not function in terms of blobURLs.
https://bugs.webkit.org/show_bug.cgi?id=108851
Reviewed by Adam Barth.
No new tests. This is strictly a refactoring of the existing code.
- Modules/filesystem/DOMFileSystem.cpp:
(WebCore):
(WebCore::DOMFileSystem::createFile):
- Modules/filesystem/DOMFileSystemSync.cpp:
(WebCore):
- platform/AsyncFileSystemCallbacks.h:
(AsyncFileSystemCallbacks):
(WebCore::AsyncFileSystemCallbacks::didCreateSnapshotFile):
- platform/gtk/AsyncFileSystemGtk.cpp:
(WebCore::AsyncFileSystemGtk::createSnapshotFileAndReadMetadata):
(WebCore):
- platform/network/BlobData.cpp:
(WebCore):
(WebCore::BlobDataHandle::BlobDataHandle):
(WebCore::BlobDataHandle::~BlobDataHandle):
- platform/network/BlobData.h:
(WebCore):
(BlobDataHandle):
(WebCore::BlobDataHandle::create):
Source/WebKit/chromium: [Chromium] FileSystem mods: Changes to snapshot file creation to reduce dependencies on blobs.
No longer send a |blobURL| to the browser process, no longer expect the browser process
to have registered a blob with that url.
https://bugs.webkit.org/show_bug.cgi?id=108851
Reviewed by Adam Barth.
- src/AsyncFileSystemChromium.cpp:
(WebCore):
(WebCore::FileWriterHelperCallbacks::didCreateSnapshotFile):
(WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata):
- src/AsyncFileSystemChromium.h:
(AsyncFileSystemChromium):
- src/LocalFileSystemChromium.cpp:
(WebCore):
- src/WebFileSystemCallbacksImpl.cpp:
(WebKit::WebFileSystemCallbacksImpl::didCreateSnapshotFile):
(WebKit):
- src/WebFileSystemCallbacksImpl.h:
(WebCore):
(WebFileSystemCallbacksImpl):
- src/WorkerAsyncFileSystemChromium.cpp:
(WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata):
(WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
- src/WorkerFileSystemCallbacksBridge.cpp:
(WebKit::MainThreadFileSystemCallbacks::didCreateSnapshotFile):
(MainThreadFileSystemCallbacks):
(WebKit::WorkerFileSystemCallbacksBridge::postCreateSnapshotFileToMainThread):
(WebKit::WorkerFileSystemCallbacksBridge::createSnapshotFileOnMainThread):
(WebKit::WorkerFileSystemCallbacksBridge::didCreateSnapshotFileOnMainThread):
(WebKit):
(WebKit::WorkerFileSystemCallbacksBridge::WorkerFileSystemCallbacksBridge):
(WebKit::WorkerFileSystemCallbacksBridge::didCreateSnapshotFileOnWorkerThread):
- src/WorkerFileSystemCallbacksBridge.h:
(WebCore):
(WebKit):
(WebKit::WorkerFileSystemCallbacksBridge::create):
(WorkerFileSystemCallbacksBridge):
- 4:16 PM Changeset in webkit [145770] by
-
- 4 edits1 delete in trunk/Source/WebKit/chromium
[Chromium] Restrict WebNode::addEventListener and friends to a whitelist of event types
https://bugs.webkit.org/show_bug.cgi?id=112195
Reviewed by Eric Seidel.
Chromium only uses these APIs in extremely narrow ways. In order to
discourage Chromium from using these APIs in broader ways, this patch
restricts the APIs to a small whitelist of event types.
We might want to add some sort of flag to let CEF use expose these APIs
more broadly.
- WebKit.gypi:
- public/WebNode.h:
- src/WebNode.cpp:
(WebKit::WebNode::hasEventListeners):
(WebKit::WebNode::addEventListener):
- tests/EventListenerTest.cpp: Removed.
- These tests of DOM mutation events are no longer needed because we don't support listening for DOM mutation events via the API anymore.
- 4:00 PM Changeset in webkit [145769] by
-
- 2 edits in trunk/Tools
Unreviewed. Now I'm a reviewer :)
- Scripts/webkitpy/common/config/committers.py:
- 3:57 PM Changeset in webkit [145768] by
-
- 18 edits in trunk
Threaded HTML Parser is missing feature define flags in all but Chromium port's build files
https://bugs.webkit.org/show_bug.cgi?id=112277
Reviewed by Adam Barth.
.:
- Source/autotools/SetupWebKitFeatures.m4:
- Source/cmake/WebKitFeatures.cmake:
- Source/cmakeconfig.h.cmake:
Source/JavaScriptCore:
- Configurations/FeatureDefines.xcconfig:
Source/WebCore:
- Configurations/FeatureDefines.xcconfig:
Source/WebKit/mac:
- Configurations/FeatureDefines.xcconfig:
Source/WebKit2:
- Configurations/FeatureDefines.xcconfig:
Tools:
- Scripts/webkitperl/FeatureList.pm:
- qmake/mkspecs/features/features.pri:
WebKitLibraries:
- win/tools/vsprops/FeatureDefines.vsprops:
- win/tools/vsprops/FeatureDefinesCairo.vsprops:
- 3:56 PM Changeset in webkit [145767] by
-
- 3 edits in trunk/LayoutTests
Add a test case for flexbox with negative overflow having an out of flow flex item
https://bugs.webkit.org/show_bug.cgi?id=112294
Reviewed by Ojan Vafai.
- css3/flexbox/negative-overflow-expected.txt:
- css3/flexbox/negative-overflow.html:
- 3:55 PM Changeset in webkit [145766] by
-
- 2 edits in trunk/Source/WTF
Remove svn:executable from a file that isn't supposed to be executable.
Rubber-stamped by Geoff Garen.
- wtf/MediaTime.h:
- 3:50 PM Changeset in webkit [145765] by
-
- 6 edits in trunk/Source/WebCore
[V8] Get rid of more function-level static FunctionTemplates and ObjectTemplates in bindings
https://bugs.webkit.org/show_bug.cgi?id=112262
Patch by Marja Hölttä <marja@chromium.org> on 2013-03-13
Reviewed by Jochen Eisinger.
In the future we'll create and store function templates for main world
and non-main worlds separately (see bug 111724), having function
templates and object templates as static variables inside functions will
break the functionality.
No new tests (no changes in functionality yet; existing bindings
tests still pass).
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateImplementation):
- bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::createContext):
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::hasPrivateTemplate):
(WebCore):
- bindings/v8/V8PerIsolateData.h:
(V8PerIsolateData):
- bindings/v8/custom/V8HTMLDocumentCustom.cpp:
(WebCore::V8HTMLDocument::wrapInShadowObject):
- 3:34 PM Changeset in webkit [145764] by
-
- 3 edits in trunk/Tools
run-perf-tests should support content_shell
https://bugs.webkit.org/show_bug.cgi?id=112291
Reviewed by Eric Seidel.
- Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner._parse_args):
- 3:30 PM Changeset in webkit [145763] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Do not do scroll position adjustment if selecting in a subframe
https://bugs.webkit.org/show_bug.cgi?id=112290
Patch by Iris Wu <shuwu@blackberry.com> on 2013-03-13
Reviewed by Rob Buis.
PR 267394
In SelectionHandler::ensureSelectedTextVisible(), scroll position
animation is based on main frame. If selecting in a subframe, don't
do animation.
Internally Reviewed By Genevieve Mak.
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::ensureSelectedTextVisible):
- 3:28 PM Changeset in webkit [145762] by
-
- 3 edits in trunk/Source/WebCore
[CSS Grid Layout] Refactor GridCoordinate to hold GridSpans
https://bugs.webkit.org/show_bug.cgi?id=112211
Reviewed by Tony Chang.
In order to bring more spanning knowledge to RenderGrid without having
duplicated GridSpan resolution, it became needed to store them into
GridCoordinate. Note that this change is needed as we can only resolve
all the positions with enough context in one place: when we place the
item in the grid.
Refactoring, no change in behavior expected.
- rendering/RenderGrid.cpp:
(WebCore::RenderGrid::GridIterator::nextEmptyGridArea):
Updated to create 2 GridSpans. Also fixed a style violation (PassOwnPtr
as local member, not sure why it wasn't caught earlier).
(WebCore::RenderGrid::placeItemsOnGrid):
(WebCore::RenderGrid::placeSpecifiedMajorAxisItemsOnGrid):
(WebCore::RenderGrid::placeAutoMajorAxisItemOnGrid):
(WebCore::RenderGrid::gridAreaBreadthForChild):
(WebCore::RenderGrid::findChildLogicalPosition):
Updated the original function after GridCoordinate internal representation change.
(WebCore::RenderGrid::insertItemIntoGrid):
Ditto. Also added a new overloaded function that does resolution after auto-placement.
(WebCore::RenderGrid::resolveGridPositionsFromAutoPlacementPosition):
Removed the extra GridSpan computation, which was wrong.
- rendering/RenderGrid.h:
(WebCore::RenderGrid::GridCoordinate::GridCoordinate):
Updated GridCoordinate to hold 2 GridSpan. Also removed the 2 position
constructor (it would have been a hazard), replaced by a 2 GridSpan constructor.
- 3:24 PM Changeset in webkit [145761] by
-
- 2 edits in trunk/Source/WebCore
Also don't log error messages from the GraphicsContext3D if webGLErrorsToConsoleEnabled is false
https://bugs.webkit.org/show_bug.cgi?id=112284
Reviewed by Adam Barth.
When running layout tests in content_shell, we end up logging more information.
Since webGLErrorsToConsoleEnabled is false during layout tests, this change makes
sure we match the baselines.
- html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContextErrorMessageCallback::onErrorMessage):
- 3:15 PM CreatingLayoutTests edited by
- (diff)
- 2:59 PM Changeset in webkit [145760] by
-
- 2 edits in trunk/Source/WebCore
IndexedDB: Record attemps to open a path with non-ascii characters
https://bugs.webkit.org/show_bug.cgi?id=112224
Reviewed by Tony Chang.
We want to see if that's correlated with errors on open.
No new tests, there's no way to test histogramming that I know of. I
ran chrome locally with a non ascii path though.
- Modules/indexeddb/IDBBackingStore.cpp:
(WebCore::IDBBackingStore::open):
- 2:51 PM Changeset in webkit [145759] by
-
- 4 edits in trunk
Simplify Checked<> multiplication
https://bugs.webkit.org/show_bug.cgi?id=112286
Reviewed by James Robinson.
Source/WTF:
Trying to correctly identify multiplication by zero complicated the
unsigned * unsigned multiply, and still didn't handle all cases correctly.
Now we just do the normal division based approach to overflow detection
leading to much simpler reasoning.
Would be nice if we could have a jo style intrinsic one day.
- wtf/CheckedArithmetic.h:
Tools:
Add tests for multiplication by zero and max to ensure we don't
mess them up should we ever make changes to Checked<> in future.
- TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
(TestWebKitAPI):
- 2:50 PM Changeset in webkit [145758] by
-
- 4 edits2 adds in trunk
[CSS Grid Layout] Handle min-width / max-width on the grid element
https://bugs.webkit.org/show_bug.cgi?id=112269
Reviewed by Ojan Vafai.
Source/WebCore:
Test: fast/css-grid-layout/grid-element-min-max-width.html
- rendering/RenderGrid.cpp:
(WebCore::RenderGrid::GridIterator::GridIterator):
Added some sanity checks that the starting indexes are in the grid.
(WebCore::RenderGrid::computeIntrinsicLogicalWidths):
Updated the code to use m_grid to iterate: this is the correct way to
go as it will handle implicit rows / columns properly. Added a comment
about the current way being inefficient and incorrect with spanning grid
items.
(WebCore::RenderGrid::computePreferredLogicalWidths):
Updated the comments.
(WebCore::RenderGrid::gridTrackSize):
- rendering/RenderGrid.h:
Constified gridTrackSize.
LayoutTests:
- fast/css-grid-layout/grid-element-min-max-width-expected.txt: Added.
- fast/css-grid-layout/grid-element-min-max-width.html: Added.
- 2:49 PM Changeset in webkit [145757] by
-
- 3 edits2 adds in trunk/Source/WebKit
[BlackBerry] Add Proximity Detector.
https://bugs.webkit.org/show_bug.cgi?id=112278
Patch by Genevieve Mak <gmak@rim.com> on 2013-03-13
Reviewed by Rob Buis.
Internally Reviewed by Mike Lattanzio.
PR #243385
Source/WebKit:
- PlatformBlackBerry.cmake:
Source/WebKit/blackberry:
- WebKitSupport/ProximityDetector.cpp: Added.
(WebKit):
(BlackBerry::WebKit::getPriorityLevel):
(BlackBerry::WebKit::ProximityDetector::ProximityDetector):
(BlackBerry::WebKit::ProximityDetector::~ProximityDetector):
(BlackBerry::WebKit::ProximityDetector::findBestPoint):
- WebKitSupport/ProximityDetector.h: Added.
(WebCore):
(WebKit):
(ProximityDetector):
- 2:43 PM Changeset in webkit [145756] by
-
- 2 edits in trunk/Source/WebCore
[Qt] Prospective trivial build fix after r145744
Add missing closing parentheses.
- xml/parser/XMLDocumentParserQt.cpp:
(WebCore::XMLDocumentParser::parseDtd):
- 2:41 PM Changeset in webkit [145755] by
-
- 2 edits in trunk/Source/WebCore
Account for review feedback in https://bugs.webkit.org/show_bug.cgi?id=112279
that I'd mistakenly left out of my commit.
- loader/ResourceLoaderTypes.h:
- 2:38 PM Changeset in webkit [145754] by
-
- 2 edits in trunk/Source/WebCore
Crash in CompositeEditCommand::insertNodeAt.
https://bugs.webkit.org/show_bug.cgi?id=112280
Reviewed by Ryosuke Niwa.
- editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::insertNodeAt): Fix incorrect cast use of toElement.
Subsitute with toContainerNode.
- 2:36 PM Changeset in webkit [145753] by
-
- 18 edits1 add in trunk/Source
Small ResourceLoader cleanups.
https://bugs.webkit.org/show_bug.cgi?id=112279
Reviewed by Geoff Garen.
Source/WebCore:
No new tests (Refactor with no behavior change).
1 - Add "OVERRIDE" to virtual methods in subclasses of ResourceLoader to catch future mistakes.
2 - Replace the "bool allAtOnce" flag with a descriptive enum to make reading code easier.
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
- loader/NetscapePlugInStreamLoader.cpp:
(WebCore::NetscapePlugInStreamLoader::didReceiveData):
- loader/NetscapePlugInStreamLoader.h:
- loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::addData):
(WebCore::ResourceLoader::didReceiveData):
- loader/ResourceLoader.h:
- loader/ResourceLoaderTypes.h: Added.
- loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::didReceiveData):
- loader/SubresourceLoader.h:
Source/WebKit2:
Replace the "bool allAtOnce" flag with a descriptive enum to make reading code easier.
- NetworkProcess/NetworkResourceLoader.cpp:
(WebKit::NetworkResourceLoader::didReceiveData):
- WebProcess/Network/WebResourceLoader.cpp:
(WebKit::WebResourceLoader::didReceiveData):
(WebKit::WebResourceLoader::didReceiveResource):
- WebProcess/Network/WebResourceLoader.h:
- WebProcess/Network/WebResourceLoader.messages.in: Get rid of the "allAtOnce" flag since it was always false.
- 2:27 PM Changeset in webkit [145752] by
-
- 2 edits in trunk/Source/WebCore
chromium's WebFrameTest.ReplaceNavigationAfterHistoryNavigation failing after r145734
https://bugs.webkit.org/show_bug.cgi?id=112281
Reviewed by Adam Barth.
Fixes the aforementioned chromiun webkit_unit_test
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::maybeFinishLoadingMultipartContent): FrameLoader::isReplacing() is not quite
synonymous with loading multipart content. Check that it's actually loading multipart before doing
multipart-specific things.
- 2:26 PM Changeset in webkit [145751] by
-
- 4 edits in trunk/Source/WTF
Unreviewed attempted build fix for Windows. SchedulePair.cpp -> SchedulePairCF.cpp
- WTF.vcproj/WTF.vcproj:
- WTF.vcxproj/WTF.vcxproj:
- WTF.vcxproj/WTF.vcxproj.filters:
- 2:16 PM Changeset in webkit [145750] by
-
- 24 edits4 adds in trunk
Add the default video poster if it doesn't exist in video tag
https://bugs.webkit.org/show_bug.cgi?id=110263
Patch by Tao Bai <michaelbai@chromium.org> on 2013-03-13
Reviewed by Eric Carlson.
Source/WebCore:
Tests: media/video-default-poster.html
media/video-no-default-poster.html
The Android web view application could provide the default poster
for a video that doesn't have the poster attribute.
To provide the default poster, the application must set defaultVideoPosterURL
setting and return the image in the response of that URL.
The way to do this would be:
A) Replace the Element::imageSourceAttributeName function with an
Element::imageSourceURL function that returns the imageSourceURL as a
const AtomicString&. The body will be the same as before, it will just also
include a call to getAttribute. Also will need to revise the four classes
that override that function.
B) Add a new HTMLVideoElement::posterImageURL function that implements the
default poster URL logic.
C) Update the four functions that get the poster attribute to handle poster
loading and display to call posterImageURL.
1) HTMLVideoElement::imageSourceURL.
2) HTMLVideoElement::setDisplayMode.
3) HTMLVideoElement::updateDisplayState.
4) HTMLMediaElement::getPluginProxyParams. Will need to cast to
HTMLVideoElement after checking isVideo.
- dom/Element.cpp:
(WebCore::Element::imageSourceURL): Replace imageSourceAttributeName() with imageSourceURL()
- dom/Element.h: Replace imageSourceAttributeName() with imageSourceURL()
- html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::imageSourceURL): Replace imageSourceAttributeName() with imageSourceURL()
- html/HTMLEmbedElement.h: Replace imageSourceAttributeName() with imageSourceURL()
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::getPluginProxyParams): Change to use posterImageURL
- html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::imageSourceURL): Replace imageSourceAttributeName() with imageSourceURL()
- html/HTMLObjectElement.h: Replace imageSourceAttributeName with imageSourceURL
- html/HTMLVideoElement.cpp:
(WebCore::HTMLVideoElement::HTMLVideoElement): set m_defaultPosterURL if there is such settings
(WebCore::HTMLVideoElement::imageSourceURL): Replace imageSourceAttributeName() with imageSourceURL()
(WebCore::HTMLVideoElement::setDisplayMode): Use imageSourceURL()
(WebCore::HTMLVideoElement::updateDisplayState): Use imageSourceURL()
(WebCore::HTMLVideoElement::posterImageURL): Return image source's KURL
- html/HTMLVideoElement.h: Replace imageSourceAttributeName() with imageSourceURL() and add m_defaultPosterURL
- loader/ImageLoader.cpp:
(WebCore::ImageLoader::updateFromElement): Use imageSourceURL()
- page/Settings.in: Add defaultVideoPosterURL setting.
- platform/chromium/PasteboardChromium.cpp:
(WebCore::Pasteboard::writeImage): use imageSourceURL()
- platform/gtk/PasteboardGtk.cpp:
(WebCore::getURLForImageNode): use imageSourceURL()
- rendering/HitTestResult.cpp:
(WebCore::HitTestResult::absoluteImageURL): use imageSourceURL()
- svg/SVGImageElement.cpp:
(WebCore::SVGImageElement::imageSourceURL): Replace imageSourceAttributeName() with imageSourceURL()
- svg/SVGImageElement.h: Replace imageSourceAttributeName() with imageSourceURL()
- testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::Backup): support backup defaultVideoPosterURL.
(WebCore::InternalSettings::Backup::restoreTo): support restore defaultVideoPosterURL.
(WebCore::InternalSettings::setDefaultVideoPosterURL): set defaultVideoPosterURL.
- testing/InternalSettings.h:
(Backup): support backup defaultVideoPosterURL.
(InternalSettings): Add setDefaultVidoePosterURL method.
- testing/InternalSettings.idl: Add setDefaultVideoPosterURL for test purpose.
- testing/Internals.cpp:
(WebCore::Internals::getImageSourceURL): Add getImageSourceURL method.
- testing/Internals.h: Add getImageSourceURL method.
- testing/Internals.idl: Add getImageSourceURL method.
LayoutTests:
The Android web view application could provide the default poster
for a video that doesn't have the poster attribute.
To provide the default poster, the application must set defaultVideoPosterURL
setting and return the image in the response of that URL.
The way to do this would be:
A) Replace the Element::imageSourceAttributeName function with an
Element::imageSourceURL function that returns the imageSourceURL as a
const AtomicString&. The body will be the same as before, it will just also
include a call to getAttribute. Also will need to revise the four classes
that override that function.
B) Add a new HTMLVideoElement::posterImageURL function that implements the
default poster URL logic.
C) Update the four functions that get the poster attribute to handle poster
loading and display to call posterImageURL.
1) HTMLVideoElement::imageSourceURL.
2) HTMLVideoElement::setDisplayMode.
3) HTMLVideoElement::updateDisplayState.
4) HTMLMediaElement::getPluginProxyParams. Will need to cast to
HTMLVideoElement after checking isVideo.
- media/video-default-poster-expected.txt: Added.
- media/video-default-poster.html: Added.
- media/video-no-default-poster-expected.txt: Added.
- media/video-no-default-poster.html: Added.
- 1:55 PM Changeset in webkit [145749] by
-
- 2 edits in trunk/LayoutTests
Force clip in fast/regions/autoheight-break-after-expected.html to match test
https://bugs.webkit.org/show_bug.cgi?id=112283
Reviewed by David Hyatt.
Regions always set a clip rect when rendering their contents. On Mountain Lion, the Ahem glyphs very slightly
visually overflow their bounds if there's no clip set. This sets a clip in the reference file so we get the same
rendering.
- fast/regions/autoheight-break-after-expected.html:
- 1:44 PM Changeset in webkit [145748] by
-
- 3 edits in trunk/Source/WTF
[iOS] Add optimized version of StringImpl's equal(LChar*,LChar*) for Apple CPUs
https://bugs.webkit.org/show_bug.cgi?id=112202
Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-03-13
Reviewed by Gavin Barraclough.
- Source/WTF/wtf/Platform.h:
Make the macro WTF_ARM_ARCH_VERSION valid on any architecture.
- wtf/text/StringImpl.h:
(WTF::equal):
On ARMv7S, the new version is about 11% percent faster than the simple loop.
On ARMv7 classic, memcmp is a little faster than the simple loop on Apple A5.
- 1:42 PM Changeset in webkit [145747] by
-
- 2 edits in trunk/Tools
[Qt] Unreviewed prospective Windows build fix
Do the usual thing, include the moc generated code in the .cpp file instead
of compiling it standalone, to ensure that config.h is included, too, and
NOMINMAX is defined to avoid the min/max conflict when also including qdatetime.h.
- DumpRenderTree/qt/EventSenderQt.cpp:
- 1:38 PM Changeset in webkit [145746] by
-
- 2 edits in trunk/LayoutTests
Make lint-test-expectations happy with the Apple-Windows TestExpectations files
Unreviewed.
accessibility/radio-button-checkbox-size.html was moved to platform/mac in http://trac.webkit.org/changeset/138124
fast/css/ignore-text-zoom.html was removed in http://trac.webkit.org/changeset/145168
inspector-protocol/layer-tree.html was removed in http://trac.webkit.org/changeset/144624
Remove a bunch of duplicate entries.
- platform/win/TestExpectations:
- 1:29 PM Changeset in webkit [145745] by
-
- 88 edits in trunk/Source
Replace static_casts with to* functions for document types.
https://bugs.webkit.org/show_bug.cgi?id=112225
Reviewed by Ryosuke Niwa.
Source/WebCore:
to* helper functions are preferred over static_cast calls since they
help to catch bad casts easily on the testing infrastructure.
- Modules/geolocation/Geolocation.cpp:
(WebCore::Geolocation::document):
....lot of files.
Source/WebKit2:
- WebProcess/InjectedBundle/API/mac/WKDOMDocument.mm: Remove the redundant helper.
- 1:24 PM Changeset in webkit [145744] by
-
- 4 edits4 adds in trunk
Source/WebCore: Handle XHTML entities in XHTML Mobile Profile 1.1 and 1.2. We previously only handled them in XHTML Mobile Profile 1.0.
https://bugs.webkit.org/show_bug.cgi?id=112174
RIM PR 309038
Patch by Liam Quinn <lquinn@blackberry.com> on 2013-03-13
Reviewed by Rob Buis.
Internally reviewed by Leo Yang.
Check for the 1.1 and 1.2 doctypes alongside the 1.0 doctype.
Tests: fast/doctypes/xhtml-with-xhtmlmp11-doctype.xhtml
fast/doctypes/xhtml-with-xhtmlmp12-doctype.xhtml
- xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::externalSubsetHandler):
- xml/parser/XMLDocumentParserQt.cpp:
(WebCore::XMLDocumentParser::parseDtd):
LayoutTests: New tests to check that XHTML entities are supported in XHTML Mobile Profile 1.1 and 1.2.
https://bugs.webkit.org/show_bug.cgi?id=112174
RIM PR 309038
Patch by Liam Quinn <lquinn@blackberry.com> on 2013-03-13
Reviewed by Rob Buis.
Internally reviewed by Leo Yang.
- fast/doctypes/xhtml-with-xhtmlmp11-doctype-expected.txt: Added.
- fast/doctypes/xhtml-with-xhtmlmp11-doctype.xhtml: Added.
- fast/doctypes/xhtml-with-xhtmlmp12-doctype-expected.txt: Added.
- fast/doctypes/xhtml-with-xhtmlmp12-doctype.xhtml: Added.
- 1:23 PM Changeset in webkit [145743] by
-
- 4 edits1 move in trunk/Source/WTF
SchedulePair.cpp is CF-specific
https://bugs.webkit.org/show_bug.cgi?id=112204
Patch by James Robinson <jamesr@chromium.org> on 2013-03-13
Reviewed by Oliver Hunt.
This renames SchedulePair.cpp SchedulePairCF.cpp, since it depends on CF, and excludes it from chromium's gyp
files.
- WTF.gyp/WTF.gyp: Add CF to the exclusion filter for the Chromium port.
- WTF.gypi: Add SchedulePairCF.cpp
- WTF.xcodeproj/project.pbxproj: Update project file to point to new .cpp location
- wtf/SchedulePairCF.cpp: Renamed from Source/WTF/wtf/SchedulePair.cpp.
- 1:23 PM Changeset in webkit [145742] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, fix a path in TestExpectations.
- platform/mac/TestExpectations:
- 1:10 PM Changeset in webkit [145741] by
-
- 3 edits in trunk/Source/WebCore
[EFL] Better error handling in NetworkStateNotifierEfl
https://bugs.webkit.org/show_bug.cgi?id=112184
Reviewed by Kenneth Rohde Christiansen.
Improve error handling in for system calls in NetworkStateNotifierEfl.
- EINTR errors are now properly handled for close() and recv() syscalls
- recv() errors are now correctly detected, for e.g. if the socket was
closed unexpectedly.
- Make sure m_fdHandler is reset when the callback returns
ECORE_CALLBACK_CANCEL to avoid double free in destructor. m_fdHandler
gets destroyed when the callback returns ECORE_CALLBACK_CANCEL.
- Keep netlink socket file descriptor as a class member so that we can
close() it in the class destructor, even if m_fdHandler has already
been destroyed.
No new tests, no behavior change for layout tests.
- platform/network/NetworkStateNotifier.h:
(NetworkStateNotifier):
- platform/network/efl/NetworkStateNotifierEfl.cpp:
(WebCore::NetworkStateNotifier::readSocketCallback):
(WebCore::NetworkStateNotifier::~NetworkStateNotifier):
(WebCore::NetworkStateNotifier::NetworkStateNotifier):
- 12:59 PM WebKitGtkLayoutTests edited by
- (diff)
- 12:58 PM Changeset in webkit [145740] by
-
- 3 edits in trunk/Source/Platform
[chromium] MediaStream API: Cleaning away deprecated and unused states
https://bugs.webkit.org/show_bug.cgi?id=112258
Reviewed by Adam Barth.
- chromium/public/WebRTCPeerConnectionHandler.h:
(WebRTCPeerConnectionHandler):
- chromium/public/WebRTCPeerConnectionHandlerClient.h:
(WebRTCPeerConnectionHandlerClient):
- 12:57 PM BuildingGtk edited by
- (diff)
- 12:55 PM Changeset in webkit [145739] by
-
- 2 edits in trunk/Source/WebKit/chromium
Add new Skia code suppression flags
Unreviewed build update.
- skia_webkit.gyp: Add 'SK_DISABLE_BLUR_ROUNDING', 'SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX',
'SK_IGNORE_PICTURE_RECORD_SAVE_LAYER_OPT', 'SK_IGNORE_FAST_RECT_BLUR', 'SK_IGNORE_CUBIC_STROKE_FIX'
- 12:46 PM Changeset in webkit [145738] by
-
- 4 edits in trunk/Source
[GTK] Build fixes after 145552
https://bugs.webkit.org/show_bug.cgi?id=112267
Patch by Zan Dobersek <zdobersek@igalia.com> on 2013-03-13
Reviewed by Gustavo Noronha Silva.
Source/Platform:
- GNUmakefile.am: Include the same-level GNUmakefile.list.am.
Fix a typo in the inline visibility compiler flag.
Source/WebKit2:
- GNUmakefile.am: Narrow down the dependency CFLAGS list to only ones that are actually needed
to build the platformgtk_sources into libPlatformGtk2.la. At the moment this means only
GTK+-2.0 CFLAGS are used.
- 12:32 PM Changeset in webkit [145737] by
-
- 2 edits in trunk/LayoutTests
Clean out some stale chromium TestExpectations entries.
- platform/chromium/TestExpectations:
- 12:28 PM Changeset in webkit [145736] by
-
- 5 edits2 adds in trunk
Regression(r143542): -webkit-align-items: center with overflow: auto/scroll has extra bottom padding
https://bugs.webkit.org/show_bug.cgi?id=112047
Reviewed by Ojan Vafai.
Source/WebCore:
Add a new pass for computing the client bottom edge that runs after we've repositioned children
due to wrap-reverse, flex-end or vertical centering.
Test: css3/flexbox/negative-overflow.html
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock): Remove the code to use clientLogicalBottom() that was computed before
repositioning. The repositioning can change the edge.
(WebCore::RenderFlexibleBox::clientLogicalBottomAfterRepositioning): Compute the new bottom based on the final position
of flex items.
- rendering/RenderFlexibleBox.h:
(RenderFlexibleBox):
LayoutTests:
- css3/flexbox/negative-overflow-expected.txt: Added.
- css3/flexbox/negative-overflow.html: Added.
- resources/check-layout.js: Add attributes for checking scroll width and scroll height.
- 12:14 PM Changeset in webkit [145735] by
-
- 10 edits2 adds in trunk
.: Expose symbols for internals
https://bugs.webkit.org/show_bug.cgi?id=112194
Reviewed by Alexey Proskuryakov.
- Source/autotools/symbols.filter:
Source/WebCore: REGRESSION(r137607): Redirecting a post to a get then reloading triggers resubmit warning
https://bugs.webkit.org/show_bug.cgi?id=112194
Reviewed by Alexey Proskuryakov.
Test: http/tests/navigation/post-redirect-get-reload.php
- loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::willSendRequest): Matching urls aren't a reliable way of checking whether
we are in a redirect. Check redirectResponse.isNull() instead.
- testing/Internals.cpp:
(WebCore::Internals::forceReload): Expose a means of forcing a reload like one a user generates for testing.
Note that testRunner.queueReload() does this, but is not supported after the initial load completes,
which makes it unsuitable for this case.
- testing/Internals.h:
- testing/Internals.idl:
Source/WebKit/win: Expose symbols for internals
https://bugs.webkit.org/show_bug.cgi?id=112194
Reviewed by Alexey Proskuryakov.
- WebKit.vcproj/WebKitExports.def.in:
LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=112194.
Reviewed by Alexey Proskuryakov.
- http/tests/navigation/post-redirect-get-reload-expected.txt: Added.
- http/tests/navigation/post-redirect-get-reload.php: Added.
- 12:11 PM Changeset in webkit [145734] by
-
- 5 edits in trunk/Source/WebCore
Merge MainResourceLoader's didFinishLoading and dataReceived into DocumentLoader
https://bugs.webkit.org/show_bug.cgi?id=109952
Reviewed by Antti Koivisto.
No new tests, refactor only.
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::DocumentLoader):
(WebCore::DocumentLoader::finishedLoading):
(WebCore::DocumentLoader::responseReceived):
(WebCore::DocumentLoader::receivedData):
(WebCore::DocumentLoader::maybeLoadEmpty):
- loader/DocumentLoader.h:
- loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::responseReceived): Move content filtering to
DocumentLoader.
(WebCore::MainResourceLoader::dataReceived): Mostly moved to DocumentLoader.
(WebCore::MainResourceLoader::didFinishLoading): Mostly moved to DocumentLoader.
- loader/MainResourceLoader.h: Expose some variables that haven't been moved
to DocumentLoader yet.
- 11:52 AM Changeset in webkit [145733] by
-
- 5 edits in branches/safari-534.59-branch/Source
Versioning.
- 11:51 AM Changeset in webkit [145732] by
-
- 1 copy in tags/Safari-534.59.5
New Tag.
- 11:47 AM Changeset in webkit [145731] by
-
- 4 edits in trunk/Source/WebKit2
Calling WebInspectorClient::highlight() during a fade-out animation of the PageOverlay won't stop its animation
https://bugs.webkit.org/show_bug.cgi?id=112271
Reviewed by Tim Horton.
Add a new stopFadeOutAnimation() on PageOverlay that we call when
WebInspectorClient::highlight() is called and a page overlay
is already available. This ensures that any fade-out animation
is cleared before proceeding with showing the page overlay
for the new highlight.
- WebProcess/WebCoreSupport/WebInspectorClient.cpp:
(WebKit::WebInspectorClient::highlight):
- WebProcess/WebPage/PageOverlay.cpp:
(WebKit::PageOverlay::stopFadeOutAnimation):
(WebKit):
- WebProcess/WebPage/PageOverlay.h:
(PageOverlay):
- 11:42 AM Changeset in webkit [145730] by
-
- 4 edits in branches/safari-536.29-branch/Source
Versioning
- 11:39 AM Changeset in webkit [145729] by
-
- 1 copy in tags/Safari-536.29.9
New Tag.
- 11:32 AM Changeset in webkit [145728] by
-
- 3 edits2 adds in trunk
[CSS Regions] Break after doesn't work correctly with auto-height regions
https://bugs.webkit.org/show_bug.cgi?id=112241
Reviewed by David Hyatt.
Source/WebCore:
The change correctly returns the break position during the normal layout phase for
auto-height regions. The problem doesn't exist during the constrained layout phase
so it only affects the size of the auto-height regions by incorrectly positioning
the content inside the flow.
Test: fast/regions/autoheight-break-after.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::applyAfterBreak): Include the margin offset in the returned break position.
LayoutTests:
This reference test verifies the correct break positioned is computed when there are auto-height regions during
the normal layout phase.
The test includes an auto-height region, a region with a specified size and an auto-height region. The first
region ends with a paragraph with a forced break after. During the normal layout phase, if the paragraph margin
is not included in the break offset, the next paragraph is incorrectly positioned and it will result in an
incorrectly sized last region.
In the constrained layout phase, the break position is returned correctly, the paragraph is positioned further down
causing overflow in the auto-height region.
- fast/regions/autoheight-break-after-expected.html: Added.
- fast/regions/autoheight-break-after.html: Added.
- 11:14 AM Changeset in webkit [145727] by
-
- 5 edits in trunk/Source/WebCore
Web Inspector: coalesce repeating timeline records
https://bugs.webkit.org/show_bug.cgi?id=112168
Reviewed by Vsevolod Vlasov.
- coalesce repeating top-level timeline events;
- drive-by: only show categories that actually took time in aggregated stats;
- English.lproj/localizedStrings.js:
- inspector/front-end/TimelineFrameController.js:
(WebInspector.TimelineFrameController.prototype._innerAddRecord):
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._highlightRect):
(WebInspector.TimelineCalculator.prototype.computeBarGraphPercentages):
- inspector/front-end/TimelinePresentationModel.js:
(WebInspector.TimelinePresentationModel.prototype.reset):
(WebInspector.TimelinePresentationModel.prototype._innerAddRecord):
(WebInspector.TimelinePresentationModel.prototype._updateAncestorStats):
(WebInspector.TimelinePresentationModel.prototype._findCoalescedParent):
(WebInspector.TimelinePresentationModel.prototype._replaceWithCoalescedRecord):
(WebInspector.TimelinePresentationModel.Record):
(WebInspector.TimelinePresentationModel.adoptRecord):
(WebInspector.TimelinePresentationModel.insertRetrospectiveRecord):
(WebInspector.TimelinePresentationModel.Record.prototype.get selfTime):
(WebInspector.TimelinePresentationModel.Record.prototype._generatePopupContentWithImagePreview):
(WebInspector.TimelinePresentationModel.Record.prototype._getRecordDetails):
(WebInspector.TimelinePresentationModel.Record.prototype.calculateAggregatedStats):
- 10:01 AM Changeset in webkit [145726] by
-
- 4 edits2 adds in trunk
Fix body background image geometry calculation
https://bugs.webkit.org/show_bug.cgi?id=112226
Reviewed by Stephen Chenney.
Source/WebCore:
Images that depend on a container size require a call to set the container size before
rendering, and a call to look up the correct image during painting.
The body's renderer is special in that it may not be the renderer that actually paints its
background. This patch fixes a bug where the correct RenderObject was used for looking up
the image, but not for setting the container size. This fixes SVG background images on body.
Test: svg/as-background-image/svg-as-background-body.html
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintFillLayerExtended):
(WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
This change introduces clientForBackgroundImage in the background geometry calculation.
This is very similar to how the client is looked up in paintFillLayerExtended.
- rendering/RenderBoxModelObject.h:
The new signature for calculateBackgroundImageGeometry now mirrors
paintFillLayerExtended, containing a parameter for the correct background renderer.
(RenderBoxModelObject):
LayoutTests:
This test is required to have a repeating background, as we optimize non-repeating
backgrounds so the bug is not hit. A light green color is used so the text is still
readable, and gridlines are present to prove the correct container size is being used.
- svg/as-background-image/svg-as-background-body-expected.html: Added.
- svg/as-background-image/svg-as-background-body.html: Added.
- 9:28 AM WebKitGTK/2.0.x edited by
- (diff)
- 9:27 AM Changeset in webkit [145725] by
-
- 16 edits in releases/WebKitGTK/webkit-2.0
[GTK] Add webkit_uri_request_get_http_headers to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=112160
Reviewed by Martin Robinson.
Source/WebCore:
- platform/network/soup/GOwnPtrSoup.cpp:
(WTF::SoupMessageHeaders): Add freeOwnedGPtr implementation for
SoupMessageHeaders.
(WTF):
- platform/network/soup/GOwnPtrSoup.h:
(WTF):
- platform/network/soup/ResourceRequest.h:
(ResourceRequest):
- platform/network/soup/ResourceRequestSoup.cpp:
(WebCore::ResourceRequest::updateSoupMessageHeaders): New function
to update the given SoupMessageHeaders with the ResourceRequest
headers.
(WebCore::ResourceRequest::updateFromSoupMessageHeaders): New
function to update the ResourceRequest headers with the given
SoupMessageHeaders.
(WebCore::ResourceRequest::updateSoupMessage): Use
updateSoupMessageHeaders() to update the headers.
(WebCore::ResourceRequest::toSoupMessage): Ditto.
(WebCore::ResourceRequest::updateFromSoupMessage): Use
updateFromSoupMessageHeaders to update the headers.
Source/WebKit2:
It allows to load requests with custom headers, or to update the
headers of a request before being sent to the server in the
WebKitWebPage::send-request callback.
- UIProcess/API/gtk/WebKitURIRequest.cpp:
(_WebKitURIRequestPrivate): Add SoupMessageHeaders.
(webkit_uri_request_get_http_headers): Return the HTTP headers of
the request as a SoupMessageHeaders if the request is HTTP. A new
SoupMessageHeaders is created on demand using the existing headers
of the request.
(webkitURIRequestGetResourceRequest): Instead of returning a const
reference of the internal ResourceRequest, set a request passed as
a reference and update its HTTP headers using the
SoupMessageHeaders if present.
- UIProcess/API/gtk/WebKitURIRequest.h:
- UIProcess/API/gtk/WebKitURIRequestPrivate.h:
- UIProcess/API/gtk/WebKitWebView.cpp:
(webkit_web_view_load_request): Update to the new
webkitURIRequestGetResourceRequest API.
- UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add
webkit_uri_request_get_http_headers symbol.
- UIProcess/API/gtk/tests/TestLoaderClient.cpp:
(testWebPageURI):
(testURIRequestHTTPHeaders):
(serverCallback):
(beforeAll):
- WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
(willSendRequestForFrame): Update to the new
webkitURIRequestGetResourceRequest API.
Tools:
- MiniBrowser/gtk/GNUmakefile.am: Add missing libsoup flags to
CPPFLAGS.
- 9:23 AM Changeset in webkit [145724] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [CodeMirror] Handle "enter" key in {|} situation
https://bugs.webkit.org/show_bug.cgi?id=112153
Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-13
Reviewed by Vsevolod Vlasov.
Add a keymap to handle "Enter" key and override it in case of {|}
situation.
No new tests.
- inspector/front-end/CodeMirrorTextEditor.js:
(WebInspector.CodeMirrorTextEditor):
(WebInspector.CodeMirrorTextEditor.BlockIndentController):
(WebInspector.CodeMirrorTextEditor.BlockIndentController.prototype.Enter):
- 8:47 AM Changeset in webkit [145723] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: [CodeMirror] bug with LineWidgets
https://bugs.webkit.org/show_bug.cgi?id=111978
Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-13
Reviewed by Vsevolod Vlasov.
Implement CodeMirrorTextEditor.beginUpdates and
CodeMirrorTextEditor.endUpdates and surround decoration creation
with the beginUpdates/endUpdates calls.
No new tests.
- inspector/front-end/CodeMirrorTextEditor.js:
(WebInspector.CodeMirrorTextEditor):
(WebInspector.CodeMirrorTextEditor.prototype.beginUpdates):
(WebInspector.CodeMirrorTextEditor.prototype.endUpdates):
- inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype.addMessageToSource):
- 8:38 AM Changeset in webkit [145722] by
-
- 23 edits in trunk/Source/WebKit/gtk
[GTK][Introspection] Fix of gtk doc annotation warnings
https://bugs.webkit.org/show_bug.cgi?id=109182
Patch by Tomas Popela <tpopela@redhat.com> on 2013-03-13
Reviewed by Martin Robinson.
Fixed some gtk doc annotation warnings that appears during
compiling. Also some white characters were removed and some restyling
was done - all the g_signal_new in webkit directory have now the same
style.
- webkit/webkitdownload.cpp:
(webkit_download_class_init):
- webkit/webkitfavicondatabase.cpp:
(webkit_favicon_database_class_init):
- webkit/webkitgeolocationpolicydecision.cpp:
- webkit/webkitglobals.cpp:
- webkit/webkithittestresult.h:
- webkit/webkiticondatabase.cpp:
(webkit_icon_database_class_init):
- webkit/webkitsecurityorigin.cpp:
- webkit/webkitsecurityorigin.h:
- webkit/webkitsoupauthdialog.cpp:
- webkit/webkitspellchecker.cpp:
- webkit/webkitviewportattributes.cpp:
(webkit_viewport_attributes_class_init):
- webkit/webkitwebdatabase.cpp:
- webkit/webkitwebframe.cpp:
(webkit_web_frame_class_init):
- webkit/webkitwebframe.h:
- webkit/webkitwebinspector.cpp:
(webkit_web_inspector_class_init):
- webkit/webkitwebnavigationaction.cpp:
(webkit_web_navigation_action_class_init):
- webkit/webkitwebplugindatabase.cpp:
- webkit/webkitwebpolicydecision.cpp:
- webkit/webkitwebresource.cpp:
(webkit_web_resource_class_init):
- webkit/webkitwebsettings.cpp:
(webkit_web_settings_class_init):
- webkit/webkitwebview.cpp:
(webkit_web_view_class_init):
(webkit_web_view_apply_zoom_level):
- webkit/webkitwebwindowfeatures.cpp:
(webkit_web_window_features_equal):
- 8:37 AM Changeset in webkit [145721] by
-
- 5 edits in trunk/Source/WebKit/chromium
Cleanup dead MediaSource code now that the Chromium-side refactor is complete.
https://bugs.webkit.org/show_bug.cgi?id=110371
Reviewed by Adam Barth.
- public/WebMediaPlayer.h:
(WebKit):
(WebMediaPlayer): Remove old MediaSource methods and default MediaSource load() implementation.
- public/WebMediaPlayerClient.h: Remove old MediaSource methods.
- src/WebMediaPlayerClientImpl.cpp: Remove WebMediaSourceClientImpl & WebSourceBufferImpl classes that
are no longer needed.
- src/WebMediaPlayerClientImpl.h: Remove old MediaSource methods.
(WebMediaPlayerClientImpl):
- 8:34 AM Changeset in webkit [145720] by
-
- 4 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Touch Hold selection does not scroll text area or other subframe until selection reaches bottom of the page.
https://bugs.webkit.org/show_bug.cgi?id=112259
Patch by Iris Wu <shuwu@blackberry.com> on 2013-03-13
Reviewed by Rob Buis.
PR 267394
While selecting in a subframe, check that the selection reaches
the bottom of the current subframe instead of the page.
Internally Reviewed by Genevieve Mak.
- Api/InRegionScroller.cpp:
(BlackBerry::WebKit::InRegionScrollerPrivate::updateSelectionScrollView):
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::selectAtPoint):
(BlackBerry::WebKit::SelectionHandler::ensureSelectedTextVisible):
(BlackBerry::WebKit::SelectionHandler::selectionViewportRect):
(WebKit):
(BlackBerry::WebKit::SelectionHandler::expandSelectionToGranularity):
- WebKitSupport/SelectionHandler.h:
(BlackBerry::WebKit::SelectionHandler::setSelectionViewportRect):
(SelectionHandler):
- 8:24 AM Changeset in webkit [145719] by
-
- 15 edits in trunk
[Qt] Port TestRunner::findString to shared interface
https://bugs.webkit.org/show_bug.cgi?id=112147
Reviewed by Jocelyn Turcotte.
Source/WebKit/qt:
Add new find options used by the DRT.
- WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- WebCoreSupport/DumpRenderTreeSupportQt.h:
- WebCoreSupport/QWebPageAdapter.cpp:
(QWebPageAdapter::findText):
- WebCoreSupport/QWebPageAdapter.h:
- WidgetApi/qwebpage.cpp:
- WidgetApi/qwebpage.h:
Tools:
This patch also removes DumpRenderTree and some other helper classes from
the WebCore namespace, to which they do not really belong.
- DumpRenderTree/qt/DumpRenderTreeMain.cpp:
(main):
- DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(DumpRenderTree::DumpRenderTree):
(DumpRenderTree::~DumpRenderTree):
(DumpRenderTree::instance):
(DumpRenderTree::setShouldTimeout):
- DumpRenderTree/qt/DumpRenderTreeQt.h:
(DumpRenderTree):
- DumpRenderTree/qt/EventSenderQt.cpp:
(EventSender::contextClick):
(EventSender::sendEvent):
(EventSender::postEvent):
- DumpRenderTree/qt/EventSenderQt.h:
(EventSender::isGraphicsBased):
- DumpRenderTree/qt/TestRunnerQt.cpp:
(TestRunnerQt::TestRunnerQt):
(TestRunner::findString):
(TestRunnerQt::setMockDeviceOrientation):
(TestRunnerQt::setGeolocationPermission):
(TestRunnerQt::numberOfPendingGeolocationPermissionRequests):
(TestRunnerQt::setMockGeolocationPositionUnavailableError):
(TestRunnerQt::setMockGeolocationPosition):
- DumpRenderTree/qt/TestRunnerQt.h:
(TestRunnerQt):
- 7:25 AM WebKitGTK/2.0.x edited by
- (diff)
- 7:22 AM Changeset in webkit [145718] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0/Source/WebCore
Merge r145561 - [GTK] Remove HILDON_CPPFLAGS and HILDON_CFLAGS references from GNUmakefiles
https://bugs.webkit.org/show_bug.cgi?id=112163
Reviewed by Martin Robinson.
Source/WebCore:
No new tests - no new functionality, merely a cleanup.
- GNUmakefile.am: The Hildon dependency doesn't exist anymore so there's no need for
references to HILDON_CPPFLAGS and HILDON_CFLAGS.
- 7:17 AM Changeset in webkit [145717] by
-
- 33 edits in trunk/Source
Web Inspector: get rid of hiddenPanels filter
https://bugs.webkit.org/show_bug.cgi?id=112252
Reviewed by Vsevolod Vlasov.
Source/WebCore:
- WebCore.order:
- inspector/InspectorFrontendClient.h:
(InspectorFrontendClient):
- inspector/InspectorFrontendHost.cpp:
- inspector/InspectorFrontendHost.h:
(InspectorFrontendHost):
- inspector/InspectorFrontendHost.idl:
- inspector/front-end/InspectorFrontendHostStub.js:
- inspector/front-end/externs.js:
- inspector/front-end/inspector.js:
(WebInspector._panelDescriptors):
- testing/Internals.cpp:
Source/WebKit/chromium:
- src/InspectorFrontendClientImpl.cpp:
- src/InspectorFrontendClientImpl.h:
(InspectorFrontendClientImpl):
Source/WebKit/efl:
- WebCoreSupport/InspectorClientEfl.cpp:
- WebCoreSupport/InspectorClientEfl.h:
(InspectorFrontendClientEfl):
Source/WebKit/gtk:
- WebCoreSupport/InspectorClientGtk.cpp:
- WebCoreSupport/InspectorClientGtk.h:
(InspectorFrontendClient):
Source/WebKit/mac:
- WebCoreSupport/WebInspectorClient.h:
(WebInspectorFrontendClient):
- WebCoreSupport/WebInspectorClient.mm:
- WebKit.order:
Source/WebKit/qt:
- WebCoreSupport/InspectorClientQt.cpp:
(WebCore):
- WebCoreSupport/InspectorClientQt.h:
(InspectorFrontendClientQt):
Source/WebKit/win:
- WebCoreSupport/WebInspectorClient.cpp:
- WebCoreSupport/WebInspectorClient.h:
(WebInspectorFrontendClient):
Source/WebKit2:
- WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:
- WebProcess/WebCoreSupport/WebInspectorFrontendClient.h:
(WebInspectorFrontendClient):
- 7:14 AM Changeset in webkit [145716] by
-
- 12 edits2 deletes in trunk/LayoutTests
Not reviewed: chromium baselines.
- platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt: Removed.
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt: Removed.
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
- 7:13 AM Changeset in webkit [145715] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0/Source/WebCore/platform/gtk/po
[GTK] POTFILES.in references a removed file
https://bugs.webkit.org/show_bug.cgi?id=112248
Unreviewed, follow-up build fix after r145713.
- POTFILES.in: WebKitAuthenticationWidget.cpp contains
translatable strings to be processed by gettext.
- 7:13 AM Changeset in webkit [145714] by
-
- 4 edits in trunk
[Chromium] Rename android_build_type to android_webview_build in .gyp files.
https://bugs.webkit.org/show_bug.cgi?id=112129
Reviewed by Adam Barth.
Following Chromium
http://src.chromium.org/viewvc/chrome?view=rev&revision=187556
this is being renamed to better explain what it does.
Source/WebKit/chromium:
- WebKitUnitTests.gyp:
Tools:
- DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
- 6:52 AM Changeset in webkit [145713] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0/Source/WebCore/platform/gtk/po
[GTK] POTFILES.in references a removed file
https://bugs.webkit.org/show_bug.cgi?id=112248
Unreviewed, build fix.
- POTFILES.in: Remove reference to non-existant file.
- 6:38 AM Changeset in webkit [145712] by
-
- 17 edits in trunk/Source
Web Inspector: convert workers inspection into capability
https://bugs.webkit.org/show_bug.cgi?id=112251
Reviewed by Vsevolod Vlasov.
Source/WebCore:
It should be up to backend
- inspector/Inspector.json:
- inspector/InspectorFrontendClient.h:
(InspectorFrontendClient):
- inspector/InspectorFrontendClientLocal.h:
- inspector/InspectorFrontendHost.cpp:
- inspector/InspectorFrontendHost.h:
(InspectorFrontendHost):
- inspector/InspectorFrontendHost.idl:
- inspector/InspectorWorkerAgent.cpp:
(WebCore::InspectorWorkerAgent::canInspectWorkers):
(WebCore):
- inspector/InspectorWorkerAgent.h:
(InspectorWorkerAgent):
- inspector/front-end/InspectorFrontendHostStub.js:
- inspector/front-end/Settings.js:
- inspector/front-end/externs.js:
- inspector/front-end/inspector.js:
(WebInspector.doLoadedDone):
Source/WebKit/chromium:
- src/InspectorFrontendClientImpl.cpp:
- src/InspectorFrontendClientImpl.h:
(InspectorFrontendClientImpl):
- 6:38 AM WebKitGTK/2.0.x edited by
- (diff)
- 6:36 AM Changeset in webkit [145711] by
-
- 5 edits in releases/WebKitGTK/webkit-2.0
Merge r145395 - [GTK] WebKit2-only build fails
https://bugs.webkit.org/show_bug.cgi?id=112033
Reviewed by Gustavo Noronha Silva.
Source/WebKit2:
- GNUmakefile.am: Introduce the artifical dependency of libwebkit2gtk on libwebkitgtk only
if building WebKit1 as well. Similarly with the WebKitPluginProcess, depend on libwebkitgtk
only if building WebKit1, the dependency is otherwise not necessary.
Tools:
- GNUmakefile.am: Split the list of files the docs-build.stamp target depends on into the
generic part, WebKit1-specific part and WebKit2-specific part.
- TestWebKitAPI/GNUmakefile.am: The TestGtk executable should not link agains libwebkitgtk
as it is not WebKit1-specific, but should rather link to libWebCore.la and libWebCoreGtk.la
directly.
- 6:34 AM WebKitGTK/2.0.x edited by
- (diff)
- 6:33 AM WebKitGTK/2.0.x edited by
- (diff)
- 6:30 AM Changeset in webkit [145710] by
-
- 7 edits in trunk/Source/WebCore
[EFL] Start using evas object directly in Widget class
https://bugs.webkit.org/show_bug.cgi?id=111858
Reviewed by Antonio Gomes.
Based on a patch by Kenneth Rohde Christiansen.
EFL Widget class should use evas object pointer directly rather
than WidgetPrivate* m_data as platformWidget() is a Mac specific
implementation detail that they are moving away from with WebKit2.
This patch brings: firstly better compliance with other ports,
secondly it makes code cleaner.
Besides, the evasObject is only directly used in the ScrollbarEfl
subclass of Widget and not in Widget or ScrollView or any other subclass,
thus the evas_object code has now been concentrated in ScrollbarEfl.
No new tests as there are no behavioral changes.
- page/efl/EventHandlerEfl.cpp:
- platform/Widget.h:
(Widget):
(WebCore::Widget::evasObject):
- platform/efl/ScrollbarEfl.cpp:
(ScrollbarEfl::~ScrollbarEfl):
(scrollbarEflEdjeMessage):
(ScrollbarEfl::show):
(ScrollbarEfl::hide):
(ScrollbarEfl::setParent):
(ScrollbarEfl::updateThumbPositionAndProportion):
(ScrollbarEfl::frameRectsChanged):
- platform/efl/ScrollbarEfl.h:
(ScrollbarEfl):
- platform/efl/WidgetEfl.cpp:
(WebCore::Widget::Widget):
(WebCore::Widget::~Widget):
(WebCore::Widget::frameRectsChanged):
(WebCore::Widget::show):
(WebCore::Widget::hide):
(WebCore::Widget::setEvasObject):
- plugins/efl/PluginViewEfl.cpp:
(WebCore::PluginView::platformGetValue):
- 6:01 AM Changeset in webkit [145709] by
-
- 2 edits in trunk/Tools
[Qt] Unreviewed trivial typo fix
- DumpRenderTree/qt/DumpRenderTree.pro: It's TestRunner.h, not
TextRunner.h. Thanks Zeno :)
- 5:48 AM Changeset in webkit [145708] by
-
- 6 edits in trunk/Tools
[Qt] Prepare DRT for transition to shared TestRunner interface
https://bugs.webkit.org/show_bug.cgi?id=112144
Reviewed by Benjamin Poulain.
Prepare Qt's DRT for a transition from the QObject based TestRunner to
the JSC C API based one.
This is impplemented by instantiating the QObject based testRunner in
the global object, then instantiating the JSC C based TestRunner
separately and placing it "behind" the QObject based testRunner through
injection of the individual functions through proxies. (prototype
chaining doesn't work due to the this object and Function.prototype.bind
doesn't work due to the native function)
This allows for porting over method by method by removing the method
from the QObject TestRunnerQt and implementing it in the JSC C based
TestRunner.
In order for this to link and run dummy implementations of all the
necessary TestRunner functions are provided.
- DumpRenderTree/qt/DumpRenderTree.pro:
- DumpRenderTree/qt/DumpRenderTreeMain.cpp:
- DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
(WebCore::DumpRenderTree::initJSObjects):
- DumpRenderTree/qt/DumpRenderTreeQt.h:
(DumpRenderTree):
- DumpRenderTree/qt/TestRunnerQt.cpp:
(TestRunner::~TestRunner):
(TestRunner::addDisallowedURL):
(TestRunner::queueLoad):
(TestRunner::removeAllVisitedLinks):
(TestRunner::setAcceptsEditing):
(TestRunner::simulateLegacyWebNotificationClick):
(TestRunner::setWindowIsKey):
(TestRunner::setAlwaysAcceptCookies):
(TestRunner::addOriginAccessWhitelistEntry):
(TestRunner::setWebViewEditable):
(TestRunner::clearAllApplicationCaches):
(TestRunner::setTextDirection):
(TestRunner::notifyDone):
(TestRunner::numberOfPendingGeolocationPermissionRequests):
(TestRunner::overridePreference):
(TestRunner::pathToLocalResource):
(TestRunner::removeAllWebNotificationPermissions):
(TestRunner::simulateWebNotificationClick):
(TestRunner::closeIdleLocalStorageDatabases):
(TestRunner::focusWebView):
(TestRunner::setBackingScaleFactor):
(TestRunner::removeChromeInputField):
(TestRunner::addChromeInputField):
(TestRunner::originsWithLocalStorage):
(TestRunner::deleteAllLocalStorage):
(TestRunner::deleteLocalStorageForOrigin):
(TestRunner::observeStorageTrackerNotifications):
(TestRunner::syncLocalStorage):
(TestRunner::windowCount):
(TestRunner::setWaitToDump):
(TestRunner::waitForPolicyDelegate):
(TestRunner::webHistoryItemCount):
(TestRunner::showWebInspector):
(TestRunner::closeWebInspector):
(TestRunner::evaluateInWebInspector):
(TestRunner::setSerializeHTTPLoads):
(TestRunner::apiTestNewWindowDataLoadBaseURL):
(TestRunner::setCustomPolicyDelegate):
(TestRunner::setDatabaseQuota):
(TestRunner::setDomainRelaxationForbiddenForURLScheme):
(TestRunner::resetPageVisibility):
(TestRunner::keepWebHistory):
(TestRunner::goBack):
(TestRunner::originsWithApplicationCache):
(TestRunner::applicationCacheDiskUsageForOrigin):
(TestRunner::display):
(TestRunner::dispatchPendingLoadRequests):
(TestRunner::clearPersistentUserStyleSheet):
(TestRunner::callShouldCloseOnWebView):
(TestRunner::copyDecodedHostName):
(TestRunner::clearBackForwardList):
(TestRunner::clearAllDatabases):
(TestRunner::clearApplicationCacheForOrigin):
(TestRunner::apiTestGoToCurrentBackForwardItem):
(TestRunner::authenticateSession):
(TestRunner::abortModal):
(TestRunner::setStorageDatabaseIdleInterval):
(TestRunner::setAsynchronousSpellCheckingEnabled):
(TestRunner::setXSSAuditorEnabled):
(TestRunner::setSpatialNavigationEnabled):
(TestRunner::setScrollbarPolicy):
(TestRunner::setJavaScriptCanAccessClipboard):
(TestRunner::setAutomaticLinkDetectionEnabled):
(TestRunner::setUserStyleSheetEnabled):
(TestRunner::setUserStyleSheetLocation):
(TestRunner::setUseDashboardCompatibilityMode):
(TestRunner::setTabKeyCyclesThroughElements):
(TestRunner::setSmartInsertDeleteEnabled):
(TestRunner::setSelectTrailingWhitespaceEnabled):
(TestRunner::setPrivateBrowsingEnabled):
(TestRunner::setPluginsEnabled):
(TestRunner::setPopupBlockingEnabled):
(TestRunner::setMockSpeechInputDumpRect):
(TestRunner::setPersistentUserStyleSheetLocation):
(TestRunner::setMockGeolocationPosition):
(TestRunner::setMockGeolocationPositionUnavailableError):
(TestRunner::setMockDeviceOrientation):
(TestRunner::setMainFrameIsFirstResponder):
(TestRunner::setIconDatabaseEnabled):
(TestRunner::setGeolocationPermission):
(TestRunner::setDefersLoading):
(TestRunner::setCacheModel):
(TestRunner::setAuthorAndUserStylesEnabled):
(TestRunner::setAllowFileAccessFromFileURLs):
(TestRunner::setAppCacheMaximumSize):
(TestRunner::setAllowUniversalAccessFromFileURLs):
(TestRunner::setApplicationCacheOriginQuota):
(TestRunner::denyWebNotificationPermission):
(TestRunner::grantWebNotificationPermission):
(TestRunner::setValueForUser):
(TestRunner::setViewModeMediaFeature):
(TestRunner::setPageVisibility):
(TestRunner::addMockSpeechInputResult):
(TestRunner::removeOriginAccessWhitelistEntry):
(TestRunner::addUserScript):
(TestRunner::isCommandEnabled):
(TestRunner::evaluateScriptInIsolatedWorld):
(TestRunner::evaluateScriptInIsolatedWorldAndReturnValue):
(TestRunner::copyEncodedHostName):
(TestRunner::addUserStyleSheet):
(TestRunner::findString):
(TestRunner::execCommand):
(TestRunner::localStorageDiskUsageForOrigin):
- 5:48 AM Changeset in webkit [145707] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [CodeMirror] token highlight still has some problems
https://bugs.webkit.org/show_bug.cgi?id=112173
Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-13
Reviewed by Vsevolod Vlasov.
Use pseudo elements with borders to draw token highlight.
No new tests.
- inspector/front-end/cm/cmdevtools.css:
(.cm-token-highlight):
(.cm-token-highlight:before):
(.cm-line-with-selection .cm-column-with-selection:before):
- 5:42 AM WebKitGTK/2.0.x edited by
- (diff)
- 5:38 AM Changeset in webkit [145706] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] SimpleFontData: remove duplicate code
https://bugs.webkit.org/show_bug.cgi?id=112149
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-13
Reviewed by Carlos Garcia Campos.
smallCapsFontData() and emphasisMarkFontData() were moved from
platform specific files into platform/graphics/SimpleFontData.cpp
in r133362, so the BlackBerry port no longer needs its own
implementation.
- platform/graphics/blackberry/SimpleFontDataBlackBerry.cpp:
- 5:20 AM Changeset in webkit [145705] by
-
- 1 edit2 deletes in trunk/LayoutTests
Not reviewed: chromium baselines.
- platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt: Removed.
- platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt: Removed.
- 5:18 AM Changeset in webkit [145704] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: throw an exception if the requested lazy loaded script does not exist.
https://bugs.webkit.org/show_bug.cgi?id=112237
Reviewed by Pavel Feldman.
- inspector/front-end/utilities.js:
- 5:13 AM Changeset in webkit [145703] by
-
- 2 edits in trunk/Source/JavaScriptCore
LLINT C loop warning fix for GCC
https://bugs.webkit.org/show_bug.cgi?id=112145
Reviewed by Filip Pizlo.
- llint/LowLevelInterpreter.cpp:
(JSC::CLoop::execute):
- 4:27 AM Changeset in webkit [145702] by
-
- 2 edits in trunk/Source/WebKit2
[WK2][Qt] Regression(145517) WebProcess asserts in debug build on WebKitTestRunner start
https://bugs.webkit.org/show_bug.cgi?id=112223
Reviewed by Simon Hausmann.
We need to only enable the cookie jar and the disk cache conditionally
in the web process since we removed default paths and WKTR doesn't provide
them.
- WebProcess/qt/WebProcessQt.cpp:
(WebKit::WebProcess::platformSetCacheModel):
(WebKit::WebProcess::platformInitializeWebProcess):
- 4:22 AM Changeset in webkit [145701] by
-
- 2 edits in trunk/Source/WTF
Support C++11 features in GCC <4.6
https://bugs.webkit.org/show_bug.cgi?id=111553
Reviewed by Simon Hausmann.
Enable support for rvalue references from gcc 4.3, deleted functions
from gcc 4.4, explicit conversion from gcc 4.5, and strongly typed
enums from gcc 4.6.
- wtf/Compiler.h:
- 3:14 AM Changeset in webkit [145700] by
-
- 3 edits2 adds in trunk/Source/JavaScriptCore
Add support for convenient conversion from JSStringRef to QString
https://bugs.webkit.org/show_bug.cgi?id=109694
Reviewed by Allan Sandfeld Jensen.
Add JSStringCopyQString helper function that allows for the convenient
extraction of a QString out of a JSStringRef.
- API/JSStringRefQt.cpp: Added.
(JSStringCopyQString):
- API/JSStringRefQt.h: Added.
- API/OpaqueJSString.h:
(OpaqueJSString):
(OpaqueJSString::qString):
(OpaqueJSString::OpaqueJSString):
- Target.pri:
- 3:13 AM Changeset in webkit [145699] by
-
- 3 edits in branches/chromium/1410
Merge 144608 "Web Inspector: touchmove not emulated inside iframe"
Web Inspector: touchmove not emulated inside iframe
https://bugs.webkit.org/show_bug.cgi?id=111292
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Move fake touch event dispatching from mouseMoved() into handleMouseMoveEvent()
and bail out earlier from dispatchSyntheticTouchEventIfEnabled() when the event
should be dispatched on a subframe.
- page/EventHandler.cpp:
(WebCore::EventHandler::mouseMoved):
(WebCore::EventHandler::handleMouseMoveEvent):
(WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled):
LayoutTests:
- fast/events/touch/emulated-touch-iframe.html:
- fast/events/touch/resources/emulated-touch-iframe2.html:
TBR=apavlov@chromium.org
Review URL: https://codereview.chromium.org/12561004
- 2:58 AM Changeset in webkit [145698] by
-
- 4 edits in trunk/LayoutTests
[Qt] Unreviewed gardening. Unskip now passing compositing tests.
- platform/qt-5.0-wk1/TestExpectations:
- platform/qt-5.0-wk2/TestExpectations:
- platform/qt/TestExpectations:
- 2:46 AM WebKitGTK/2.0.x edited by
- (diff)
- 2:45 AM WebKitGTK/2.0.x edited by
- (diff)
- 2:44 AM Changeset in webkit [145697] by
-
- 16 edits6 adds4 deletes in releases/WebKitGTK/webkit-2.0
[GTK] Split GtkAuthenticationDialog in two widgets
https://bugs.webkit.org/show_bug.cgi?id=103644
Reviewed by Xan Lopez.
.:
- Source/autotools/Versions.m4: Bump GTK+ 2 requirements to 2.16
for GtkOrientable.
Source/WebCore:
The current GtkAuthenticationDialog implements both the common
logic and widgets to implement a real GtkDialog and a widget to be
embedded in any container. WebKit1 uses a GtkDialog while WebKit2
embeds the dialog in the WebView. This patch splits the code to
leave in Platform only the code that is actually common, leaving
the widget implementation to the WebKit layer, using a dialog in
WebKit1 and embedding auth widget in the WebView in WebKit2.
- GNUmakefile.list.am: Add new files to compilation.
- platform/gtk/GtkAuthenticationDialog.cpp: Removed.
- platform/gtk/GtkAuthenticationDialog.h: Removed.
- platform/gtk/WebKitAuthenticationWidget.cpp: Added.
(_WebKitAuthenticationWidgetPrivate):
(packTwoColumnLayoutInBox):
(createLabel):
(createEntry):
(webkitAuthenticationWidgetInitialize):
(webkitAuthenticationWidgetFinalize):
(webkit_authentication_widget_init):
(webkit_authentication_widget_class_init):
(webkitAuthenticationWidgetNew):
(webkitAuthenticationWidgetCreateCredential):
(webkitAuthenticationWidgetGetChallenge):
- platform/gtk/WebKitAuthenticationWidget.h: Added.
(_WebKitAuthenticationWidget):
(_WebKitAuthenticationWidgetClass):
Source/WebKit/gtk:
- GNUmakefile.am: Add new files to compilation.
- WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
Use helper createAuthenticationDialog() to create and show the
auth dialog.
- webkit/webkitauthenticationdialog.cpp: Added.
(authenticationDialogResponseCallback):
(createAuthenticationDialog):
- webkit/webkitauthenticationdialog.h: Added.
- webkit/webkitsoupauthdialog.cpp:
(sessionAuthenticate): Ditto.
Source/WebKit2:
- GNUmakefile.list.am: Add new files to compilation.
- UIProcess/API/gtk/WebKit2GtkAuthenticationDialog.cpp: Removed.
- UIProcess/API/gtk/WebKit2GtkAuthenticationDialog.h: Removed.
- UIProcess/API/gtk/WebKitAuthenticationDialog.cpp: Added.
(webkitAuthenticationDialogAuthenticate): Use the
AuthenticationChallengeProxy to authenticate and destroy the dialog.
(okButtonClicked): Call webkitAuthenticationDialogAuthenticate()
with the credential.
(cancelButtonClicked): Call
webkitAuthenticationDialogAuthenticate() with a NULL credential to
continue without credential.
(webkitAuthenticationDialogInitialize): Build the UI.
(webkitAuthenticationDialogDraw): Draw a background.
(webkitAuthenticationDialogMap): Grab default button.
(webkitAuthenticationDialogConstructed): Create a GtkStyleContext
with the GtkWindow path to draw the widget background like a real
dialog.
(webkit_authentication_dialog_class_init):
(webkitAuthenticationDialogNew): Create a new
WebKitAuthenticationDialog widget.
- UIProcess/API/gtk/WebKitAuthenticationDialog.h: Added.
- UIProcess/API/gtk/WebKitLoaderClient.cpp:
- UIProcess/API/gtk/WebKitWebView.cpp:
(webkitWebViewHandleAuthenticationChallenge): Create a
WebKitAuthenticationDialog widget and pass add it to the
container.
- UIProcess/API/gtk/WebKitWebViewBase.cpp:
(_WebKitWebViewBasePrivate): Updated to use the widget directly.
(webkitWebViewChildIsInternalWidget): Ditto.
(webkitWebViewBaseAddAuthenticationDialog): Ditto.
(webkitWebViewBaseCancelAuthenticationDialog): Ditto.
(webkitWebViewBaseContainerRemove): Ditto.
(webkitWebViewBaseContainerForall): Ditto.
(resizeWebKitWebViewBaseFromAllocation): Ditto.
(webkitWebViewBaseFocus): Ditto.
(webkitWebViewBaseDestroy): Destroy the auth widget is present.
(webkit_web_view_base_class_init): Add implementation for
GtkWidgetClass::destroy.
- UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
Tools:
- gtk/generate-gtkdoc:
(get_webkit2_options): Do not generate api docs for
WebKitAuthenticationDialog which is private in WebKit2.
(get_webkit1_options): Do not generate api docs for
webkitauthenticationdialog which is private in WebKit1.
- 2:38 AM Changeset in webkit [145696] by
-
- 10 edits5 adds2 deletes in trunk/LayoutTests
[chromium] Layout Test fast/repaint/japanese-rl-selection-repaint-in-regions.html is failing
https://bugs.webkit.org/show_bug.cgi?id=106097
Reviewed by Tony Chang.
After http://trac.webkit.org/changeset/138785, the content overflowing the last region in chain is
displayed properly in vertical-rl writing mode. This determined the failure of japanese-rl-selection-repaint-in-regions.html
test due to the overflowing content that now appears when rendered.
I modified the original test by decreasing the font size so that the content is not overflowing, because the purpose
of the original test was not to check the overflowed content anyway. I have generated new expected results for mac and chromium
and unskipped the test on chromium and mac.
- fast/repaint/japanese-rl-selection-repaint-in-regions.html:
- platform/chromium-linux/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png:
- platform/chromium-linux/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Added.
- platform/chromium-mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
- platform/chromium-mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png:
- platform/chromium-mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Added.
- platform/chromium/TestExpectations:
- platform/chromium/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
- platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png:
- platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt:
- platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Added.
- platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Added.
- platform/mac/TestExpectations:
- platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png:
- platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt:
- 2:32 AM Changeset in webkit [145695] by
-
- 7 edits in trunk/Source/WebCore
Pass the XSSAuditor's report URL to the XSSAuditorDelegate on the main thread.
https://bugs.webkit.org/show_bug.cgi?id=112179
Reviewed by Adam Barth.
Rather than relying on XSSInfo objects to move the XSSAuditor's report
URL into the XSSAuditorDelegate for reporting, we should be able to grab
the URL directly from XSSAuditor before it moves off the main thread,
and store it on the delegate.
This will enable us to drop the report URL properties from both
XSSAuditor and XSSInfo. Oh, happy day!
- html/parser/BackgroundHTMLParser.cpp:
(WebCore::BackgroundHTMLParser::sendTokensToMainThread):
We no longer need to check whether XSSInfo objects are thread safe,
as we've dropped the only problematic bit.
- html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::pumpTokenizer):
(WebCore::HTMLDocumentParser::startBackgroundParser):
- html/parser/XSSAuditor.cpp:
(WebCore::XSSAuditor::init):
When initializing the XSSAuditor, pass in an XSSAuditorDelegate*
and assign the report URL directly onto that object.
(WebCore::XSSAuditor::filterToken):
Drop the report URL parameter from XSSInfo objects we create in the
Auditor, as they're now handled directly from the delegate.
(WebCore::XSSAuditor::isSafeToSendToAnotherThread):
Drop the report URL property from XSSAuditor's threadsafeness check,
as properties that do not exist are automatically thread-safe.
- html/parser/XSSAuditorDelegate.cpp:
(WebCore::XSSAuditorDelegate::didBlockScript):
Use the delegate's own report URL rather than the XSSInfo objects'.
- html/parser/XSSAuditorDelegate.h:
(WebCore::XSSInfo::create):
(WebCore::XSSInfo::XSSInfo):
Drop the report URL property from XSSInfo.
(WebCore::XSSAuditorDelegate::setReportURL):
(XSSAuditorDelegate):
Provide a public API for setting a delegate's report URL.
- 2:26 AM Changeset in webkit [145694] by
-
- 2 edits in trunk/LayoutTests
[EFL] http/tests/websocket/tests/hybi/close-on-navigate-new-location.html is failing
https://bugs.webkit.org/show_bug.cgi?id=112231
Reviewed by Kentaro Hara.
close-on-navigate-new-location.html tests that the websocket is closed when navigating
to a new location (handler_map.txt). However, handler_map.txt does not exist so we get
an HTTP 404 error and we end up not navigating. This patch fixes the navigation path
to "../handler_map.txt" since the file is actually in the parent folder.
- http/tests/websocket/tests/hybi/close-on-navigate-new-location.html:
- 2:17 AM WebKitGTK/2.0.x edited by
- (diff)
- 2:15 AM Changeset in webkit [145693] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0/Source/WebCore
Merge r145542 - [Gtk] NBSP are not replaced when using X clipboard
https://bugs.webkit.org/show_bug.cgi?id=112118
Patch by Tomas Popela <tpopela@redhat.com> on 2013-03-12
Reviewed by Martin Robinson.
We're not replacing nbsp with spaces when using X clipboard
(Shift+Insert or middle mouse button).
- platform/gtk/DataObjectGtk.cpp:
(WebCore::DataObjectGtk::text):
- 2:13 AM Changeset in webkit [145692] by
-
- 127 edits1 delete in trunk
Unsafe JavaScript attempt errors are ludicrously verbose and annoying
https://bugs.webkit.org/show_bug.cgi?id=112042
Reviewed by Timothy Hatcher.
Source/WebCore:
This patch attempts to make the most common case of error message less
ludicrous by adjusting it to include only an origin as opposed to full
URLs for the active and target frames. It now reads: "Blocked a frame
with origin 'http://127.0.0.1:8000' from accessing a frame with origin
'http://localhost:8000'. Protocols, domains, and ports must match."
In the interest of keeping the patch size down, I'll follow up on the
other cases (sandboxed access, 'document.domain' mismatches, etc) in
future patches.
- page/DOMWindow.cpp:
(WebCore::DOMWindow::crossDomainAccessErrorMessage):
LayoutTests:
- fast/xmlhttprequest/xmlhttprequest-no-file-access-expected.txt:
- http/tests/history/cross-origin-replace-history-object-child-expected.txt:
- http/tests/history/cross-origin-replace-history-object-expected.txt:
- http/tests/inspector-protocol/access-inspected-object-expected.txt:
- http/tests/plugins/cross-frame-object-access-expected.txt:
- http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
- http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
- http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
- http/tests/security/cross-frame-access-call-expected.txt:
- http/tests/security/cross-frame-access-custom-expected.txt:
- http/tests/security/cross-frame-access-delete-expected.txt:
- http/tests/security/cross-frame-access-enumeration-expected.txt:
- http/tests/security/cross-frame-access-first-time-expected.txt:
- http/tests/security/cross-frame-access-frameelement-expected.txt:
- http/tests/security/cross-frame-access-get-custom-property-cached-expected.txt:
- http/tests/security/cross-frame-access-get-expected.txt:
- http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt:
- http/tests/security/cross-frame-access-history-get-expected.txt:
- http/tests/security/cross-frame-access-history-put-expected.txt:
- http/tests/security/cross-frame-access-location-get-expected.txt:
- http/tests/security/cross-frame-access-location-put-expected.txt:
- http/tests/security/cross-frame-access-name-getter-expected.txt:
- http/tests/security/cross-frame-access-object-getPrototypeOf-expected.txt:
- http/tests/security/cross-frame-access-object-prototype-expected.txt:
- http/tests/security/cross-frame-access-port-expected.txt:
- http/tests/security/cross-frame-access-put-expected.txt:
- http/tests/security/cross-frame-access-selection-expected.txt:
- http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
- http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt:
- http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt:
- http/tests/security/isolatedWorld/bypass-main-world-csp-expected.txt:
- http/tests/security/isolatedWorld/bypass-main-world-csp-for-xhr-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
- http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
- http/tests/security/javascriptURL/xss-DENIED-from-javascript-url-in-foreign-domain-subframe-expected.txt:
- http/tests/security/javascriptURL/xss-DENIED-from-javascript-url-in-foreign-domain-window-open-expected.txt:
- http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-subframe-expected.txt:
- http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-window-open-expected.txt:
- http/tests/security/listener/xss-JSTargetNode-onclick-addEventListener-expected.txt:
- http/tests/security/listener/xss-JSTargetNode-onclick-shortcut-expected.txt:
- http/tests/security/listener/xss-XMLHttpRequest-addEventListener-expected.txt:
- http/tests/security/listener/xss-XMLHttpRequest-shortcut-expected.txt:
- http/tests/security/listener/xss-window-onclick-addEventListener-expected.txt:
- http/tests/security/listener/xss-window-onclick-shortcut-expected.txt:
- http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt:
- http/tests/security/xss-DENIED-assign-location-hash-expected.txt:
- http/tests/security/xss-DENIED-assign-location-host-expected.txt:
- http/tests/security/xss-DENIED-assign-location-hostname-expected.txt:
- http/tests/security/xss-DENIED-assign-location-href-javascript-expected.txt:
- http/tests/security/xss-DENIED-assign-location-nonstandardProperty-expected.txt:
- http/tests/security/xss-DENIED-assign-location-pathname-expected.txt:
- http/tests/security/xss-DENIED-assign-location-protocol-expected.txt:
- http/tests/security/xss-DENIED-assign-location-reload-expected.txt:
- http/tests/security/xss-DENIED-assign-location-search-expected.txt:
- http/tests/security/xss-DENIED-defineProperty-expected.txt:
- http/tests/security/xss-DENIED-frame-name-expected.txt:
- http/tests/security/xss-DENIED-getSVGDocument-iframe-expected.txt:
- http/tests/security/xss-DENIED-getSVGDocument-object-expected.txt:
- http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto-expected.txt:
- http/tests/security/xss-DENIED-iframe-src-alias-expected.txt:
- http/tests/security/xss-DENIED-invalid-domain-change-expected.txt:
- http/tests/security/xss-DENIED-javascript-with-spaces-expected.txt:
- http/tests/security/xss-DENIED-method-with-iframe-proto-expected.txt:
- http/tests/security/xss-DENIED-synchronous-form-expected.txt:
- http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url-expected.txt:
- http/tests/security/xss-DENIED-window-open-javascript-url-expected.txt:
- http/tests/security/xss-DENIED-window-open-javascript-url-with-spaces-expected.txt:
- http/tests/security/xss-DENIED-window-open-parent-expected.txt:
- http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt:
- http/tests/security/xss-eval-expected.txt:
- http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt:
- platform/chromium/http/tests/inspector/console-cross-origin-iframe-logging-expected.txt:
- platform/chromium/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
- platform/chromium/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
- platform/chromium/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
- platform/chromium/http/tests/security/cross-frame-access-call-expected.txt:
- platform/chromium/http/tests/security/cross-frame-access-document-direct-expected.txt:
- platform/chromium/http/tests/security/cross-frame-access-enumeration-expected.txt:
- platform/chromium/http/tests/security/cross-frame-access-history-get-expected.txt:
- platform/chromium/http/tests/security/cross-frame-access-history-put-expected.txt:
- platform/chromium/http/tests/security/cross-frame-access-location-put-expected.txt:
- platform/chromium/http/tests/security/cross-frame-access-put-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt:
- platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
- platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
- platform/chromium/http/tests/security/listener/xss-inactive-closure-expected.txt:
- platform/chromium/http/tests/security/xss-DENIED-assign-location-href-javascript-expected.txt:
- platform/chromium/http/tests/security/xss-DENIED-defineProperty-expected.txt:
- platform/chromium/http/tests/security/xss-DENIED-frame-name-expected.txt:
- 2:09 AM Changeset in webkit [145691] by
-
- 8 edits2 adds in trunk
Implement :scope for element.querySelector[All]()
https://bugs.webkit.org/show_bug.cgi?id=81069
Reviewed by Dimitri Glazkov.
Source/WebCore:
Implemented :scope for element.querySelector[All]().
Reuse scope in SelectorCheckingContext and added a new value to
enum BehaviorAtBoundary.
:scope spec is http://dev.w3.org/csswg/selectors4/#scope-pseudo.
Test: fast/selectors/querySelector-scope.html
- css/CSSSelector.cpp:
(WebCore::CSSSelector::pseudoId):
(WebCore::nameToPseudoTypeMap):
(WebCore::CSSSelector::extractPseudoType):
Added :scope pseudo type.
- css/CSSSelector.h:
- css/SelectorChecker.cpp:
(WebCore::SelectorChecker::match):
(WebCore::SelectorChecker::checkOne):
Added PseudoScope case and modified "scope" meaning when
behaviorAtBoundary is equal to StaysWithinTreeScope.
If so, "scope" is just a contextual reference node.
- css/SelectorChecker.h:
- dom/SelectorQuery.cpp:
(WebCore::SelectorDataList::selectorMatches):
(WebCore::SelectorDataList::matches):
(WebCore::SelectorDataList::execute):
Use rootNode as a contextual reference node.
- dom/SelectorQuery.h:
(SelectorDataList):
LayoutTests:
- fast/selectors/querySelector-scope-expected.txt: Added.
- fast/selectors/querySelector-scope.html: Added.
- 2:09 AM WebKitGTK/2.0.x edited by
- (diff)
- 2:07 AM Changeset in webkit [145690] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0
Merge r145560 - [GTK] 'unrecognized command line option "-Wno-c++11-extensions"' warning reported when using gcc
https://bugs.webkit.org/show_bug.cgi?id=111936
Reviewed by Martin Robinson.
- Source/autotools/SetupCompilerFlags.m4: Only use the -Wno-c++11-extensions warning when building
with Clang as GCC does not support the warning just yet. Also enhance the comment about using libstdc++
as the standard C++ library when compiling with Clang.
- 2:07 AM Changeset in webkit [145689] by
-
- 2 edits in trunk/Source/JavaScriptCore
Token 'not' is ignored in the offlineasm.
https://bugs.webkit.org/show_bug.cgi?id=111568
Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2013-03-13
Reviewed by Filip Pizlo.
- offlineasm/parser.rb: Build the Not AST node if the 'not' token is found.
- 2:06 AM Changeset in webkit [145688] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt/TestExpectations:
- 2:06 AM Changeset in webkit [145687] by
-
- 6 edits in trunk/Source/WebCore
[BlackBerry] FontPlatformData: remove TextOrientation parameter
https://bugs.webkit.org/show_bug.cgi?id=112135
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-13
Reviewed by Rob Buis.
This doesn't exist since r136520.
- platform/graphics/blackberry/FontCacheBlackBerry.cpp:
(WebCore::FontCache::createFontPlatformData):
- platform/graphics/blackberry/FontCustomPlatformData.h:
(FontCustomPlatformData):
- platform/graphics/blackberry/FontCustomPlatformDataBlackBerry.cpp:
(WebCore::FontCustomPlatformData::fontPlatformData):
- platform/graphics/blackberry/FontPlatformDataBlackBerry.cpp:
(WebCore::FontPlatformData::FontPlatformData):
(WebCore::FontPlatformData::applyState):
- platform/graphics/blackberry/SimpleFontDataBlackBerry.cpp:
(WebCore::SimpleFontData::createScaledFontData):
- 1:58 AM Changeset in webkit [145686] by
-
- 11 edits in trunk/LayoutTests
[EFL] Unreviewed rebaseline.
- platform/efl/compositing/overflow/composited-scrolling-paint-phases-expected.txt:
Rebaseline after r145422.
- platform/efl/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt:
- platform/efl/css3/flexbox/flexbox-baseline-expected.txt:
- platform/efl/fast/css-generated-content/015-expected.txt:
- platform/efl/fast/css/h1-in-section-elements-expected.txt:
- platform/efl/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt:
- platform/efl/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt:
- platform/efl/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt:
- platform/efl/tables/mozilla/bugs/bug126742-expected.txt:
- platform/efl/tables/mozilla/bugs/bug69187-expected.txt:
Rebaseline after r145242.
- 1:13 AM Changeset in webkit [145685] by
-
- 12 edits in trunk/LayoutTests
EFL rebaseline after r145242.
- platform/efl/css1/basic/inheritance-expected.txt:
- platform/efl/css1/box_properties/clear_float-expected.txt:
- platform/efl/css1/box_properties/margin-expected.txt:
- platform/efl/css1/box_properties/margin_bottom-expected.txt:
- platform/efl/css1/box_properties/margin_top-expected.txt:
- platform/efl/css1/box_properties/padding-expected.txt:
- platform/efl/css1/box_properties/padding_bottom-expected.txt:
- platform/efl/css1/box_properties/padding_top-expected.txt:
- platform/efl/css1/color_and_background/background_attachment-expected.txt:
- platform/efl/css1/font_properties/font_weight-expected.txt:
- platform/efl/css1/formatting_model/vertical_formatting-expected.txt:
- 12:52 AM Changeset in webkit [145684] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt/TestExpectations: Adding failure expectation for the SVG test after r145541.
- 12:43 AM Changeset in webkit [145683] by
-
- 2 edits50 adds in trunk/LayoutTests
[Qt] Unreviewed gardening. Unskipp some passing compositing tests.
- platform/qt-5.0-wk1/TestExpectations:
- platform/qt-5.0-wk1/compositing/direct-image-compositing-expected.png: Added.
- platform/qt-5.0-wk1/compositing/direct-image-compositing-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/fixed-in-composited-expected.png: Added.
- platform/qt-5.0-wk1/compositing/geometry/fixed-in-composited-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/layer-due-to-layer-children-switch-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-opacity-transition-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-overflow-root-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-positioned-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-transformed-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/geometry/video-fixed-scrolling-expected.png: Added.
- platform/qt-5.0-wk1/compositing/geometry/video-fixed-scrolling-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/iframes/iframe-copy-on-scroll-expected.png: Added.
- platform/qt-5.0-wk1/compositing/iframes/iframe-copy-on-scroll-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/iframes/iframe-size-from-zero-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/iframes/page-cache-layer-tree-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/layer-creation/scroll-partial-update-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/layer-creation/spanOverlapsCanvas-expected.png: Added.
- platform/qt-5.0-wk1/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/overflow/overflow-auto-with-touch-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/overflow/overflow-auto-with-touch-toggle-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/overflow/overflow-overlay-with-touch-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/overflow/scroll-ancestor-update-expected.png: Added.
- platform/qt-5.0-wk1/compositing/overflow/scroll-ancestor-update-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/overflow/scrolling-without-painting-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/overflow/textarea-scroll-touch-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/overflow/updating-scrolling-content-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/plugins/no-backing-store-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/plugins/small-to-large-composited-plugin-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/repaint/invalidations-on-composited-layers-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-absolute-overflow-expected.png: Added.
- platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.png: Added.
- platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-fixed-overflow-expected.png: Added.
- platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.png: Added.
- platform/qt-5.0-wk1/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/self-painting-layers-expected.png: Added.
- platform/qt-5.0-wk1/compositing/self-painting-layers-expected.txt: Added.
- platform/qt-5.0-wk1/compositing/video/video-poster-expected.txt: Added.
- 12:12 AM Changeset in webkit [145682] by
-
- 2 edits in trunk/LayoutTests
Unreviewed GTK gardening.
Adding expectations for a couple of flaky crashers on the debug builder.
Adding flaky failure expectations for a couple of SVG animations tests.
Adding failure expectation for the SVG test introduced in 145541, failing due to disabled subpixel layout.
- platform/gtk/TestExpectations:
Mar 12, 2013:
- 10:44 PM Changeset in webkit [145681] by
-
- 4 edits in trunk/LayoutTests
Unreviewed inspector test fix.
- http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache.html:
- inspector/datagrid-autosize.html:
- inspector/debugger/breakpoint-manager-listeners-count.html:
- 9:55 PM Changeset in webkit [145680] by
-
- 5 edits3 adds in trunk
Basic child obscuration test for backgrounds
https://bugs.webkit.org/show_bug.cgi?id=111701
Source/WebCore:
Reviewed by Simon Fraser.
Test: fast/repaint/obscured-background-no-repaint.html
We can easily detect some simple cases where a background image is fully obscured by an opaque child.
This avoids unncessary painting and image decoding. It is especially helpful for cases like about.com home
page where a fully obscured 'loading' spinner keeps triggering frequent complex repaints (gif animations
progress by getting painted and stop if they are not).
This could be made way more sophisticated. The checking could also be done per-layout rather per-paint.
Even this simple approach gets hit surprisingly often in real world sites.
- rendering/RenderBox.cpp:
(WebCore::RenderBox::backgroundIsObscured):
Before painting background test if any single child renderer fully obscures it.
(WebCore::RenderBox::backgroundIsOpaqueInRect):
- rendering/RenderBox.h:
LayoutTests:
Reviewed by Simon Fraser.
- fast/repaint/obscured-background-no-repaint-expected.txt: Added.
- fast/repaint/obscured-background-no-repaint.html: Added.
- fast/repaint/resources/animated.gif: Added.
- 9:14 PM Changeset in webkit [145679] by
-
- 5 edits in trunk/Tools
Cleanup: Move flatten-trie to loader.
https://bugs.webkit.org/show_bug.cgi?id=112196
Reviewed by Dirk Pranke.
flatten-trie is used only by the loader, so move it there and make it
private, rather than global in dashbaord_base. Moved the corresponding
unit test from flakiness_dashboard_unittests to loader_unittests.
- TestResultServer/static-dashboards/dashboard_base.js:
- TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
- TestResultServer/static-dashboards/loader.js:
(.):
- TestResultServer/static-dashboards/loader_unittests.js:
- 8:59 PM Changeset in webkit [145678] by
-
- 3 edits in trunk/Source/WTF
Unreviewed attempted Windows build fix after http://trac.webkit.org/changeset/145592.
- wtf/SchedulePair.cpp:
- wtf/SchedulePair.h:
(WTF::SchedulePair::SchedulePair): Since linking is failing,
try inlining this function.
- 8:51 PM Changeset in webkit [145677] by
-
- 3 edits in trunk/Source/WebCore
[Crash] Touch Events retargeting causes crashes on chrome on android.
https://bugs.webkit.org/show_bug.cgi?id=112210
Reviewed by Dimitri Glazkov.
Added null-check for TouchEvent's touches(), targetTouches() and changedTouches().
No new tests - no new functionality.
- dom/EventRetargeter.cpp:
(WebCore::EventRetargeter::adjustForTouchEvent):
(WebCore::EventRetargeter::adjustTouchList):
- dom/EventRetargeter.h:
- 8:46 PM Changeset in webkit [145676] by
-
- 2 edits in trunk/Source/WebKit2
[EFL][WK2] ewk_popup_menu_close() does not work as intended
https://bugs.webkit.org/show_bug.cgi?id=110209
Reviewed by Laszlo Gombos.
ewk_popup_menu_close() is called by the browser to notify WebKit that
the popup menu was closed. However, the implementation was calling
EwkView::closePopupMenu() which was asking the browser to close the
popup menu via an Evas smart function. This patch fixes the behavior
and ewk_popup_menu_close() now calls WKPopupMenuListenerSetSelection()
C API so that the WebProcess is notified that the popup menu was
hidden.
- UIProcess/API/efl/ewk_popup_menu.cpp:
(EwkPopupMenu::close):
- 8:07 PM Changeset in webkit [145675] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled Chromium DEPS to r187688. Requested by
"James Robinson" <jamesr@chromium.org> via sheriffbot.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-12
- DEPS:
- 7:59 PM Changeset in webkit [145674] by
-
- 1 edit1 delete in trunk/Source/WebCore
2013-03-12 Geoffrey Garen <ggaren@apple.com>
Unreviewed attempted Windows build fix after http://trac.webkit.org/changeset/145592.
- platform/RunLoopTimer.h: Removed.
- 7:29 PM Changeset in webkit [145673] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r142657. <rdar://problem/13334856>
- 7:26 PM Changeset in webkit [145672] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r140558. <rdar://problem/13334992>
- 7:14 PM Changeset in webkit [145671] by
-
- 2 edits in trunk/LayoutTests
Update test expectation for the bug 111521.
- platform/mac/TestExpectations:
- 6:51 PM Changeset in webkit [145670] by
-
- 7 edits in trunk/Source
Coordinated Graphics: Remove CoordinatedGraphicsLayer::setRootLayer().
https://bugs.webkit.org/show_bug.cgi?id=111835
Patch by Huang Dongsung <luxtella@company100.net> on 2013-03-12
Reviewed by Luiz Agostini.
Source/WebCore:
This patch removes CoordinatedGraphicsLayer::setRootLayer() because
CoordinatedGraphicsScene already knows which layer is root.
No new tests, no behavior change.
- platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
- platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
(CoordinatedGraphicsLayer):
- platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
(WebCore::CoordinatedGraphicsScene::setLayerState):
- platform/graphics/texmap/coordinated/CoordinatedGraphicsState.h:
(WebCore::CoordinatedGraphicsLayerState::CoordinatedGraphicsLayerState):
Source/WebKit2:
Amend CoordinatedLayerTreeHost because
CoordinatedGraphicsLayer::setRootLayer() is removed.
- WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
(WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
- 6:47 PM Changeset in webkit [145669] by
-
- 13 edits in trunk/Source
Enable GPU-GPU texture copy in texImage2D() for HTMLVideoElement if hardware accelerated video decode is in use
https://bugs.webkit.org/show_bug.cgi?id=111126
Patch by Jun Jiang <jun.a.jiang@intel.com> on 2013-03-12
Reviewed by Kenneth Russell.
Source/WebCore:
In texImage2D() for HTMLVideoElement in WebGL, it is possible to do a GPU-GPU texture copy instead of CPU readback
and upload when videoFrame is in the form of textures. Each platform port needs to implement the interface
copyVideoTextureToPlatformTexture() defined in MediaPlayer.h to make it work.
Already covered by current tests.
- html/HTMLVideoElement.cpp:
(WebCore::HTMLVideoElement::copyVideoTextureToPlatformTexture):
- html/HTMLVideoElement.h:
(HTMLVideoElement):
- html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::videoFrameToImage): Move some security check to upper level.
(WebCore::WebGLRenderingContext::texImage2D): Add the fast GPU-GPU textures copy path for HTMLVideoElement and some security check.
(WebCore::WebGLRenderingContext::texSubImage2D): Add some security check.
- html/canvas/WebGLTexture.cpp:
(WebCore::WebGLTexture::isValid): Added to check if the texture is defined at the given level.
- html/canvas/WebGLTexture.h:
(WebGLTexture):
- platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::copyVideoTextureToPlatformTexture): Added to do the GPU-GPU textures copy.
- platform/graphics/MediaPlayer.h:
(MediaPlayer):
- platform/graphics/MediaPlayerPrivate.h:
(WebCore::MediaPlayerPrivateInterface::copyVideoTextureToPlatformTexture):
Source/WebKit/chromium:
- public/WebMediaPlayer.h:
(WebKit::WebMediaPlayer::copyVideoTextureToPlatformTexture):
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::copyVideoTextureToPlatformTexture): do a GPU-GPU textures copy if possible.
- src/WebMediaPlayerClientImpl.h:
(WebMediaPlayerClientImpl):
- 6:47 PM Changeset in webkit [145668] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r142539. <rdar://problem/13334864>
- 6:46 PM Changeset in webkit [145667] by
-
- 2 edits in trunk/LayoutTests
Update a few chromium test expectations.
- platform/chromium/TestExpectations:
- 6:45 PM Changeset in webkit [145666] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r142365. <rdar://problem/13334965>
- 6:43 PM Changeset in webkit [145665] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r142358. <rdar://problem/13334971>
- 6:39 PM Changeset in webkit [145664] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r141858. <rdar://problem/13334961>
- 6:37 PM Changeset in webkit [145663] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r141851. <rdar://problem/13334974>
- 6:35 PM Changeset in webkit [145662] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r140879. <rdar://problem/13334945>
- 6:33 PM Changeset in webkit [145661] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r140520. <rdar://problem/13335020>
- 6:31 PM Changeset in webkit [145660] by
-
- 3 edits4 copies in branches/safari-536.30-branch
Merged r140101. <rdar://problem/13334995>
- 6:28 PM Changeset in webkit [145659] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r140069. <rdar://problem/13334849>
- 6:26 PM Changeset in webkit [145658] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r139788. <rdar://problem/13334937>
- 6:25 PM Changeset in webkit [145657] by
-
- 2 edits in trunk/Source/WTF
Typo in earlier Windows build fix. Unreviewed.
- WTF.vcproj/WTF.vcproj:
- 6:24 PM Changeset in webkit [145656] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r139551. <rdar://problem/13334836>
- 6:23 PM Changeset in webkit [145655] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r139457. <rdar://problem/13335016>
- 6:21 PM Changeset in webkit [145654] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r138994. <rdar://problem/13334924>
- 6:20 PM Changeset in webkit [145653] by
-
- 3 edits in trunk/Source/JavaScriptCore
WTF uses macros for exports. Try to fix the Windows build. Unreviewed.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def:
- JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExports.def.in:
- 6:19 PM Changeset in webkit [145652] by
-
- 4 edits2 copies in branches/safari-536.30-branch
Merged r138926. <rdar://problem/13334936>
- 6:19 PM Changeset in webkit [145651] by
-
- 4 edits in trunk/Source/WebKit/chromium
[Chromium] WebFrame event listener APIs are unused and can be removed
https://bugs.webkit.org/show_bug.cgi?id=112189
Reviewed by Darin Fisher.
As far as I can tell, there are no callers for these APIs. They appear
to have been added for out-of-process postMessages, but those are now
implemented using a different mechanism.
- public/WebFrame.h:
(WebFrame):
- src/WebFrameImpl.cpp:
- src/WebFrameImpl.h:
(WebFrameImpl):
- 6:17 PM Changeset in webkit [145650] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r138918. <rdar://problem/13334933>
- 6:14 PM Changeset in webkit [145649] by
-
- 3 edits in trunk/Source/WebCore
Unreviewed, rolling out r145280.
http://trac.webkit.org/changeset/145280
https://bugs.webkit.org/show_bug.cgi?id=112217
This patch broke chromium WebGL conformance tests (Requested
by shawnsingh on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-12
- platform/graphics/gpu/DrawingBuffer.cpp:
(WebCore::DrawingBuffer::reset):
- platform/graphics/gpu/DrawingBuffer.h:
(DrawingBuffer):
- 6:12 PM Changeset in webkit [145648] by
-
- 5 edits in branches/safari-536.30-branch/Source/WebCore
Merged r138863. <rdar://problem/13335068>
- 6:06 PM Changeset in webkit [145647] by
-
- 2 edits in trunk/Tools
Unbreak api tests
- 6:02 PM Changeset in webkit [145646] by
-
- 5 edits in branches/chromium/1410/Source/WebKit/chromium/src
Merge 145319
[chromium] Set the Helper Plugin's URL to that of the host document.
https://bugs.webkit.org/show_bug.cgi?id=111913
This allows content settings, etc. to be based on the document hosting
the element that requested the Helper Plugin.
Patch by David Dorwin <ddorwin@chromium.org> on 2013-03-09
Reviewed by Adam Barth.
- src/WebHelperPluginImpl.cpp:
(WebKit::writeDocument):
(WebKit::WebHelperPluginImpl::initialize):
(WebKit::WebHelperPluginImpl::initializePage):
- src/WebHelperPluginImpl.h:
(WebKit):
(WebHelperPluginImpl):
- src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::createHelperPlugin):
- src/WebViewImpl.h:
(WebViewImpl):
TBR=commit-queue@webkit.org
Review URL: https://codereview.chromium.org/12575006
- 5:56 PM Changeset in webkit [145645] by
-
- 2 edits in trunk/Source/WebCore
Don't send events to plugins that are being snapshotted
https://bugs.webkit.org/show_bug.cgi?id=112215
<rdar://problem/13386224>
Reviewed by Tim Horton.
If a plugin is in the process of being snapshotted, do not forward it
any events. This avoids the case where we can accidentally capture some
custom mouse pointers, as well as trigger a plugin menu.
The next step will be to detect if the event should stop the snapshotting
(restart the plugin).
- html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::defaultEventHandler): Return early if the plugin is snapshotting.
- 5:56 PM Changeset in webkit [145644] by
-
- 3 edits in trunk/Source/WebKit2
Primary plugin hit detection needs to run after plugin creation
https://bugs.webkit.org/show_bug.cgi?id=112206
Reviewed by Tim Horton.
On some pages, the plugins are created after the page has loaded, and
thus our heuristic to determine the primary plugin fails. Run this
heuristic more often: after each PluginView is created. It already exits
early if it has found a primary. But we also need to make sure that it
doesn't run before load.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::addPluginView): Run detection when view is added.
(WebKit::WebPage::didFinishLoad): Remember that we have loaded.
(WebKit::WebPage::determinePrimarySnapshottedPlugIn): Look at the PluginViews to see if we have a plugin.
(WebKit::WebPage::resetPrimarySnapshottedPlugIn): Reset both flags.
- WebProcess/WebPage/WebPage.h:
(WebPage): New member variable, m_readyToFindPrimarySnapshottedPlugin.
- 5:53 PM Changeset in webkit [145643] by
-
- 7 edits2 copies in branches/safari-536.30-branch
Merged r138850. <rdar://problem/13334979>
- 5:51 PM Changeset in webkit [145642] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r138812. <rdar://problem/13335055>
- 5:50 PM Changeset in webkit [145641] by
-
- 3 edits in branches/safari-536.30-branch/Source/WebCore
Merged r138657. <rdar://problem/13335057>
- 5:47 PM Changeset in webkit [145640] by
-
- 5 edits2 copies in branches/safari-536.30-branch
Merged r138316. <rdar://problem/13335014>
- 5:45 PM Changeset in webkit [145639] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r137464. <rdar://problem/13334917>
- 5:43 PM Changeset in webkit [145638] by
-
- 4 edits2 copies in branches/safari-536.30-branch
Merged r136560. <rdar://problem/13334987>
- 5:43 PM Changeset in webkit [145637] by
-
- 8 edits in trunk/Source
Unreviewed attempted Windows build fix after http://trac.webkit.org/changeset/145592.
- WebCore.vcproj/WebCore.vcproj:
- WebCore.vcxproj/WebCore.vcxproj:
- WebCore.vcxproj/WebCore.vcxproj.filters:
- WTF.vcproj/WTF.vcproj:
- WTF.vcxproj/WTF.vcxproj:
- WTF.vcxproj/WTF.vcxproj.filters:
- 5:41 PM Changeset in webkit [145636] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r136558. <rdar://problem/13334868>
- 5:39 PM Changeset in webkit [145635] by
-
- 4 edits2 copies in branches/safari-536.30-branch
Merged r136541. <rdar://problem/13334913>
- 5:36 PM Changeset in webkit [145634] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r136253. <rdar://problem/13334990>
- 5:29 PM Changeset in webkit [145633] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r136074. <rdar://problem/13334908>
- 5:27 PM Changeset in webkit [145632] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r136061. <rdar://problem/13335034>
- 5:25 PM Changeset in webkit [145631] by
-
- 4 edits in trunk
Fix Gamepad::axes and Gamepad::buttons to avoid calling std::copy(..., ..., 0)
https://bugs.webkit.org/show_bug.cgi?id=89510
Patch by James Robinson <jamesr@chromium.org> on 2013-03-12
Reviewed by Kenneth Russell.
Source/WebCore:
WTF::Vector::begin() returns 0 when the vector has length zero. On windows, the debug implementation of
std::copy() is unhappy with 0 as a third parameter even when the first and second parameters are equal.
Covered by gamepad/gamepad-polling-access.html
- Modules/gamepad/Gamepad.cpp:
(WebCore::Gamepad::axes):
(WebCore::Gamepad::buttons):
LayoutTests:
Remove expectation now that test passes.
- platform/chromium/TestExpectations:
- 5:25 PM Changeset in webkit [145630] by
-
- 5 edits2 copies in branches/safari-536.30-branch
Merged r136060. <rdar://problem/13334905>
- 5:18 PM Changeset in webkit [145629] by
-
- 3 edits3 copies in branches/safari-536.30-branch
Merged r135794. <rdar://problem/13335026>
- 5:17 PM Changeset in webkit [145628] by
-
- 4 edits3 adds in trunk
Array.prototype.sort should at least try to be PTIME even when the array is in some bizarre mode
https://bugs.webkit.org/show_bug.cgi?id=112187
<rdar://problem/13393550>
Source/JavaScriptCore:
Reviewed by Michael Saboff and Gavin Barraclough.
If we have an array-like object in crazy mode passed into Array.prototype.sort, and its length is large,
then first copy all elements into a separate, compact, un-holy array and sort that. Then copy back.
This means that sorting will be at works O(n2) in the actual number of things in the array, rather than
O(n2) in the array's length.
- runtime/ArrayPrototype.cpp:
(JSC::attemptFastSort):
(JSC::performSlowSort):
(JSC):
(JSC::arrayProtoFuncSort):
LayoutTests:
Reviewed by Michael Saboff and Gavin Barraclough.
If your Array.prototype.sort is not sufficiently smart, this test will never complete.
But if it is, it'll complete instantly.
- fast/js/array-sort-small-sparse-array-with-large-length-expected.txt: Added.
- fast/js/array-sort-small-sparse-array-with-large-length.html: Added.
- fast/js/jsc-test-list:
- fast/js/script-tests/array-sort-small-sparse-array-with-large-length.js: Added.
- 5:16 PM Changeset in webkit [145627] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r135719. <rdar://problem/13334904>
- 5:14 PM Changeset in webkit [145626] by
-
- 7 edits4 copies in branches/safari-536.30-branch
Merged r135478. <rdar://problem/13334903>
- 5:09 PM Changeset in webkit [145625] by
-
- 2 edits in trunk/Source/WebKit2
WKView -printOperationWithPrintInfo:forFrame: doesn’t use the print info that is
passed in
https://bugs.webkit.org/show_bug.cgi?id=112212
-and corresponding-
<rdar://problem/12994883>
Reviewed by Anders Carlsson.
We should call [NSPrintOperation printOperationWithView: printInfo:] to use the
printInfo parameter instead of [NSPrintOperation printOperationWithView:] which
will just use the sharedPrintInfo.
- UIProcess/API/mac/WKView.mm:
(-[WKView printOperationWithPrintInfo:forFrame:]):
- 5:06 PM Changeset in webkit [145624] by
-
- 3 edits4 copies in branches/safari-536.30-branch
Merged r135454. <rdar://problem/13335031>
- 5:03 PM Changeset in webkit [145623] by
-
- 2 edits in trunk/Source/Platform
[Chromium] Remove last vestigates of WEBKIT_USING_V8
https://bugs.webkit.org/show_bug.cgi?id=112203
Reviewed by James Robinson.
These macros are no longer referenced anywhere and can be removed.
- chromium/public/WebCommon.h:
- 5:03 PM Changeset in webkit [145622] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r135303. <rdar://problem/13334898>
- 5:02 PM Changeset in webkit [145621] by
-
- 137 edits2 copies1 move19 adds19 deletes in trunk/LayoutTests
Update chromium pixel baselines for mesa blend fix in chromium r187688
- platform/chromium-linux/compositing/color-matching/image-color-matching-expected.png:
- platform/chromium-linux/compositing/culling/filter-occlusion-blur-expected.png: Removed.
- platform/chromium-linux/compositing/culling/filter-occlusion-blur-large-expected.png: Removed.
- platform/chromium-linux/compositing/direct-image-compositing-expected.png:
- platform/chromium-linux/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
- platform/chromium-linux/compositing/geometry/layer-due-to-layer-children-expected.png:
- platform/chromium-linux/compositing/geometry/vertical-scroll-composited-expected.png:
- platform/chromium-linux/compositing/geometry/video-fixed-scrolling-expected.png:
- platform/chromium-linux/compositing/geometry/video-opacity-overlay-expected.png:
- platform/chromium-linux/compositing/layers-inside-overflow-scroll-expected.png:
- platform/chromium-linux/compositing/overflow/overflow-compositing-descendant-expected.png:
- platform/chromium-linux/compositing/overflow/scroll-ancestor-update-expected.png:
- platform/chromium-linux/compositing/reflections/animation-inside-reflection-expected.png:
- platform/chromium-linux/compositing/reflections/load-video-in-reflection-expected.png:
- platform/chromium-linux/compositing/reflections/nested-reflection-anchor-point-expected.png:
- platform/chromium-linux/compositing/reflections/transform-inside-reflection-expected.png:
- platform/chromium-linux/compositing/self-painting-layers-expected.png:
- platform/chromium-linux/compositing/transitions/scale-transition-no-start-expected.png:
- platform/chromium-linux/compositing/visibility/visibility-image-layers-expected.png: Removed.
- platform/chromium-linux/compositing/visibility/visibility-simple-video-layer-expected.png: Removed.
- platform/chromium-linux/css3/filters/custom/custom-filter-shader-cache-expected.png:
- platform/chromium-linux/css3/filters/custom/effect-color-check-expected.png: Added.
- platform/chromium-linux/css3/filters/custom/effect-custom-combined-missing-expected.png:
- platform/chromium-linux/css3/filters/custom/effect-custom-expected.png:
- platform/chromium-linux/css3/filters/custom/effect-custom-parameters-expected.png:
- platform/chromium-linux/css3/filters/effect-blur-hw-expected.png: Removed.
- platform/chromium-linux/css3/filters/effect-brightness-clamping-hw-expected.png: Removed.
- platform/chromium-linux/css3/filters/effect-brightness-hw-expected.png: Removed.
- platform/chromium-linux/css3/filters/effect-combined-hw-expected.png:
- platform/chromium-linux/css3/filters/effect-contrast-hw-expected.png: Removed.
- platform/chromium-linux/css3/filters/effect-drop-shadow-hw-expected.png: Removed.
- platform/chromium-linux/css3/filters/effect-reference-hw-expected.png: Removed.
- platform/chromium-linux/css3/filters/effect-reference-ordering-hw-expected.png: Removed.
- platform/chromium-linux/css3/filters/effect-saturate-hw-expected.png: Removed.
- platform/chromium-linux/css3/filters/effect-sepia-hw-expected.png: Removed.
- platform/chromium-linux/css3/filters/filter-change-repaint-composited-expected.png: Removed.
- platform/chromium-linux/css3/filters/filter-change-repaint-expected.png: Removed.
- platform/chromium-linux/css3/filters/filter-repaint-composited-fallback-crash-expected.png:
- platform/chromium-linux/css3/filters/filter-repaint-composited-fallback-expected.png:
- platform/chromium-linux/fast/canvas/webgl/css-webkit-canvas-expected.png: Removed.
- platform/chromium-linux/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Removed.
- platform/chromium-linux/platform/chromium/compositing/3d-corners-expected.png:
- platform/chromium-linux/platform/chromium/compositing/huge-layer-rotated-expected.png:
- platform/chromium-linux/platform/chromium/compositing/perpendicular-layer-sorting-expected.png:
- platform/chromium-linux/platform/chromium/compositing/video-frame-size-change-expected.png:
- platform/chromium-linux/platform/chromium/virtual/gpu/compositedscrolling/overflow/overflow-compositing-descendant-expected.png: Added.
- platform/chromium-linux/platform/chromium/virtual/gpu/compositedscrolling/overflow/scroll-ancestor-update-expected.png: Added.
- platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png:
- platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
- platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
- platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
- platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/webgl/css-webkit-canvas-expected.png: Added.
- platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Added.
- platform/chromium-linux/platform/chromium/virtual/gpu/fast/hidpi/gradient-with-scaled-ancestor-expected.png:
- platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-3-expected.png:
- platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-expected.png:
- platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
- platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png:
- platform/chromium-mac-lion/compositing/color-matching/image-color-matching-expected.png:
- platform/chromium-mac-lion/compositing/direct-image-compositing-expected.png:
- platform/chromium-mac-lion/compositing/geometry/clipping-foreground-expected.png:
- platform/chromium-mac-lion/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
- platform/chromium-mac-lion/compositing/geometry/layer-due-to-layer-children-expected.png:
- platform/chromium-mac-lion/compositing/geometry/video-fixed-scrolling-expected.png:
- platform/chromium-mac-lion/compositing/geometry/video-opacity-overlay-expected.png:
- platform/chromium-mac-lion/compositing/layers-inside-overflow-scroll-expected.png:
- platform/chromium-mac-lion/compositing/overflow/overflow-compositing-descendant-expected.png:
- platform/chromium-mac-lion/compositing/overflow/scroll-ancestor-update-expected.png:
- platform/chromium-mac-lion/compositing/reflections/animation-inside-reflection-expected.png:
- platform/chromium-mac-lion/compositing/reflections/load-video-in-reflection-expected.png:
- platform/chromium-mac-lion/compositing/reflections/nested-reflection-anchor-point-expected.png:
- platform/chromium-mac-lion/compositing/reflections/transform-inside-reflection-expected.png:
- platform/chromium-mac-lion/compositing/self-painting-layers-expected.png:
- platform/chromium-mac-lion/compositing/transitions/scale-transition-no-start-expected.png:
- platform/chromium-mac-lion/platform/chromium/compositing/video-frame-size-change-expected.png:
- platform/chromium-mac-lion/platform/chromium/virtual/gpu/compositedscrolling/overflow/overflow-compositing-descendant-expected.png: Added.
- platform/chromium-mac-lion/platform/chromium/virtual/gpu/compositedscrolling/overflow/scroll-ancestor-update-expected.png: Copied from LayoutTests/platform/chromium-mac-lion/compositing/overflow/scroll-ancestor-update-expected.png.
- platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png:
- platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
- platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-text-baseline-expected.png:
- platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
- platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
- platform/chromium-mac-lion/transforms/3d/point-mapping/3d-point-mapping-3-expected.png:
- platform/chromium-mac-lion/transforms/3d/point-mapping/3d-point-mapping-expected.png:
- platform/chromium-mac-lion/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
- platform/chromium-mac-lion/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png:
- platform/chromium-mac-snowleopard/compositing/color-matching/image-color-matching-expected.png:
- platform/chromium-mac-snowleopard/compositing/direct-image-compositing-expected.png:
- platform/chromium-mac-snowleopard/compositing/geometry/clipping-foreground-expected.png:
- platform/chromium-mac-snowleopard/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
- platform/chromium-mac-snowleopard/compositing/geometry/layer-due-to-layer-children-expected.png:
- platform/chromium-mac-snowleopard/compositing/geometry/video-fixed-scrolling-expected.png:
- platform/chromium-mac-snowleopard/compositing/geometry/video-opacity-overlay-expected.png:
- platform/chromium-mac-snowleopard/compositing/layers-inside-overflow-scroll-expected.png:
- platform/chromium-mac-snowleopard/compositing/overflow/overflow-compositing-descendant-expected.png:
- platform/chromium-mac-snowleopard/compositing/overflow/scroll-ancestor-update-expected.png:
- platform/chromium-mac-snowleopard/compositing/reflections/animation-inside-reflection-expected.png:
- platform/chromium-mac-snowleopard/compositing/reflections/load-video-in-reflection-expected.png:
- platform/chromium-mac-snowleopard/compositing/reflections/nested-reflection-anchor-point-expected.png:
- platform/chromium-mac-snowleopard/compositing/reflections/transform-inside-reflection-expected.png:
- platform/chromium-mac-snowleopard/compositing/self-painting-layers-expected.png:
- platform/chromium-mac-snowleopard/compositing/transitions/scale-transition-no-start-expected.png:
- platform/chromium-mac-snowleopard/platform/chromium/compositing/video-frame-size-change-expected.png:
- platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/compositedscrolling/overflow/overflow-compositing-descendant-expected.png: Copied from LayoutTests/platform/chromium-mac-snowleopard/compositing/overflow/overflow-compositing-descendant-expected.png.
- platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/compositedscrolling/overflow/scroll-ancestor-update-expected.png: Added.
- platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png:
- platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
- platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
- platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
- platform/chromium-mac-snowleopard/transforms/3d/point-mapping/3d-point-mapping-3-expected.png:
- platform/chromium-mac-snowleopard/transforms/3d/point-mapping/3d-point-mapping-expected.png:
- platform/chromium-mac-snowleopard/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
- platform/chromium-mac-snowleopard/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png:
- platform/chromium-mac/compositing/color-matching/image-color-matching-expected.png:
- platform/chromium-mac/compositing/culling/filter-occlusion-blur-expected.png:
- platform/chromium-mac/compositing/culling/filter-occlusion-blur-large-expected.png:
- platform/chromium-mac/compositing/direct-image-compositing-expected.png:
- platform/chromium-mac/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
- platform/chromium-mac/compositing/geometry/layer-due-to-layer-children-expected.png:
- platform/chromium-mac/compositing/geometry/vertical-scroll-composited-expected.png:
- platform/chromium-mac/compositing/geometry/video-fixed-scrolling-expected.png:
- platform/chromium-mac/compositing/geometry/video-opacity-overlay-expected.png:
- platform/chromium-mac/compositing/layers-inside-overflow-scroll-expected.png:
- platform/chromium-mac/compositing/overflow/overflow-compositing-descendant-expected.png:
- platform/chromium-mac/compositing/overflow/scroll-ancestor-update-expected.png:
- platform/chromium-mac/compositing/reflections/animation-inside-reflection-expected.png:
- platform/chromium-mac/compositing/reflections/load-video-in-reflection-expected.png:
- platform/chromium-mac/compositing/reflections/nested-reflection-anchor-point-expected.png:
- platform/chromium-mac/compositing/reflections/transform-inside-reflection-expected.png:
- platform/chromium-mac/compositing/self-painting-layers-expected.png:
- platform/chromium-mac/compositing/transitions/scale-transition-no-start-expected.png:
- platform/chromium-mac/compositing/visibility/visibility-image-layers-expected.png:
- platform/chromium-mac/compositing/visibility/visibility-simple-video-layer-expected.png:
- platform/chromium-mac/css3/filters/custom/custom-filter-shader-cache-expected.png:
- platform/chromium-mac/css3/filters/custom/effect-color-check-expected.png:
- platform/chromium-mac/css3/filters/custom/effect-custom-combined-missing-expected.png:
- platform/chromium-mac/css3/filters/custom/effect-custom-parameters-expected.png:
- platform/chromium-mac/css3/filters/effect-blur-hw-expected.png:
- platform/chromium-mac/css3/filters/effect-brightness-clamping-hw-expected.png:
- platform/chromium-mac/css3/filters/effect-brightness-hw-expected.png:
- platform/chromium-mac/css3/filters/effect-combined-hw-expected.png:
- platform/chromium-mac/css3/filters/effect-contrast-hw-expected.png:
- platform/chromium-mac/css3/filters/effect-drop-shadow-hw-expected.png:
- platform/chromium-mac/css3/filters/effect-reference-hw-expected.png:
- platform/chromium-mac/css3/filters/effect-reference-ordering-hw-expected.png:
- platform/chromium-mac/css3/filters/filter-change-repaint-composited-expected.png: Added.
- platform/chromium-mac/css3/filters/filter-change-repaint-expected.png: Added.
- platform/chromium-mac/css3/filters/filter-repaint-composited-fallback-crash-expected.png:
- platform/chromium-mac/css3/filters/filter-repaint-composited-fallback-expected.png:
- platform/chromium-mac/fast/canvas/webgl/css-webkit-canvas-expected.png: Added.
- platform/chromium-mac/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Added.
- platform/chromium-mac/platform/chromium/compositing/3d-corners-expected.png:
- platform/chromium-mac/platform/chromium/compositing/filters/background-filter-blur-expected.png: Added.
- platform/chromium-mac/platform/chromium/compositing/filters/background-filter-blur-off-axis-expected.png:
- platform/chromium-mac/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png:
- platform/chromium-mac/platform/chromium/compositing/huge-layer-rotated-expected.png:
- platform/chromium-mac/platform/chromium/compositing/perpendicular-layer-sorting-expected.png:
- platform/chromium-mac/platform/chromium/compositing/video-frame-size-change-expected.png:
- platform/chromium-mac/platform/chromium/virtual/gpu/compositedscrolling/overflow/overflow-compositing-descendant-expected.png: Added.
- platform/chromium-mac/platform/chromium/virtual/gpu/compositedscrolling/overflow/scroll-ancestor-update-expected.png: Added.
- platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png:
- platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
- platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
- platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
- platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/webgl/css-webkit-canvas-expected.png: Added.
- platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Added.
- platform/chromium-mac/transforms/3d/point-mapping/3d-point-mapping-3-expected.png:
- platform/chromium-mac/transforms/3d/point-mapping/3d-point-mapping-expected.png:
- platform/chromium-mac/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
- platform/chromium-mac/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png:
- platform/chromium/TestExpectations:
- platform/chromium/fast/canvas/webgl/css-webkit-canvas-expected.png: Removed.
- platform/chromium/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Removed.
- platform/efl-wk2/compositing/geometry/clipping-foreground-expected.png: Renamed from LayoutTests/platform/efl/compositing/geometry/clipping-foreground-expected.png.
- 5:00 PM Changeset in webkit [145620] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r135299. <rdar://problem/13335033>
- 4:58 PM Changeset in webkit [145619] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r135193. <rdar://problem/13335071>
- 4:56 PM Changeset in webkit [145618] by
-
- 4 edits2 copies in branches/safari-536.30-branch
Merged r133717. <rdar://problem/13334891>
- 4:52 PM Changeset in webkit [145617] by
-
- 4 edits12 copies in branches/safari-536.30-branch
Merged r133686. <rdar://problem/13334976>
- 4:50 PM Changeset in webkit [145616] by
-
- 3 edits3 copies in branches/safari-536.30-branch
Merged r133155. <rdar://problem/13335008>
- 4:49 PM Changeset in webkit [145615] by
-
- 2 edits in trunk/Source/JavaScriptCore
Try to fix the Windows build.
Not reviewed.
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def:
- 4:45 PM Changeset in webkit [145614] by
-
- 5 edits2 copies in branches/safari-536.30-branch
Merged r132983. <rdar://problem/13334897>
- 4:43 PM Changeset in webkit [145613] by
-
- 2 edits in trunk/Source/WebCore
Remove TextIterator.cpp's isAllCollapsibleWhitespace
https://bugs.webkit.org/show_bug.cgi?id=112200
Reviewed by Ryosuke Niwa.
Remove isAllCollapsibleWhitespace since nothing uses it.
- editing/TextIterator.cpp: Remove isAllCollapsibleWhitespace.
- 4:43 PM Changeset in webkit [145612] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r132462. <rdar://problem/13335022>
- 4:40 PM Changeset in webkit [145611] by
-
- 5 edits in branches/safari-536.30-branch/Source/WebCore
Merged r132398. <rdar://problem/13334911>
- 4:27 PM Changeset in webkit [145610] by
-
- 6 edits in trunk/Source/WebCore
[css exclusions] Move ExclusionShapeInsideInfo into RenderBlockRareData
https://bugs.webkit.org/show_bug.cgi?id=110995
Reviewed by Julien Chaffraix.
This patch moves ExclusionShapeInsideInfo into the RenderBlockRareData struct,
which enables us to move away from the global ExclusionShapeInsideInfo map.
Some additional refactoring was done to remove ExclusionShapeInsideInfo's
dependency on InlineIterator, which depended on RenderBlock. This work required
adding a new LineSegmentIterator struct.
Refactoring, no new tests.
- rendering/ExclusionShapeInsideInfo.cpp:
(WebCore):
(WebCore::LineSegmentRange::LineSegmentRange): Moving the InlineIterator
constructor to the .cpp file, as InlineIterator is now forward declared in
the .h file.
(WebCore::ExclusionShapeInsideInfo::isEnabledFor): Moving isEnabledFor to
the .cpp file, as RenderBlock is now forward declared in the .h file.
- rendering/ExclusionShapeInsideInfo.h:
(WebCore):
(LineSegmentIterator): A simple struct for containing segment positions for
layout.
(WebCore::LineSegmentIterator::LineSegmentIterator): Constructor.
(LineSegmentRange): Transitioning to store LineSegmentIterator.
(WebCore::LineSegmentRange::LineSegmentRange): Ditto.
(ExclusionShapeInsideInfo):
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::willBeDestroyed): Destroying a block will now destroy
its ExclusionShapeInsideInfo, so there is no need to remove it from the map.
(WebCore):
(WebCore::RenderBlock::updateExclusionShapeInsideInfoAfterStyleChange): Use
the RenderBlockRareData struct rather than the global map.
- rendering/RenderBlock.h:
(WebCore):
(WebCore::RenderBlock::ensureExclusionShapeInsideInfo): Ensure an info struct
is present if the shape-inside style is set.
(WebCore::RenderBlock::exclusionShapeInsideInfo): Look up the info struct for
the current block.
(WebCore::RenderBlock::setExclusionShapeInsideInfo): Update the info struct
for the current block.
(RenderBlockRareData): Add the ExclusionShapeInsideInfo member. Move the struct
declaration to be public, so that the OwnPtr reference can properly delete it.
- rendering/RenderBlockLineLayout.cpp:
(WebCore::constructBidiRunsForLine): Construct the appropriate offsets during
layout based on the stored LineSegmentIterators.
- 4:25 PM Changeset in webkit [145609] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r131578. <rdar://problem/13334886>
- 4:19 PM Changeset in webkit [145608] by
-
- 1 copy1 add in branches/safari-536.30-branch/Source/WebCore
- 4:15 PM Changeset in webkit [145607] by
-
- 2 edits in trunk/Tools
Unreviewed, disabling tests for Win EWS.
win-ews obviously cannot keep up with running tests, it's >300 behind.
Probably doesn't help that its (likely) running tests serially.
- Scripts/webkitpy/tool/commands/earlywarningsystem.py:
(WinEWS):
- 4:14 PM Changeset in webkit [145606] by
-
- 2 edits in trunk/Source/JavaScriptCore
Try to fix the Windows build.
Not reviewed.
- JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExports.def.in:
Export a thing.
- 4:10 PM Changeset in webkit [145605] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r131315. <rdar://problem/13334884>
- 4:04 PM Changeset in webkit [145604] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r131110. <rdar://problem/13334883>
- 3:49 PM Changeset in webkit [145603] by
-
- 4 edits in trunk/Source
Build fix for r145592 - update gyp files to refer to new file locations.
Source/WebCore:
- WebCore.gypi:
Source/WTF:
- WTF.gypi:
- 3:49 PM Changeset in webkit [145602] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r129583. <rdar://problem/13335073>
- 3:39 PM Changeset in webkit [145601] by
-
- 2 edits in trunk/Source/WebCore
Add a single character cache to WidthCache
https://bugs.webkit.org/show_bug.cgi?id=112084
Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-03-12
Reviewed by Geoffrey Garen.
More than half of the values stored in WidthCache are values
for a single character.
Previously, we were creating a new SmallStringKey for each one of
them, causing a lot of extra memory operations even for the simple
cases.
This patch adds a second map, m_singleCharMap, to simplify the
computation for the common case of a single char TextRun.
- platform/graphics/WidthCache.h:
(WebCore::WidthCache::clear):
(WidthCache):
(WebCore::WidthCache::addSlowCase):
- 3:38 PM Changeset in webkit [145600] by
-
- 2 edits in trunk/Tools
Add a --build-directory argument to delete-stale-build-files
https://bugs.webkit.org/show_bug.cgi?id=112198
Reviewed by Ryosuke Niwa.
- BuildSlaveSupport/delete-stale-build-files:
(main): Add --build-directory argument.
- 3:35 PM Changeset in webkit [145599] by
-
- 6 edits in branches/safari-536.30-branch/Source/WebCore
Merged r129186. <rdar://problem/13334978>
- 3:26 PM Changeset in webkit [145598] by
-
- 12 edits in trunk/Source/WebCore
Replace static_casts for SVG transformable and locatable elements
https://bugs.webkit.org/show_bug.cgi?id=111651
Reviewed by Abhishek Arya.
toSVGStyledTransformableElement and toSVGStyledLocatableElement are preferred over
static_casts because bad casts can be caught on our testing infrastructure. This patch
replaces all static_casts for SVGStyledTransformableElement and SVGStyledLocatableElement
with toSVGStyledTransformableElement and toSVGStyledLocatableElement, respectively.
No new tests as this is covered with existing tests.
- rendering/svg/RenderSVGResourceClipper.cpp:
(WebCore::RenderSVGResourceClipper::pathOnlyClipping):
- rendering/svg/RenderSVGResourceContainer.cpp:
(WebCore::RenderSVGResourceContainer::transformOnNonScalingStroke):
- rendering/svg/RenderSVGShape.cpp:
(WebCore::RenderSVGShape::updateShapeFromElement):
(WebCore::RenderSVGShape::layout):
(WebCore::RenderSVGShape::nonScalingStrokeTransform):
(WebCore::RenderSVGShape::shouldGenerateMarkerPositions):
- rendering/svg/RenderSVGTransformableContainer.cpp:
(WebCore::RenderSVGTransformableContainer::calculateLocalTransform):
- svg/SVGAnimatedLength.cpp:
(WebCore::SVGAnimatedLengthAnimator::calculateDistance):
This was an unnecessary cast and has been removed.
- svg/SVGElement.cpp:
(WebCore::SVGElement::getBoundingBox):
- svg/SVGLocatable.cpp:
(WebCore::SVGLocatable::getTransformToElement):
- svg/SVGStyledLocatableElement.h:
(WebCore):
(WebCore::toSVGStyledLocatableElement):
- svg/SVGStyledTransformableElement.h:
(WebCore):
(WebCore::toSVGStyledTransformableElement):
It makes the code cleaner to pass Node* in here, rather than converting the Node*
to an SVGElement* before calling this function. The same was not necessary for
SVGStyledLocatable.
- svg/SVGSVGElement.h:
(WebCore):
(WebCore::toSVGSVGElement):
This code has been cleaned up. During the review of this patch, a similar cleanup
was done in toSVGStyledTransformableElement.
- svg/SVGUseElement.cpp:
(WebCore::SVGUseElement::toClipPath):
- 3:21 PM Changeset in webkit [145597] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled Chromium DEPS to r187660. Requested by
"Adam Barth" <abarth@webkit.org> via sheriffbot.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-12
- DEPS:
- 3:21 PM Changeset in webkit [145596] by
-
- 18 edits in trunk/Source
Replace static_casts with to* helper functions.
https://bugs.webkit.org/show_bug.cgi?id=112164
Reviewed by Philip Rogers.
to* helper functions are preferred over static_cast calls since they
help to catch bad casts easily on the testing infrastructure.
Source/WebCore:
- css/ElementRuleCollector.cpp:
(WebCore::ElementRuleCollector::collectMatchingRulesForRegion):
- platform/gtk/PasteboardGtk.cpp:
(WebCore::getURLForImageNode):
(WebCore::Pasteboard::writeImage):
- platform/gtk/RenderThemeGtk.cpp:
(WebCore::getMediaElementFromRenderObject):
- platform/qt/RenderThemeQtMobile.cpp:
(WebCore::RenderThemeQtMobile::checkMultiple):
- rendering/HitTestResult.cpp:
(WebCore::HitTestResult::title):
(WebCore::HitTestResult::absoluteImageURL):
(WebCore::HitTestResult::absolutePDFURL):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::resize):
(WebCore::RenderLayer::hitTest):
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::valueChanged):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::addPDFURLRect):
- rendering/RenderPart.cpp:
(WebCore::RenderPart::requiresAcceleratedCompositing):
- rendering/RenderRegion.cpp:
(WebCore::RenderRegion::checkRegionStyle):
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::computePreferredLogicalWidths):
- rendering/RenderTheme.cpp:
(WebCore::RenderTheme::isEnabled):
(WebCore::RenderTheme::isSpinUpButtonPartPressed):
(WebCore::RenderTheme::isHovered):
(WebCore::RenderTheme::isSpinUpButtonPartHovered):
(WebCore::RenderTheme::paintSliderTicks):
- rendering/RenderThemeWinCE.cpp:
(WebCore::mediaElementParent):
- rendering/RenderTreeAsText.cpp:
(WebCore::isEmptyOrUnstyledAppleStyleSpan):
(WebCore::RenderTreeAsText::writeRenderObject):
(WebCore::writeRenderRegionList):
- rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeSVGResourceContainer):
Source/WebKit/win:
- DOMHTMLClasses.cpp:
(DOMHTMLElement::idName):
(DOMHTMLElement::innerText):
(DOMHTMLElement::setInnerText):
- 3:17 PM Changeset in webkit [145595] by
-
- 2 edits in trunk/Tools
Appease MSVC
- 3:15 PM Changeset in webkit [145594] by
-
- 3 edits in trunk/Source/JavaScriptCore
Harden JSStringJoiner
https://bugs.webkit.org/show_bug.cgi?id=112093
Reviewed by Filip Pizlo.
Harden JSStringJoiner, make it use our CheckedArithmetic
class to simplify everything.
- runtime/JSStringJoiner.cpp:
(JSC::JSStringJoiner::build):
- runtime/JSStringJoiner.h:
(JSStringJoiner):
(JSC::JSStringJoiner::JSStringJoiner):
(JSC::JSStringJoiner::append):
- 3:04 PM Changeset in webkit [145593] by
-
- 3 edits in trunk/LayoutTests
Add one more test expectation per bug 112176.
- platform/mac-wk2/TestExpectations:
- platform/mac/TestExpectations:
- 3:04 PM Changeset in webkit [145592] by
-
- 25 edits1 copy6 moves in trunk/Source
Moved RunLoopTimer and SchedulePair to WTF
https://bugs.webkit.org/show_bug.cgi?id=112171
Reviewed by Oliver Hunt.
This will allow us to use timers in lower level primitives without
duplicating all the code.
../WebCore:
- WebCore.exp.in:
- WebCore.xcodeproj/project.pbxproj:
- loader/DocumentLoader.h:
(WTF):
(WebCore):
(DocumentLoader):
- loader/MainResourceLoader.h:
- page/Page.h:
- platform/AutodrainedPool.h: Removed.
- platform/cf/RunLoopTimerCF.cpp: Removed.
- platform/cf/SchedulePair.cpp: Removed.
- platform/cf/SchedulePair.h: Removed.
- platform/mac/AutodrainedPool.mm: Removed.
- platform/mac/SchedulePairMac.mm: Removed.
- platform/network/NetworkingContext.h:
- platform/network/ResourceHandle.h:
(WTF):
(WebCore):
(ResourceHandle):
- platform/network/cf/FormDataStreamCFNet.cpp:
- platform/network/mac/ResourceHandleMac.mm:
../WebKit/mac:
- WebCoreSupport/WebFrameNetworkingContext.h:
(WebFrameNetworkingContext):
../WebKit2:
- WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.h:
(WebFrameNetworkingContext):
../WTF:
- WTF.xcodeproj/project.pbxproj:
- wtf/AutodrainedPool.h: Copied from Source/WebCore/platform/AutodrainedPool.h.
(AutodrainedPool):
- wtf/AutodrainedPoolMac.mm: Copied from Source/WebCore/platform/mac/AutodrainedPool.mm.
- wtf/RunLoopTimer.h: Copied from Source/WebCore/platform/RunLoopTimer.h.
- wtf/RunLoopTimerCF.cpp: Copied from Source/WebCore/platform/cf/RunLoopTimerCF.cpp.
- wtf/SchedulePair.cpp: Copied from Source/WebCore/platform/cf/SchedulePair.cpp.
- wtf/SchedulePair.h: Copied from Source/WebCore/platform/cf/SchedulePair.h.
(SchedulePair):
- wtf/SchedulePairMac.mm: Copied from Source/WebCore/platform/mac/SchedulePairMac.mm.
- 2:58 PM Changeset in webkit [145591] by
-
- 1 edit2 deletes in trunk/LayoutTests
Remove stray .gitmodules file
https://bugs.webkit.org/show_bug.cgi?id=112186
Reviewed by Tony Chang.
Apparently I imported this together with the jquery tests by mistake.
- jquery/resources/src/sizzle/.gitmodules: Removed.
- 2:55 PM Changeset in webkit [145590] by
-
- 4 edits in branches/safari-536.30-branch/Source/WebCore
Rollout 145585, not needed.
- 2:54 PM Changeset in webkit [145589] by
-
- 16 edits in trunk/Source/WebKit/chromium
[Chromium] Remove WEBKIT_USING_V8 from the WebKit API
https://bugs.webkit.org/show_bug.cgi?id=112120
Reviewed by Tony Chang.
Chromium always uses V8. This macro has outlived it's usefulness. It's
now just noise.
- README:
- public/WebArrayBuffer.h:
(WebArrayBuffer):
- public/WebArrayBufferView.h:
(WebArrayBufferView):
- public/WebBindings.h:
(WebBindings):
- public/WebBlob.h:
(WebBlob):
- public/WebFrame.h:
(WebFrame):
- public/WebFrameClient.h:
- public/WebSerializedScriptValue.h:
(WebSerializedScriptValue):
- src/WebArrayBuffer.cpp:
(WebKit::WebArrayBuffer::createFromV8Value):
- src/WebArrayBufferView.cpp:
(WebKit::WebArrayBufferView::createFromV8Value):
- src/WebBindings.cpp:
(WebKit::WebBindings::toV8Value):
- src/WebBlob.cpp:
(WebKit::WebBlob::toV8Value):
- src/WebFrameImpl.cpp:
(WebKit::WebFrame::frameForContext):
- src/WebFrameImpl.h:
(WebFrameImpl):
- src/WebSerializedScriptValue.cpp:
(WebKit::WebSerializedScriptValue::serialize):
(WebKit::WebSerializedScriptValue::deserialize):
- 2:53 PM Changeset in webkit [145588] by
-
- 13 edits in trunk
Mac: Incorrect rendering of <audio> controls
https://bugs.webkit.org/show_bug.cgi?id=110913
Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-03-12
Reviewed by Tony Chang.
Source/WebCore:
Covered by existing tests under media/.
- css/mediaControls.css:
(audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container):
(audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline):
The timeline container and the timeline need min-width: 0 so that they can shrink if needed.
- css/mediaControlsQuickTime.css:
(audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container):
(audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display):
(audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display):
The timeline container also needs flex-start to ensure that it never overlaps
the play/rewind buttons. The current-time and remaining-time displays need min-width: 0 so that the hack
in RenderMediaControls.cpp works correctly - otherwise, RenderFlexibleBox tries to use the preferred width
of the time displays, which is wrong when they try to hide themselves.
LayoutTests:
- platform/mac/media/audio-controls-rendering-expected.txt:
- platform/mac/media/controls-after-reload-expected.txt:
- platform/mac/media/controls-strict-expected.txt:
- platform/mac/media/controls-styling-strict-expected.txt:
- platform/mac/media/controls-without-preload-expected.txt:
- platform/mac/media/video-controls-rendering-expected.txt:
- platform/mac/media/video-display-toggle-expected.txt:
- platform/mac/media/video-no-audio-expected.txt:
- platform/mac/media/video-playing-and-pause-expected.txt:
- 2:51 PM Changeset in webkit [145587] by
-
- 4 edits in trunk
Add more Checked<> tests
https://bugs.webkit.org/show_bug.cgi?id=112190
Reviewed by Geoffrey Garen.
Source/WTF:
Export the CheckedState enum type
- wtf/CheckedArithmetic.h:
Tools:
Tests!
- TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
(TestWebKitAPI):
- 2:47 PM Changeset in webkit [145586] by
-
- 4 edits in trunk/Tools
Cleanup: Move loading complete function into callback, rather than global.
https://bugs.webkit.org/show_bug.cgi?id=112167
Reviewed by Dirk Pranke.
Stop calling global functions, pass in proper handler to Loader
constructor. Note that the callback is optional, as tests, and
some potential dashboards, do not need one.
- TestResultServer/static-dashboards/dashboard_base.js:
- TestResultServer/static-dashboards/loader.js:
(.):
- TestResultServer/static-dashboards/loader_unittests.js:
- 2:39 PM Changeset in webkit [145585] by
-
- 4 edits in branches/safari-536.30-branch/Source/WebCore
Merged r129144. <rdar://problem/13334978>
- 2:29 PM Changeset in webkit [145584] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r128524. <rdar://problem/13334872>
- 2:19 PM Changeset in webkit [145583] by
-
- 3 edits2 copies in branches/safari-536.30-branch
Merged r126063. <rdar://problem/13334852>
- 2:11 PM Changeset in webkit [145582] by
-
- 2 edits in branches/safari-536.30-branch/Source/WebCore
Merged r124229. <rdar://problem/13334842>
- 2:10 PM Changeset in webkit [145581] by
-
- 3 edits in trunk/Source/WebCore
Improve logging in ResourceHandleMac.mm
https://bugs.webkit.org/show_bug.cgi?id=112185
Reviewed by Brady Eidson.
- platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::didReceiveAuthenticationChallenge): Removed an obsolete #if. (WebCore::ResourceHandle::receivedCredential): (WebCore::ResourceHandle::receivedRequestToContinueWithoutCredential): (WebCore::ResourceHandle::receivedCancellation): (-[WebCoreResourceHandleAsDelegate connection:didCancelAuthenticationChallenge:]): Added a FIXME. (-[WebCoreResourceHandleAsDelegate connection:canAuthenticateAgainstProtectionSpace:]):
- platform/network/mac/ResourceResponseMac.mm: Removed an unneeded include.
- 2:05 PM Changeset in webkit [145580] by
-
- 2 edits in trunk/Source/WTF
Make CheckedArithmetic slightly more sane
https://bugs.webkit.org/show_bug.cgi?id=112178
Reviewed by Geoffrey Garen.
Add an enum type for safeGet rather than using a bool,
and correctly handle unsigned * unsigned, when one value
is 0.
- wtf/CheckedArithmetic.h:
(WTF::ENUM_CLASS):
(WTF):
(WTF::operator+):
(WTF::operator-):
(WTF::operator*):
- 2:04 PM Changeset in webkit [145579] by
-
- 7 edits2 deletes in branches/safari-536.30-branch
Merged r123145. <rdar://problem/13266379>
- 1:38 PM Changeset in webkit [145578] by
-
- 2 edits in trunk/Source/JavaScriptCore
DFG generic array access cases should not be guarded by CheckStructure even of the profiling tells us that it could be
https://bugs.webkit.org/show_bug.cgi?id=112183
Reviewed by Oliver Hunt.
Slight speed-up on string-unpack-code.
- dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::findAndRemoveUnnecessaryStructureCheck):
(FixupPhase):
(JSC::DFG::FixupPhase::checkArray):
(JSC::DFG::FixupPhase::blessArrayOperation):
- 1:27 PM Changeset in webkit [145577] by
-
- 2 edits in trunk/LayoutTests
Some canvas tests only fail on Mac EWS
https://bugs.webkit.org/show_bug.cgi?id=112176
Reviewed by Simon Fraser.
Add Failure / Pass test expectations on tests that only fail on Mac EWS bots.
Ideally, we can figure out the root cause of this failure and fix that problem but we haven't been able
to do so. We also don't have a way of adding test expectations only on EWS bots we're out of luck here.
- platform/mac/TestExpectations:
- 1:20 PM Changeset in webkit [145576] by
-
- 3 edits8 copies in branches/chromium/1410
Merge 145305 "REGRESSION(r140907): Incorrect baseline for cells ..."
REGRESSION(r140907): Incorrect baseline for cells with media content during load
https://bugs.webkit.org/show_bug.cgi?id=108357
Reviewed by Julien Chaffraix.
Source/WebCore:
If a cell has replaced content, the intrinsic height of its content can change between layouts. If that's the case then the intrinsic padding we used
for layout (the padding required to push the contents of the cell down to the row's baseline) is included in the new height and baseline and makes both
of them wrong. So if a cell's content's intrinsic height has changed push the new content up into the intrinsic padding and relayout so that the rest of
table and row layout can use the correct baseline and height for this cell.
Tests: fast/css/vertical-align-baseline-rowspan-012.html
http/tests/css/vertical-align-baseline-after-image-load-2.html
http/tests/css/vertical-align-baseline-after-image-load-3.html
http/tests/css/vertical-align-baseline-after-image-load.html
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::layout):
- rendering/RenderTableCell.h:
(WebCore::RenderTableCell::isBaselineAligned):
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::calcRowLogicalHeight):
(WebCore::RenderTableSection::layoutRows):
LayoutTests:
- fast/css/vertical-align-baseline-rowspan-012-expected.html: Added.
- fast/css/vertical-align-baseline-rowspan-012.html: Added.
- http/tests/css/vertical-align-baseline-after-image-load-2-expected.html: Added.
- http/tests/css/vertical-align-baseline-after-image-load-2.html: Added.
- http/tests/css/vertical-align-baseline-after-image-load-3-expected.html: Added.
- http/tests/css/vertical-align-baseline-after-image-load-3.html: Added.
- http/tests/css/vertical-align-baseline-after-image-load-expected.html: Added.
- http/tests/css/vertical-align-baseline-after-image-load.html: Added.
- 1:11 PM Changeset in webkit [145575] by
-
- 37 edits in trunk/Source/WebCore
Unreviewed, rolling out r145554.
http://trac.webkit.org/changeset/145554
https://bugs.webkit.org/show_bug.cgi?id=112182
Breaks several extension browser tests (see bug for details)
(Requested by jamesr on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-12
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateDomainSafeFunctionGetter):
(GenerateImplementation):
(CreateCustomSignature):
- bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore::ConfigureV8Float64ArrayTemplate):
(WebCore::V8Float64Array::GetTemplate):
(WebCore::V8Float64Array::HasInstance):
- bindings/scripts/test/V8/V8Float64Array.h:
(V8Float64Array):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
(WebCore::ConfigureV8TestActiveDOMObjectTemplate):
(WebCore::V8TestActiveDOMObject::GetTemplate):
(WebCore::V8TestActiveDOMObject::HasInstance):
- bindings/scripts/test/V8/V8TestActiveDOMObject.h:
(V8TestActiveDOMObject):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore::V8TestCustomNamedGetter::GetTemplate):
(WebCore::V8TestCustomNamedGetter::HasInstance):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
(V8TestCustomNamedGetter):
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore::V8TestEventConstructor::GetTemplate):
(WebCore::V8TestEventConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestEventConstructor.h:
(V8TestEventConstructor):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore::ConfigureV8TestEventTargetTemplate):
(WebCore::V8TestEventTarget::GetTemplate):
(WebCore::V8TestEventTarget::HasInstance):
- bindings/scripts/test/V8/V8TestEventTarget.h:
(V8TestEventTarget):
- bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::V8TestException::GetTemplate):
(WebCore::V8TestException::HasInstance):
- bindings/scripts/test/V8/V8TestException.h:
(V8TestException):
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::ConfigureV8TestInterfaceTemplate):
(WebCore::V8TestInterface::GetTemplate):
(WebCore::V8TestInterface::HasInstance):
- bindings/scripts/test/V8/V8TestInterface.h:
(V8TestInterface):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore::V8TestMediaQueryListListener::GetTemplate):
(WebCore::V8TestMediaQueryListListener::HasInstance):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
(V8TestMediaQueryListListener):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructor::GetTemplate):
(WebCore::V8TestNamedConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestNamedConstructor.h:
(V8TestNamedConstructor):
- bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore::V8TestNode::GetTemplate):
(WebCore::V8TestNode::HasInstance):
- bindings/scripts/test/V8/V8TestNode.h:
(V8TestNode):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::ConfigureV8TestObjTemplate):
(WebCore::V8TestObj::GetTemplate):
(WebCore::V8TestObj::HasInstance):
- bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::V8TestOverloadedConstructors::GetTemplate):
(WebCore::V8TestOverloadedConstructors::HasInstance):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
(V8TestOverloadedConstructors):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
(WebCore::V8TestSerializedScriptValueInterface::HasInstance):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
(V8TestSerializedScriptValueInterface):
- bindings/scripts/test/V8/V8TestTypedefs.cpp:
(WebCore::ConfigureV8TestTypedefsTemplate):
(WebCore::V8TestTypedefs::GetTemplate):
(WebCore::V8TestTypedefs::HasInstance):
- bindings/scripts/test/V8/V8TestTypedefs.h:
(V8TestTypedefs):
- bindings/v8/V8AdaptorFunction.cpp:
(WebCore::V8AdaptorFunction::getTemplate):
- bindings/v8/V8GCController.cpp:
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::reportMemoryUsage):
(WebCore::V8PerIsolateData::privateTemplate):
(WebCore::V8PerIsolateData::rawTemplate):
(WebCore::V8PerIsolateData::hasInstance):
- bindings/v8/V8PerIsolateData.h:
(WebCore::V8PerIsolateData::rawTemplateMap):
(WebCore::V8PerIsolateData::templateMap):
(V8PerIsolateData):
- bindings/v8/WrapperTypeInfo.h:
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
- bindings/v8/custom/V8NodeListCustom.cpp:
(WebCore::V8NodeList::opaqueRootForGC):
- 12:43 PM Changeset in webkit [145574] by
-
- 2 edits in trunk/Source/WebCore
[chromium] Use lipo(1) rather than file(1) to list library architectures.
https://bugs.webkit.org/show_bug.cgi?id=111147
Parsing file(1) output can be fragile; this patch replaces a use of file(1) to get
the architecture list of a library with an invocation of lipo(1), which should be more
stable.
Reviewed by Nico Weber.
No new tests, since adjust_visibility.sh doesn't have a test.
- WebCore.gyp/mac/adjust_visibility.sh:
- 12:07 PM WebKitGTK/2.0.x edited by
- (diff)
- 11:45 AM Changeset in webkit [145573] by
-
- 6 edits in branches/chromium/1438/Source/WebCore
Rolling out 145277
- 11:41 AM Changeset in webkit [145572] by
-
- 1 copy in branches/chromium/1438
Quick branch for Chromium
- 11:38 AM Changeset in webkit [145571] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Prevent text selection inside Colour and Date/Time input fields
https://bugs.webkit.org/show_bug.cgi?id=111733
Reviewed by Rob Buis.
PR 305194.
Skip rendering of selection if it is in a popup driven
input field. This covers situations where EditorClientBlackBerry::shouldChangeSelectedRange
is either not called or focus is not complete when called.
Informally reviewed by Gen Mak.
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
(WebKit):
- 11:28 AM Changeset in webkit [145570] by
-
- 2 edits in trunk/LayoutTests
Mac rebaseline.
Rubber-stamped by Simon Fraser.
- platform/mac/compositing/overflow/composited-scrolling-paint-phases-expected.txt:
- 11:27 AM Changeset in webkit [145569] by
-
- 3 edits4 adds in trunk
Webkit unable to show gifs with applcation extension string shorter than 11 bytes
https://bugs.webkit.org/show_bug.cgi?id=110620
Patch by Viatcheslav Ostapenko <sl.ostapenko@samsung.com> on 2013-03-12
Reviewed by Laszlo Gombos.
Source/WebCore:
Use actual block size for gifs application extension string even if it is below 11 bytes
to be able to decode this kind of gifs.
Test: fast/images/gif-short-app-extension-string.html
- platform/image-decoders/gif/GIFImageReader.cpp:
(GIFImageReader::decodeInternal):
LayoutTests:
Test that webkit is able to decode gifs with short application extension string.
- fast/images/gif-short-app-extension-string-expected.png: Added.
- fast/images/gif-short-app-extension-string-expected.txt: Added.
- fast/images/gif-short-app-extension-string.html: Added.
- fast/images/resources/short-app-extension-string.gif: Added.
- 11:26 AM Changeset in webkit [145568] by
-
- 3 edits1 delete in trunk/Source/Platform
[chromium] Remove unused WebIOSurfaceLayer type
https://bugs.webkit.org/show_bug.cgi?id=111796
Patch by James Robinson <jamesr@chromium.org> on 2013-03-12
Reviewed by Adrienne Walker.
This has been dead code since http://trac.webkit.org/changeset/138223
- Platform.gypi:
- chromium/public/WebCompositorSupport.h:
(WebKit):
- chromium/public/WebIOSurfaceLayer.h: Removed.
- 11:20 AM Changeset in webkit [145567] by
-
- 6 edits in trunk/Source/WebCore
Unreviewed, rolling out r145277.
http://trac.webkit.org/changeset/145277
https://bugs.webkit.org/show_bug.cgi?id=112170
chromium-gpu and android testers are seeing failures/crashes
relating to this code (Requested by eseidel on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-12
- html/parser/BackgroundHTMLInputStream.cpp:
(WebCore::BackgroundHTMLInputStream::rewindTo):
- html/parser/BackgroundHTMLInputStream.h:
(BackgroundHTMLInputStream):
(Checkpoint):
- html/parser/BackgroundHTMLParser.cpp:
- html/parser/BackgroundHTMLParser.h:
(BackgroundHTMLParser):
- html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::pumpPendingSpeculations):
- 11:18 AM Changeset in webkit [145566] by
-
- 2 edits in branches/chromium/1410
Merge 145293 "[HTMLTemplateElement] processTemplateEndTag() need..."
[HTMLTemplateElement] processTemplateEndTag() needs to check for template in html scope
https://bugs.webkit.org/show_bug.cgi?id=111880
Reviewed by Eric Seidel.
Source/WebCore:
Currently, </template> handling exits with an error if there is not a template tag "in scope"
which will be true if there is a table (for instance) below a template. This makes it so that
the search (correctly) examines the entire element stack.
Tests added to html5lib testing library.
- html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processTemplateEndTag):
LayoutTests:
- html5lib/resources/template.dat:
TBR=rafaelw@chromium.org
Review URL: https://codereview.chromium.org/12623014
- 11:13 AM Changeset in webkit [145565] by
-
- 4 edits in releases/WebKitGTK/webkit-2.0/Source/WebKit2
Clean up WebPageURITest
Patch by Manuel Rego Casasnovas <Manuel Rego Casasnovas> on 2013-03-12
Reviewed by Carlos Garcia Campos.
- UIProcess/API/gtk/tests/TestLoaderClient.cpp:
- UIProcess/API/gtk/tests/WebKitTestBus.cpp:
(WebKitTestBus::getOrCreateConnection):
(WebKitTestBus::createProxy):
- UIProcess/API/gtk/tests/WebKitTestBus.h:
(WebKitTestBus::connection):
(WebKitTestBus):
- 11:02 AM Changeset in webkit [145564] by
-
- 2 edits in trunk/Tools
[EFL][WK2] Add popup menu support to MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=108934
Reviewed by Kenneth Rohde Christiansen.
Implement popup menu support in MiniBrowser by handling popup_menu_show
and popup_menu_hide smart functions on the view and using the Ewk popup
menu API.
- MiniBrowser/efl/main.c:
(_Browser_Window):
(on_popup_menu_discarded):
(on_popup_menu_item_clicked):
(popup_menu_populate):
(on_popup_menu_show):
(on_popup_menu_hide):
(window_create): Use calloc() instead of malloc() to allocate memory for
Browser_Window. This makes sure all the structs members are initialized
to 0 (such as the new elm_popup_menu pointer).
- 10:54 AM Changeset in webkit [145563] by
-
- 9 edits in trunk/Source/WebCore
Keep track of the number of GraphicsLayers with tiled backing in RenderLayerCompositor
https://bugs.webkit.org/show_bug.cgi?id=112083
Reviewed by Dean Jackson.
Have RenderLayerCompositor keep track of how many of its GraphicsLayers use TiledBacking.
This is useful for platforms to decide whether it's necessary to force GraphicsLayer flushes
to update the visibleRect of those TiledBackings.
GraphicsLayers are always created without TiledBacking. There are two
ways the count can change:
- A GraphicsLayerCA toggles into or out of tiled mode. It notifies its client via a new tiledBackingUsageChanged() callback on GraphicsLayerClient.
- A tiled GraphicsLayerCA is destroyed. Added a new bottleneck function to RenderLayerBacking::willDestroyLayer() that is called everywhere we destroy layers.
The main page TiledBacking is not counted as part of this.
Also renamed uses of "tiledLayer" to "tiledBacking" in GraphicsLayer[CA].
- platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::GraphicsLayer):
(WebCore::GraphicsLayer::getDebugBorderInfo):
(WebCore::GraphicsLayer::dumpProperties):
- platform/graphics/GraphicsLayer.h:
(WebCore::GraphicsLayer::usingTiledBacking):
- platform/graphics/GraphicsLayerClient.h:
(WebCore::GraphicsLayerClient::tiledBackingUsageChanged):
- platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::recursiveCommitChanges):
(WebCore::GraphicsLayerCA::updateGeometry):
(WebCore::GraphicsLayerCA::updateLayerDrawsContent):
(WebCore::GraphicsLayerCA::updateContentsScale):
(WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::willDestroyLayer):
(WebCore::RenderLayerBacking::tiledBackingUsageChanged):
(WebCore::RenderLayerBacking::destroyGraphicsLayers):
(WebCore::RenderLayerBacking::updateClippingLayers):
(WebCore::RenderLayerBacking::updateOverflowControlsLayers):
(WebCore::RenderLayerBacking::updateForegroundLayer):
(WebCore::RenderLayerBacking::updateBackgroundLayer):
(WebCore::RenderLayerBacking::updateMaskLayer):
(WebCore::RenderLayerBacking::updateScrollingLayers):
(WebCore::RenderLayerBacking::compositingLayerType):
- rendering/RenderLayerBacking.h:
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::RenderLayerCompositor):
(WebCore::RenderLayerCompositor::layerTiledBackingUsageChanged):
- rendering/RenderLayerCompositor.h:
(WebCore::RenderLayerCompositor::haveNonMainLayersWithTiledBacking):
- 10:44 AM Changeset in webkit [145562] by
-
- 29 edits in trunk/Source
Replace static_casts with to* functions.
https://bugs.webkit.org/show_bug.cgi?id=112072
Reviewed by Philip Rogers.
to* functions are preferred over static_cast calls since they
help to catch bad casts easily on the testing infrastructure.
Source/WebCore:
- accessibility/AccessibilityMenuList.cpp:
(WebCore::AccessibilityMenuList::canSetFocusAttribute):
- bindings/objc/DOM.mm:
(kitClass):
- bindings/v8/V8LazyEventListener.cpp:
(WebCore::V8LazyEventListener::prepareListenerObject):
- css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne):
- editing/ApplyStyleCommand.cpp:
(WebCore::isLegacyAppleStyleSpan):
(WebCore::isEmptyFontTag):
(WebCore::ApplyStyleCommand::applyBlockStyle):
- editing/FormatBlockCommand.cpp:
(WebCore::isElementForFormatBlock):
- editing/ReplaceSelectionCommand.cpp:
(WebCore::isMailPasteAsQuotationNode):
(WebCore::haveSameTagName):
(WebCore::ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline):
(WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
- history/CachedPage.cpp:
(WebCore::CachedPage::restore):
- html/ColorInputType.cpp:
(WebCore::ColorInputType::suggestions):
- html/HTMLTableRowsCollection.cpp:
(WebCore::isInHead):
(WebCore::isInBody):
(WebCore::isInFoot):
- inspector/DOMPatchSupport.cpp:
(WebCore::DOMPatchSupport::innerPatchNode):
- page/PageSerializer.cpp:
(WebCore::SerializerMarkupAccumulator::appendCustomAttributes):
- plugins/PluginView.cpp:
(WebCore::PluginView::getValue):
- rendering/RenderEmbeddedObject.cpp:
(WebCore::RenderEmbeddedObject::paintContents):
(WebCore::RenderEmbeddedObject::handleUnavailablePluginIndicatorEvent):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::name):
- rendering/RenderMedia.cpp:
(WebCore::RenderMedia::mediaElement):
- rendering/RenderSearchField.cpp:
(WebCore::RenderSearchField::autosaveName):
- rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::textFormControlElement):
(WebCore::updateUserModifyProperty):
- rendering/mathml/RenderMathMLFenced.cpp:
(WebCore::RenderMathMLFenced::updateFromElement):
- rendering/mathml/RenderMathMLFraction.cpp:
(WebCore::RenderMathMLFraction::updateFromElement):
- xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::XMLDocumentParser):
(WebCore::XMLDocumentParser::endElementNs):
Source/WebKit/chromium:
- src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::focusedNodeChanged):
- src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
- src/DOMUtilitiesPrivate.cpp:
(WebCore::toHTMLElement):
- src/WebSearchableFormData.cpp:
(HTMLNames::IsSelectInDefaultState):
Source/WebKit/mac:
- WebView/WebView.mm:
(-[WebView _enterFullscreenForNode:WebCore::]):
- 10:42 AM Changeset in webkit [145561] by
-
- 4 edits in trunk/Source
[GTK] Remove HILDON_CPPFLAGS and HILDON_CFLAGS references from GNUmakefiles
https://bugs.webkit.org/show_bug.cgi?id=112163
Reviewed by Martin Robinson.
Source/WebCore:
No new tests - no new functionality, merely a cleanup.
- GNUmakefile.am: The Hildon dependency doesn't exist anymore so there's no need for
references to HILDON_CPPFLAGS and HILDON_CFLAGS.
Source/WebKit2:
- GNUmakefile.am: The Hildon dependency doesn't exist anymore so there's no need for
references to HILDON_CPPFLAGS and HILDON_CFLAGS.
- 10:40 AM Changeset in webkit [145560] by
-
- 2 edits in trunk
[GTK] 'unrecognized command line option "-Wno-c++11-extensions"' warning reported when using gcc
https://bugs.webkit.org/show_bug.cgi?id=111936
Reviewed by Martin Robinson.
- Source/autotools/SetupCompilerFlags.m4: Only use the -Wno-c++11-extensions warning when building
with Clang as GCC does not support the warning just yet. Also enhance the comment about using libstdc++
as the standard C++ library when compiling with Clang.
- 10:38 AM WebKitGTK/2.0.x edited by
- (diff)
- 10:37 AM Changeset in webkit [145559] by
-
- 4 edits in branches/safari-536.30-branch/Source
Versioning.
- 10:34 AM Changeset in webkit [145558] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0/Source/WebCore
Merge r145376 - [SOUP] ResourceRequest::updateSoupMessage doesn't update the URI of the soup message
https://bugs.webkit.org/show_bug.cgi?id=112040
Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-03-11
Reviewed by Gustavo Noronha Silva.
- platform/network/soup/ResourceRequestSoup.cpp:
(WebCore::ResourceRequest::updateSoupMessage): Update the soup
message URI with the ResourceRequest URL.
- 10:26 AM Changeset in webkit [145557] by
-
- 2 edits in trunk/Source/WebCore
Not reviewed: removing GtkVersioning from chromium targets.
- WebCore.gypi:
- 10:04 AM Changeset in webkit [145556] by
-
- 1 copy in branches/safari-536.30-branch
New Branch.
- 10:00 AM Changeset in webkit [145555] by
-
- 3 edits3 adds in trunk/LayoutTests
Unreviewed GTK gardening.
- platform/gtk/TestExpectations: Adding failure expectations for two crashers and a flaky test.
- platform/gtk/fast/js/global-constructors-expected.txt: Rebaselining after r145526.
- platform/gtk/http/tests/security/xssAuditor: Added. Adding baselines for tests introduced in r145503.
- platform/gtk/http/tests/security/xssAuditor/xss-filter-bypass-big5-expected.txt: Added.
- platform/gtk/http/tests/security/xssAuditor/xss-filter-bypass-sjis-expected.txt: Added.
- 9:44 AM Changeset in webkit [145554] by
-
- 37 edits in trunk/Source/WebCore
[V8] Store main world and non-main world templates separately.
https://bugs.webkit.org/show_bug.cgi?id=111724
Patch by Marja Hölttä <marja@chromium.org> on 2013-03-12
Reviewed by Jochen Eisinger.
This is needed for generating specialized bindings for the main
world (bug 110874).
No new tests (updated existing bindings tests).
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateDomainSafeFunctionGetter):
(GenerateImplementation):
(CreateCustomSignature):
- bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore::ConfigureV8Float64ArrayTemplate):
(WebCore::V8Float64Array::GetTemplate):
(WebCore::V8Float64Array::HasInstance):
- bindings/scripts/test/V8/V8Float64Array.h:
(V8Float64Array):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
(WebCore::ConfigureV8TestActiveDOMObjectTemplate):
(WebCore::V8TestActiveDOMObject::GetTemplate):
(WebCore::V8TestActiveDOMObject::HasInstance):
- bindings/scripts/test/V8/V8TestActiveDOMObject.h:
(V8TestActiveDOMObject):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore::V8TestCustomNamedGetter::GetTemplate):
(WebCore::V8TestCustomNamedGetter::HasInstance):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
(V8TestCustomNamedGetter):
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore::V8TestEventConstructor::GetTemplate):
(WebCore::V8TestEventConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestEventConstructor.h:
(V8TestEventConstructor):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore::ConfigureV8TestEventTargetTemplate):
(WebCore::V8TestEventTarget::GetTemplate):
(WebCore::V8TestEventTarget::HasInstance):
- bindings/scripts/test/V8/V8TestEventTarget.h:
(V8TestEventTarget):
- bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::V8TestException::GetTemplate):
(WebCore::V8TestException::HasInstance):
- bindings/scripts/test/V8/V8TestException.h:
(V8TestException):
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::ConfigureV8TestInterfaceTemplate):
(WebCore::V8TestInterface::GetTemplate):
(WebCore::V8TestInterface::HasInstance):
- bindings/scripts/test/V8/V8TestInterface.h:
(V8TestInterface):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore::V8TestMediaQueryListListener::GetTemplate):
(WebCore::V8TestMediaQueryListListener::HasInstance):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
(V8TestMediaQueryListListener):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructor::GetTemplate):
(WebCore::V8TestNamedConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestNamedConstructor.h:
(V8TestNamedConstructor):
- bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore::V8TestNode::GetTemplate):
(WebCore::V8TestNode::HasInstance):
- bindings/scripts/test/V8/V8TestNode.h:
(V8TestNode):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::ConfigureV8TestObjTemplate):
(WebCore::V8TestObj::GetTemplate):
(WebCore::V8TestObj::HasInstance):
- bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::V8TestOverloadedConstructors::GetTemplate):
(WebCore::V8TestOverloadedConstructors::HasInstance):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
(V8TestOverloadedConstructors):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
(WebCore::V8TestSerializedScriptValueInterface::HasInstance):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
(V8TestSerializedScriptValueInterface):
- bindings/scripts/test/V8/V8TestTypedefs.cpp:
(WebCore::ConfigureV8TestTypedefsTemplate):
(WebCore::V8TestTypedefs::GetTemplate):
(WebCore::V8TestTypedefs::HasInstance):
- bindings/scripts/test/V8/V8TestTypedefs.h:
(V8TestTypedefs):
- bindings/v8/V8AdaptorFunction.cpp:
(WebCore::V8AdaptorFunction::getTemplate):
- bindings/v8/V8GCController.cpp:
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::reportMemoryUsage):
(WebCore::V8PerIsolateData::privateTemplate):
(WebCore::V8PerIsolateData::rawTemplate):
(WebCore::V8PerIsolateData::hasInstance):
- bindings/v8/V8PerIsolateData.h:
(WebCore::V8PerIsolateData::rawTemplateMap):
(V8PerIsolateData):
(WebCore::V8PerIsolateData::templateMap):
- bindings/v8/WrapperTypeInfo.h:
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
- 8:57 AM Changeset in webkit [145553] by
-
- 7 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Notify client if the selection is in a subframe when started.
https://bugs.webkit.org/show_bug.cgi?id=112065
Patch by Genevieve Mak <gmak@rim.com> on 2013-03-12
Reviewed by Rob Buis.
PR #278490
Internally Reviewed by Mike Fenton.
- Api/InRegionScroller.cpp:
(BlackBerry::WebKit::InRegionScrollerPrivate::updateSelectionScrollView):
(WebKit):
- Api/InRegionScroller_p.h:
(InRegionScrollerPrivate):
- Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::updateSelectionScrollView):
(WebKit):
- Api/WebPageClient.h:
- Api/WebPage_p.h:
(WebPagePrivate):
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::cancelSelection):
(BlackBerry::WebKit::SelectionHandler::setSelection):
- 8:54 AM Changeset in webkit [145552] by
-
- 19 edits5 adds2 deletes in trunk
[GTK] Set up the libPlatformGtk.la library
https://bugs.webkit.org/show_bug.cgi?id=111738
Reviewed by Martin Robinson.
.:
- GNUmakefile.am: Define the two variables that will hold sources list and cppflags as required for the new library.
Include the new GNUmakefile.am that's now available under Source/Platform.
Source/Platform:
- GNUmakefile.am: Added. Set up the rules for building the new libPlatformGtk.la. For now it will be built in
the same way as libWebCoreGtk.la and in parallel with it while the sources are moved from Source/WebCore/platform
to Source/Platform/gtk and each migrated source file moves to be built in libPlatformGtk.la instead of libWebCoreGtk.la.
- GNUmakefile.list.am: Added. Lists the build targets for the libPlatformGtk.la.
- gtk/GtkVersioning.c: Renamed from Source/WebCore/platform/gtk/GtkVersioning.c. This file is independent of WebCore and can be moved
and changed to be built into libPlatformGtk.la right away.
- gtk/GtkVersioning.h: Renamed from Source/WebCore/platform/gtk/GtkVersioning.h. Ditto.
Source/WebCore:
No new tests - no new functionality.
- GNUmakefile.am: Reference platformgtk_cppflags, platformgtk_sources variables along with webcoregtk_cppflags, webcoregtk_sources variables.
- GNUmakefile.list.am: Removing GtkVersioning.c and GtkVersioning.h from the sources list, these files have been moved under Source/Platform.
- bindings/gobject/GNUmakefile.am: Ditto on the platformgtk_* variables.
Source/WebKit/gtk:
- GNUmakefile.am: Reference platformgtk_cppflags variable, libPlatformGtk.la along with webcoregtk_cppflags variable, libWebCoreGtk.la.
Adjust the path to GtkVersioning.c, the file has moved under Source/Platform.
Source/WebKit2:
- GNUmakefile.am: Reference platformgtk_cppflags variable, libPlatformGtk.la along with webcoregtk_cppflags variable, libWebCoreGtk.la.
Adjust the path to GtkVersioning.c, the file has moved under Source/Platform.
Tools:
- GNUmakefile.am: Reference platformgtk_cppflags variable along with webcoregtk_cppflags variable.
Adjust the path to GtkVersioning.c, the file has moved under Source/Platform.
- TestWebKitAPI/GNUmakefile.am: Reference platformgtk_cppflags variable along with webcoregtk_cppflags variable.
- 8:28 AM Changeset in webkit [145551] by
-
- 3 edits in trunk/Source/JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=112141
LLInt CLoop backend misses Double2Ints() on 32bit architectures
Reviewed by Filip Pizlo.
Implement Double2Ints() in CLoop backend of LLInt on 32bit architectures.
- llint/LowLevelInterpreter.cpp:
(LLInt):
(JSC::LLInt::Double2Ints):
- offlineasm/cloop.rb:
- 8:23 AM Changeset in webkit [145550] by
-
- 3 edits in trunk/Source/WebCore
[BlackBerry] Image,ImageBuffer: add missing parameters to methods
https://bugs.webkit.org/show_bug.cgi?id=112148
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-12
Reviewed by Rob Buis.
BitmapImage::draw(), Image::drawPattern() and ImageBuffer::draw()
have a BlendMode parameter since r137011.
ImageBuffer::copyImage() has a ScaleBehavior parameter since r134100.
- platform/graphics/blackberry/ImageBlackBerry.cpp:
(WebCore::BitmapImage::draw):
(WebCore::Image::drawPattern):
- platform/graphics/blackberry/ImageBufferBlackBerry.cpp:
(WebCore::ImageBuffer::copyImage):
(WebCore::ImageBuffer::draw):
- 8:21 AM Changeset in webkit [145549] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] MediaPlayerPrivate: fix call to MediaStreamDescriptor::label()
https://bugs.webkit.org/show_bug.cgi?id=112140
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-12
Reviewed by Rob Buis.
MediaStreamDescriptor::id() was renamed to MediaStreamDescriptor::label() in r139352.
- platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
(WebCore::toWebMediaStreamDescriptor):
- 8:19 AM Changeset in webkit [145548] by
-
- 6 edits in trunk/Source/WebCore
Web Inspector: [REGRESSION] StepInto (F11) and StepOut (Shift-F11) shortcuts toggle Inspector window full-screen state
https://bugs.webkit.org/show_bug.cgi?id=112113
Reviewed by Alexander Pavlov.
Updated handlers missed in first patch. Added JSDocs to all handlers.
- inspector/front-end/Panel.js: Fixed JSDocs.
- inspector/front-end/CallStackSidebarPane.js:
Added return values. Added JSDocs.
- inspector/front-end/ScriptsPanel.js: Ditto.
- inspector/front-end/GoToLineDialog.js: Added JSDocs.
- inspector/front-end/TimelinePanel.js: Ditto.
- 8:17 AM Changeset in webkit [145547] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] DisplayRefreshMonitor: rename m_timestamp back to m_monotonicAnimationStartTime
https://bugs.webkit.org/show_bug.cgi?id=112139
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-12
Reviewed by Rob Buis.
This changed in r131131, but it was accidentally renamed back in r144465.
- platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp:
(WebCore::DisplayRefreshMonitor::displayLinkFired):
- 8:16 AM Changeset in webkit [145546] by
-
- 2 edits in trunk/Source/WebCore
[BlackBerry] FontPlatformData: HarfBuzz renaming
https://bugs.webkit.org/show_bug.cgi?id=112142
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-12
Reviewed by Rob Buis.
When the old HarfBuzz code was removed in r141291,
HarfBuzzNGFace.h was renamed to HarfBuzzFace.h and m_harfbuzzFace
was renamed to m_harfBuzzFace.
These changes need to be reflected in the BlackBerry port.
- platform/graphics/blackberry/FontPlatformDataBlackBerry.cpp:
(WebCore::FontPlatformData::FontPlatformData):
(WebCore::FontPlatformData::platformDataInit):
(WebCore::FontPlatformData::platformDataAssign):
(WebCore::FontPlatformData::harfBuzzFace):
- 8:06 AM Changeset in webkit [145545] by
-
- 8 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt-5.0-wk2/TestExpectations: Skipped two fullscreen tests after r144837 and r145214.
- platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt: Updated after r145422.
- platform/qt-5.0-wk2/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt: Updated after r145422.
- platform/qt-5.0-wk2/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt: Updated after r145422.
- platform/qt-5.0-wk2/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt: Updated after r145422.
- platform/qt-5.0-wk2/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt: Updated after r145422.
- platform/qt/compositing/overflow/composited-scrolling-paint-phases-expected.txt: Updated after r145422.
- 8:00 AM Changeset in webkit [145544] by
-
- 3 edits in trunk/Source/WebCore
[BlackBerry] FontCacheBlackBerry: return PassRefPtr<SimpleFontData>
https://bugs.webkit.org/show_bug.cgi?id=112022
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-12
Reviewed by Rob Buis.
FontData functions return PassRefPtr since r130160.
- platform/graphics/blackberry/FontCacheBlackBerry.cpp:
(WebCore::FontCache::getFontDataForCharacters):
(WebCore::FontCache::getSimilarFontPlatformData):
(WebCore::FontCache::getLastResortFallbackFont):
- platform/graphics/blackberry/SimpleFontDataBlackBerry.cpp:
(WebCore::SimpleFontData::createScaledFontData):
- 7:53 AM Changeset in webkit [145543] by
-
- 5 edits in trunk/Source/WebCore
Web Inspector: Fix checkContentUpdated behavior in UISourceCode.
https://bugs.webkit.org/show_bug.cgi?id=112037
Reviewed by Alexander Pavlov.
UISourceCode.checkContentUpdated now saves last updated content that was loaded and rejected
by user on the per-file basis (only the last one was saved currently).
- inspector/front-end/FileSystemProjectDelegate.js:
(WebInspector.FileSystemProjectDelegate.prototype.innerCallback):
(WebInspector.FileSystemProjectDelegate.prototype.requestFileContent):
(WebInspector.FileSystemProjectDelegate.prototype.canSetFileContent):
(WebInspector.FileSystemWorkspaceProvider.prototype._fileSystemAdded):
- inspector/front-end/SimpleWorkspaceProvider.js:
(WebInspector.SimpleProjectDelegate.prototype.canSetFileContent):
- inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype.checkContentUpdated.contentLoaded):
(WebInspector.UISourceCode.prototype.checkContentUpdated):
(WebInspector.UISourceCode.prototype._commitContent):
(WebInspector.UISourceCode.prototype.addRevision):
(WebInspector.UISourceCode.prototype.commitWorkingCopy):
- inspector/front-end/Workspace.js:
(WebInspector.ProjectDelegate.prototype.canSetFileContent):
(WebInspector.Project.prototype.canSetFileContent):
- 7:51 AM Changeset in webkit [145542] by
-
- 2 edits in trunk/Source/WebCore
[Gtk] NBSP are not replaced when using X clipboard
https://bugs.webkit.org/show_bug.cgi?id=112118
Patch by Tomas Popela <tpopela@redhat.com> on 2013-03-12
Reviewed by Martin Robinson.
We're not replacing nbsp with spaces when using X clipboard
(Shift+Insert or middle mouse button).
- platform/gtk/DataObjectGtk.cpp:
(WebCore::DataObjectGtk::text):
- 7:48 AM WebKitGTK/2.0.x edited by
- (diff)
- 7:38 AM Changeset in webkit [145541] by
-
- 9 edits2 adds in trunk
SVG Pattern pixelated on inline SVG with CSS transforms
https://bugs.webkit.org/show_bug.cgi?id=111587
Reviewed by Dirk Schulze.
Source/WebCore:
When calculating the resolution for resource image buffers, we need to also consider CSS
transforms. This patch updates calculateTransformationToOutermostSVGCoordinateSystem()
(renamed to calculateTransformationToOutermostCoordinateSystem) to include the affine
component from CSS transforms by walking the parent layer tree.
Test: svg/custom/resources-css-scaled.html
- rendering/svg/RenderSVGResourceClipper.cpp:
(WebCore::RenderSVGResourceClipper::applyClippingToContext):
- rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::applyResource):
- rendering/svg/RenderSVGResourceGradient.cpp:
(WebCore::createMaskAndSwapContextForTextGradient):
(WebCore::clipToTextMask):
- rendering/svg/RenderSVGResourceMasker.cpp:
(WebCore::RenderSVGResourceMasker::applyResource):
- rendering/svg/RenderSVGResourcePattern.cpp:
(WebCore::RenderSVGResourcePattern::buildPattern):
- rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::calculateScreenFontSizeScalingFactor):
(WebCore::SVGRenderingContext::calculateTransformationToOutermostCoordinateSystem):
- rendering/svg/SVGRenderingContext.h:
(SVGRenderingContext):
LayoutTests:
- svg/custom/resources-css-scaled-expected.html: Added.
- svg/custom/resources-css-scaled.html: Added.
- 7:35 AM Changeset in webkit [145540] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: add html canvas memory details to the native memory overview
https://bugs.webkit.org/show_bug.cgi?id=112123
Reviewed by Alexander Pavlov.
Show memory occupied vby HTMLCanvasElements under Image category
in the native memory overview.
- inspector/front-end/NativeHeapSnapshot.js:
(WebInspector.NativeHeapSnapshot.prototype.images.getImageName):
(WebInspector.NativeHeapSnapshot.prototype.images.getCanvasName):
(WebInspector.NativeHeapSnapshot.prototype.images):
(WebInspector.NativeHeapSnapshot.prototype._addNodes):
- 6:10 AM Changeset in webkit [145539] by
-
- 5 edits in trunk
Web Inspector: ResourceScriptFile diverged state should be correctly reset after debugger reset.
https://bugs.webkit.org/show_bug.cgi?id=112036
Reviewed by Alexander Pavlov.
Source/WebCore:
- inspector/front-end/ResourceScriptMapping.js:
(WebInspector.ResourceScriptFile):
(WebInspector.ResourceScriptFile.prototype._workingCopyChanged):
(WebInspector.ResourceScriptFile.prototype._maybeDirtyChanged):
LayoutTests:
- inspector/debugger/file-system-project-mapping-expected.txt:
- inspector/debugger/file-system-project-mapping.html:
- 6:02 AM Changeset in webkit [145538] by
-
- 33 edits in trunk/Source/WebCore
[V8] Move the GetRawTemplate and HasInstance logic from generated bindings to V8PerIsolateData
https://bugs.webkit.org/show_bug.cgi?id=112136
Patch by Marja Hölttä <marja@chromium.org> on 2013-03-12
Reviewed by Kentaro Hara.
When templates for main world and non-main worlds will be separated (bug
111724), HasInstance logic will be a bit ugly: We cannot determine the
world type on the fly, because during GC there is no entered context,
and HasInstance is called during GC. So we need to check against
templates from all the worlds. It's cleaner if that logic is in
V8PerIsolateData.
No new tests (Updated existing bindings tests).
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateDomainSafeFunctionGetter):
(GenerateImplementation):
(CreateCustomSignature):
- bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore::ConfigureV8Float64ArrayTemplate):
(WebCore::V8Float64Array::GetTemplate):
(WebCore::V8Float64Array::HasInstance):
- bindings/scripts/test/V8/V8Float64Array.h:
(V8Float64Array):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
(WebCore::ConfigureV8TestActiveDOMObjectTemplate):
(WebCore::V8TestActiveDOMObject::GetTemplate):
(WebCore::V8TestActiveDOMObject::HasInstance):
- bindings/scripts/test/V8/V8TestActiveDOMObject.h:
(V8TestActiveDOMObject):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore::V8TestCustomNamedGetter::GetTemplate):
(WebCore::V8TestCustomNamedGetter::HasInstance):
- bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
(V8TestCustomNamedGetter):
- bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore::V8TestEventConstructor::GetTemplate):
(WebCore::V8TestEventConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestEventConstructor.h:
(V8TestEventConstructor):
- bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore::ConfigureV8TestEventTargetTemplate):
(WebCore::V8TestEventTarget::GetTemplate):
(WebCore::V8TestEventTarget::HasInstance):
- bindings/scripts/test/V8/V8TestEventTarget.h:
(V8TestEventTarget):
- bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::V8TestException::GetTemplate):
(WebCore::V8TestException::HasInstance):
- bindings/scripts/test/V8/V8TestException.h:
(V8TestException):
- bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore::ConfigureV8TestInterfaceTemplate):
(WebCore::V8TestInterface::GetTemplate):
(WebCore::V8TestInterface::HasInstance):
- bindings/scripts/test/V8/V8TestInterface.h:
(V8TestInterface):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore::V8TestMediaQueryListListener::GetTemplate):
(WebCore::V8TestMediaQueryListListener::HasInstance):
- bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
(V8TestMediaQueryListListener):
- bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructor::GetTemplate):
(WebCore::V8TestNamedConstructor::HasInstance):
- bindings/scripts/test/V8/V8TestNamedConstructor.h:
(V8TestNamedConstructor):
- bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore::V8TestNode::GetTemplate):
(WebCore::V8TestNode::HasInstance):
- bindings/scripts/test/V8/V8TestNode.h:
(V8TestNode):
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::ConfigureV8TestObjTemplate):
(WebCore::V8TestObj::GetTemplate):
(WebCore::V8TestObj::HasInstance):
- bindings/scripts/test/V8/V8TestObj.h:
(V8TestObj):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::V8TestOverloadedConstructors::GetTemplate):
(WebCore::V8TestOverloadedConstructors::HasInstance):
- bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
(V8TestOverloadedConstructors):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
(WebCore::V8TestSerializedScriptValueInterface::HasInstance):
- bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
(V8TestSerializedScriptValueInterface):
- bindings/scripts/test/V8/V8TestTypedefs.cpp:
(WebCore::ConfigureV8TestTypedefsTemplate):
(WebCore::V8TestTypedefs::GetTemplate):
(WebCore::V8TestTypedefs::HasInstance):
- bindings/scripts/test/V8/V8TestTypedefs.h:
(V8TestTypedefs):
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::rawTemplate):
(WebCore):
(WebCore::V8PerIsolateData::hasInstance):
- bindings/v8/V8PerIsolateData.h:
(V8PerIsolateData):
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
- 5:45 AM Changeset in webkit [145537] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Fix JSDocs in TimelinePanel.js
https://bugs.webkit.org/show_bug.cgi?id=112137
Reviewed by Vsevolod Vlasov.
Fix parameter type annotation of _loadFromFile.
- inspector/front-end/TimelinePanel.js: Fixed JSDoc.
- 5:42 AM Changeset in webkit [145536] by
-
- 6 edits3 adds in trunk
Web Inspector: Add a test for Workspace add/removeMapping methods.
https://bugs.webkit.org/show_bug.cgi?id=112035
Reviewed by Alexander Pavlov.
Source/WebCore:
Test: inspector/debugger/file-system-project-mapping.html
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._mapFileSystemToNetwork.mapFileSystemToNetwork):
(WebInspector.ScriptsPanel.prototype._mapFileSystemToNetwork):
(WebInspector.ScriptsPanel.prototype._mapNetworkToFileSystem.mapNetworkToFileSystem):
(WebInspector.ScriptsPanel.prototype._mapNetworkToFileSystem):
- inspector/front-end/Workspace.js:
(WebInspector.Project.prototype._fileAdded):
(WebInspector.Workspace.prototype.addMapping):
LayoutTests:
- http/tests/inspector/isolated-filesystem-test.js: Added.
(initialize_IsolatedFileSystemTest.InspectorTest.createIsolatedFileSystemManager):
(initialize_IsolatedFileSystemTest.MockIsolatedFileSystem):
(initialize_IsolatedFileSystemTest.MockIsolatedFileSystem.prototype.path):
(initialize_IsolatedFileSystemTest.MockIsolatedFileSystem.prototype.requestFileContent):
(initialize_IsolatedFileSystemTest.MockIsolatedFileSystem.prototype.setFileContent):
(initialize_IsolatedFileSystemTest.MockIsolatedFileSystem.prototype.requestFilesRecursive):
(initialize_IsolatedFileSystemTest.MockIsolatedFileSystemManager):
(initialize_IsolatedFileSystemTest.MockIsolatedFileSystemManager.prototype.addMockFileSystem):
(initialize_IsolatedFileSystemTest.MockIsolatedFileSystemManager.prototype.removeMockFileSystem):
(initialize_IsolatedFileSystemTest):
- inspector/debugger/file-system-project-mapping-expected.txt: Added.
- inspector/debugger/file-system-project-mapping.html: Added.
- inspector/debugger/resource-script-mapping.html:
- inspector/file-system-project.html:
- 5:32 AM Changeset in webkit [145535] by
-
- 5 edits in trunk/Source/WebKit2
[WK2][EFL] Fix EwkContext class API
https://bugs.webkit.org/show_bug.cgi?id=111706
Reviewed by Alexey Proskuryakov.
- UIProcess/API/C/efl/WKView.cpp:
(createWKView):
- UIProcess/API/efl/ewk_context.cpp:
(EwkContext::findOrCreateWrapper):
Renamed from create() as it returns the same instance of EwkContext
for the given WKContextRef if present.
(EwkContext::create):
(EwkContext::defaultContext):
Returns raw pointer rather than PassRefPtr<EwkContext> as ownership
is not transferred.
(ewk_context_default_get):
- UIProcess/API/efl/ewk_context_private.h:
(EwkContext):
- UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
- 5:29 AM Changeset in webkit [145534] by
-
- 2 edits in trunk/Source/WebKit/blackberry
[BlackBerry] SelectionHandler: fix truncated line
https://bugs.webkit.org/show_bug.cgi?id=112133
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-12
Reviewed by Carlos Garcia Campos.
One of the calls to fatFingersResult.nodeAsElementIfApplicable()
was somehow truncated when the selection start animation was
upstreamed in r144640.
- WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::selectAtPoint):
- 5:29 AM Changeset in webkit [145533] by
-
- 6 edits2 adds in trunk
Web Inspector: SourceFrames are leaking on reload.
https://bugs.webkit.org/show_bug.cgi?id=111961
Reviewed by Alexander Pavlov.
Source/WebCore:
Added dispose method on UISourceCodeFrame.
Scripts panel now calls dispose when SourceFrame is removed and JavaScriptSourceFrame
could remove breakpoint manager listeners in it.
TabbedEditorContainer does not call viewForFile other than in appendFileTab methods to
avoid recreating SourceFrame for uiSourceCode when it was already removed.
Test: inspector/debugger/breakpoint-manager-listeners-count.html
- inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.dispose):
- inspector/front-end/ScriptsPanel.js:
- inspector/front-end/TabbedEditorContainer.js:
(WebInspector.TabbedEditorContainer.prototype._addScrollAndSelectionListeners):
(WebInspector.TabbedEditorContainer.prototype._removeScrollAndSelectionListeners):
(WebInspector.TabbedEditorContainer.prototype._tabClosed):
- inspector/front-end/UISourceCodeFrame.js:
(WebInspector.UISourceCodeFrame.prototype.dispose):
LayoutTests:
- inspector/debugger/breakpoint-manager-listeners-count-expected.txt: Added.
- inspector/debugger/breakpoint-manager-listeners-count.html: Added.
- 5:28 AM WebKitGTK/2.0.x edited by
- (diff)
- 5:27 AM Changeset in webkit [145532] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0
Merge r145427 - [Autotools] Set ENABLE_GTK_DOC to false if gtk-doc is not installed
https://bugs.webkit.org/show_bug.cgi?id=111980
Patch by Tobias Mueller <tobiasmue@gnome.org> on 2013-03-11
Reviewed by Martin Robinson.
WebKit did not configure if gtk-doc-am was not installed with the error:
Tools/GNUmakefile.am:419: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
- Source/autotools/FindDependencies.m4:
- 5:23 AM Changeset in webkit [145531] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: [Elements] Unable to undo "Edit as HTML" changes in the editor
https://bugs.webkit.org/show_bug.cgi?id=112119
Reviewed by Vsevolod Vlasov.
No new tests, a UI change.
- inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel.prototype.handleShortcut): Do not undo/redo DOM/CSS changes if editing DOM text.
- inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype.editing): Added.
- 5:15 AM Changeset in webkit [145530] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: [CodeMirror] there are bugs in TokenHighlight feature
https://bugs.webkit.org/show_bug.cgi?id=112039
Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-12
Reviewed by Vsevolod Vlasov.
Fix token highlight in codeMirror experiment
- rewrite token highlight overlay mode to highlight words, not
substrings
- add workaround to avoid selection of already selected word
No new tests.
- inspector/front-end/CodeMirrorTextEditor.js:
(WebInspector.CodeMirrorTextEditor.TokenHighlighter.prototype._cursorChange):
(WebInspector.CodeMirrorTextEditor.TokenHighlighter.prototype._removeHighlight):
(WebInspector.CodeMirrorTextEditor.TokenHighlighter.prototype.nextToken):
(WebInspector.CodeMirrorTextEditor.TokenHighlighter.prototype._addHighlight):
- inspector/front-end/cm/cmdevtools.css:
(.line-with-selection .cm-column-with-selection):
- 5:11 AM Changeset in webkit [145529] by
-
- 5 edits in trunk/Source/WebKit/blackberry
[BlackBerry] Fix visible_units.h includes
https://bugs.webkit.org/show_bug.cgi?id=112131
Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-12
Reviewed by Carlos Garcia Campos.
This file was renamed to VisibleUnits.h in r144911.
- WebKitSupport/DOMSupport.cpp:
- WebKitSupport/InputHandler.cpp:
- WebKitSupport/SelectionHandler.cpp:
- WebKitSupport/SpellingHandler.cpp:
- 5:11 AM WebKitGTK/2.0.x edited by
- (diff)
- 5:09 AM Changeset in webkit [145528] by
-
- 5 edits in releases/WebKitGTK/webkit-2.0/Source/WebKit2
[GTK] Add webkit_web_context_set_disk_cache_directory to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=111848
Reviewed by Gustavo Noronha Silva.
This allow applications to set a custom directory for the disk
cache.
- UIProcess/API/gtk/WebKitWebContext.cpp:
(webkit_web_context_set_disk_cache_directory):
- UIProcess/API/gtk/WebKitWebContext.h:
- UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbol.
- UIProcess/API/gtk/tests/TestMain.cpp:
(removeNonEmptyDirectory):
(main): Use a different temporary disk cache directory for every
test.
- 5:01 AM WebKitGTK/2.0.x edited by
- (diff)
- 5:00 AM Changeset in webkit [145527] by
-
- 6 edits in releases/WebKitGTK/webkit-2.0/Source/WebKit2
[SOUP] Soup disk cache should respect the diskCacheDirectory from the process initial parameters
https://bugs.webkit.org/show_bug.cgi?id=111845
Reviewed by Xan Lopez.
Move the cache initialization to platformInitializeWebProcess() to
create the cache using the directory received from the UI
process. This allows to add public API to set a different disk
cache directory from the UI process.
- UIProcess/efl/WebContextEfl.cpp:
(WebKit::WebContext::platformDefaultDiskCacheDirectory): Return
default disk cache directory.
- UIProcess/gtk/WebContextGtk.cpp:
(WebKit::WebContext::platformDefaultDiskCacheDirectory): Ditto.
- WebProcess/efl/WebProcessMainEfl.cpp:
(WebKit::WebProcessMainEfl): Remove soup cache initialization.
- WebProcess/gtk/WebProcessMainGtk.cpp:
(WebKit::WebProcessMainGtk): Ditto.
- WebProcess/soup/WebProcessSoup.cpp:
(WebKit::WebProcess::platformInitializeWebProcess): Initialize
soup cache.
- 4:56 AM Changeset in webkit [145526] by
-
- 4 edits in trunk
[GTK] Enable Web Audio in development builds
https://bugs.webkit.org/show_bug.cgi?id=111831
Reviewed by Philippe Normand.
Source/WebKit2:
- GNUmakefile.am: Link the plugin process against libWebCoreModules.la as well.
Tools:
Web Audio is already quite well supported on the GTK port but still has a few issues
that must be addressed before it is enabled by default. Despite that it should be enabled
in development builds just so we are up-to-date with future feature infrastructure changes.
The Web Audio-related layout tests are not run yet due to missing support in DRT/WKTR, but
that's an obvious goal before enabling the feature in release builds.
- Scripts/webkitperl/FeatureList.pm:
- 4:44 AM WebKitGTK/2.0.x edited by
- (diff)
- 4:43 AM Changeset in webkit [145525] by
-
- 5 edits in releases/WebKitGTK/webkit-2.0/Source/WebKit2
[GTK] Add webkit_web_page_get_id() to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=111938
Reviewed by Xan Lopez.
Add API to the web extensions API to get the identifier of a web
page.
- UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbol.
- UIProcess/API/gtk/tests/WebExtensionTest.cpp:
(methodCallCallback): Check the page ID matches the one returned
by webkit_web_page_get_id().
- WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
(webkit_web_page_get_id):
- WebProcess/InjectedBundle/API/gtk/WebKitWebPage.h:
- 4:38 AM Changeset in webkit [145524] by
-
- 8 edits in trunk/Source/WebCore
Unreviewed, rolling out r145514.
http://trac.webkit.org/changeset/145514
https://bugs.webkit.org/show_bug.cgi?id=112134
breaks Mac build (Requested by falken on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-12
- dom/Element.cpp:
- dom/Element.h:
- dom/EventDispatcher.cpp:
(WebCore::EventDispatcher::dispatchSimulatedClick):
- dom/GestureEvent.cpp:
(WebCore::GestureEventDispatchMediator::dispatchEvent):
- dom/MouseEvent.cpp:
(WebCore::MouseEventDispatchMediator::dispatchEvent):
- dom/Node.cpp:
(WebCore):
(WebCore::Node::isInert):
(WebCore::Node::handleLocalEvents):
(WebCore::Node::disabled):
(WebCore::Node::willRespondToMouseMoveEvents):
(WebCore::Node::willRespondToMouseClickEvents):
(WebCore::Node::willRespondToTouchEvents):
- dom/Node.h:
(Node):
- 4:32 AM WebKitGTK/2.0.x edited by
- (diff)
- 4:31 AM Changeset in webkit [145523] by
-
- 4 edits in releases/WebKitGTK/webkit-2.0/Source/WebKit/gtk
Merge r145070 - [GTK] Expose "ShouldRespectImageOrientation" setting into WebKitWebSettings
https://bugs.webkit.org/show_bug.cgi?id=111414
Patch by Tomas Popela <tpopela@redhat.com> on 2013-03-07
Reviewed by Carlos Garcia Campos.
We should expose ShouldRespectImageOrientation setting into
WebKitWebSettings. When it is enabled, the images are shown with right
orientation regarding to images EXIF data.
- webkit/webkitwebsettings.cpp:
(webkit_web_settings_class_init):
(webkit_web_settings_set_property):
(webkit_web_settings_get_property):
- webkit/webkitwebsettingsprivate.h:
- webkit/webkitwebview.cpp:
(webkit_web_view_update_settings):
(webkit_web_view_settings_notify):
- 4:28 AM WebKitGTK/2.0.x edited by
- (diff)
- 4:26 AM Changeset in webkit [145522] by
-
- 3 edits in trunk/LayoutTests
Unreviewed EFL gardening.
https://bugs.webkit.org/show_bug.cgi?id=112130
Gardening; assigning bug numbers to failure accessibility tests.
Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-03-12
- platform/efl-wk1/TestExpectations:
- platform/efl-wk2/TestExpectations:
- 4:26 AM Changeset in webkit [145521] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0/Source/WebCore
Merge r145318 - Fix offset handling in GStreamer WebKitWebSource.
https://bugs.webkit.org/show_bug.cgi?id=111888
Patch by Sebastian Dröge <sebastian.droege@collabora.co.uk> on 2013-03-09
Reviewed by Philippe Normand.
- platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(webKitWebSrcSeekDataCb):
(StreamingClient::didReceiveData):
The offset handling in WebKitWebSource was completely wrong
before and caused wrong offsets to be set on the GStreamer buffers
after a seek.
Apart from that there was also a race condition that happens
when a downstream element causes seeks in very short succession
and is switching between two different parts of the stream.
- 4:18 AM Changeset in webkit [145520] by
-
- 8 edits1 add in trunk/Source/WebCore
Web Inspector: [CodeMirror] highlight matching braces
https://bugs.webkit.org/show_bug.cgi?id=112041
Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-12
Reviewed by Vsevolod Vlasov.
Add "matchbrackets" add-on to CodeMirror text editor add override
default styles for matched and unmatched braces.
No new tests.
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.vcxproj/WebCore.vcxproj:
- WebCore.vcxproj/WebCore.vcxproj.filters:
- inspector/front-end/CodeMirrorTextEditor.js:
(WebInspector.CodeMirrorTextEditor):
- inspector/front-end/WebKit.qrc:
- inspector/front-end/cm/cmdevtools.css:
(.CodeMirror-matchingbracket):
(.CodeMirror-nonmatchingbracket):
- inspector/front-end/cm/matchbrackets.js: Added.
(.):
- 4:18 AM Changeset in webkit [145519] by
-
- 8 edits in trunk/Source/WebKit2
[Qt][WK2] Layer QtDownloadManager on the C API
https://bugs.webkit.org/show_bug.cgi?id=109562
Reviewed by Simon Hausmann.
Signed off for WebKit2 by Benjamin Poulain.
- UIProcess/API/cpp/qt/WKURLQt.cpp:
(WebKit::adoptToQString):
(WebKit):
(WebKit::adoptToQUrl):
- UIProcess/API/cpp/qt/WKURLQt.h:
(WebKit):
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::handleDownloadRequest):
- UIProcess/qt/QtDownloadManager.cpp:
(WebKit::toQtDownloadManager):
(WebKit):
(WebKit::QtDownloadManager::QtDownloadManager):
(WebKit::QtDownloadManager::addDownload):
(WebKit::QtDownloadManager::didReceiveResponse):
(WebKit::QtDownloadManager::didCreateDestination):
(WebKit::QtDownloadManager::didFinishDownload):
(WebKit::QtDownloadManager::didFailDownload):
(WebKit::QtDownloadManager::didReceiveDataForDownload):
- UIProcess/qt/QtDownloadManager.h:
(WebKit):
(QtDownloadManager):
- UIProcess/qt/QtWebContext.cpp:
(WebKit::QtWebContext::QtWebContext):
- UIProcess/qt/QtWebError.cpp:
(WebKit::QtWebError::url):
(WebKit::QtWebError::description):
- 4:17 AM Changeset in webkit [145518] by
-
- 11 edits2 adds in trunk/Source/WebKit2
[Qt][WK2] Layer QtWebIconDatabaseClient on the C API
https://bugs.webkit.org/show_bug.cgi?id=109564
Reviewed by Simon Hausmann.
Signed off for WebKit2 by Benjamin Poulain.
- Target.pri:
- UIProcess/API/C/qt/WKIconDatabaseQt.cpp: Added.
(WKIconDatabaseTryGetQImageForURL):
- New API added to get a QImage from the IconDatabase. Based on WKIconDatabaseCG.h/cpp
- UIProcess/API/C/qt/WKIconDatabaseQt.h: Added.
- UIProcess/API/cpp/qt/WKURLQt.cpp:
(WKURLCreateWithQString):
(WKURLCopyQString):
(WKURLCreateWithQUrl):
(WKURLCopyQUrl):
- The WKUrlRef behind the scene is a WTF::String and encoding it back and forth to a QUrl can slightly change its string representation. Allow converting a WKUrlRef to and from a QString to ensure this.
- UIProcess/API/cpp/qt/WKURLQt.h:
- UIProcess/API/qt/qwebiconimageprovider.cpp:
(QWebIconImageProvider::iconURLForPageURLInContext):
- The icon URL isn't accessible form the C API and shouldn't need to be. Use an ID incremented on each update to trigger an update of the QML Image component.
(QWebIconImageProvider::requestImage):
- The IconDatabase was previously assumed to resize the image to the requested size, but this parameter is ignored, as stated in a comment in WebIconDatabase::imageForPageURL. Explicitely do the resize after fetching the original icon to also be able to report the original size properly to QtQuick.
- UIProcess/API/qt/qwebiconimageprovider_p.h:
- UIProcess/API/qt/tests/qmltests/WebView/tst_favIconLoad.qml:
- Set the image to load asynchronously to further test the possibility of threading issues in QtWebIconDatabaseClient::iconImageForPageURL
- Add a few barriers to fix some issues where the load succeeded signal would be wrongly catched by init() before the next test.
- UIProcess/qt/QtWebContext.cpp:
(WebKit::QtWebContext::QtWebContext):
- UIProcess/qt/QtWebIconDatabaseClient.cpp:
(WebKit):
(WebKit::QtWebIconDatabaseClient::QtWebIconDatabaseClient):
(WebKit::QtWebIconDatabaseClient::~QtWebIconDatabaseClient):
(WebKit::QtWebIconDatabaseClient::updateID):
(WebKit::QtWebIconDatabaseClient::didChangeIconForPageURL):
(WebKit::QtWebIconDatabaseClient::iconImageForPageURL):
- Remove the Mutex. This mutex was useless given that it would only be locked from a single thread. Since the IconDatabase runs in its own thread, it already is thread-safe to access.
(WebKit::QtWebIconDatabaseClient::retainIconForPageURL):
(WebKit::QtWebIconDatabaseClient::releaseIconForPageURL):
- UIProcess/qt/QtWebIconDatabaseClient.h:
(QtWebIconDatabaseClient):
- WebKit2.pri:
- 4:16 AM Changeset in webkit [145517] by
-
- 7 edits2 deletes in trunk/Source/WebKit2
[Qt][WK2] Specify storage paths through the C API
https://bugs.webkit.org/show_bug.cgi?id=111435
Reviewed by Simon Hausmann.
Signed off for WebKit2 by Benjamin Poulain.
The WKIconDatabase should be opened through a call to
WKContextSetIconDatabasePath. To avoid having some paths
returned through WebContext::platformDefault* and some others
through the C API, make sure that all those paths are set
through the C API.
- Shared/qt/QtDefaultDataLocation.cpp: Removed.
- Shared/qt/QtDefaultDataLocation.h: Removed.
- Target.pri:
- UIProcess/Plugins/qt/PluginProcessProxyQt.cpp:
(WebKit::cacheFile):
- This part is left alone behind the C API. Since PluginProcessProxy have no knowledge of the WebContext it is rather difficult to fetch a configured directory that could be used for this purpose (like the disk cache storage). Hard-code a compatible logic to keep the current behavior.
(WebKit::removeCacheFile):
(WebKit):
(WebKit::readMetaDataFromCacheFile):
(WebKit::writeToCacheFile):
(WebKit::tryReadPluginMetaDataFromCacheFile):
- Update the code to better handle an empty cache file path.
- UIProcess/qt/QtWebContext.cpp:
(WebKit::QtWebContext::defaultContext):
(WebKit::defaultLocation):
(WebKit):
(WebKit::QtWebContext::preparedStoragePath):
- UIProcess/qt/QtWebContext.h:
- UIProcess/qt/QtWebIconDatabaseClient.cpp:
(WebKit::QtWebIconDatabaseClient::QtWebIconDatabaseClient):
- UIProcess/qt/WebContextQt.cpp:
(WebKit::WebContext::applicationCacheDirectory):
(WebKit::WebContext::platformDefaultDatabaseDirectory):
(WebKit::WebContext::platformDefaultIconDatabasePath):
(WebKit::WebContext::platformDefaultLocalStorageDirectory):
(WebKit::WebContext::platformDefaultDiskCacheDirectory):
(WebKit::WebContext::platformDefaultCookieStorageDirectory):
- 4:14 AM Changeset in webkit [145516] by
-
- 4 edits in trunk/Source/WebKit2
[Qt] Properly layer QtWebContext on top of the C API
https://bugs.webkit.org/show_bug.cgi?id=108475
Reviewed by Simon Hausmann.
Signed off for WebKit2 by Benjamin Poulain.
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::initialize):
- UIProcess/qt/QtWebContext.cpp:
(WebKit::initializeContextInjectedBundleClient):
(WebKit::QtWebContext::QtWebContext):
(WebKit::QtWebContext::create):
(WebKit::QtWebContext::defaultContext):
- UIProcess/qt/QtWebContext.h:
(WebKit):
(QtWebContext):
(WebKit::QtWebContext::context):
- 4:13 AM Changeset in webkit [145515] by
-
- 11 edits in trunk/Source/WebKit2
[Qt][WK2] Allow QtWebContext to call directly to QQuickWebView with a WKPageRef
https://bugs.webkit.org/show_bug.cgi?id=109829
Reviewed by Allan Sandfeld Jensen.
Signed off for WebKit2 by Benjamin Poulain.
Instead of going through WebPageProxy and PageClient to forward
injected bundle messages received by the context, maintain a static map
of WKPageRef to QQuickWebViewPrivate.
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::get):
(QQuickWebViewPrivate::~QQuickWebViewPrivate):
(QQuickWebViewPrivate::initialize):
(QQuickWebViewPrivate::didReceiveMessageFromNavigatorQtObject):
- UIProcess/API/qt/qquickwebview_p_p.h:
(QQuickWebViewPrivate):
- UIProcess/API/qt/raw/qrawwebview.cpp:
- UIProcess/API/qt/raw/qrawwebview_p_p.h:
- UIProcess/PageClient.h:
(PageClient):
- UIProcess/WebPageProxy.h:
(WebPageProxy):
- UIProcess/qt/QtPageClient.cpp:
- UIProcess/qt/QtPageClient.h:
(QtPageClient):
- UIProcess/qt/QtWebContext.cpp:
(WebKit::didReceiveMessageFromInjectedBundle):
- UIProcess/qt/WebPageProxyQt.cpp:
- 4:13 AM Changeset in webkit [145514] by
-
- 8 edits in trunk/Source/WebCore
Refactoring: Pull Node::disabled() and Node::isInert() down to Element.
https://bugs.webkit.org/show_bug.cgi?id=112085
Reviewed by Hajime Morrita.
Node is too low a level for these methods.
No new tests, just refactoring.
- dom/Element.cpp:
(WebCore::Element::disabled):
(WebCore):
(WebCore::Element::isInert):
- dom/Element.h:
(Element):
- dom/EventDispatcher.cpp:
(WebCore::EventDispatcher::dispatchSimulatedClick):
- dom/GestureEvent.cpp:
(WebCore::GestureEventDispatchMediator::dispatchEvent):
- dom/MouseEvent.cpp:
(WebCore::MouseEventDispatchMediator::dispatchEvent):
- dom/Node.cpp:
(WebCore::Node::handleLocalEvents):
(WebCore::Node::willRespondToMouseMoveEvents):
(WebCore::Node::willRespondToMouseClickEvents):
(WebCore::Node::willRespondToTouchEvents):
- dom/Node.h:
(Node):
- 4:12 AM Changeset in webkit [145513] by
-
- 7 edits in trunk/Source/WebKit2
[Qt][WK2] Keep the WebContext alive during the whole application's lifetime
https://bugs.webkit.org/show_bug.cgi?id=109827
Reviewed by Simon Hausmann.
Signed off for WebKit2 by Benjamin Poulain.
The lifetime of the WebContext is difficult to manage because of a circular
reference kept with the WebProcessProxy until it shuts itself down, 60
seconds after the last page is closed. There was some notification
in place to handle this in the upper layer, but having to go through the
C API (done in a following patch) makes this quite awkward.
Keeping the WebContext alive also includes the icon database which is
quite heavy, in the future we should only enable it once the
QQuickWebView::icon property is read.
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::QQuickWebViewPrivate):
(QQuickWebViewPrivate::handleDownloadRequest):
(QQuickWebViewPrivate::updateIcon):
- UIProcess/API/qt/qquickwebview_p_p.h:
(QQuickWebViewPrivate):
- UIProcess/API/qt/qwebiconimageprovider.cpp:
(QWebIconImageProvider::requestImage):
- UIProcess/qt/QtWebContext.cpp:
(WebKit):
(WebKit::QtWebContext::QtWebContext):
(WebKit::QtWebContext::~QtWebContext):
(WebKit::QtWebContext::create):
(WebKit::QtWebContext::defaultContext):
- UIProcess/qt/QtWebContext.h:
(QtWebContext):
(WebKit::QtWebContext::downloadManager):
(WebKit::QtWebContext::iconDatabase):
- UIProcess/qt/WebContextQt.cpp:
(WebKit::WebContext::platformInvalidateContext):
- 4:11 AM Changeset in webkit [145512] by
-
- 7 edits in trunk/Source/WebKit2
[Qt][WK2] Favor QUrl and QString over WTF::String in the Qt API layer
https://bugs.webkit.org/show_bug.cgi?id=109468
Reviewed by Allan Sandfeld Jensen.
Signed off for WebKit2 by Benjamin Poulain.
In preparation for patches using the C API types in some areas, remove the
usage of WTF::String on the affected line.
Use a QUrl for icon URL to avoid unnecessary conversion.
Use a QString for the page URL to keep it compatible with WebPageProxy and
WebIconDatabase and avoid QUrl parsing.
- UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::_q_onIconChangedForPageURL):
(QQuickWebViewPrivate::updateIcon):
(QQuickWebView::emitUrlChangeIfNeeded):
(QQuickWebView::icon):
- UIProcess/API/qt/qquickwebview_p_p.h:
(QQuickWebViewPrivate):
- UIProcess/API/qt/qwebiconimageprovider.cpp:
(QWebIconImageProvider::iconURLForPageURLInContext):
- UIProcess/API/qt/qwebiconimageprovider_p.h:
- UIProcess/qt/QtWebIconDatabaseClient.cpp:
(WebKit::QtWebIconDatabaseClient::iconForPageURL):
(WebKit::QtWebIconDatabaseClient::iconImageForPageURL):
(WebKit::QtWebIconDatabaseClient::retainIconForPageURL):
(WebKit::QtWebIconDatabaseClient::releaseIconForPageURL):
- UIProcess/qt/QtWebIconDatabaseClient.h:
(QtWebIconDatabaseClient):
- 4:07 AM WebKitGTK/2.0.x edited by
- (diff)
- 4:05 AM WebKitGTK/2.0.x edited by
- (diff)
- 3:47 AM Changeset in webkit [145511] by
-
- 6 edits in trunk/Source/WebCore
[V8] Get rid of function-level static FunctionTemplates in generated bindings code
https://bugs.webkit.org/show_bug.cgi?id=111971
Patch by Marja Hölttä <marja@chromium.org> on 2013-03-12
Reviewed by Jochen Eisinger.
In the future we'll create and store function templates for main world
and non-main worlds separately (see bug 111724), having function
templates as static variables inside functions will break the
functionality.
No new tests (updated the bindings test expectations).
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateDomainSafeFunctionGetter):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::V8PerIsolateData):
(WebCore::V8PerIsolateData::privateTemplate):
(WebCore):
- bindings/v8/V8PerIsolateData.h:
(V8PerIsolateData):
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
- 3:14 AM Changeset in webkit [145510] by
-
- 15 edits4 copies in trunk/Source/WebCore
[Refactoring] Implement RuleCollector
https://bugs.webkit.org/show_bug.cgi?id=109916
Reviewed by Antti Koivisto.
Implemented rule collector for an element and collector for a page.
Not all members in class State are required entire while resolving
a style.
No new tests, because just refactoring.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.xcodeproj/project.pbxproj:
- css/CSSAllInOne.cpp:
Added ElementRuleCollector and PageRuleCollector.
- css/DocumentRuleSets.cpp:
(WebCore::ShadowDistributedRules::collectMatchRequests):
Since behaviorAtBoundary is a state owned by ElementRuleCollector,
removed from here.
- css/DocumentRuleSets.h:
(WebCore::ShadowDistributedRules::isEmpty):
Added to quickly check whether there exist any ShadowDistributedRules
or not.
- css/ElementRuleCollector.cpp: Copied from Source/WebCore/css/StyleResolver.cpp.
(WebCore):
(WebCore::ElementRuleCollector::matchedResult):
(WebCore::ElementRuleCollector::matchedRuleList):
(WebCore::ElementRuleCollector::addMatchedRule):
(WebCore::ElementRuleCollector::clearMatchedRules):
(WebCore::ElementRuleCollector::ensureRuleList):
(WebCore::ElementRuleCollector::addElementStyleProperties):
(WebCore::ElementRuleCollector::collectMatchingRules):
(WebCore::ElementRuleCollector::collectMatchingRulesForRegion):
(WebCore::ElementRuleCollector::sortAndTransferMatchedRules):
(WebCore::ElementRuleCollector::matchScopedAuthorRules):
(WebCore::ElementRuleCollector::matchHostRules):
(WebCore::ElementRuleCollector::matchShadowDistributedRules):
(WebCore::ElementRuleCollector::matchAuthorRules):
(WebCore::ElementRuleCollector::matchUserRules):
(WebCore::ElementRuleCollector::matchUARules):
(WebCore::ElementRuleCollector::ruleMatches):
(WebCore::ElementRuleCollector::collectMatchingRulesForList):
(WebCore::ElementRuleCollector::sortMatchedRules):
(WebCore::ElementRuleCollector::matchAllRules):
Moved these methods from StyleResolver to this class.
(WebCore::ElementRuleCollector::hasAnyMatchingRules):
This method is used for checking whether a given element can share
a cache.
- css/ElementRuleCollector.h: Copied from Source/WebCore/css/StyleResolver.h.
(WebCore):
(WebCore::ElementRuleCollector::ElementRuleCollector):
Use styleResolver instance to initialize its member variables, i.e.
SelectorFilter, RuleSets, InspectorCSSOMWrappers, and
StyleScopedResolver.
(ElementRuleCollector):
(WebCore::ElementRuleCollector::setMode):
(WebCore::ElementRuleCollector::setPseudoStyleRequest):
(WebCore::ElementRuleCollector::setSameOriginOnly):
(WebCore::ElementRuleCollector::setRegionForStyling):
Mode, SameOriginOnly, RegionForStyling are only used while collecting
matched rules.
(WebCore::ElementRuleCollector::setMedium):
Need to know which default stylesheet should be looked up.
(WebCore::ElementRuleCollector::document):
- css/PageRuleCollector.cpp: Copied from Source/WebCore/css/StyleResolver.cpp.
(WebCore::comparePageRules):
(WebCore::PageRuleCollector::isLeftPage):
(WebCore::PageRuleCollector::isFirstPage):
(WebCore::PageRuleCollector::pageName):
(WebCore::PageRuleCollector::matchAllPageRules):
(WebCore::PageRuleCollector::matchPageRules):
(WebCore::checkPageSelectorComponents):
(WebCore::PageRuleCollector::matchPageRulesForList):
Moved from StyleResolver.
- css/PageRuleCollector.h: Copied from Source/WebCore/css/StyleResolver.h.
(WebCore):
(WebCore::PageRuleCollector::PageRuleCollector):
(PageRuleCollector):
(WebCore::PageRuleCollector::matchedResult):
- css/StyleResolver.cpp:
(WebCore):
(WebCore::StyleResolver::State::clear):
(WebCore::StyleResolver::MatchResult::addMatchedProperties):
(WebCore::StyleResolver::State::initForStyleResolve):
(WebCore::StyleResolver::styleSharingCandidateMatchesRuleSet):
(WebCore::StyleResolver::styleForElement):
(WebCore::StyleResolver::styleForKeyframe):
(WebCore::StyleResolver::pseudoStyleForElement):
(WebCore::StyleResolver::styleForPage):
(WebCore::StyleResolver::pseudoStyleRulesForElement):
(WebCore::StyleResolver::applyMatchedProperties):
- css/StyleResolver.h:
(WebCore::MatchRequest::MatchRequest):
Removed behaviorAtBoundary. Instead, ElementRuleCollector have the
state.
(MatchRequest):
(WebCore::StyleResolver::selectorFilter):
Added to obtain SelectorFilter in ElementRuleCollector's constructor.
(StyleResolver):
(MatchResult):
(WebCore::StyleResolver::State::State):
To pass ASSERT in StyleResolver::applyProperties, need to keep
m_regionForStyling.
(State):
(WebCore::StyleResolver::State::regionForStyling):
(WebCore::StyleResolver::State::useSVGZoomRules):
(WebCore::StyleResolver::hasSelectorForId):
(WebCore):
(WebCore::checkRegionSelector):
- inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::willMatchRule):
Removed StyleResolver from its parameter list. Instead, added
InspectorCSSOMWrappers and DocumentStyleSheetCollection.
- inspector/InspectorCSSAgent.h:
(WebCore):
(InspectorCSSAgent):
- inspector/InspectorInstrumentation.cpp:
(WebCore):
(WebCore::InspectorInstrumentation::willMatchRuleImpl):
- inspector/InspectorInstrumentation.h:
(WebCore):
(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::willMatchRule):
- 3:14 AM WebKitGTK/2.0.x edited by
- (diff)
- 3:12 AM Changeset in webkit [145509] by
-
- 2 edits in releases/WebKitGTK/webkit-2.0/Source/WebKit2
Merge r145508 - [GTK][WK2] REGRESSION(r145081): Unit tests not working if locale is not English
https://bugs.webkit.org/show_bug.cgi?id=111973
Patch by Manuel Rego Casasnovas <Manuel Rego Casasnovas> on 2013-03-12
Reviewed by Carlos Garcia Campos.
The problem is that the UIProcess locale is reseted to C in
gtk_test_init, however the WebProcess does not inherit the locale set in
the UIProcess and it uses the system one (that could be different to
English). So, there were problems in some tests that are comparing
strings from both processes like WebKit2APITests/TestPrinting and
WebKit2APITests/TestWebKitWebContext. The solution is to set the locale
environment variable LC_ALL to C in order to reset WebProcess locale
too.
- UIProcess/API/gtk/tests/TestMain.cpp:
(main): Set environment variable LC_ALL to C.
- 3:07 AM Changeset in webkit [145508] by
-
- 2 edits in trunk/Source/WebKit2
[GTK][WK2] REGRESSION(r145081): Unit tests not working if locale is not English
https://bugs.webkit.org/show_bug.cgi?id=111973
Patch by Manuel Rego Casasnovas <Manuel Rego Casasnovas> on 2013-03-12
Reviewed by Carlos Garcia Campos.
The problem is that the UIProcess locale is reseted to C in
gtk_test_init, however the WebProcess does not inherit the locale set in
the UIProcess and it uses the system one (that could be different to
English). So, there were problems in some tests that are comparing
strings from both processes like WebKit2APITests/TestPrinting and
WebKit2APITests/TestWebKitWebContext. The solution is to set the locale
environment variable LC_ALL to C in order to reset WebProcess locale
too.
- UIProcess/API/gtk/tests/TestMain.cpp:
(main): Set environment variable LC_ALL to C.
- 2:52 AM Changeset in webkit [145507] by
-
- 2 edits in trunk/LayoutTests
Not reviewed: chromium gardening.
- platform/chromium/TestExpectations:
- 2:41 AM Changeset in webkit [145506] by
-
- 2 edits in trunk/Source/WebCore
[Qt] WebKit fails to compile if EGL headers are not in default INCLUDEPATH
https://bugs.webkit.org/show_bug.cgi?id=111859
Patch by Floris Bos <bos@je-eigen-domein.nl> on 2013-03-12
Reviewed by Jocelyn Turcotte.
The 3D graphics code wants to include EGL header files.
But on some platforms such as the Raspberry Pi those are not in /usr/include
but in another folder.
Fix adds "egl" to CONFIG when OpenGL ES2 is used, so the right include
paths are added.
- WebCore.pri:
- 2:41 AM Changeset in webkit [145505] by
-
- 3 edits in trunk/Source/JavaScriptCore
Making more sophisticated cache flush on ARM Linux platform
https://bugs.webkit.org/show_bug.cgi?id=111854
Reviewed by Zoltan Herczeg.
The cache flush on ARM Linux invalidates whole pages
instead of just the required area.
- assembler/ARMAssembler.h:
(ARMAssembler):
(JSC::ARMAssembler::linuxPageFlush):
(JSC::ARMAssembler::cacheFlush):
- assembler/ARMv7Assembler.h:
(ARMv7Assembler):
(JSC::ARMv7Assembler::linuxPageFlush):
(JSC::ARMv7Assembler::cacheFlush):
- 2:30 AM Changeset in webkit [145504] by
-
- 7 edits1 move in trunk/Source/JavaScriptCore
Renaming the armv7.rb LLINT backend to arm.rb
https://bugs.webkit.org/show_bug.cgi?id=110565
Reviewed by Zoltan Herczeg.
This is the first step of a unified ARM backend for
all ARM 32 bit architectures in LLInt.
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.gypi:
- LLIntOffsetsExtractor.pro:
- offlineasm/arm.rb: Copied from Source/JavaScriptCore/offlineasm/armv7.rb.
- offlineasm/armv7.rb: Removed.
- offlineasm/backends.rb:
- offlineasm/risc.rb:
- 2:28 AM Changeset in webkit [145503] by
-
- 208 edits in trunk
XSSAuditor should send only one console error when blocking a page.
https://bugs.webkit.org/show_bug.cgi?id=110733
Reviewed by Daniel Bates.
Source/WebCore:
Currently, we send two console errors when XSSAuditor blocks a page:
"Refused to execute a JavaScript script. Source code of script found
within request.\n", and "Entire page will be blocked.".
We should only send one message, tuning it properly for the context, and
including the URL of the page effected by the XSSAuditor's work.
Covered by rebaselines of all the XSSAuditor and 'reflected-xss' tests.
- html/parser/XSSAuditor.cpp:
- html/parser/XSSAuditor.h:
(WebCore::XSSAuditor::XSSAuditor):
Add two booleans to track the headers used to set the XSSAuditor state.
(WebCore::XSSAuditor::init):
(WebCore::XSSAuditor::filterToken):
Add detail about the header status to the constructed XSSInfo object.
- html/parser/XSSAuditorDelegate.cpp:
(WebCore::buildConsoleError):
Move message construction out into a separate inlined function, as
it's becoming complex.
(WebCore::XSSAuditorDelegate::didBlockScript):
Fold the "Entire page will be blocked" message into the main console
error.
- html/parser/XSSAuditorDelegate.h:
(WebCore::XSSInfo::create):
(WebCore::XSSInfo::XSSInfo):
Add detail about header status to XSSInfo in order to correctly
construct the console error.
LayoutTests:
- fast/frames/xss-auditor-handles-file-urls-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-allow-block-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-allow-filter-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-allow-invalid-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-block-allow-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-block-block-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-block-filter-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-block-invalid-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-block-unset-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-filter-allow-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-filter-block-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-filter-filter-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-filter-invalid-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-filter-unset-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-invalid-allow-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-invalid-block-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-invalid-filter-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-invalid-invalid-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-invalid-unset-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-unset-block-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-unset-filter-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-unset-invalid-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-and-xss-protection-unset-unset-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-block-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-empty-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-filter-expected.txt:
- http/tests/security/contentSecurityPolicy/1.1/reflected-xss-invalid-expected.txt:
- http/tests/security/xssAuditor/anchor-url-dom-write-location-expected.txt:
- http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-expected.txt:
- http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-null-char-expected.txt:
- http/tests/security/xssAuditor/anchor-url-dom-write-location-javascript-URL-expected.txt:
- http/tests/security/xssAuditor/anchor-url-dom-write-location2-expected.txt:
- http/tests/security/xssAuditor/base-href-control-char-expected.txt:
- http/tests/security/xssAuditor/base-href-expected.txt:
- http/tests/security/xssAuditor/base-href-null-char-expected.txt:
- http/tests/security/xssAuditor/base-href-scheme-relative-expected.txt:
- http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt:
- http/tests/security/xssAuditor/block-does-not-leak-referrer-expected.txt:
- http/tests/security/xssAuditor/cached-frame-expected.txt:
- http/tests/security/xssAuditor/cookie-injection-expected.txt:
- http/tests/security/xssAuditor/dom-write-URL-expected.txt:
- http/tests/security/xssAuditor/dom-write-location-expected.txt:
- http/tests/security/xssAuditor/dom-write-location-inline-event-expected.txt:
- http/tests/security/xssAuditor/dom-write-location-javascript-URL-expected.txt:
- http/tests/security/xssAuditor/embed-tag-code-attribute-2-expected.txt:
- http/tests/security/xssAuditor/embed-tag-code-attribute-expected.txt:
- http/tests/security/xssAuditor/embed-tag-control-char-expected.txt:
- http/tests/security/xssAuditor/embed-tag-expected.txt:
- http/tests/security/xssAuditor/embed-tag-javascript-url-expected.txt:
- http/tests/security/xssAuditor/embed-tag-null-char-expected.txt:
- http/tests/security/xssAuditor/formaction-on-button-expected.txt:
- http/tests/security/xssAuditor/formaction-on-input-expected.txt:
- http/tests/security/xssAuditor/form-action-expected.txt:
- http/tests/security/xssAuditor/full-block-base-href-expected.txt:
- http/tests/security/xssAuditor/full-block-get-from-iframe-expected.txt:
- http/tests/security/xssAuditor/full-block-iframe-javascript-url-expected.txt:
- http/tests/security/xssAuditor/full-block-iframe-no-inherit-expected.txt:
- http/tests/security/xssAuditor/full-block-javascript-link-expected.txt:
- http/tests/security/xssAuditor/full-block-link-onclick-expected.txt:
- http/tests/security/xssAuditor/full-block-object-tag-expected.txt:
- http/tests/security/xssAuditor/full-block-post-from-iframe-expected.txt:
- http/tests/security/xssAuditor/full-block-script-tag-cross-domain-expected.txt:
- http/tests/security/xssAuditor/full-block-script-tag-expected.txt:
- http/tests/security/xssAuditor/full-block-script-tag-with-source-expected.txt:
- http/tests/security/xssAuditor/get-from-iframe-expected.txt:
- http/tests/security/xssAuditor/iframe-injection-expected.txt:
- http/tests/security/xssAuditor/iframe-javascript-url-expected.txt:
- http/tests/security/xssAuditor/iframe-javascript-url-more-encoding-expected.txt:
- http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode-expected.txt:
- http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode2-expected.txt:
- http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode3-expected.txt:
- http/tests/security/xssAuditor/iframe-javascript-url-url-encoded-expected.txt:
- http/tests/security/xssAuditor/iframe-onload-GBK-char-expected.txt:
- http/tests/security/xssAuditor/iframe-onload-in-svg-tag-expected.txt:
- http/tests/security/xssAuditor/iframe-srcdoc-expected.txt:
- http/tests/security/xssAuditor/img-onerror-GBK-char-expected.txt:
- http/tests/security/xssAuditor/img-onerror-accented-char-expected.txt:
- http/tests/security/xssAuditor/img-onerror-non-ASCII-char-default-encoding-expected.txt:
- http/tests/security/xssAuditor/img-onerror-non-ASCII-char-expected.txt:
- http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-default-encoding-expected.txt:
- http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-expected.txt:
- http/tests/security/xssAuditor/inline-event-HTML-entities-expected.txt:
- http/tests/security/xssAuditor/javascript-link-HTML-entities-control-char-expected.txt:
- http/tests/security/xssAuditor/javascript-link-HTML-entities-expected.txt:
- http/tests/security/xssAuditor/javascript-link-HTML-entities-named-expected.txt:
- http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
- http/tests/security/xssAuditor/javascript-link-ampersand-expected.txt:
- http/tests/security/xssAuditor/javascript-link-control-char-expected.txt:
- http/tests/security/xssAuditor/javascript-link-expected.txt:
- http/tests/security/xssAuditor/javascript-link-null-char-expected.txt:
- http/tests/security/xssAuditor/javascript-link-one-plus-one-expected.txt:
- http/tests/security/xssAuditor/javascript-link-url-encoded-expected.txt:
- http/tests/security/xssAuditor/link-onclick-ampersand-expected.txt:
- http/tests/security/xssAuditor/link-onclick-control-char-expected.txt:
- http/tests/security/xssAuditor/link-onclick-entities-expected.txt:
- http/tests/security/xssAuditor/link-onclick-expected.txt:
- http/tests/security/xssAuditor/link-onclick-null-char-expected.txt:
- http/tests/security/xssAuditor/link-opens-new-window-expected.txt:
- http/tests/security/xssAuditor/malformed-HTML-expected.txt:
- http/tests/security/xssAuditor/malformed-xss-protection-header-1-expected.txt:
- http/tests/security/xssAuditor/malformed-xss-protection-header-2-expected.txt:
- http/tests/security/xssAuditor/malformed-xss-protection-header-3-expected.txt:
- http/tests/security/xssAuditor/malformed-xss-protection-header-4-expected.txt:
- http/tests/security/xssAuditor/malformed-xss-protection-header-5-expected.txt:
- http/tests/security/xssAuditor/malformed-xss-protection-header-6-expected.txt:
- http/tests/security/xssAuditor/malformed-xss-protection-header-7-expected.txt:
- http/tests/security/xssAuditor/malformed-xss-protection-header-8-expected.txt:
- http/tests/security/xssAuditor/malformed-xss-protection-header-9-expected.txt:
- http/tests/security/xssAuditor/meta-tag-http-refresh-javascript-url-expected.txt:
- http/tests/security/xssAuditor/object-embed-tag-control-char-expected.txt:
- http/tests/security/xssAuditor/object-embed-tag-expected.txt:
- http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
- http/tests/security/xssAuditor/object-tag-expected.txt:
- http/tests/security/xssAuditor/object-tag-javascript-url-expected.txt:
- http/tests/security/xssAuditor/open-attribute-body-expected.txt:
- http/tests/security/xssAuditor/open-event-handler-iframe-expected.txt:
- http/tests/security/xssAuditor/open-iframe-src-01-expected.txt:
- http/tests/security/xssAuditor/open-iframe-src-02-expected.txt:
- http/tests/security/xssAuditor/open-script-src-01-expected.txt:
- http/tests/security/xssAuditor/open-script-src-02-expected.txt:
- http/tests/security/xssAuditor/open-script-src-03-expected.txt:
- http/tests/security/xssAuditor/open-script-src-04-expected.txt:
- http/tests/security/xssAuditor/post-from-iframe-expected.txt:
- http/tests/security/xssAuditor/property-escape-comment-01-expected.txt:
- http/tests/security/xssAuditor/property-escape-comment-02-expected.txt:
- http/tests/security/xssAuditor/property-escape-comment-03-expected.txt:
- http/tests/security/xssAuditor/property-escape-entity-01-expected.txt:
- http/tests/security/xssAuditor/property-escape-entity-02-expected.txt:
- http/tests/security/xssAuditor/property-escape-entity-03-expected.txt:
- http/tests/security/xssAuditor/property-escape-expected.txt:
- http/tests/security/xssAuditor/property-escape-long-expected.txt:
- http/tests/security/xssAuditor/property-escape-quote-01-expected.txt:
- http/tests/security/xssAuditor/property-escape-quote-02-expected.txt:
- http/tests/security/xssAuditor/property-escape-quote-03-expected.txt:
- http/tests/security/xssAuditor/report-script-tag-expected.txt:
- http/tests/security/xssAuditor/report-script-tag-full-block-expected.txt:
- http/tests/security/xssAuditor/script-tag-Big5-char-expected.txt:
- http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-16bit-unicode-expected.txt:
- http/tests/security/xssAuditor/script-tag-Big5-char-twice-url-encode-expected.txt:
- http/tests/security/xssAuditor/script-tag-Big5-char2-expected.txt:
- http/tests/security/xssAuditor/script-tag-addslashes-backslash-expected.txt:
- http/tests/security/xssAuditor/script-tag-addslashes-double-quote-expected.txt:
- http/tests/security/xssAuditor/script-tag-addslashes-null-char-expected.txt:
- http/tests/security/xssAuditor/script-tag-addslashes-single-quote-expected.txt:
- http/tests/security/xssAuditor/script-tag-control-char-expected.txt:
- http/tests/security/xssAuditor/script-tag-convoluted-expected.txt:
- http/tests/security/xssAuditor/script-tag-entities-expected.txt:
- http/tests/security/xssAuditor/script-tag-expected.txt:
- http/tests/security/xssAuditor/script-tag-inside-svg-tag-expected.txt:
- http/tests/security/xssAuditor/script-tag-inside-svg-tag2-expected.txt:
- http/tests/security/xssAuditor/script-tag-inside-svg-tag3-expected.txt:
- http/tests/security/xssAuditor/script-tag-null-char-expected.txt:
- http/tests/security/xssAuditor/script-tag-open-redirect-expected.txt:
- http/tests/security/xssAuditor/script-tag-post-control-char-expected.txt:
- http/tests/security/xssAuditor/script-tag-post-expected.txt:
- http/tests/security/xssAuditor/script-tag-post-null-char-expected.txt:
- http/tests/security/xssAuditor/script-tag-redirect-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-16bit-unicode-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-16bit-unicode2-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-16bit-unicode3-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-16bit-unicode4-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-16bit-unicode5-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-actual-comma-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-comma-01-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-comma-02-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-invalid-closing-tag-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-control-char-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-data-url-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-data-url2-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-data-url3-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-double-quote-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-entities-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-no-quote-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-null-char-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-relative-scheme-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-same-host-with-query-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-unterminated-01-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-unterminated-02-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-source-unterminated-03-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-three-times-url-encoded-16bit-unicode-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-trailing-comment-U2028-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-trailing-comment-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-trailing-comment2-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-trailing-comment3-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-trailing-comment4-expected.txt:
- http/tests/security/xssAuditor/script-tag-with-trailing-comment5-expected.txt:
- http/tests/security/xssAuditor/svg-script-tag-expected.txt:
- http/tests/security/xssAuditor/xss-filter-bypass-big5-expected.txt:
- http/tests/security/xssAuditor/xss-filter-bypass-long-string-expected.txt:
- http/tests/security/xssAuditor/xss-filter-bypass-sjis-expected.txt:
- http/tests/security/xssAuditor/xss-protection-parsing-01-expected.txt:
- http/tests/security/xssAuditor/xss-protection-parsing-02-expected.txt:
- http/tests/security/xssAuditor/xss-protection-parsing-03-expected.txt:
- http/tests/security/xssAuditor/xss-protection-parsing-04-expected.txt:
- platform/chromium/http/tests/security/xssAuditor/javascript-link-control-char2-expected.txt:
- 2:11 AM Changeset in webkit [145502] by
-
- 6 edits in trunk/Source/WebCore
Unreviewed, rolling out r145494.
http://trac.webkit.org/changeset/145494
https://bugs.webkit.org/show_bug.cgi?id=112117
Breaks Chromium Mac (Requested by pfeldman on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-12
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateDomainSafeFunctionGetter):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::V8PerIsolateData):
- bindings/v8/V8PerIsolateData.h:
(V8PerIsolateData):
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
- 2:00 AM Changeset in webkit [145501] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: add memory instrumentation for ImageLoader
https://bugs.webkit.org/show_bug.cgi?id=112115
Reviewed by Alexander Pavlov.
Added memory instrumentation to ImageLoader. CachedImage referenced
by the loader is reported as having retaining reference. This allows
to see in the native memory graph CachedImages that are not reachable
from MemoryCache but referenced by HTMLImageElement.
- loader/ImageLoader.cpp:
(WebCore::ImageLoader::reportMemoryUsage):
(WebCore):
- loader/ImageLoader.h:
(ImageLoader):
- 1:53 AM Changeset in webkit [145500] by
-
- 3 edits in trunk/Source/JavaScriptCore
REGRESSION(r145482): It broke 33 jsc tests and zillion layout tests on all platform
https://bugs.webkit.org/show_bug.cgi?id=112112
Reviewed by Oliver Hunt.
Rolling out https://trac.webkit.org/changeset/145482 to unbreak the bots.
- runtime/JSStringJoiner.cpp:
(JSC::JSStringJoiner::build):
- runtime/JSStringJoiner.h:
(JSStringJoiner):
(JSC::JSStringJoiner::JSStringJoiner):
(JSC::JSStringJoiner::append):
- 1:43 AM Changeset in webkit [145499] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Broken shortcuts in Snippets SourceFrame
https://bugs.webkit.org/show_bug.cgi?id=112038
Reviewed by Pavel Feldman.
- inspector/front-end/SnippetJavaScriptSourceFrame.js:
(WebInspector.SnippetJavaScriptSourceFrame):
(WebInspector.SnippetJavaScriptSourceFrame.prototype._onKeyDown):
- 1:25 AM Changeset in webkit [145498] by
-
- 3 edits in trunk/LayoutTests
Web Inspector: Several inspector tests are flaky beacuse of beforeonload event handler.
https://bugs.webkit.org/show_bug.cgi?id=112111
Reviewed by Alexander Pavlov.
Added removeEventListener call.
Beforeunload message was updated so that it is possible to find it's source from it.
- inspector-protocol/page/javascriptDialogEvents-expected.txt:
- inspector-protocol/page/javascriptDialogEvents.html:
- 1:07 AM Changeset in webkit [145497] by
-
- 3 edits in trunk/LayoutTests
Unreviewed GTK gardening.
- 12:59 AM Changeset in webkit [145496] by
-
- 4 edits in trunk/Source/WebCore
Web Inspector: [Timeline] File selector control becomes visible on "tab" navigation.
https://bugs.webkit.org/show_bug.cgi?id=111710
Reviewed by Pavel Feldman.
Solution: Exclude file selector control from tab-navigation flow.
- inspector/front-end/FileUtils.js: Set tab-index to control.
- inspector/front-end/TimelinePanel.js: Remove duplicating code.
- inspector/front-end/inspector.css:
(.status-bar-item): Make scroll height equal to offset height.
- 12:52 AM Changeset in webkit [145495] by
-
- 6 edits in branches/chromium/1410/Source/WebCore
Revert 142161 "Web Inspector: CPU pegged when inspecting LocalSt..."
Web Inspector: CPU pegged when inspecting LocalStorage that mutates.
https://bugs.webkit.org/show_bug.cgi?id=107937
Reviewed by Yury Semikhatsky.
The DOM storage agent will fire an event to the frontend based on the action
performed on the storage. Based on this action, the front-end will just add/update/remove
the entry in the view. This enhances the front-end responsiveness as the round trip
for fetching the storage entries has been eliminated.
Existing test: LayoutTests/inspector/storage-panel-dom-storage-update.html should verify the change
- inspector/Inspector.json:
- inspector/InspectorDOMStorageAgent.cpp:
(WebCore::InspectorDOMStorageAgent::didDispatchDOMStorageEvent):
- inspector/front-end/DOMStorage.js:
(WebInspector.DOMStorageModel.prototype._domStorageItemsCleared):
(WebInspector.DOMStorageModel.prototype._domStorageItemRemoved):
(WebInspector.DOMStorageModel.prototype._domStorageItemAdded):
(WebInspector.DOMStorageModel.prototype._domStorageItemUpdated):
(WebInspector.DOMStorageDispatcher.prototype.domStorageItemsCleared):
(WebInspector.DOMStorageDispatcher.prototype.domStorageItemRemoved):
(WebInspector.DOMStorageDispatcher.prototype.domStorageItemAdded):
(WebInspector.DOMStorageDispatcher.prototype.domStorageItemUpdated):
- inspector/front-end/DOMStorageItemsView.js:
(WebInspector.DOMStorageItemsView):
(WebInspector.DOMStorageItemsView.prototype.wasShown):
(WebInspector.DOMStorageItemsView.prototype._domStorageItemsCleared):
(WebInspector.DOMStorageItemsView.prototype._domStorageItemRemoved):
(WebInspector.DOMStorageItemsView.prototype._domStorageItemAdded):
(WebInspector.DOMStorageItemsView.prototype._domStorageItemUpdated):
(WebInspector.DOMStorageItemsView.prototype._update):
(WebInspector.DOMStorageItemsView.prototype._showDOMStorageEntries):
(WebInspector.DOMStorageItemsView.prototype._refreshButtonClicked):
(WebInspector.DOMStorageItemsView.prototype._editingCallback):
(WebInspector.DOMStorageItemsView.prototype._deleteCallback):
- inspector/front-end/ResourcesPanel.js:
(WebInspector.ResourcesPanel):
(WebInspector.ResourcesPanel.prototype._showDOMStorage.get if):
(WebInspector.ResourcesPanel.prototype._showDOMStorage):
TBR=vivek.vg@samsung.com
Review URL: https://codereview.chromium.org/12700007
- 12:52 AM Changeset in webkit [145494] by
-
- 6 edits in trunk/Source/WebCore
[V8] Get rid of function-level static FunctionTemplates in generated bindings code
https://bugs.webkit.org/show_bug.cgi?id=111971
Patch by Marja Hölttä <marja@chromium.org> on 2013-03-12
Reviewed by Kentaro Hara.
In the future we'll create and store function templates for main world
and non-main worlds separately (see bug 111724), having function
templates as static variables inside functions will break the
functionality.
No new tests (updated the bindings test expectations).
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateDomainSafeFunctionGetter):
- bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
- bindings/v8/V8PerIsolateData.cpp:
(WebCore::V8PerIsolateData::V8PerIsolateData):
(WebCore::V8PerIsolateData::privateTemplate):
(WebCore):
- bindings/v8/V8PerIsolateData.h:
(V8PerIsolateData):
- bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAttrGetterCustom):
(WebCore::V8Location::replaceAttrGetterCustom):
(WebCore::V8Location::assignAttrGetterCustom):
- 12:46 AM Changeset in webkit [145493] by
-
- 2 edits in trunk/Source/WebCore
Need to notify ScrollingCoordinator when frame scrollbars are destroyed
https://bugs.webkit.org/show_bug.cgi?id=112104
Patch by Tien-Ren Chen <trchen@chromium.org> on 2013-03-12
Reviewed by James Robinson.
Need to notify ScrollingCoordinatorChromium whenever m_layerForHorizontalScrollbar /
m_layerForVerticalScrollbar changes, for correct lifetime management.
No new tests. Difficult to test lifetime management internal to ScrollingCoordinatorChromium.
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::destroyRootLayer):
- 12:34 AM Changeset in webkit [145492] by
-
- 2 edits in trunk/LayoutTests
Unreviewed test flakiness fix.
- inspector/debugger/event-listener-breakpoints.html:
- 12:02 AM Changeset in webkit [145491] by
-
- 2 edits in trunk/Source/JavaScriptCore
DFG prediction propagation phase should not rerun forward propagation if double voting has already converged
https://bugs.webkit.org/show_bug.cgi?id=111920
Reviewed by Oliver Hunt.
I don't know why we weren't exiting early after double voting if !m_changed.
This change also removes backwards propagation from the voting fixpoint, since at that
point short-circuiting loops is probably not particularly profitable. Profiling shows
that this reduces the time spent in prediction propagation even further.
This change appears to be a 1% SunSpider speed-up.
- dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::run):