- 18 Apr, 2012 7 commits
-
-
pfeldman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=84179 Reviewed by Yury Semikhatsky. Source/WebCore: Perform total update upon modifications of the document node. Test: inspector/elements/delete-from-document.html * inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::didRemoveDOMNode): * inspector/front-end/ElementsTreeOutline.js: LayoutTests: * http/tests/inspector/elements-test.js: (initialize_ElementTest.InspectorTest.dumpElementsTree.print): (initialize_ElementTest.InspectorTest.dumpElementsTree): * inspector/elements/delete-from-document-expected.txt: Added. * inspector/elements/delete-from-document.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=82930 Support for concurrent HTML5 audio improvements being made in the platform library, which need to be aware of tabs and tab visibility. PR96004. Patch by Max Feil <mfeil@rim.com> on 2012-04-18 Reviewed by George Staikos. Test: media/audio-concurrent-supported.html * platform/blackberry/PageClientBlackBerry.h: * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): (WebCore::MediaPlayerPrivate::showErrorDialog): (WebCore::MediaPlayerPrivate::isTabVisible): (WebCore): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): Source/WebKit/blackberry: [BlackBerry] Tab awareness for HTML5 concurrent audio https://bugs.webkit.org/show_bug.cgi?id=82930 Support for concurrent HTML5 audio improvements being made in the platform library, which need to be aware of tabs and tab visibility. PR96004. Patch by Max Feil <mfeil@rim.com> on 2012-04-18 Reviewed by George Staikos. * Api/WebPageClient.h: * Api/WebPage_p.h: (BlackBerry::WebKit::WebPagePrivate::isVisible): LayoutTests: [BlackBerry] Tab awareness for HTML5 concurrent audio https://bugs.webkit.org/show_bug.cgi?id=82930 Layout test for concurrent HTML5 audio. This is a simple test to confirm that multiple audio elements can play at the same time. Patch by Max Feil <mfeil@rim.com> on 2012-04-18 Reviewed by George Staikos. * media/audio-concurrent-supported-expected.txt: Added. * media/audio-concurrent-supported.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kkristof@inf.u-szeged.hu authored
Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-04-18 * platform/qt/Skipped: fast/dom/shadow/adopt-node-with-shadow-root.html git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
noel.gordon@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=84022 Reviewed by Eric Seidel. ImageBuffer::getPremultipliedImageData() can fail. toDataURL() should check for a failure return, and return "data:," if so. No new tests. Covered by existing toDataURL tests, in particular: canvas/philip/tests/toDataURL.jpeg.alpha.html * platform/graphics/cg/ImageBufferCG.cpp: (WebCore::ImageBuffer::toDataURL): Rename |arr| variable to premultipliedData and return "data:," if premultipliedData is empty. Clean up whitespace and a comment. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mario@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=84010 Unreviewed, unskipping test after bug being fixed by r114311. * Scripts/run-gtk-tests: (TestRunner): Unskip now passing test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=84199 Patch by Jacky Jiang <zhajiang@rim.com> on 2012-04-17 Reviewed by George Staikos. Source/WebKit/blackberry: PR: 148279 When we set "user-scalable=no" in viewport meta-tag and change any other WebSettings, the WebPage can turn to be scalable. This is a regression of the change master_32/SHA:fa0f8ee9. In that change, we used setUserScalable(webSettings->isUserScalable()) in WebPagePrivate::didChangeSettings which was incorrect for non-DRT case, as webSettings->isUserScalable() would always return true by default. Create a new API WebPage::setUserScalable which will be used in DumpRenderTree.cpp. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPage::setUserScalable): (WebKit): (BlackBerry::WebKit::WebPagePrivate::didChangeSettings): * Api/WebPage.h: Tools: Revert a part of the change master_32/SHA:fa0f8ee9 and use WebPage::setUserScalable instead. * DumpRenderTree/blackberry/DumpRenderTree.cpp: (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=84225 Patch by Rachel Blum <groby@chromium.org> on 2012-04-17 Reviewed by David Levin. Tested with manual tests. * platform/graphics/skia/NativeImageSkia.cpp: (WebCore::NativeImageSkia::shouldCacheResampling): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Apr, 2012 33 commits
-
-
toyoshim@chromium.org authored
* platform/chromium-win-vista/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png: * platform/chromium-win/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=42337 Update wk2 Skipped list to skip new failing test. * platform/wk2/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=84227 Update wk2 Skipped list to skip new failing test. * platform/wk2/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
toyoshim@chromium.org authored
* platform/chromium-linux/svg/as-background-image/svg-as-background-6-expected.png: Added. * platform/chromium-mac-leopard/svg/as-background-image/svg-as-background-6-expected.png: Added. * svg/as-background-image/svg-as-background-6-expected.txt: Renamed from LayoutTests/platform/efl/svg/as-background-image/svg-as-background-6-expected.txt. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
morrita@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=84127 Reviewed by Dimitri Glazkov. Source/WebCore: ShadowRoot cannot cannot be removed from its host, which means ShadowRoot cannot be adopted by any Document directly because the adoptNode() tries to remove it from its parent but it doesn't make sense for ShadowRoot. This change adds a guard to check such a case. Test: fast/dom/shadow/adopt-node-with-shadow-root.html * dom/Document.cpp: (WebCore::Document::adoptNode): LayoutTests: * fast/dom/shadow/adopt-node-with-shadow-root-expected.txt: Added. * fast/dom/shadow/adopt-node-with-shadow-root.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
REGRESSION (r114406-r114417): media/video-playing-and-pause.html failing on Lion Release (WebKit2 Tests) https://bugs.webkit.org/show_bug.cgi?id=84226 Remove expected failing results ſtor media/video-playing-and-pause.html. * platform/mac-wk2/media/video-playing-and-pause-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
toyoshim@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=84024 * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=84218 Reviewed by Geoff Garen. * dfg/DFGByteCodeParser.cpp: (JSC::DFG::ByteCodeParser::makeSafe): * dfg/DFGCommon.h: (JSC::DFG::isX86): (DFG): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=80912 Patch by Myles Maxfield <mmaxfield@google.com> on 2012-04-17 Reviewed by Hajime Morita. * wtf/BumpPointerAllocator.h: (WTF::BumpPointerPool::create): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=84099 <rdar://problem/11133877> Reviewed by Sam Weinig. Use PDFDocuemnt instead of CGPDFDocument when printing PDFs, because PDFKit knows how to draw PDF buttons, and CG does not. * Shared/mac/PDFKitImports.h: Added. * Shared/mac/PDFKitImports.mm: Added. * UIProcess/API/mac/WKPrintingView.mm: Moved code for dealing with dynamically loaded PDFKit from WKPrintingView, as we now also need it elsewhere. * WebKit2.xcodeproj/project.pbxproj: Added * WebProcess/Plugins/PDF/BuiltInPDFView.cpp: Rebamed to .mm. * WebProcess/Plugins/PDF/BuiltInPDFView.h: Changed m_pdfDocument to PDFDocument. * WebProcess/Plugins/PDF/BuiltInPDFView.mm: Copied from Source/WebKit2/WebProcess/Plugins/PDF/BuiltInPDFView.cpp. (WebKit::BuiltInPDFView::pdfDocumentDidLoad): (WebKit::BuiltInPDFView::calculateSizes): (WebKit::BuiltInPDFView::paintContent): Changed m_pdfDocument to PDFDocument, and updated for the changes. We still use CGPDF when drawing to screen though, because that doesn't affect USPS. * WebProcess/Plugins/Plugin.h: (WebKit::Plugin::pdfDocumentForPrinting): Updated the type, and changed ifsed from CG to MAC, as we're now fully dependent on Cocoa. * WebProcess/Plugins/PluginView.h: (WebKit::PluginView::pdfDocumentForPrinting): Ditto. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::pdfDocumentForPrintingFrame): (WebKit::WebPage::beginPrinting): (WebKit::WebPage::computePagesForPrinting): (WebKit::WebPage::drawRectToPDF): (WebKit::WebPage::drawPagesToPDF): * WebProcess/WebPage/WebPage.h: Moved PDF document printing code to WebPageMac.mm, as it's now Objective C. * WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::computePagesForPrintingPDFDocument): (WebKit::roundCGFloat): (WebKit::drawPDFPage): While moving, also fixed a logic error in calculating the box (it used to intersect with an empty box). (WebKit::WebPage::drawRectToPDFFromPDFDocument): (WebKit::WebPage::drawPagesToPDFFromPDFDocument): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=83649 Patch by John Bauman <jbauman@chromium.org> on 2012-04-17 Reviewed by James Robinson. We were waiting only on the canvas context, which with the new GPU scheduling was causing the RateLimiter not to ratelimit enough. We need to insert no-op commands in the compositor context, so that we'll wait for the canvas context and SwapBuffers as well. * platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::doNoOp): (WebCore): * platform/graphics/chromium/LayerRendererChromium.h: (LayerRendererChromium): * platform/graphics/chromium/RateLimiter.cpp: (WebCore::RateLimiter::create): (WebCore::RateLimiter::RateLimiter): (WebCore::RateLimiter::rateLimitContext): * platform/graphics/chromium/RateLimiter.h: (RateLimiterClient): (WebCore): (RateLimiter): * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: (WebCore::CCLayerTreeHost::startRateLimiter): (WebCore::CCLayerTreeHost::rateLimit): (WebCore): * platform/graphics/chromium/cc/CCLayerTreeHost.h: (CCLayerTreeHost): * platform/graphics/chromium/cc/CCProxy.h: (CCProxy): * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp: (WebCore::CCSingleThreadProxy::forceNoOpCommand): (WebCore): * platform/graphics/chromium/cc/CCSingleThreadProxy.h: (CCSingleThreadProxy): * platform/graphics/chromium/cc/CCThreadProxy.cpp: (WebCore::CCThreadProxy::forceNoOpCommand): (WebCore): (WebCore::CCThreadProxy::forceNoOpCommandOnImplThread): * platform/graphics/chromium/cc/CCThreadProxy.h: (CCThreadProxy): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kling@webkit.org authored
<http://webkit.org/b/84219> Reviewed by Antti Koivisto. Change the identifier CSSPrimitiveValue cache in CSSValuePool from a HashMap to a fixed-size array of RefPtr<CSSPrimitiveValue>s. We have ~700 values total, so this is quite space efficient now that the CSSValuePool is globally shared. More importantly it avoids a hash lookup every time we need an identifier value. * css/CSSValuePool.h: * css/CSSValuePool.cpp: (WebCore::CSSValuePool::createIdentifierValue): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
piman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=84122 Reviewed by James Robinson. Tested by CCLayerTreeHostImplTest.dontUseOldResourcesAfterLostContext. * platform/graphics/chromium/cc/CCTextureLayerImpl.cpp: (WebCore::CCTextureLayerImpl::didLoseContext): * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp: (WebCore::CCTiledLayerImpl::didLoseContext): (WebCore): * platform/graphics/chromium/cc/CCTiledLayerImpl.h: (CCTiledLayerImpl): * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp: (WebCore::CCVideoLayerImpl::didLoseContext): (WebCore): * platform/graphics/chromium/cc/CCVideoLayerImpl.h: (CCVideoLayerImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eae@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=84175 Reviewed by Eric Seidel. No new tests, no change in functionality. Change RenderThemeChromiumSkia to use subpixel types and pixel snap values just before painting. * rendering/RenderThemeChromiumSkia.cpp: (WebCore::RenderThemeChromiumSkia::convertToPaintingRect): (WebCore::RenderThemeChromiumSkia::paintSearchFieldCancelButton): (WebCore::RenderThemeChromiumSkia::paintSearchFieldResultsDecoration): (WebCore::RenderThemeChromiumSkia::paintSearchFieldResultsButton): * rendering/RenderThemeChromiumSkia.h: 2012-04-17 Levi Weintraub <leviw@chromium.org> Clean up outstanding LayoutUnit misuse in WebCore https://bugs.webkit.org/show_bug.cgi?id=84209 Reviewed by Eric Seidel. Small changes to a handful of files to prepare trunk for FractionalLayoutUnits. For more details, see https://trac.webkit.org/wiki/LayoutUnit No new tests. No change in behavior. * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): minimumValueForLength preserves sub-pixel precision, so we should avoid unnecessarily using integers. * platform/graphics/FractionalLayoutPoint.h: (WebCore::FractionalLayoutPoint::FractionalLayoutPoint): Adding an explicit constructor from FractionalLayoutSizes. This mirrors a method in IntPoint. * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintBorder): The rects that change come from roundedRects, which are already pixel-snapped. * rendering/RenderBoxModelObject.h: Removing a comment that is no longer applicable. * rendering/RenderTable.cpp: (WebCore::RenderTable::computeLogicalWidth): Since we layout tables using integers, we need to explicitly calculate the width to be integral as well to avoid pushing the next element over by a pixel that we won't later paint with our own box decorations. * rendering/RenderText.h: (RenderText): Correcting an unfortunate mismatch between in the return value of linesBoundingBox between the header and implementation. * rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::getRoundedBorderFor): We were incorrectly not using the snapped border rect to pass to calcRadiiFor (which takes an IntRect). Correcting this. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
leviw@chromium.org authored
Clean up outstanding LayoutUnit misuse in WebCore https://bugs.webkit.org/show_bug.cgi?id=84209 Reviewed by Eric Seidel. Small changes to a handful of files to prepare trunk for FractionalLayoutUnits. For more details, see https://trac.webkit.org/wiki/LayoutUnit No new tests. No change in behavior. * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): minimumValueForLength preserves sub-pixel precision, so we should avoid unnecessarily using integers. * platform/graphics/FractionalLayoutPoint.h: (WebCore::FractionalLayoutPoint::FractionalLayoutPoint): Adding an explicit constructor from FractionalLayoutSizes. This mirrors a method in IntPoint. * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintBorder): The rects that change come from roundedRects, which are already pixel-snapped. * rendering/RenderBoxModelObject.h: Removing a comment that is no longer applicable. * rendering/RenderTable.cpp: (WebCore::RenderTable::computeLogicalWidth): Since we layout tables using integers, we need to explicitly calculate the width to be integral as well to avoid pushing the next element over by a pixel that we won't later paint with our own box decorations. * rendering/RenderText.h: (RenderText): Correcting an unfortunate mismatch between in the return value of linesBoundingBox between the header and implementation. * rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::getRoundedBorderFor): We were incorrectly not using the snapped border rect to pass to calcRadiiFor (which takes an IntRect). Correcting this. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dpranke@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=84213 Reviewed by Eric Seidel. Fix typos so that build-webkit will use ninja to build chromium if a build.ninja file exists and is up-to-date. * Scripts/webkitdirs.pm: (determineIsChromiumNinja): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
macpherson@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=84205 Reviewed by Andreas Kling. No new tests / code cleanup only. * css/CSSParser.cpp: (WebCore::CSSParser::CSSParser): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
achicu@adobe.com authored
https://bugs.webkit.org/show_bug.cgi?id=84000 Reviewed by Dean Jackson. The function returned early and the shaders didn't have a chance to be saved. Moving those two lines before the return false just to make sure that FilterEffectRenderer never adds itself as a client for a shader without keeping track of that. No new tests. The problem reproduces with existing tests. css3/filters/custom/custom-filter-property-computed-style.html css3/filters/custom/effect-custom-combined-missing.html * rendering/FilterEffectRenderer.cpp: (WebCore::FilterEffectRenderer::build): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=84164 They use the new expectations override from changeset 112937 and pass after http://crrev.com/132463. Unreviewed, layout test expectations update. Patch by David Dorwin <ddorwin@chromium.org> on 2012-04-17 * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=84206 Remove expected failing test results for fast/harness/use-page-cache.html. * platform/mac-wk2/fast/harness/use-page-cache-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=60746 Patch by Alec Flett <alecflett@chromium.org> on 2012-04-17 Reviewed by Ojan Vafai. Source/WebCore: When iterating backwards with PREV_NO_DUPLICATE, keep walking past the 'prev' key until it changes, then walk forward one time. This covers the object store and index cases. Test: storage/indexeddb/mozilla/index-prev-no-duplicate.html * Modules/indexeddb/IDBLevelDBBackingStore.cpp: (WebCore): LayoutTests: Test for PREV_NO_DUPLICATE. * storage/indexeddb/cursor-prev-no-duplicate.html: Added. * storage/indexeddb/cursor-prev-no-duplicate.txt: Added. * storage/indexeddb/mozilla/index-prev-no-duplicate-expected.txt: Added. * storage/indexeddb/mozilla/index-prev-no-duplicate.html: Added. * storage/indexeddb/resources/cursor-prev-no-duplicate.js: Added. (prepareDatabase.openreq.onsuccess.verreq.onsuccess): (prepareDatabase.openreq.onsuccess): (prepareDatabase): (populateStore): (runAllTests): (waitFor): (complete.fireCallback): (complete): (testFarRangeCursor): (makeOpenKeyCursor): (runTest.trans.oncomplete): (runTest.testFunction): (runTest): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yutak@chromium.org authored
* platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
reed@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=84184 Unreviewed. expectations change only. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yi.4.shen@nokia.com authored
https://bugs.webkit.org/show_bug.cgi?id=82688 Reviewed by Ryosuke Niwa. For an empty input element, there is no RenderText. Instead, RenderBlock::localCaretRect provides the caret position for rendering the caret in the empty input element. To get correct caret rect, textIndentOffset() should be used to adjust the caret's position. Source/WebCore: Test: editing/style/text-indent.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::localCaretRect): LayoutTests: * editing/style/text-indent-expected.txt: Added. * editing/style/text-indent.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ojan@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=84198 Reviewed by Dirk Pranke. * TestResultServer/handlers/testfilehandler.py: (GetFile._get_file_list): (GetFile._get_file_content): (GetFile._get_file_content_from_key): (GetFile._get_test_list_json): (GetFile._serve_json): Add a Last-Modified header and handle If-Modified-Since headers. (GetFile.get): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rafaelw@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=84094 Reviewed by Ojan Vafai. This patch enables the ASSERT() which enforces usage of V8RecursionScope. * src/WebKit.cpp: (WebKit::assertV8RecursionScope): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=84200 <rdar://problem/11251082> Reviewed by Oliver Hunt. Source/JavaScriptCore: * runtime/JSGlobalThis.cpp: (JSC::JSGlobalThis::setUnwrappedObject): * runtime/JSGlobalThis.h: (JSC::JSGlobalThis::unwrappedObject): (JSGlobalThis): * runtime/JSObject.cpp: (JSC::JSObject::createInheritorID): * runtime/JSObject.h: (JSObject): (JSC::JSObject::resetInheritorID): Source/WebCore: No new tests, because the circumstances necessary to make this happen are rather hairy. * bindings/js/JSDOMWindowShell.h: (WebCore::JSDOMWindowShell::window): (WebCore::JSDOMWindowShell::setWindow): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
macpherson@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=83544 Reviewed by Kentaro Hara. No new tests / code cleanup only. The code as it stands appears to be correct, but static analysis was concerned that value could become null. This patch adds a null check and ASSERT_NOT_REACHED() to make the code more obviously correct. * css/CSSParser.cpp: (WebCore::CSSParser::parseValue): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
danakj@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=84182 Reviewed by James Robinson. Source/Platform: * Platform.gypi: Source/WebKit/chromium: * WebKit.gyp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Source/WebKit2: Need a client callback for when the user tires to interact with an already unresponsive page https://bugs.webkit.org/show_bug.cgi?id=84201 <rdar://problem/11140862> Reviewed by Andreas Kling. Add a interactionOccurredWhileProcessUnresponsive callback that's called when the unresponsiveness timer fires while it's already unresponsive. * UIProcess/API/C/WKPage.h: * UIProcess/ResponsivenessTimer.cpp: (WebKit): (WebKit::ResponsivenessTimer::timerFired): (WebKit::ResponsivenessTimer::start): * UIProcess/ResponsivenessTimer.h: (Client): * UIProcess/WebLoaderClient.cpp: (WebKit::WebLoaderClient::processDidBecomeUnresponsive): (WebKit): (WebKit::WebLoaderClient::interactionOccurredWhileProcessUnresponsive): * UIProcess/WebLoaderClient.h: (WebLoaderClient): * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::interactionOccurredWhileProcessUnresponsive): (WebKit): * UIProcess/WebPageProxy.h: (WebPageProxy): * UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::interactionOccurredWhileUnresponsive): (WebKit): * UIProcess/WebProcessProxy.h: (WebProcessProxy): Tools: Need a client callback for when the user tries to interact with an already unresponsive page https://bugs.webkit.org/show_bug.cgi?id=84201 <rdar://problem/11140862> Reviewed by Andreas Kling. Add new client functions. * MiniBrowser/mac/BrowserWindowController.m: (-[BrowserWindowController awakeFromNib]): * WebKitTestRunner/TestController.cpp: (WTR::TestController::initialize): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=83972 Patch by David Reveman <reveman@chromium.org> on 2012-04-17 Reviewed by James Robinson. Source/WebCore: Add TextureUploader class that allows us to add persistent GC3D state to the upload machinery. * WebCore.gypi: * platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::initializeSharedObjects): (WebCore::LayerRendererChromium::cleanupSharedObjects): * platform/graphics/chromium/LayerRendererChromium.h: (WebCore::LayerRendererChromium::textureUploader): (LayerRendererChromium): * platform/graphics/chromium/TextureUploader.cpp: Added. (WebCore): (WebCore::AcceleratedTextureUploader::AcceleratedTextureUploader): (WebCore::AcceleratedTextureUploader::~AcceleratedTextureUploader): (WebCore::AcceleratedTextureUploader::uploadTexture): * platform/graphics/chromium/TextureUploader.h: Added. (WebCore): (TextureUploader): (WebCore::TextureUploader::~TextureUploader): (AcceleratedTextureUploader): (WebCore::AcceleratedTextureUploader::create): * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp: (WebCore::CCSingleThreadProxy::doCommit): * platform/graphics/chromium/cc/CCTextureUpdater.cpp: (WebCore::CCTextureUpdater::update): * platform/graphics/chromium/cc/CCTextureUpdater.h: (WebCore): (CCTextureUpdater): * platform/graphics/chromium/cc/CCThreadProxy.cpp: (WebCore::CCThreadProxy::scheduledActionUpdateMoreResources): Source/WebKit/chromium: * tests/CCTiledLayerTestCommon.h: (FakeTextureUploader): (WebKitTests::FakeTextureUploader::uploadTexture): (WebKitTests): * tests/Canvas2DLayerChromiumTest.cpp: * tests/TiledLayerChromiumTest.cpp: (WTF::TEST): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
scheib@chromium.org authored
Unreviewed. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-