- 27 Apr, 2010 40 commits
-
-
dbates@webkit.org authored
Reviewed by Oliver Hunt. https://bugs.webkit.org/show_bug.cgi?id=37686 Fixes an issue where the canvas method strokeRect will stroke a rectangle whose dimensions are 0 when lineWidth > 1. As per the definition of strokeRect in the HTML Canvas 2D Context spec. <http://www.w3.org/TR/2dcontext/#dom-context-2d-strokerect>, this method should have no effect when both the height and width are zero. Tests: fast/canvas/canvas-clearRect.html fast/canvas/canvas-fillRect.html * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::validateRectForCanvas): Return false if height, width == 0. 2010-04-27 Daniel Bates <dbates@rim.com> Reviewed by Oliver Hunt. https://bugs.webkit.org/show_bug.cgi?id=37686 Tests that strokeRect does not paint any artifacts when the specified rectangle has height, width = 0 and lineWidth > 1. Also tests that clearRect, fillRect, and rect are ignored when height, width = 0. * fast/canvas/canvas-clearRect-expected.txt: Added. * fast/canvas/canvas-clearRect.html: Added. * fast/canvas/canvas-fillRect-expected.txt: Added. * fast/canvas/canvas-fillRect.html: Added. * fast/canvas/canvas-modify-emptyPath-expected.txt: * fast/canvas/canvas-strokeRect-expected.txt: Updated results. * fast/canvas/script-tests/canvas-clearRect.js: Added. * fast/canvas/script-tests/canvas-fillRect.js: Added. * fast/canvas/script-tests/canvas-modify-emptyPath.js: Added test case. * fast/canvas/script-tests/canvas-strokeRect.js: Ditto. Also, added debug statements so as to distinguish the results for each test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Dmitry Titov. [Chromium] Add two things to the webkit API to support appcaches in workers. 1) WebURLRequest TargetTypes for worker and shared worker main resources. 2) Factory method on class WebCommonWorkerClient to createApplicationCacheHost() for the associated worker. https://bugs.webkit.org/show_bug.cgi?id=38147 * public/WebCommonWorkerClient.h: add the factory method * public/WebURLRequest.h: add the TargetTypes * src/WebWorkerBase.cpp: call the embedder's factory when needed (WebKit::WebWorkerBase::didCreateDataSource) (WebKit::WebWorkerBase::createApplicationCacheHost) * src/WebWorkerBase.h: ditto * src/WebWorkerClientImpl.h: add a stub impl of the factory method (WebKit::WebWorkerClientImpl::createApplicationCacheHost): 2010-04-27 Michael Nordman <michaeln@google.com> Reviewed by Dmitry Titov. [Chromium] Add two things to the webkit API to support appcaches in workers. 1) WebURLRequest TargetTypes for worker and shared worker main resources. 2) Factory method on class WebCommonWorkerClient to createApplicationCacheHost() for the associated worker. https://bugs.webkit.org/show_bug.cgi?id=38147 * DumpRenderTree/chromium/TestWebWorker.h add a stub impl of the factory method (TestWebWorker::createApplicationCacheHost): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Eric Seidel. Remove obsolete custom bindings file https://bugs.webkit.org/show_bug.cgi?id=38223 We don't need these files anymore because they are empty. * Android.jscbindings.mk: * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSAbstractWorkerCustom.cpp: Removed. * bindings/js/JSBindingsAllInOne.cpp: * bindings/js/JSDocumentFragmentCustom.cpp: Removed. * bindings/js/JSEventSourceCustom.cpp: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Jian Li. [Chromium] Filter out URLs with a file scheme from text/uri-list when dragging. https://bugs.webkit.org/show_bug.cgi?id=38227 Unfortunately, the simple fix of not populating the drag data with file URLs doesn't work since the default drop handling uses the drag data URL to navigate to dropped files/URLs. For now, we hack around the problem in the Chromium platform, but the proper long term solution is to change DragController::performDrag to check dragData::asFilenames(). No new tests. * platform/chromium/ClipboardChromium.cpp: (WebCore::ClipboardChromium::getData): (WebCore::ClipboardChromium::types): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58378 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
Reviewed by Shinichiro Hamaji. [DRT/Chromium] Enable Windows project generation https://bugs.webkit.org/show_bug.cgi?id=38103 - Avoid platform.system(), which causes a crash with python.exe in depot_tools. Use sys.platform instead. - Process DumpRenderTree.gyp on all platforms. * gyp_webkit: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Eric Seidel. run-bindings-tests doesn't work in an SVN checkout https://bugs.webkit.org/show_bug.cgi?id=38225 Previously detect_scm_system needed an absolute path for SVN. Now we accept a relative path. * Scripts/webkitpy/common/checkout/scm.py: * Scripts/webkitpy/common/checkout/scm_unittest.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by the inimitable Dan Bernstein. SVG as background image renders incorrectly after zooming https://bugs.webkit.org/show_bug.cgi?id=38215 When doing a partial redraw of an SVGImage used as a CSS background image, we're limited to drawing the entire Frame, clipped to the dirty rect. Because of this, we need to fix up the CTM so that the origin is at the top left of the unclipped image, rather than the top left of the portion being redrawn. Test: fast/images/svg-background-partial-redraw.html * svg/graphics/SVGImage.cpp: (WebCore::SVGImage::draw): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58375 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yuzo@google.com authored
Reviewed by David Hyatt. Retry of: Enhance CSS parser for Paged Media (Iteration 1) In this change, the grammar is extended and skeletal methods for creating page rules and margin at-rules are defined. The contents of the methods should be implemented by other changes. https://bugs.webkit.org/show_bug.cgi?id=35329 * fast/css/parsing-page-rule-expected.txt: Copied from LayoutTests/editing/selection/5136696-expected.txt. * fast/css/parsing-page-rule.html: Added. 2010-04-27 Yuzo Fujishima <yuzo@google.com> Reviewed by David Hyatt. Retry of: Enhance CSS parser for Paged Media (Iteration 1) In this change, the grammar is extended and skeletal methods for creating page rules and margin at-rules are defined. The contents of the methods should be implemented by other changes. https://bugs.webkit.org/show_bug.cgi?id=35329 Test: fast/css/parsing-page-rule.html * css/CSSGrammar.y: * css/CSSParser.cpp: (WebCore::CSSParser::CSSParser): (WebCore::CSSParser::clearProperties): (WebCore::CSSParser::createPageRule): (WebCore::CSSParser::createMarginAtRule): (WebCore::CSSParser::startDeclarationsForMarginBox): (WebCore::CSSParser::endDeclarationsForMarginBox): * css/CSSParser.h: * css/CSSSelector.cpp: (WebCore::CSSSelector::pseudoId): (WebCore::nameToPseudoTypeMap): (WebCore::CSSSelector::extractPseudoType): * css/CSSSelector.h: (WebCore::CSSSelector::): * css/tokenizer.flex: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jchaffraix@webkit.org authored
WebCore: * loader/DocumentThreadableLoader.cpp: (WebCore::DocumentThreadableLoader::DocumentThreadableLoader): (WebCore::DocumentThreadableLoader::makeSimpleCrossOriginAccessRequest): (WebCore::DocumentThreadableLoader::loadRequest): LayoutTests: * http/tests/xmlhttprequest/access-control-preflight-credential-async-expected.txt: Removed. * http/tests/xmlhttprequest/access-control-preflight-credential-async.html: Removed. * http/tests/xmlhttprequest/access-control-preflight-credential-sync-expected.txt: Removed. * http/tests/xmlhttprequest/access-control-preflight-credential-sync.html: Removed. * http/tests/xmlhttprequest/resources/basic-auth/access-control-auth-basic.php: Removed. * platform/qt/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jchaffraix@webkit.org authored
* platform/qt/Skipped: Add the 2 newly added test cases to the list as they involve preflight requests. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jchaffraix@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=37781 <rdar://problem/7905150> Reviewed by Alexey Proskuryakov. WebCore: Tests: http/tests/xmlhttprequest/access-control-preflight-credential-async.html http/tests/xmlhttprequest/access-control-preflight-credential-sync.html * loader/DocumentThreadableLoader.cpp: (WebCore::DocumentThreadableLoader::DocumentThreadableLoader): Now we remove the credential from the request here to avoid forgetting to do so in the different code path. (WebCore::DocumentThreadableLoader::makeSimpleCrossOriginAccessRequest): Just add the "Origin" header. (WebCore::DocumentThreadableLoader::loadRequest): Check here the the credential have been removed so that we don't leak them. Also tweaked a comment to make it clear that the URL check has issue when credential is involved. LayoutTests: Test that doing a cross-origin request with a preflight check does not raise a NETWORK_ERR exception and does not send the credentials. * http/tests/xmlhttprequest/access-control-preflight-credential-async-expected.txt: Added. * http/tests/xmlhttprequest/access-control-preflight-credential-async.html: Added. * http/tests/xmlhttprequest/access-control-preflight-credential-sync-expected.txt: Added. * http/tests/xmlhttprequest/access-control-preflight-credential-sync.html: Added. * http/tests/xmlhttprequest/resources/basic-auth/access-control-auth-basic.php: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Fisher. Makes clicking a select element close its associated popup if it is open. https://bugs.webkit.org/show_bug.cgi?id=38105 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::mouseDown): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Fisher. [chromium] Merged the WebView public method to close suggestion popups into a single method to close all popups (select and suggestions). That ensures select popups are closed when the browser window is moved or resized. https://bugs.webkit.org/show_bug.cgi?id=37837 * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::hidePopups): (WebKit::WebViewImpl::hideSuggestionsPopup): * src/WebViewImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Stephanie Lewis. * Scripts/build-webkit: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://bugs.webkit.org/show_bug.cgi?id=38238weinig@apple.com authored
Allow both WebKit and WebKit2 to link to the same WebCore.framework Reviewed by Maciej Stachowiak. WebCore: * Configurations/WebCore.xcconfig: Use -allowable_client WebKit2 to add WebKit2 to the list of frameworks that can link directly to WebCore. It is not necessary for it to be an umbrella since we don't need to reexport any symbols. WebKit2: * Configurations/WebKit2.xcconfig: Remove the OTHER_LDFLAGS. We don't need to set WebCore as a sub_umbrella of WebKit2, since we are not reexporting any of its symbols. WebKitTools: * Scripts/build-webkit: Remove the UMBRELLA_LDFLAGS override when building WebCore for WebKit2, it is no longer necessary. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dumi@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=38191 Reviewed by David Levin. Vacuum all databases when the number of free pages is at least 10% of the number of total pages. Also, add a guard against a bug that was fixed in SQLite only starting with version 3.6.16. * platform/sql/SQLiteDatabase.cpp: (WebCore::SQLiteDatabase::maximumSize): (WebCore::SQLiteDatabase::freeSpaceSize): (WebCore::SQLiteDatabase::totalSize): (WebCore::SQLiteDatabase::runIncrementalVacuumCommand): (WebCore::SQLiteDatabase::turnOnIncrementalAutoVacuum): * platform/sql/SQLiteDatabase.h: (WebCore::SQLiteDatabase::): * platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare): (WebCore::SQLiteStatement::step): * storage/Database.cpp: (WebCore::Database::performOpenAndVerify): (WebCore::Database::incrementalVacuumIfNeeded): * storage/Database.h: * storage/SQLTransaction.cpp: (WebCore::SQLTransaction::postflightAndCommit): LayoutTests: Adjusting the expected amount of space used by quota-tracking.html. https://bugs.webkit.org/show_bug.cgi?id=38191 Reviewed by David Levin. The expectations changed because of AUTO_VACUUM's overhead. * platform/chromium/test_expectations.txt: * storage/quota-tracking-expected.txt: * storage/quota-tracking.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jam@chromium.org authored
Reviewed by Darin Adler. Remove unnecessary header now that Chrome is updated https://bugs.webkit.org/show_bug.cgi?id=38211 * public/win/WebThemeEngine.h: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
Reviewed by David Levin. Fix a typo in chromium.py that causes NRWT to fail in --verbose mode in a Chromium checkout. https://bugs.webkit.org/show_bug.cgi?id=38234 * Scripts/webkitpy/layout_tests/port/chromium.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Fisher. Turn all of the touch event handlers into RuntimeEnabledFeatures, and modify the createEvent methond on Document so that it won't create a TouchEvent if the feature is disabled. https://bugs.webkit.org/show_bug.cgi?id=37485 * bindings/generic/RuntimeEnabledFeatures.cpp: * bindings/generic/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::touchEnabled): (WebCore::RuntimeEnabledFeatures::setTouchEnabled): (WebCore::RuntimeEnabledFeatures::ontouchstartEnabled): (WebCore::RuntimeEnabledFeatures::ontouchmoveEnabled): (WebCore::RuntimeEnabledFeatures::ontouchendEnabled): (WebCore::RuntimeEnabledFeatures::ontouchcancelEnabled): * dom/Document.cpp: (WebCore::Document::createEvent): * dom/Document.idl: * dom/Element.idl: * page/DOMWindow.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Fisher. [Chromium] Add some notifications and an accessor to WebKit API https://bugs.webkit.org/show_bug.cgi?id=37625 * dom/Node.cpp: (WebCore::Node::hasNonEmptyBoundingBox): New method. * dom/Node.h: * html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::isKeyboardFocusable): Moved part of method into new Node method 2010-04-27 Jens Alfke <snej@chromium.org> Reviewed by Darin Fisher. [Chromium] Add some notifications and an accessor to WebKit API https://bugs.webkit.org/show_bug.cgi?id=37625 * public/WebFrameClient.h: (WebKit::WebFrameClient::didFirstLayout): (WebKit::WebFrameClient::didFirstVisuallyNonEmptyLayout): * public/WebNode.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout): (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout): * src/WebElement.cpp: * src/WebNode.cpp: (WebKit::WebNode::hasNonEmptyBoundingBox): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
evan@chromium.org authored
Reviewed by David Levin. [chromium] update test expectations for ancient linux bug https://bugs.webkit.org/show_bug.cgi?id=38229 According to http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=plugins%2Fembed-attributes-setting.html this hasn't crashed in a long time, so the CRASH annotation is superfluous. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Shinichiro Hamaji. Fix gyp build on Mac OS X with enable_svg=0. https://bugs.webkit.org/show_bug.cgi?id=38192 * WebCore.gyp/WebCore.gyp: Only generate SVG symbols if enable_svg!=0. * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Add missing unimplemented CSS properties to switch statement. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Dimitri Glazkov. [Chromium] Remove deprecated form of didChangeLocationWithinPage https://bugs.webkit.org/show_bug.cgi?id=38178 * public/WebFrameClient.h: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage): 2010-04-27 Darin Fisher <darin@chromium.org> Reviewed by Dimitri Glazkov. [Chromium] Remove deprecated form of didChangeLocationWithinPage https://bugs.webkit.org/show_bug.cgi?id=38178 Switch over to implementing didNavigateWithinPage. * DumpRenderTree/chromium/WebViewHost.cpp: (TestWebViewDelegate::didNavigateWithinPage): (WebViewHost::didChangeLocationWithinPage): * DumpRenderTree/chromium/WebViewHost.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
slewis@apple.com authored
* wtf/FastMalloc.cpp: (WTF::TCMalloc_PageHeap::Carve): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
evan@chromium.org authored
Unreviewed. Adding myself to commmitters list. * Scripts/webkitpy/common/config/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
slewis@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kinuko@chromium.org authored
Reviewed by Jian Li. [V8] Handle OR ('|') conditional in action_derivedsourcesallinone.py https://bugs.webkit.org/show_bug.cgi?id=38207 No new tests. * WebCore.gyp/scripts/action_derivedsourcesallinone.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
slewis@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. Additional MathML mroot & msqrt tests. https://bugs.webkit.org/show_bug.cgi?id=37044 * mathml/presentation/roots.xhtml: Added. * platform/mac/mathml/presentation/roots-expected.checksum: Added. * platform/mac/mathml/presentation/roots-expected.png: Added. * platform/mac/mathml/presentation/roots-expected.txt: Added. 2010-04-27 François Sausset <sausset@gmail.com> Reviewed by Kenneth Rohde Christiansen. Implementation of the MathML mroot & msqrt elements. https://bugs.webkit.org/show_bug.cgi?id=37044 Test: mathml/presentation/roots.xhtml * WebCore.xcodeproj/project.pbxproj: * css/mathml.css: (mroot): (mroot > * + *): (mroot > * + mrow, mroot > * + mfenced): * mathml/MathMLInlineContainerElement.cpp: (WebCore::MathMLInlineContainerElement::createRenderer): * mathml/RenderMathMLRoot.cpp: Added. (WebCore::RenderMathMLRoot::RenderMathMLRoot): (WebCore::RenderMathMLRoot::addChild): (WebCore::RenderMathMLRoot::paint): (WebCore::RenderMathMLRoot::layout): * mathml/RenderMathMLRoot.h: Added. * mathml/RenderMathMLSquareRoot.cpp: Added. (WebCore::RenderMathMLSquareRoot::RenderMathMLSquareRoot): (WebCore::RenderMathMLSquareRoot::paint): (WebCore::RenderMathMLSquareRoot::layout): * mathml/RenderMathMLSquareRoot.h: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Dimitri Glazkov. [Chromium] Create new baseline for caret-rtl-2 https://bugs.webkit.org/show_bug.cgi?id=38126 http://trac.webkit.org/changeset/58191/ caused the caret-rtl-2 layout test to start failing under Chromium. Since we're the only ones who run pixel tests, it's possible that the actual baseline needs to be updated and not just the chromium baseline...but I'm not sure. I'm tracking the overall progress of figuring this out here: https://bugs.webkit.org/show_bug.cgi?id=38109 * platform/chromium-mac/editing/selection/caret-rtl-2-actual.checksum: Added. * platform/chromium-mac/editing/selection/caret-rtl-2-actual.png: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Maciej Stachowiak. * ForwardingHeaders/runtime/PropertyMap.h: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://bugs.webkit.org/show_bug.cgi?id=38154slewis@apple.com authored
<rdar://problem/7834433> REGRESSSION: 1.5% PLT regression due to 56028 (return memory quicker). To save on madvise calls when recommitting memory recommit the entire span and then carve it instead of carving the span up and only committing the part that will be used immediately. Reviewed by Geoff Garen. * wtf/FastMalloc.cpp: (WTF::TCMalloc_PageHeap::New): (WTF::TCMalloc_PageHeap::AllocLarge): (WTF::TCMalloc_PageHeap::Carve): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
Reviewed by Adam Barth. Fix gcc 4.4.1 warnings on Linux in the chromium V8 bindings code. https://bugs.webkit.org/show_bug.cgi?id=38153 * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::callFunction): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
evan@chromium.org authored
Unreviewed, making the bots happy. [chromium] bold bengali text not rendered properly on Linux https://bugs.webkit.org/show_bug.cgi?id=37904 Check in a baseline for Mac pulled from the bots. * platform/mac/fast/text/international/bold-bengali-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Unreviewed, rolling out r58318. http://trac.webkit.org/changeset/58318 https://bugs.webkit.org/show_bug.cgi?id=37215 Broke test on Tiger. Might just need updated results, unclear. * http/tests/inspector/console-resource-errors-expected.txt: Removed. * http/tests/inspector/console-resource-errors.html: Removed. * http/tests/inspector/console-tests.js: Removed. * inspector/console-clear.html: * inspector/console-dir.html: * inspector/console-dirxml.html: * inspector/console-format-collections-expected.txt: * inspector/console-format-collections.html: * inspector/console-format.html: * inspector/console-log-before-inspector-open.html: * inspector/console-tests.html: * inspector/console-tests.js: Added. (dumpConsoleMessages.callback): (dumpConsoleMessages): (dumpConsoleMessagesWithClasses.callback): (dumpConsoleMessagesWithClasses): (frontend_dumpConsoleMessages): 2010-04-27 Eric Seidel <eric@webkit.org> Unreviewed, rolling out r58318. http://trac.webkit.org/changeset/58318 https://bugs.webkit.org/show_bug.cgi?id=37215 Broke test on Tiger. Might just need updated results, unclear. * inspector/InspectorController.cpp: (WebCore::InspectorController::didReceiveResponse): (WebCore::InspectorController::didFailLoading): * inspector/front-end/Resource.js: (WebInspector.Resource.prototype._mimeTypeIsConsistentWithType): * inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel.prototype.recreateViewForResourceIfNeeded): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
evan@chromium.org authored
Reviewed by David Levin. [chromium] bold bengali text not rendered properly on Linux https://bugs.webkit.org/show_bug.cgi?id=37904 Add a layout test containing some bold Bengali text. * fast/text/international/bold-bengali.html: Added. * platform/chromium-linux/fast/text/international/bold-bengali-expected.checksum: Added. * platform/chromium-linux/fast/text/international/bold-bengali-expected.png: Added. * platform/chromium-linux/fast/text/international/bold-bengali-expected.txt: Added. 2010-04-27 Evan Martin <evan@chromium.org> Reviewed by David Levin. [chromium] bold bengali text not rendered properly on Linux https://bugs.webkit.org/show_bug.cgi?id=37904 We must let Skia do font fallback, rather than picking a font name then handing that to Skia. For example, if we have Bengali text and choose FreeSans + fake bold, and then later reuse the name, Skia will helpfully use FreeSansBold (which doesn't cover Bengali). Test: fast/text/international/bold-bengali.html * platform/graphics/chromium/FontCacheLinux.cpp: (WebCore::FontCache::getFontDataForCharacters): 2010-04-27 Evan Martin <evan@chromium.org> Reviewed by David Levin. [chromium] bold bengali text not rendered properly on Linux Roll forward Chrome DEPS so we get new Skia API. * DEPS: update Chrome to r45696. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
Reviewed by Darin Adler. Fix warnings emitted by gcc 4.4.1 on linux in chromium-specific platform graphics files. https://bugs.webkit.org/show_bug.cgi?id=38158 Most of the issues are signed/unsigned mismatches, but there are a few unusued variables and functions mixed in. * platform/graphics/chromium/FontLinux.cpp: (WebCore::adjustTextRenderMode): (WebCore::TextRunWalker::getTextRun): (WebCore::TextRunWalker::getNormalizedTextRun): (WebCore::TextRunWalker::setGlyphXPositions): (WebCore::glyphIndexForXPositionInScriptRun): (WebCore::Font::offsetForPositionForComplexText): (WebCore::Font::selectionRectForComplexText): * platform/graphics/chromium/FontPlatformDataLinux.cpp: (WebCore::FontPlatformData::setupPaint): * platform/graphics/chromium/HarfbuzzSkia.cpp: (WebCore::getOutlinePoint): * platform/graphics/skia/GraphicsContext3DSkia.cpp: (WebCore::GraphicsContext3D::getImageData): * platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::isCoordinateSkiaSafe): (WebCore::GraphicsContext::fillRect): (WebCore::GraphicsContext::strokePath): (WebCore::GraphicsContext::strokeRect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Reviewed by Darin Adler. Add test for NodeIterator prototype change behavior https://bugs.webkit.org/show_bug.cgi?id=38219 In the process of remove the custom code from NodeIterator, we thought we fixed a subtle bug where iterating over nodes from another frame would get the wrong prototype chain. This test documents that we didn't actually change the behavior and we still have the bug. * traversal/node-iterator-prototype-expected.txt: Added. * traversal/node-iterator-prototype.html: Added. * traversal/resources/node-iterator-prototype-frame.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/7911140jhoneycutt@apple.com authored
Reviewed by Maciej Stachowiak. * WebView.cpp: (WebView::keyDown): Return true if we navigated back or forward from the key event to prevent the event from being propagated further. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jianli@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=37882 Reviewed by Darin Adler. Can't add a layout test because DRT does not support generating the file name. * loader/FrameLoader.cpp: (WebCore::FrameLoader::submitForm): (WebCore::FrameLoader::navigateToDifferentDocument): * platform/network/FormData.cpp: (WebCore::FormData::appendDOMFormData): * platform/network/FormData.h: * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-