- 07 Apr, 2011 40 commits
-
-
aroben@apple.com authored
commandComplete() is never called for MasterShellCommands like ExtractTestResults[AndLeaks]. (Unfortunately the buildbot documentation does not make this clear.) finished() is the only hook we have, so we have to do our work there. I added a new addCustomURLs method which can be overridden by subclasses to provide extra URLs before we call up to the base class (after which adding more URLs is no longer possible). Really hopefully fixes <http://webkit.org/b/56032> Leaks viewer should be linked from leaks bot results page Reviewed by John Sullivan. * BuildSlaveSupport/build.webkit.org-config/master.cfg: (ExtractTestResults.addCustomURLs): Moved code to add the "view results" URL here... (ExtractTestResults.finished): ...from here. This replaces commandComplete, since that method is never called for MasterShellCommands. (ExtractTestResultsAndLeaks.addCustomURLs): Replaced commandComplete (which is never called) with this method (which is). git-svn-id: svn://svn.chromium.org/blink/trunk@83170 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Not reviewed: rolling chromium DEPS 80421:80767. * DEPS: git-svn-id: svn://svn.chromium.org/blink/trunk@83169 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aroben@apple.com authored
This matches how most of our other build steps work, so is good just for improving consistency between build steps. It should also make it possible for ExtractTestResultsAndLeaks to successfully add a URL to Leaks Viewer. (Previously we were trying to do this in finished() after we had called up to the base class, but that was apparently too late to add more URLs.) Hopefully fixes <http://webkit.org/b/56032> Leaks viewer should be linked from leaks bot results page Reviewed by John Sullivan. * BuildSlaveSupport/build.webkit.org-config/master.cfg: (ExtractTestResults): Added a descriptionDone property so that we don't have to manually call setText to get the right text to show up for this step. This matches how most of our other build steps work. (ExtractTestResults.commandComplete): Replaced our override of finished with this function. This is how most of our other build steps work. (ExtractTestResultsAndLeaks.commandComplete): Replaced our override of finished with this function, to match the base class. git-svn-id: svn://svn.chromium.org/blink/trunk@83168 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: [Chromium] Rename didReceiveData2 to didReceiveData as part of enabling transfer size support. https://bugs.webkit.org/show_bug.cgi?id=58036 Renamed didReceiveData2 to didReceiveData. * public/WebURLLoaderClient.h: (WebKit::WebURLLoaderClient::didReceiveData): * src/AssociatedURLLoader.cpp: (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData): * src/ResourceHandle.cpp: (WebCore::ResourceHandleInternal::didReceiveData): git-svn-id: svn://svn.chromium.org/blink/trunk@83167 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: [Chromium] Migrate didReceiveData in upstream for plugins as part of enabling transfer size support. https://bugs.webkit.org/show_bug.cgi?id=58034 Migrated didReceiveData to support new lengthReceived parameter. * src/AssociatedURLLoader.cpp: (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData): git-svn-id: svn://svn.chromium.org/blink/trunk@83166 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rniwa@webkit.org authored
Reviewed by Eric Seidel. Add functions to update left and right offsets to LineOffsets https://bugs.webkit.org/show_bug.cgi?id=58028 Added update() and shrinkWidthForNewFloatIfNeeded(FloatingObject*) to LineOffsets, which are used to update m_left and m_right. Also added m_block and m_isFirstLine member variables to LineOffsets so that users of LineOffsets don't have to pass them around. * rendering/RenderBlock.h: * rendering/RenderBlockLineLayout.cpp: (WebCore::RenderBlock::skipLeadingWhitespace): No longer passes firstLine to positionNewFloatOnLine. (WebCore::LineOffsets::LineOffsets): Takes RenderBlock* and isFirstLine instead of left and right offsets. (WebCore::LineOffsets::update): Extracted from findNextLineBreak and positionNewFloatOnLine. (WebCore::LineOffsets::shrinkWidthForNewFloatIfNeeded): Extracted from positionNewFloatOnLine. (WebCore::RenderBlock::findNextLineBreak): Calls skipLeadingWhitespace and positionNewFloatOnLine. (WebCore::RenderBlock::positionNewFloatOnLine): Calls shrinkWidthForNewFloatIfNeeded and update and no longer passes firstLine around. git-svn-id: svn://svn.chromium.org/blink/trunk@83165 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Reviewed by Yury Semikhatsky. Web Inspector: migrate debugger domain to the unified breakpoint location notion. https://bugs.webkit.org/show_bug.cgi?id=57928 * inspector/Inspector.json: * inspector/InspectorDebuggerAgent.cpp: (WebCore::buildObjectForBreakpointCookie): (WebCore::InspectorDebuggerAgent::setBreakpointByUrl): (WebCore::InspectorDebuggerAgent::setBreakpoint): (WebCore::InspectorDebuggerAgent::resolveBreakpoint): (WebCore::InspectorDebuggerAgent::didParseSource): * inspector/InspectorDebuggerAgent.h: * inspector/front-end/Breakpoint.js: (WebInspector.Breakpoint): * inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel.prototype.setBreakpointBySourceId): (WebInspector.DebuggerModel.prototype._breakpointResolved): git-svn-id: svn://svn.chromium.org/blink/trunk@83164 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
[Chromium] Move Leopard-specific images to chromium-mac-leopard, and unify text results common in chromium-mac. * platform/chromium-mac-leopard/fast/speech/input-appearance-numberandspeech-expected.checksum: Added. * platform/chromium-mac-leopard/fast/speech/input-appearance-numberandspeech-expected.png: Added. * platform/chromium-mac-leopard/fast/speech/input-appearance-numberandspeech-expected.txt: Removed. * platform/chromium-mac-leopard/fast/speech/input-appearance-searchandspeech-expected.checksum: Added. * platform/chromium-mac-leopard/fast/speech/input-appearance-searchandspeech-expected.png: Added. * platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@83163 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alexis.menard@openbossa.org authored
Reviewed by Kenneth Rohde Christiansen. Build fix when using Phonon as a backend for the multimedia support. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::ChromeClientQt): (WebCore::ChromeClientQt::~ChromeClientQt): * WebCoreSupport/ChromeClientQt.h: git-svn-id: svn://svn.chromium.org/blink/trunk@83162 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rniwa@webkit.org authored
Reviewed by Eric Seidel. Convert insert-div-021.html to a dump-as-markup test https://bugs.webkit.org/show_bug.cgi?id=58019 Converted the test. * editing/inserting/insert-div-021-expected.txt: Added. * editing/inserting/insert-div-021.html: * platform/chromium-linux/editing/inserting/insert-div-021-expected.checksum: Removed. * platform/chromium-linux/editing/inserting/insert-div-021-expected.png: Removed. * platform/chromium-win/editing/inserting/insert-div-021-expected.checksum: Removed. * platform/chromium-win/editing/inserting/insert-div-021-expected.png: Removed. * platform/chromium-win/editing/inserting/insert-div-021-expected.txt: Removed. * platform/gtk/editing/inserting/insert-div-021-expected.checksum: Removed. * platform/gtk/editing/inserting/insert-div-021-expected.png: Removed. * platform/gtk/editing/inserting/insert-div-021-expected.txt: Removed. * platform/mac/editing/inserting/insert-div-021-expected.checksum: Removed. * platform/mac/editing/inserting/insert-div-021-expected.png: Removed. * platform/mac/editing/inserting/insert-div-021-expected.txt: Removed. * platform/qt/editing/inserting/insert-div-021-expected.txt: Removed. git-svn-id: svn://svn.chromium.org/blink/trunk@83161 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andreas.kling@nokia.com authored
Reviewed by Benjamin Poulain. [Qt] Mask the QStyle::State_Horizontal hint for vertical scrollbars. When initializing a QStyleOptionSlider from a widget, the State_Horizontal hint may get set depending on how that widget is laid out in its parent. If this happens when drawing a vertical scrollbar, the hint is never cleared and we end up painting a vertical scrollbar with horizontal arrows. Covered by pixel tests which should no longer paint silly scrollbars. * platform/qt/ScrollbarThemeQt.cpp: (WebCore::styleOptionSlider): git-svn-id: svn://svn.chromium.org/blink/trunk@83160 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@webkit.org authored
Reviewed by Eric Seidel. script-src should block inline script https://bugs.webkit.org/show_bug.cgi?id=58012 Test that script-src blocks inline script. This test uses a different approach than the existing tests for variety. * http/tests/security/contentSecurityPolicy/inline-script-blocked-expected.txt: Added. * http/tests/security/contentSecurityPolicy/inline-script-blocked.html: Added. * http/tests/security/contentSecurityPolicy/resources/document-write-alert-fail.js: Added. * http/tests/security/contentSecurityPolicy/resources/dump-as-text.js: Added. 2011-04-07 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. script-src should block inline script https://bugs.webkit.org/show_bug.cgi?id=58012 Block inline scripts at the ScriptElement layer. This should catch exactly the scripts we want to catch. Test: http/tests/security/contentSecurityPolicy/inline-script-blocked.html * dom/Document.cpp: (WebCore::Document::processHttpEquiv): - This patch also adds the ability to supply a CSP policy via a <meta> tag. We'll update the name of the header once we've finished implementing the spec. * dom/ScriptElement.cpp: (WebCore::ScriptElement::executeScript): * page/ContentSecurityPolicy.cpp: (WebCore::ContentSecurityPolicy::allowInlineScript): * page/ContentSecurityPolicy.h: git-svn-id: svn://svn.chromium.org/blink/trunk@83159 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@webkit.org authored
Reviewed by Maciej Stachowiak. webkit-patch shouldn't state the whole working copy when calling check-webkit-style https://bugs.webkit.org/show_bug.cgi?id=58022 Previously, we were ignoring the args variable! This patch fixes the regression introduced in http://trac.webkit.org/changeset/82771. * Scripts/webkitpy/tool/commands/download_unittest.py: * Scripts/webkitpy/tool/mocktool.py: * Scripts/webkitpy/tool/steps/checkstyle.py: git-svn-id: svn://svn.chromium.org/blink/trunk@83158 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mjs@apple.com authored
Reviewed by Adam Barth. Remove temporary WebProcess sandbox rules that are unnecessary now that plugins are in their own process https://bugs.webkit.org/show_bug.cgi?id=58023 * WebProcess/com.apple.WebProcess.sb: git-svn-id: svn://svn.chromium.org/blink/trunk@83157 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
[Chromium] Update Linux x86-64 results for the Skia rounding rect change. * platform/chromium-linux-x86_64/fast/borders/borderRadiusGroove01-expected.checksum: Removed. * platform/chromium-linux-x86_64/fast/borders/borderRadiusGroove01-expected.png: * platform/chromium-linux-x86_64/fast/borders/borderRadiusGroove02-expected.checksum: Removed. * platform/chromium-linux-x86_64/fast/borders/borderRadiusGroove02-expected.png: * platform/chromium-linux-x86_64/fast/borders/borderRadiusRidge01-expected.checksum: Removed. * platform/chromium-linux-x86_64/fast/borders/borderRadiusRidge01-expected.png: git-svn-id: svn://svn.chromium.org/blink/trunk@83156 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Skip platform/mac/fast/forms/input-appearance-spinbutton-up.html on Mac WebKit2. https://bugs.webkit.org/show_bug.cgi?id=56298 * platform/mac-wk2/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@83155 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Update spinbutton test results for r83145. * platform/chromium-linux/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: * platform/chromium-linux/fast/forms/input-appearance-spinbutton-layer-expected.txt: Removed. * platform/chromium-linux/fast/forms/input-appearance-spinbutton-visibility-expected.txt: Removed. * platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.txt: * platform/chromium-mac-leopard/fast/speech/input-appearance-numberandspeech-expected.txt: Added. * platform/chromium-win/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: * platform/chromium-win/fast/forms/input-appearance-spinbutton-layer-expected.png: Added. * platform/chromium-win/fast/forms/input-appearance-spinbutton-visibility-expected.txt: * platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.txt: * platform/chromium/test_expectations.txt: * platform/win/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@83154 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Ryosuke Niwa. Move the MouseEventWithHitTestResults::targetNode() method on to EventHandler. https://bugs.webkit.org/show_bug.cgi?id=57921 Moves the MouseEventWithHitTestResults::targetNode() method on to EventHandler, so that the same logic can be used for a HitTestResult. No visible changes, just cleanup, so no tests. * page/EventHandler.cpp: (WebCore::EventHandler::selectClosestWordFromMouseEvent): (WebCore::EventHandler::selectClosestWordOrLinkFromMouseEvent): (WebCore::EventHandler::handleMousePressEventTripleClick): (WebCore::EventHandler::handleMousePressEventSingleClick): (WebCore::EventHandler::handleMousePressEvent): (WebCore::EventHandler::handleMouseDraggedEvent): (WebCore::EventHandler::handleMouseReleaseEvent): (WebCore::EventHandler::subframeForHitTestResult): Made public static member, so that it can access targetNode(), and be accessed by webkitwebview in gtk. (WebCore::EventHandler::selectCursor): (WebCore::EventHandler::targetNode): (WebCore::EventHandler::handleMouseDoubleClickEvent): (WebCore::EventHandler::handleMouseMoveEvent): (WebCore::EventHandler::updateDragAndDrop): (WebCore::EventHandler::sendContextMenuEvent): * page/EventHandler.h: * page/MouseEventWithHitTestResults.cpp: (WebCore::MouseEventWithHitTestResults::MouseEventWithHitTestResults): * page/MouseEventWithHitTestResults.h: * page/android/EventHandlerAndroid.cpp: (WebCore::EventHandler::passWidgetMouseDownEventToWidget): * page/brew/EventHandlerBrew.cpp: (WebCore::EventHandler::passWidgetMouseDownEventToWidget): * page/chromium/EventHandlerChromium.cpp: (WebCore::EventHandler::passMousePressEventToSubframe): (WebCore::EventHandler::passWidgetMouseDownEventToWidget): * page/efl/EventHandlerEfl.cpp: (WebCore::EventHandler::passWidgetMouseDownEventToWidget): * page/gtk/EventHandlerGtk.cpp: (WebCore::EventHandler::passWidgetMouseDownEventToWidget): * page/haiku/EventHandlerHaiku.cpp: (WebCore::EventHandler::passWidgetMouseDownEventToWidget): * page/mac/EventHandlerMac.mm: (WebCore::EventHandler::passWidgetMouseDownEventToWidget): (WebCore::EventHandler::passSubframeEventToSubframe): * page/wx/EventHandlerWx.cpp: (WebCore::EventHandler::passWidgetMouseDownEventToWidget): 2011-04-07 Alice Boxhall <aboxhall@chromium.org> Reviewed by Ryosuke Niwa. Move the MouseEventWithHitTestResults::targetNode() method on to EventHandler. https://bugs.webkit.org/show_bug.cgi?id=57921 * webkit/webkitwebview.cpp: (webkit_web_view_forward_context_menu_event): Call subframeForHitTestResult rather than subframeForTargetNode as the targetNode() method has moved on to EventHandler. git-svn-id: svn://svn.chromium.org/blink/trunk@83153 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mjs@apple.com authored
Reviewed by Adam Barth. REGRESSION: "webkit-patch land" doesn't work correctly in SVN subdirectories https://bugs.webkit.org/show_bug.cgi?id=58017 * Scripts/webkitpy/common/checkout/scm.py: * Scripts/webkitpy/common/checkout/scm_unittest.py: git-svn-id: svn://svn.chromium.org/blink/trunk@83152 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: build mapping for formatted scripts based on keywords positions. https://bugs.webkit.org/show_bug.cgi?id=57936 Mapping based on [\$\.\w]+ was not accurate because string literals representation may be different in original and formatted scripts. * inspector/front-end/ScriptFormatterWorker.js: (buildMapping.regexp.b): (buildMapping): git-svn-id: svn://svn.chromium.org/blink/trunk@83151 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philn@webkit.org authored
Unreviewed, GTK rebaseline after r83145. Also skip fast/forms/input-number-large-padding.html which fails. See bug 58020. * platform/gtk/Skipped: * platform/gtk/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: * platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.txt: * platform/gtk/fast/forms/input-appearance-spinbutton-visibility-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@83150 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philn@webkit.org authored
Unreviewed, GTK baselines for 4 new tests. * platform/gtk/fast/history/visited-link-background-color-expected.checksum: Added. * platform/gtk/fast/history/visited-link-background-color-expected.png: Added. * platform/gtk/fast/history/visited-link-background-color-expected.txt: Added. * platform/gtk/fast/images/imagemap-focus-ring-zero-outline-width-expected.checksum: Added. * platform/gtk/fast/images/imagemap-focus-ring-zero-outline-width-expected.png: Added. * platform/gtk/fast/images/imagemap-focus-ring-zero-outline-width-expected.txt: Added. * platform/gtk/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.checksum: Added. * platform/gtk/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.png: Added. * platform/gtk/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt: Added. * platform/gtk/svg/text/text-midpoint-split-bug-expected.checksum: Added. * platform/gtk/svg/text/text-midpoint-split-bug-expected.png: Added. * platform/gtk/svg/text/text-midpoint-split-bug-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@83149 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mjs@apple.com authored
Reviewed by Dan Bernstein. Remove some no longer needed WebProcess sandbox allowances https://bugs.webkit.org/show_bug.cgi?id=58015 <rdar://problem/9232592> * WebProcess/com.apple.WebProcess.sb: Remove no-longer needed extra network and launching privileges, since the bugs that required them are fixed. git-svn-id: svn://svn.chromium.org/blink/trunk@83148 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philn@webkit.org authored
Unreviewed, GTK rebaseline after r83075. * platform/gtk/fast/blockflow/text-orientation-basic-expected.txt: * platform/gtk/fast/text/capitalize-empty-generated-string-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@83147 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
[Chromium] Fix a duplicated entry. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@83146 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=56298 Reviewed by NOBODY (OOPS!). Source/WebCore: An inner-spin-button is put on the right border and ignores right padding in RenderTextControlSingleLine::layout(), but forwardEvent() checks if a point is in an area just right of an internal text block. This inconsistency caused a bug that an inner-spin-button with large padding didn't receive mouse events. To fix this bug, we render spin buttons as layers, and remove manual event forwarding code. Test: fast/forms/input-number-large-padding.html * css/html.css: Add "position:relative" to make a spin-button a layer. (input::-webkit-inner-spin-button): (input::-webkit-outer-spin-button): * rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::forwardEvent): Remove manual event forwarding code. LayoutTests: Add a test, and skip on platforms which has no inner-spin-button implementation. * fast/forms/input-number-large-padding-expected.txt: Added. * fast/forms/input-number-large-padding.html: Added. * platform/chromium/test_expectations.txt: * platform/mac/Skipped: * platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: * platform/mac/fast/forms/input-appearance-spinbutton-expected.txt: * platform/mac/fast/forms/input-appearance-spinbutton-layer-expected.txt: * platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt: * platform/mac/fast/forms/input-appearance-spinbutton-visibility-expected.txt: * platform/qt/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@83145 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Fixed an error in the previous commit. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@83144 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
[Chromium] Update text expectation. fast/repaint/scale-page-shrink.html is expected to fail because of no eventSender.scalePageBy(). * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@83143 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
[Chromium] Update test expectation. xhr-breakpoints.html and detailed-heapshots-summary.html are flaky. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@83142 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@webkit.org authored
Reviewed by Eric Seidel. CSP object-src should block plugin loads https://bugs.webkit.org/show_bug.cgi?id=57283 This change is pretty straight-forward. It's slighly unclear to me whether this patch is correct w.r.t. the code in DocumentWriter. I've added a FIXME comment, and I'll investigate that case more in the future. Test: http/tests/security/contentSecurityPolicy/object-src-none.html * loader/DocumentWriter.cpp: (WebCore::DocumentWriter::begin): * loader/SubframeLoader.cpp: (WebCore::SubframeLoader::requestPlugin): * page/ContentSecurityPolicy.cpp: (WebCore::ContentSecurityPolicy::allowObjectFromSource): (WebCore::ContentSecurityPolicy::addDirective): * page/ContentSecurityPolicy.h: 2011-04-06 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. CSP object-src should block plugin loads https://bugs.webkit.org/show_bug.cgi?id=57283 * http/tests/security/contentSecurityPolicy/object-src-none-expected.txt: Added. * http/tests/security/contentSecurityPolicy/object-src-none.html: Added. * http/tests/security/contentSecurityPolicy/resources/echo-object-data.pl: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@83141 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bdakin@apple.com authored
Frame::scalePage() results in visual artifacts with scale factors less than 1 -and corresponding- <rdar://problem/8683230> Reviewed by Dan Bernstein. Source/WebCore: Fall into the case where we fill with a background base color when there is a page scale factor that is less than 1. * rendering/RenderView.cpp: (WebCore::RenderView::paintBoxDecorations): LayoutTests: * fast/repaint/scale-page-shrink.html: Added. * platform/gtk/Skipped: * platform/mac/fast/repaint/scale-page-shrink-expected.checksum: Added. * platform/mac/fast/repaint/scale-page-shrink-expected.png: Added. * platform/mac/fast/repaint/scale-page-shrink-expected.txt: Added. * platform/qt/Skipped: * platform/win/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@83140 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Darin Adler. WebKitTestRunner needs layoutTestController.pageSizeAndMarginsInPixels https://bugs.webkit.org/show_bug.cgi?id=57984 Unskip passed tests. * platform/mac-wk2/Skipped: 2011-04-06 Chang Shu <cshu@webkit.org> Reviewed by Darin Adler. WebKitTestRunner needs layoutTestController.pageSizeAndMarginsInPixels https://bugs.webkit.org/show_bug.cgi?id=57984 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: (WKBundlePageSizeAndMarginsInPixels): * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: * WebProcess/InjectedBundle/InjectedBundle.cpp: (WebKit::InjectedBundle::pageSizeAndMarginsInPixels): * WebProcess/InjectedBundle/InjectedBundle.h: 2011-04-06 Chang Shu <cshu@webkit.org> Reviewed by Darin Adler. WebKitTestRunner needs layoutTestController.pageSizeAndMarginsInPixels https://bugs.webkit.org/show_bug.cgi?id=57984 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: (WTR::LayoutTestController::pageSizeAndMarginsInPixels): * WebKitTestRunner/InjectedBundle/LayoutTestController.h: git-svn-id: svn://svn.chromium.org/blink/trunk@83139 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
crogers@google.com authored
Reviewed by Tony Chang. Add web audio support to DumpRenderTree (mac port) https://bugs.webkit.org/show_bug.cgi?id=57969 * DumpRenderTree/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (setEncodedAudioDataCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: (LayoutTestController::dumpAsAudio): (LayoutTestController::setDumpAsAudio): (LayoutTestController::encodedAudioData): (LayoutTestController::setEncodedAudioData): * DumpRenderTree/mac/DumpRenderTree.mm: (dumpAudio): (dump): git-svn-id: svn://svn.chromium.org/blink/trunk@83138 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
benjamin.poulain@nokia.com authored
Reviewed by Kenneth Rohde Christiansen. [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests https://bugs.webkit.org/show_bug.cgi?id=56086 * platform/qt/Skipped: Remove the skipped test which required numberOfPendingGeolocationPermissionRequests. 2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests https://bugs.webkit.org/show_bug.cgi?id=56086 Add the accessor numberOfPendingGeolocationPermissionRequests to call GeolocationClientMock::numberOfPendingPermissionRequests() from the LayoutTestController. * WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests): * WebCoreSupport/DumpRenderTreeSupportQt.h: 2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests https://bugs.webkit.org/show_bug.cgi?id=56086 Add the missing method. * DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::DumpRenderTree::getAllPages): Add a method to return all the pages allocated for the current test. * DumpRenderTree/qt/DumpRenderTreeQt.h: * DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::numberOfPendingGeolocationPermissionRequests): git-svn-id: svn://svn.chromium.org/blink/trunk@83137 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
[Chromium] Update expectations for Geeza Pro and so on. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@83136 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jer.noble@apple.com authored
Reviewed by Darin Adler. AVF: MediaPlayerPrivateAVFoundationObjC should not use -[AVPlayerItem isPlaybackBufferEmpty] https://bugs.webkit.org/show_bug.cgi?id=57982 Query our cached loaded time array instead of asking AVPlayerItem if its buffer is empty. * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::playerItemStatus): git-svn-id: svn://svn.chromium.org/blink/trunk@83135 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jer.noble@apple.com authored
Reviewed by Eric Carlson. MediaPlayerPrivateAVFoundation does not change rate due to setRate(). https://bugs.webkit.org/show_bug.cgi?id=57919 * media/video-set-rate-from-pause-expected.txt: Added. * media/video-set-rate-from-pause.html: Added. 2011-04-06 Jer Noble <jer.noble@apple.com> Reviewed by Eric Carlson. MediaPlayerPrivateAVFoundation does not change rate due to setRate(). https://bugs.webkit.org/show_bug.cgi?id=57919 Test: media/video-set-rate-from-pause.html The base class of MediaPlayerPrivateAVFoundation does not actually change the rate of the media; instead a subclass must do that work. So when setRate() is called, inform a subclass through a new pure virtual updateRate() function that there's work to be done. * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::setRate): Call updateRate() * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::updateRate): Added. Set the requested rate. git-svn-id: svn://svn.chromium.org/blink/trunk@83134 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kinuko@chromium.org authored
Reviewed by David Levin. Add QUOTA build flag for unified quota API https://bugs.webkit.org/show_bug.cgi?id=57918 * win/tools/vsprops/FeatureDefines.vsprops: Added QUOTA build flag * win/tools/vsprops/FeatureDefinesCairo.vsprops: Added QUOTA build flag 2011-04-06 Dai Mikurube <dmikurube@chromium.org> Reviewed by David Levin. Add QUOTA build flag for unified quota API https://bugs.webkit.org/show_bug.cgi?id=57918 * configure.ac: Added QUOTA build flag 2011-04-06 Dai Mikurube <dmikurube@chromium.org> Reviewed by David Levin. Add QUOTA build flag for unified quota API https://bugs.webkit.org/show_bug.cgi?id=57918 * Configurations/FeatureDefines.xcconfig: Added QUOTA build flag 2011-04-06 Dai Mikurube <dmikurube@chromium.org> Reviewed by David Levin. Add QUOTA build flag for unified quota API https://bugs.webkit.org/show_bug.cgi?id=57918 * Configurations/FeatureDefines.xcconfig: Added QUOTA build flag 2011-04-06 Dai Mikurube <dmikurube@chromium.org> Reviewed by David Levin. Add QUOTA build flag for unified quota API https://bugs.webkit.org/show_bug.cgi?id=57918 * Configurations/FeatureDefines.xcconfig: Added QUOTA build flag * GNUmakefile.am: Added QUOTA build flag * WebCore.pri: Added QUOTA build flag 2011-04-06 Dai Mikurube <dmikurube@chromium.org> Reviewed by David Levin. Add QUOTA build flag for unified quota API https://bugs.webkit.org/show_bug.cgi?id=57918 * Scripts/build-webkit: Added QUOTA build flag git-svn-id: svn://svn.chromium.org/blink/trunk@83133 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mitz@apple.com authored
* platform/mac/fast/dom/52776-expected.checksum: * platform/mac/fast/dom/52776-expected.png: * platform/mac/fast/dom/52776-expected.txt: * platform/mac/fast/text/complex-text-opacity-expected.checksum: * platform/mac/fast/text/complex-text-opacity-expected.png: * platform/mac/fast/text/complex-text-opacity-expected.txt: * platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt: * platform/mac/fast/text/international/bidi-AN-after-L-expected.checksum: * platform/mac/fast/text/international/bidi-AN-after-L-expected.png: * platform/mac/fast/text/international/bidi-AN-after-L-expected.txt: * platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.checksum: * platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.png: * platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.txt: * platform/mac/fast/text/international/bidi-CS-after-AN-expected.checksum: * platform/mac/fast/text/international/bidi-CS-after-AN-expected.png: * platform/mac/fast/text/international/bidi-CS-after-AN-expected.txt: * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.checksum: * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.png: * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt: * platform/mac/fast/text/international/bidi-neutral-run-expected.checksum: * platform/mac/fast/text/international/bidi-neutral-run-expected.png: * platform/mac/fast/text/international/bidi-neutral-run-expected.txt: * platform/mac/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.checksum: * platform/mac/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.png: git-svn-id: svn://svn.chromium.org/blink/trunk@83132 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enne@google.com authored
Unreviewed, update Chromium expectations for failing test from r83075. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@83131 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-