- 28 Mar, 2011 40 commits
-
-
adele@apple.com authored
* DumpRenderTree/qt/LayoutTestControllerQt.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://bugs.webkit.org/show_bug.cgi?id=57124bdakin@apple.com authored
changed via delegate method, the page needs a full relayout and repaint -and corresponding- <rdar://problem/9059129> Reviewed by Darin Adler. Call into WebKitSystemInterface to associate the new painter with the existing painter controller. Reset the scrollbar frame rects to the new thickness -- normally this only happens when a scrollbar is created, so we have to reset the thickness here to pick up the new theme thickness. Finally, force a full relayout and style recall with setNeedsRecalcStyleInAllFrames() * platform/mac/ScrollAnimatorMac.mm: (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]): setNeedsRecalcStyleInAllFrames() used to be a static method in Settings.cpp. This patch moves it to be a member function on Page so that it can be called from FrameView when the scrollbar style changes. * page/FrameView.cpp: (WebCore::FrameView::setNeedsRecalcStyleInAllFrames): * page/FrameView.h: * page/Page.cpp: (WebCore::Page::setNeedsRecalcStyleInAllFrames): * page/Page.h: * page/Settings.cpp: (WebCore::Settings::setStandardFontFamily): (WebCore::Settings::setFixedFontFamily): (WebCore::Settings::setSerifFontFamily): (WebCore::Settings::setSansSerifFontFamily): (WebCore::Settings::setCursiveFontFamily): (WebCore::Settings::setFantasyFontFamily): (WebCore::Settings::setMinimumFontSize): (WebCore::Settings::setMinimumLogicalFontSize): (WebCore::Settings::setDefaultFontSize): (WebCore::Settings::setDefaultFixedFontSize): (WebCore::Settings::setTextAreasAreResizable): (WebCore::Settings::setAuthorAndUserStylesEnabled): (WebCore::Settings::setFontRenderingMode): (WebCore::Settings::setAcceleratedCompositingEnabled): (WebCore::Settings::setShowDebugBorders): (WebCore::Settings::setShowRepaintCounter): * platform/ScrollableArea.h: (WebCore::ScrollableArea::setNeedsRecalcStyleInAllFrames): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82171 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dpranke@chromium.org authored
RS=Tony Chang. r81977 moved FontPlatformData.h from WebCore/platform/graphics/cocoa to platform/graphics. This change updates the chromium build accordingly. https://bugs.webkit.org/show_bug.cgi?id=57281 * platform/graphics/chromium/CrossProcessFontLoading.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
scheib@chromium.org authored
Chromium rebaseline for r82144. * platform/chromium-linux/fast/block/positioning/058-expected.checksum: * platform/chromium-linux/fast/block/positioning/058-expected.png: * platform/chromium-win/fast/block/positioning/052-expected.txt: * platform/chromium-win/fast/block/positioning/058-expected.checksum: * platform/chromium-win/fast/block/positioning/058-expected.png: * platform/chromium-win/fast/block/positioning/058-expected.txt: * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele@apple.com authored
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::hasGrammarMarker): * DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::hasGrammarMarker): * DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::hasGrammarMarker): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=57249 Reviewed by Darin Adler. Source/WebCore: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::supportsFullscreen): * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: LayoutTests: * platform/mac/media/controls-strict-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-zoom-controls-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele@apple.com authored
Source/WebKit/gtk: * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::webkitWebFrameSelectionHasSpellingMarker): Tools: * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::hasGrammarMarker): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric.carlson@apple.com authored
Reviewed by Darin Adler. http streams don't always display video with AVFoundation backend https://bugs.webkit.org/show_bug.cgi?id=57203 No new tests, we don't currently have tests for http live streams. Changes verified manually. * platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::MediaPlayer): Initialize m_shouldPrepareToRender. (WebCore::MediaPlayer::loadWithNextMediaEngine): Call prepareForRendering on new engine if m_shouldPrepareToRender is set. (WebCore::MediaPlayer::prepareForRendering): Set m_shouldPrepareToRender. * platform/graphics/MediaPlayer.h: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::isReadyForVideoSetup): Don't return true until m_isAllowedToRender has been set. (WebCore::MediaPlayerPrivateAVFoundation::prepareForRendering): Always call setUpVideoRendering, it has logic to figure out when setup is required. (WebCore::MediaPlayerPrivateAVFoundation::updateStates): Call setUpVideoRendering when we aren't using the preferred rendering mode because if we get a file's metadata between the time supportsAcceleratedRendering() and paint() are called, we will allocate a software renderer even when we prefer a layer backed renderer. (WebCore::MediaPlayerPrivateAVFoundation::movieLoadType): Return "unknown" until we have metadata. * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::cancelLoad): Use itemKVOProperties() instead of an explicit list of key path names. (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerForURL): Ditto. (WebCore::MediaPlayerPrivateAVFoundationObjC::beginLoadingMetadata): metadataKeyNames renamed to assetMetadataKeyNames, return an NSArray instead of a CFArrayRef since that is what the callers need. (WebCore::MediaPlayerPrivateAVFoundationObjC::platformDuration): Return the duration of the player item, not the asset, because AVAsset.duration always returns an indefinite time for all streaming files. (WebCore::MediaPlayerPrivateAVFoundationObjC::assetStatus): metadataKeyNames renamed to assetMetadataKeyNames. (WebCore::MediaPlayerPrivateAVFoundationObjC::paintCurrentFrameInContext): Do nothing until metadata is available. (WebCore::MediaPlayerPrivateAVFoundationObjC::paint): Ditto. (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged): Split size calculation logic off into sizeChanged(). (WebCore::MediaPlayerPrivateAVFoundationObjC::sizeChanged): New. Use AVPlayerItem.presentationSize until tracks is non-NULL so we have a size as early as possible. (WebCore::MediaPlayerPrivateAVFoundationObjC::assetMetadataKeyNames): Renamed from metadataKeyNames. (WebCore::MediaPlayerPrivateAVFoundationObjC::itemKVOProperties): New, return an array of KVO observable properties. (-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]): Respond to presentationSize change. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele@apple.com authored
* src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor): Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor. ../WebKit/win: Build fix. * WebFrame.cpp: (WebFrame::hasSpellingMarker): Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Sam Weinig. Search field focus ring is missing https://bugs.webkit.org/show_bug.cgi?id=57270 <rdar://problem/8765555> Add an _automaticFocusRingDisabled method which returns YES. * platform/mac/ThemeMac.mm: (-[WebCoreFlippedView _automaticFocusRingDisabled]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ggaren@apple.com authored
Reviewed by Oliver Hunt. REGRESSION [r78794-r79249] Allocation of memory is slow when number of active objects is large https://bugs.webkit.org/show_bug.cgi?id=56823 Partial fix for most of the problem. (TOT still shows a regression, though.) * runtime/Heap.cpp: (JSC::Heap::reportExtraMemoryCostSlowCase): Use highWaterMark(), instead of capacity(), since capacity() is O(n) relative to the size of the heap. In limited circumstances, capacity() is also worse than highWaterMark() for measuring extra cost relative to heap size, since capacity() only measures the *current* capacity of the heap, but the heap will grow if necessary to attain highWaterMark(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aestes@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=57137 * platform/mac-leopard/plugins/embed-prefers-plugins-for-images-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Darin Adler. Move more events to EventDispatcher. https://bugs.webkit.org/show_bug.cgi?id=57247 No functional changes, covered by existing tests. * dom/EventDispatcher.cpp: (WebCore::eventTargetRespectingSVGTargetRules): Made a static function, since it's not used anywhere outside of the EventDispatcher. (WebCore::EventDispatcher::dispatchScopedEvent): Moved from Node.cpp. (WebCore::EventDispatcher::dispatchKeyEvent): Ditto. (WebCore::EventDispatcher::dispatchWheelEvent): Ditto. (WebCore::EventDispatcher::dispatchEvent): Changed to use eventTargetRespectingSVGTargetRules as a static function. * dom/EventDispatcher.h: Updated decls. * dom/Node.cpp: (WebCore::Node::dispatchScopedEvent): Replaced with calling EventDispatcher. (WebCore::Node::dispatchKeyEvent): Ditto. (WebCore::Node::dispatchWheelEvent): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/9112694adele@apple.com authored
Source/WebCore: Fix for <rdar://problem/9112694> REGRESSION (r79411): "Check grammar with spelling" context menu doesn't check as you type https://bugs.webkit.org/show_bug.cgi?id=57173 Reviewed by Eric Seidel. Test: editing/spelling/grammar.html * WebCore.exp.in: Add symbol for new selectionStartHasMarkerFor method. * editing/Editor.cpp: (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Every use of paragraph is specific to spelling or grammar, so to avoid confusion, we should explicitly use spellingParagraph or grammarParagraph. In the case of this bug, when we're consider ambiguous boundary characters (characters that could indicate word boundaries, but are used in the middle of words too, like apostrophes), we should use the use the spellingParagraph since the spellingParagraph is the only one operated on when this information is used. (WebCore::Editor::selectionStartHasMarkerFor): Changed from selectionStartHasSpellingMarkerFor so it can check for grammar as well as spelling. * editing/Editor.h: Source/WebKit/mac: Fix for <rdar://problem/9112694> REGRESSION (r79411): "Check grammar with spelling" context menu doesn't check as you type https://bugs.webkit.org/show_bug.cgi?id=57173 Reviewed by Eric Seidel. * WebView/WebFrame.mm: (-[WebFrame hasSpellingMarker:length:]): Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor. (-[WebFrame hasGrammarMarker:length:]): Call new selectionStartHasMarkerFor method. * WebView/WebFramePrivate.h: Add hasGrammarMarker so grammar marking can be tested. Tools: Testing support for <rdar://problem/9112694> REGRESSION (r79411): "Check grammar with spelling" context menu doesn't check as you type https://bugs.webkit.org/show_bug.cgi?id=57173 Reviewed by Eric Seidel. * DumpRenderTree/LayoutTestController.cpp: (hasGrammarMarkerCallback): Added. (LayoutTestController::staticFunctions): Added case for hasGrammarMarker. * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/mac/DumpRenderTree.mm: (createWebViewAndOffscreenWindow): Call setGrammarCheckingEnabled. * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::hasGrammarMarker): Added. Call new hasGrammarMarker method. LayoutTests: Test for <rdar://problem/9112694> REGRESSION (r79411): "Check grammar with spelling" context menu doesn't check as you type https://bugs.webkit.org/show_bug.cgi?id=57173 Reviewed by Eric Seidel. * editing/spelling/grammar-expected.txt: Added. * editing/spelling/grammar.html: Added. * platform/gtk/Skipped: * platform/mac-wk2/Skipped: * platform/qt/Skipped: * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/8895977mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=48983 Reviewed by Darin Adler. Source/WebCore: Test: fast/multicol/paginated-layer-crash.html * rendering/RenderLayer.cpp: (WebCore::RenderLayer::paintPaginatedChildLayer): Bring the logic for finding pagintating layers into sync with updatePagination() after r68069. (WebCore::RenderLayer::hitTestPaginatedChildLayer): Ditto. LayoutTests: * fast/multicol/paginated-layer-crash-expected.txt: Added. * fast/multicol/paginated-layer-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=57268 Reviewed by Jon Honeycutt. * WebProcess/Downloads/cfnet/DownloadCFNet.cpp: (WebKit::Download::start): Call CFURLDownloadStart on the download we create. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
scheib@chromium.org authored
Chromium rebaseline for r82123. * platform/chromium-mac/fast/repaint/overflow-flipped-writing-mode-block-expected.checksum: Added. * platform/chromium-mac/fast/repaint/overflow-flipped-writing-mode-block-expected.png: Added. * platform/chromium-mac/fast/repaint/overflow-flipped-writing-mode-table-expected.checksum: Added. * platform/chromium-mac/fast/repaint/overflow-flipped-writing-mode-table-expected.png: Added. * platform/chromium-win/fast/repaint/overflow-flipped-writing-mode-block-expected.checksum: Added. * platform/chromium-win/fast/repaint/overflow-flipped-writing-mode-block-expected.png: Added. * platform/chromium-win/fast/repaint/overflow-flipped-writing-mode-table-expected.checksum: Added. * platform/chromium-win/fast/repaint/overflow-flipped-writing-mode-table-expected.png: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=57087 Reviewed by Benjamin Poulain. Trivial typo fix after r82082. * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp: (WTR::activateFonts): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
* Shared/ShareableBitmap.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Sam Weinig. Beep when pressing a menu key equivalent when a plug-in has focus https://bugs.webkit.org/show_bug.cgi?id=57264 <rdar://problem/8935597> We don't want the WKTextInputWindowController inputContext to be involved in interpretKeyEvents. * UIProcess/API/mac/WKView.mm: (-[WKView inputContext]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs@apple.com authored
Reviewed by Darin Adler' . URLSs with non-empty username but empty hostname treat first path segment as hostname, potentially enabling XSS https://bugs.webkit.org/show_bug.cgi?id=57220 Test: http/tests/uri/username-with-no-hostname.html * platform/KURL.cpp: (WebCore::hostPortIsEmptyButUserPassIsNot): (WebCore::KURL::parse): 2011-03-28 Maciej Stachowiak <mjs@apple.com> Reviewed by Darin Adler' . URLSs with non-empty username but empty hostname are allowed to load https://bugs.webkit.org/show_bug.cgi?id=57220 * http/tests/uri/username-with-no-hostname-expected.txt: Added. * http/tests/uri/username-with-no-hostname.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Sam Weinig. CGImageRefs must hold a strong reference to underlying data https://bugs.webkit.org/show_bug.cgi?id=57263 <rdar://problem/9146179> Make paintBitmapContext use CGBitmapContextCreateImage, which creates a copy-on-write copy of the bitmap data. Also, add ShareableBitmap::makeCGImageCopy which does the same thing, and ShareableBitmap::makeCGImage in the cases where we know that the ShareableBitmap data will never change. * Platform/cg/CGUtilities.cpp: (WebKit::paintImage): Factor image painting code out into a separate function. (WebKit::paintBitmapContext): Call paintImage. * Shared/API/c/cg/WKImageCG.cpp: (WKImagemakeCGImage): Use ShareableBitmap::makeCGImageCopy. * Shared/ShareableBitmap.h: * Shared/cg/ShareableBitmapCG.cpp: (WebKit::ShareableBitmap::createGraphicsContext): (WebKit::ShareableBitmap::paint): (WebKit::ShareableBitmap::makeCGImageCopy): (WebKit::ShareableBitmap::makeCGImage): (WebKit::ShareableBitmap::releaseBitmapContextData): (WebKit::ShareableBitmap::releaseDataProviderData): Add makeCGImage and makeCGImageCopy. * Shared/cg/WebCoreArgumentCodersCG.cpp: (CoreIPC::createImage): Use ShareableBitmap::makeCGImage. * UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::setDragImage): Use ShareableBitmap::makeCGImage and plug a CGImageRef leak. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
* UIProcess/API/mac/WKView.mm: (-[WKView keyDown:]): It's not "event" in this function, it's "theEvent". git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=57260 Clean up text input code a little WebKit/mac: * WebCoreSupport/WebEditorClient.mm: (WebEditorClient::handleKeyboardEvent): (WebEditorClient::handleInputMethodKeydown): * WebView/WebHTMLViewInternal.h: Renamed _interceptEditingKeyEvent:shouldSaveCommand:, becasue it doesn't really intercept anything. It's just a version it interpretKeyEvents: that tells us whether it was handled, and also possibly saves resulting commands for later execution. * WebView/WebHTMLView.mm: (-[WebHTMLView _interpretKeyEvent:savingCommands:]): Changed to use early return. Changed return value in case platformEvent is null to be less mysterious. Moved receivedNOOP from WebHTMLViewPrivate to WebHTMLViewInterpretKeyEventsParameters, as this is just part of event handling state, like the other booleans there. Don't call interpretKeyEvents: again simply because the first call resulted in no saved commands, becasue it's confusing and apparently useless (I couldn't find any broken behavior). (-[WebHTMLView unmarkText]): Cleaned upo BOOL vs. bool constants. (-[WebHTMLView setMarkedText:selectedRange:]): Ditto. (-[WebHTMLView doCommandBySelector:]): Ditto. (-[WebHTMLView insertText:]): Ditto. * WebView/WebViewInternal.h: There was no _interceptEditingKeyEvent:shouldSaveCommand: method on WebView. WebKit2: * UIProcess/API/mac/WKView.mm: (-[WKView doCommandBySelector:]): This NSTextInput protocol method lacked a LOG() call. (-[WKView keyDown:]): Added (possibly useless) event protection to match performKeyEquivalent: and also WebKit1. * WebProcess/WebPage/mac/WebPageMac.mm: Removed an obsolete comment. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Reviewed by Eric Seidel. script-src should block inline event handlers https://bugs.webkit.org/show_bug.cgi?id=57212 I considered wrapping this into the canExecute check, but that approach would require passing that function a bunch of context information to behave correctly once we add support for the "options" directive that re-enables these features. Test: http/tests/security/contentSecurityPolicy/script-src-none-inline-event.html * bindings/js/JSLazyEventListener.cpp: (WebCore::JSLazyEventListener::initializeJSFunction): - This function was a mess. I couldn't resist cleaning it up a bunch. Notice that we ASSERT at the beginning of the function that scriptExecutionContext is a document and that both ways of getting the global object are the same when document->frame() is non-zero because the document must be active and there is a one-to-one relation between Frames and active Documents. * bindings/v8/V8LazyEventListener.cpp: (WebCore::V8LazyEventListener::prepareListenerObject): * page/ContentSecurityPolicy.cpp: (WebCore::ContentSecurityPolicy::allowInlineEventHandlers): * page/ContentSecurityPolicy.h: 2011-03-28 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. script-src should block inline event handlers https://bugs.webkit.org/show_bug.cgi?id=57212 * http/tests/security/contentSecurityPolicy/resources/event-handler.pl: Added. * http/tests/security/contentSecurityPolicy/script-src-none-inline-event-expected.txt: Added. * http/tests/security/contentSecurityPolicy/script-src-none-inline-event.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jeffm@apple.com authored
Reviewed by Adam Roben. ResourceError::certificate() should return a PCCERT_CONTEXT https://bugs.webkit.org/show_bug.cgi?id=57262 * platform/network/cf/ResourceError.h: certificate() now returns a PCCERT_CONTEXT. * platform/network/cf/ResourceErrorCF.cpp: (WebCore::ResourceError::certificate): Added. 2011-03-28 Jeff Miller <jeffm@apple.com> Reviewed by Adam Roben. ResourceError::certificate() should return a PCCERT_CONTEXT https://bugs.webkit.org/show_bug.cgi?id=57262 * Shared/win/PlatformCertificateInfo.cpp: (WebKit::PlatformCertificateInfo::PlatformCertificateInfo): Don't assert if no PCCERT_CONTEXT is specified. * Shared/win/WebCoreArgumentCodersWin.cpp: (CoreIPC::encodeResourceError): Removed unneeded code now that ResourceError::certificate() returns a PCCERT_CONTEXT. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alexis.menard@openbossa.org authored
Reviewed by Andreas Kling. Add myself to the committers list. * Scripts/webkitpy/common/config/committers.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://bugs.webkit.org/show_bug.cgi?id=57221hyatt@apple.com authored
occur at the end of a line. Reviewed by Simon Fraser and Darin Adler. The old code and new code for dealing with a trailing space object midpoint manipulated a raw array instead of the Vector. Otherwise this corruption would have been caught prior to check-in. I have patched the code to only go through the Vector and to make it handle the case that led to the corruption. Trailing positioned objects can occur both prior to and following the trailing space object's midpoint, so we have to be prepared to deal with both cases. This is already tested by fast/block/positioning/052.html, and that test now properly progresses like the other positioning tests did. Source/WebCore: * rendering/RenderBlockLineLayout.cpp: (WebCore::RenderBlock::findNextLineBreak): LayoutTests: * platform/mac/fast/block/positioning/052-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andreas.kling@nokia.com authored
Reviewed by Benjamin Poulain. [Qt] Pass QString() instead of String() when emitting titleChanged() for new loads. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andreas.kling@nokia.com authored
Reviewed by Benjamin Poulain. [Qt] Crash when calling QWebFrame::render() in response to QWebPage::repaintRequested() https://bugs.webkit.org/show_bug.cgi?id=52629 * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::invalidateContentsAndWindow): Make the emission of QWebPage::repaintRequested() use a Qt::QueuedConnection. * tests/qwebpage/tst_qwebpage.cpp: (RepaintRequestedRenderer::RepaintRequestedRenderer): (RepaintRequestedRenderer::onRepaintRequested): (tst_QWebPage::renderOnRepaintRequestedShouldNotRecurse): Test that calling QWebFrame::render() in a slot connected to to QWebPage::repaintRequested() doesn't cause recursive signal emissions. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Sam Weinig. WebKit2 unfortunately uses code from WebKit, so MiniBrowser needs to link against WebKit.framework for now. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jeffm@apple.com authored
Rubber-stamped by Adam Roben. * Shared/win/WebCoreArgumentCodersWin.cpp: (CoreIPC::encodeResourceError): Remove unused CFErrorRef. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=57251 Build fix, had remnant of another patch in r82130 * jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompileGetByIdChainList): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andreip@google.com authored
Reviewed by Steve Block. V8IDBKeyCustom.cpp does not compile with INDEXED_DATABASE disabled https://bugs.webkit.org/show_bug.cgi?id=57100 Close the ENABLE guard and the namespace in the right order. No new tests, just cleanup. * bindings/v8/custom/V8IDBAnyCustom.cpp: * bindings/v8/custom/V8IDBKeyCustom.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jeffm@apple.com authored
Reviewed by Adam Roben. Include certificate when sending a WebCore::ResourceError to UI process on Windows https://bugs.webkit.org/show_bug.cgi?id=57195 Rename wkGetSSLPeerCertificateData() to wkGetSSLPeerCertificateDataBytePtr(), since it returns a void*, and implement wkGetSSLPeerCertificateData() to return a CFDataRef. Add wkSetSSLPeerCertificateData() so WebCore::ResourceError can set the certificate in the user info dictionary. * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: 2011-03-28 Jeff Miller <jeffm@apple.com> Reviewed by Adam Roben. Include certificate when sending a WebCore::ResourceError to UI process on Windows https://bugs.webkit.org/show_bug.cgi?id=57195 Rename callers of wkGetSSLPeerCertificateData() to use wkGetSSLPeerCertificateDataBytePtr(), since it returns a void*. * WebError.cpp: (WebError::sslPeerCertificate): * WebURLResponse.cpp: (WebURLResponse::sslPeerCertificate): 2011-03-28 Jeff Miller <jeffm@apple.com> Reviewed by Adam Roben. Include certificate when sending a WebCore::ResourceError to UI process on Windows https://bugs.webkit.org/show_bug.cgi?id=57195 Add support for tracking the certificate in WebCore::ResourceError. * platform/network/ResourceErrorBase.cpp: (WebCore::ResourceErrorBase::copy): Call platformCopy() to copy platform-specific fields. * platform/network/ResourceErrorBase.h: (WebCore::ResourceErrorBase::platformCopy): Added. * platform/network/cf/ResourceError.h: Added constructor that takes certificate data, shadowed platformCopy, added m_certificate. (WebCore::ResourceError::certificate): Added. * platform/network/cf/ResourceErrorCF.cpp: (WebCore::ResourceError::ResourceError): Added constructor that takes certificate data. (WebCore::ResourceError::platformLazyInit): Read any certificate from the userInfo dictionary. (WebCore::ResourceError::platformCopy): Copy m_certificate. (WebCore::ResourceError::cfError): Add any certificate data to the userInfo dictionary in the CFErrorRef. 2011-03-28 Jeff Miller <jeffm@apple.com> Reviewed by Adam Roben. Include certificate when sending a WebCore::ResourceError to UI process on Windows https://bugs.webkit.org/show_bug.cgi?id=57195 Add support for sending the certificate with the WebCore::ResourceError. * Shared/win/WebCoreArgumentCodersWin.cpp: (CoreIPC::encodeResourceError): Encode certificate data. (CoreIPC::deallocCertContext): Added. (CoreIPC::createCertContextDeallocator): Added. (CoreIPC::copyCert): Added. (CoreIPC::decodeResourceError): Decode certificate data. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jberlin@webkit.org authored
trigger the Windows "no newline at at end of file" warning. Rubber-stamped by Adam Roben. * inspector/generate-inspector-idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sergio@webkit.org authored
Unreviewed, added new GTK+ test expectations. * platform/gtk/fast/block/positioning/static-inline-position-dynamic-expected.checksum: Added. * platform/gtk/fast/block/positioning/static-inline-position-dynamic-expected.png: Added. * platform/gtk/fast/block/positioning/static-inline-position-dynamic-expected.txt: Added. * platform/gtk/fast/block/positioning/trailing-space-test-expected.checksum: Added. * platform/gtk/fast/block/positioning/trailing-space-test-expected.png: Added. * platform/gtk/fast/block/positioning/trailing-space-test-expected.txt: Added. * platform/gtk/fast/blockflow/fallback-orientation-expected.checksum: Added. * platform/gtk/fast/blockflow/fallback-orientation-expected.png: Added. * platform/gtk/fast/blockflow/fallback-orientation-expected.txt: Added. * platform/gtk/fast/text/justify-ideograph-leading-expansion-expected.checksum: Added. * platform/gtk/fast/text/justify-ideograph-leading-expansion-expected.png: Added. * platform/gtk/fast/text/justify-ideograph-leading-expansion-expected.txt: Added. * platform/gtk/svg/text/text-path-middle-align-expected.checksum: Added. * platform/gtk/svg/text/text-path-middle-align-expected.png: Added. * platform/gtk/svg/text/text-path-middle-align-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
[Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled https://bugs.webkit.org/show_bug.cgi?id=57087 * platform/graphics/qt/MediaPlayerPrivateQt.cpp: Convert all char* to QString explicitly. (WebCore::MediaPlayerPrivateQt::getSupportedTypes): (WebCore::MediaPlayerPrivateQt::commitLoad): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Not reviewed: fixed chromium build. * src/WebDevToolsAgentImpl.cpp: (WebKit::WebDevToolsAgent::shouldInterruptForMessage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-