- 28 Mar, 2011 28 commits
-
-
ossy@webkit.org authored
* platform/qt/fast/css/text-align-expected.checksum: * platform/qt/fast/css/text-align-expected.png: * platform/qt/fast/css/text-align-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82110 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andreas.kling@nokia.com authored
Reviewed by Kenneth Rohde Christiansen. [Qt] QtTestBrowser doesn't reset its window title when opening about:blank https://bugs.webkit.org/show_bug.cgi?id=57224 * QtTestBrowser/mainwindow.cpp: (MainWindow::buildUI): (MainWindow::onTitleChanged): * QtTestBrowser/mainwindow.h: git-svn-id: svn://svn.chromium.org/blink/trunk@82109 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mnaganov@chromium.org authored
Reviewed by Pavel Feldman. WebInspector: [Chromium] Delete native CPU profiles and heap snapshots on binding disposal. https://bugs.webkit.org/show_bug.cgi?id=57099 * bindings/v8/ScriptHeapSnapshot.cpp: (WebCore::ScriptHeapSnapshot::~ScriptHeapSnapshot): * bindings/v8/ScriptHeapSnapshot.h: * bindings/v8/ScriptProfile.cpp: (WebCore::ScriptProfile::~ScriptProfile): * bindings/v8/ScriptProfile.h: * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::resetState): git-svn-id: svn://svn.chromium.org/blink/trunk@82108 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Reviewed by Yury Semikhatsky. Web Inspector: fix console messages positions in formatted scripts. https://bugs.webkit.org/show_bug.cgi?id=57010 * inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel): (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles): (WebInspector.DebuggerPresentationModel.prototype.addConsoleMessage.didRequestMapping): (WebInspector.DebuggerPresentationModel.prototype.addConsoleMessage): (WebInspector.DebuggerPresentationModel.prototype.clearConsoleMessages): (WebInspector.DebuggerPresentationModel.prototype._reset): * inspector/front-end/ResourceTreeModel.js: (WebInspector.ResourceTreeModel.prototype.addConsoleMessage): * inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype.addConsoleMessage): (WebInspector.ScriptsPanel.prototype.clearConsoleMessages): (WebInspector.ScriptsPanel.prototype._consoleMessageAdded): (WebInspector.ScriptsPanel.prototype.reset): (WebInspector.ScriptsPanel.prototype._sourceFrameLoaded): * inspector/front-end/SourceFile.js: (WebInspector.SourceFile): * inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype.addMessage): (WebInspector.SourceFrame.prototype._addExistingMessagesToSource): (WebInspector.SourceFrame.prototype.addMessageToSource): git-svn-id: svn://svn.chromium.org/blink/trunk@82107 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Reviewed by Yury Semikhatsky. Web Inspector: refactor ResourceTreeModel to remove poor dependencies. https://bugs.webkit.org/show_bug.cgi?id=57186 * http/tests/inspector/console-resource-errors-expected.txt: * http/tests/inspector/console-resource-errors.html: * http/tests/inspector/resources/console-resource-errors-iframe.html: Added. * inspector/report-protocol-errors.html: * inspector/storage-panel-dom-storage.html: 2011-03-27 Pavel Feldman <pfeldman@chromium.org> Reviewed by Yury Semikhatsky. Web Inspector: refactor ResourceTreeModel to remove poor dependencies. https://bugs.webkit.org/show_bug.cgi?id=57186 - ResourceTreeModel is now event target (Object) - There is no ResourceTreeModel -> UI dependencies - NetworkManager -> ResourceTreeModel dependencies has been removed - NetworkManager is no longer dealing with the resources tree, it is only responsible for network events - ResourceTreeModel requests tree structure from the backend separately - Cached resources tree payload is now limited to url and type (no headers involved) - Resources tree is being rendered lazily upon request from the panel. * inspector/Inspector.json: * inspector/InspectorResourceAgent.cpp: (WebCore::InspectorResourceAgent::resourceContent): (WebCore::InspectorResourceAgent::resourceContentBase64): (WebCore::buildObjectForFrameTree): (WebCore::InspectorResourceAgent::enable): (WebCore::InspectorResourceAgent::getCachedResources): (WebCore::InspectorResourceAgent::getResourceContent): * inspector/InspectorResourceAgent.h: * inspector/InspectorStyleSheet.cpp: (WebCore::InspectorStyleSheet::resourceStyleSheetText): * inspector/front-end/InspectorFrontendHostStub.js: (.WebInspector.InspectorFrontendHostStub.prototype.sendMessageToBackend): (.WebInspector.InspectorFrontendHostStub.prototype.loadSessionSetting): * inspector/front-end/NetworkManager.js: (WebInspector.NetworkManager): (WebInspector.NetworkManager.prototype.frontendReused): (WebInspector.NetworkManager.prototype.requestContent): (WebInspector.NetworkDispatcher): (WebInspector.NetworkDispatcher.prototype.didReceiveResponse): (WebInspector.NetworkDispatcher.prototype.didLoadResourceFromMemoryCache): (WebInspector.NetworkDispatcher.prototype.frameDetachedFromParent): (WebInspector.NetworkDispatcher.prototype.didCommitLoadForFrame): * inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel): (WebInspector.NetworkPanel.prototype._updateSummaryBar): (WebInspector.NetworkPanel.prototype._onFrameCommitLoad): * inspector/front-end/ResourceTreeModel.js: (WebInspector.ResourceTreeModel): (WebInspector.ResourceTreeModel.prototype.frontendReused): (WebInspector.ResourceTreeModel.prototype._processCachedResources): (WebInspector.ResourceTreeModel.prototype._addOrUpdateFrame): (WebInspector.ResourceTreeModel.prototype.frames): (WebInspector.ResourceTreeModel.prototype.subframes): (WebInspector.ResourceTreeModel.prototype.resources): (WebInspector.ResourceTreeModel.prototype._onCommitLoad): (WebInspector.ResourceTreeModel.prototype._onFrameDetachedFromParent): (WebInspector.ResourceTreeModel.prototype._onResourceUpdated): (WebInspector.ResourceTreeModel.prototype._addResourceToFrame): (WebInspector.ResourceTreeModel.prototype.resourceForURL): (WebInspector.ResourceTreeModel.prototype._bindResourceURL): (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources): (WebInspector.ResourceTreeModel.prototype._clearResources): (WebInspector.ResourceTreeModel.prototype._callForFrameResources): (WebInspector.ResourceTreeModel.prototype._unbindResourceURL): (WebInspector.ResourceTreeModel.prototype._addFramesRecursively): (WebInspector.ResourceTreeModel.prototype._createResource): * inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel): (WebInspector.ResourcesPanel.prototype.show): (WebInspector.ResourcesPanel.prototype._populateResourceTree.populateFrame): (WebInspector.ResourcesPanel.prototype._populateResourceTree): (WebInspector.ResourcesPanel.prototype._frameAdded): (WebInspector.ResourcesPanel.prototype._frameDetached): (WebInspector.ResourcesPanel.prototype._resourceAdded): (WebInspector.ResourcesPanel.prototype._frameNavigated): (WebInspector.FrameTreeElement.prototype.setTitles): * inspector/front-end/inspector.js: (WebInspector.frontendReused): git-svn-id: svn://svn.chromium.org/blink/trunk@82106 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rniwa@webkit.org authored
Reviewed by Eric Seidel. WebKit's behavior for text-align inherit differs from other browsers https://bugs.webkit.org/show_bug.cgi?id=56377 The bug was caused by WebKit's resolving text-align: start and text-align: end too early. As discussed on the bug, when text-align: start and text-align: end are inherited by descendent nodes, the alignment of the text in those nodes should be determined based on the directionality of the text, not by the directionality of the ancestor node from which text-align property is inherited. Fixed the bug by introducing new enum values to ETextAlign: TASTART and TAEND. These two values will align text to the left in a LTR context and to the right in a RTL context respectively. * css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added the support for TASTART and TAEND. (WebCore::CSSPrimitiveValue::operator ETextAlign): Ditto. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): No longer processes CSSValueStart and CSSValueEnd. * rendering/RenderBlock.cpp: (WebCore::RenderBlock::localCaretRect): Added the support for TASTART and TAEND. * rendering/RenderBlockLineLayout.cpp: (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Added the support for TASTART and TAEND. * rendering/RenderText.cpp: (WebCore::RenderText::localCaretRect): Ditto. * rendering/style/RenderStyle.h: ETextAlign now has 10 values and requires 4 bits. * rendering/style/RenderStyleConstants.h: Added TASTART and TAEND to ETextAlign. 2011-03-27 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Eric Seidel. WebKit's behavior for text-align inherit differs from other browsers https://bugs.webkit.org/show_bug.cgi?id=56377 Added test more cases to text-align, which already has some tests for text-align: start and text-align: end. * fast/css/text-align-expected.txt: * fast/css/text-align.html: * platform/mac/fast/css/text-align-expected.checksum: * platform/mac/fast/css/text-align-expected.png: git-svn-id: svn://svn.chromium.org/blink/trunk@82105 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abecsi@webkit.org authored
Reviewed by Csaba Osztrogonác. [Qt] Fix the linking of jsc with MinGW after r81963. * jsc.pro: add -l and remove the lib suffix. git-svn-id: svn://svn.chromium.org/blink/trunk@82104 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Reviewed by Yury Semikhatsky. Web Inspector: fix breakpoints positions in formatted scripts. https://bugs.webkit.org/show_bug.cgi?id=56931 Add async requestMapping method to SourceFile interface as required for populating breakpoints sidebar pane when in "format all scripts" mode. * inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype.continueToLine): (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint.didRequestSourceMapping): (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint): (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded.didRequestSourceMapping): (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded): (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame.didRequestSourceMapping): (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame): (WebInspector.PresentationBreakpoint): Breakpoint wrapper for UI. (WebInspector.PresentationBreakpoint.prototype.get sourceFileId): (WebInspector.PresentationBreakpoint.prototype.get lineNumber): (WebInspector.PresentationBreakpoint.prototype.get condition): (WebInspector.PresentationBreakpoint.prototype.get enabled): (WebInspector.PresentationBreakpoint.prototype.get url): (WebInspector.PresentationBreakpoint.prototype.get resolved): (WebInspector.PresentationBreakpoint.prototype.loadSnippet): * inspector/front-end/ScriptFormatter.js: (WebInspector.ScriptFormatter.prototype.formatContent.didFormatChunks): (WebInspector.ScriptFormatter.prototype.formatContent): * inspector/front-end/SourceFile.js: (WebInspector.SourceFile.prototype.requestSourceMapping): (WebInspector.FormattedSourceFile.prototype.requestSourceMapping): (WebInspector.FormattedSourceFile.prototype._didRequestContent): (WebInspector.SourceMapping): (WebInspector.SourceMapping.prototype.scriptLocationToSourceLocation): (WebInspector.SourceMapping.prototype.sourceLocationToScriptLocation): (WebInspector.FormattedSourceMapping): (WebInspector.FormattedSourceMapping.prototype.scriptLocationToSourceLocation): (WebInspector.FormattedSourceMapping.prototype.sourceLocationToScriptLocation): (WebInspector.FormattedSourceMapping.prototype._convertPosition): git-svn-id: svn://svn.chromium.org/blink/trunk@82103 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
This patch sets the BUILDING_WEBKIT & QT_MAKEDLL macros so that QWEBKIT_EXPORT is defined as follows: Patch by Nancy Piedra <nancy.piedra@nokia.com> on 2011-03-28 Reviewed by Csaba Osztrogonác. No new tests needed since only changing .pro file. * WebCore.pro: git-svn-id: svn://svn.chromium.org/blink/trunk@82102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
paroga@webkit.org authored
Unreviewed build fix. * COMPropertyBag.h: Added missing include. * WebKitCOMAPI.h: Ditto. * WebCoreSupport/WebFrameLoaderClient.h: Added missing forward declaration. git-svn-id: svn://svn.chromium.org/blink/trunk@82101 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yutak@chromium.org authored
Unreviewed. Yet another test result fix for fast/blockflow/fallback-orientation-expected.html. * platform/chromium-win/fast/blockflow/fallback-orientation-expected.txt: Renamed from LayoutTests/platform/chromium-win-xp/fast/blockflow/fallback-orientation-expected.txt. git-svn-id: svn://svn.chromium.org/blink/trunk@82100 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
podivilov@chromium.org authored
Reviewed by Yury Semikhatsky. Web Inspector: source frame should show the error to user when live edit is failed https://bugs.webkit.org/show_bug.cgi?id=57002 * inspector/front-end/ScriptsPanel.js: (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.editScriptSource): * inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._handleSave.didSaveScriptSource): (WebInspector.SourceFrame.prototype._handleSave): (WebInspector.SourceFrameDelegate.prototype.editScriptSource): git-svn-id: svn://svn.chromium.org/blink/trunk@82099 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yutak@chromium.org authored
Unreviewed, add Chromium test expectation for inspector/debugger/debugger-activation-crash.html. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82098 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yutak@chromium.org authored
Unreviewed, move Chromium test results into the right directory (move WinXP baseline into chromium-win-xp). * platform/chromium-win-xp/fast/blockflow/fallback-orientation-expected.checksum: Renamed from LayoutTests/platform/chromium-win/fast/blockflow/fallback-orientation-expected.checksum. * platform/chromium-win-xp/fast/blockflow/fallback-orientation-expected.png: Renamed from LayoutTests/platform/chromium-win/fast/blockflow/fallback-orientation-expected.png. * platform/chromium-win-xp/fast/blockflow/fallback-orientation-expected.txt: Renamed from LayoutTests/platform/chromium-win/fast/blockflow/fallback-orientation-expected.txt. git-svn-id: svn://svn.chromium.org/blink/trunk@82097 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yutak@chromium.org authored
Unreviewed, add new Chromium test results and expectation. * platform/chromium-mac-snowleopard/fast/block/positioning/047-expected.checksum: Added. * platform/chromium-mac-snowleopard/fast/block/positioning/047-expected.png: Added. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82096 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mario@webkit.org authored
Reviewed by Martin Robinson. [GTK] Expose the AtkValue interface for WAI-ARIA sliders https://bugs.webkit.org/show_bug.cgi?id=56655 New test to check WAI-ARIA sliders required attributes. * platform/gtk/accessibility/aria-slider-required-attributes-expected.txt: Added. * platform/gtk/accessibility/aria-slider-required-attributes.html: Added. 2011-03-26 Mario Sanchez Prada <msanchez@igalia.com> Reviewed by Martin Robinson. [GTK] Expose the AtkValue interface for WAI-ARIA sliders https://bugs.webkit.org/show_bug.cgi?id=56655 Implement AtkValue interface for WAI-ARIA sliders. Test: platform/gtk/accessibility/aria-slider-required-attributes.html * accessibility/gtk/AXObjectCacheAtk.cpp: (WebCore::AXObjectCache::postPlatformNotification): Emit the 'property-change::accessible-value' signal when needed. * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (core): New, returns a core object from an AtkValue. (webkitAccessibleValueGetCurrentValue): New, implements AtkValue. (webkitAccessibleValueGetMaximumValue): Ditto. (webkitAccessibleValueGetMinimumValue): Ditto. (webkitAccessibleValueSetCurrentValue): Ditto. (webkitAccessibleValueGetMinimumIncrement): Ditto. (atkValueInterfaceInit): Ditto. (GetAtkInterfaceTypeFromWAIType): Add ATK_TYPE_VALUE. (getInterfaceMaskFromObject): Set the WAI_VALUE bit for sliders. git-svn-id: svn://svn.chromium.org/blink/trunk@82095 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sergio@webkit.org authored
[GTK] Fullscreen tests failing after r82084 https://bugs.webkit.org/show_bug.cgi?id=57219 Skipping some fullscreen tests failing since r82084 * platform/gtk/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@82094 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mjs@apple.com authored
Reviewed by Dan Bernstein. Assigning location.path to something that doesn't start with / mangles the authority https://bugs.webkit.org/show_bug.cgi?id=57209 <rdar://problem/9195132> Tests: http/tests/uri/assign-path-with-leading-slash.html http/tests/uri/assign-path-without-leading-slash.html * platform/KURL.cpp: (WebCore::KURL::setPath): If the new path does not have a leading slash, add one. 2011-03-28 Maciej Stachowiak <mjs@apple.com> Reviewed by Dan Bernstein. Assigning location.path to something that doesn't start with / mangles the authority https://bugs.webkit.org/show_bug.cgi?id=57209 <rdar://problem/9195132> * http/tests/uri/assign-path-with-leading-slash-expected.txt: Added. * http/tests/uri/assign-path-with-leading-slash.html: Added. * http/tests/uri/assign-path-without-leading-slash-expected.txt: Added. * http/tests/uri/assign-path-without-leading-slash.html: Added. * http/tests/uri/resources/assign-path-landing.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@82093 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yutak@chromium.org authored
Unreviewed, add Chromium test expectation for fast/text/justify-ideograph-leading-expansion.html. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82092 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rniwa@webkit.org authored
Reviewed by Eric Seidel. Extract functions to update logical width from computeInlineDirectionPositionsForLine https://bugs.webkit.org/show_bug.cgi?id=57213 Extracted updateLogicalWidthForLeftAlignedBlock, updateLogicalWidthForRightAlignedBlock, and updateLogicalWidthForCenterAlignedBlock from computeInlineDirectionPositionsForLine. They are used to update logical widths, logical left, and total logical width for left, right, and center aligned blocks. * rendering/RenderBlockLineLayout.cpp: (WebCore::updateLogicalWidthForLeftAlignedBlock): (WebCore::updateLogicalWidthForRightAlignedBlock): (WebCore::updateLogicalWidthForCenterAlignedBlock): (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): git-svn-id: svn://svn.chromium.org/blink/trunk@82091 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
evan@chromium.org authored
Reviewed by Ryosuke Niwa. Refactor duplicate code in HTMLTextElement https://bugs.webkit.org/show_bug.cgi?id=57215 * html/HTMLTitleElement.cpp: (WebCore::HTMLTitleElement::childrenChanged): This method did an equivalent loop to the text() method on the same object. git-svn-id: svn://svn.chromium.org/blink/trunk@82090 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yutak@chromium.org authored
Unreviewed, update Chromium test results for plugins/plugin-javascript-access.html. * platform/chromium-linux/plugins/plugin-javascript-access-expected.txt: * platform/chromium-win/plugins/plugin-javascript-access-expected.txt: * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82089 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ukai@chromium.org authored
Reviewed by Alexey Proskuryakov. Don't call WebSocket::didClose() more than once. https://bugs.webkit.org/show_bug.cgi?id=57081 If WebSocket close() is called, and connection is established, then it will call didClose() that resets m_channel to 0. After that, when connection is closed, WebSocketChannel will call didClose for the WebSocket instance. * http/tests/websocket/tests/close-unref-websocket-expected.txt: Added. * http/tests/websocket/tests/close-unref-websocket.html: Added. * http/tests/websocket/tests/hanging-handshake_wsh.py: Added. 2011-03-27 Fumitoshi Ukai <ukai@chromium.org> Reviewed by Alexey Proskuryakov. Don't call WebSocket::didClose() more than once. https://bugs.webkit.org/show_bug.cgi?id=57081 If WebSocket close() is called, and connection is established, then it will call didClose() that resets m_channel to 0. After that, when connection is closed, WebSocketChannel will call didClose for the WebSocket instance. Call WebSocketChannel::disconnect() before m_channel = 0 to make sure WebSocketChannel suppress the second didClose(). Test: http/tests/websocket/tests/close-unref-websocket.html * websockets/WebSocket.cpp: (WebCore::WebSocket::didClose): git-svn-id: svn://svn.chromium.org/blink/trunk@82088 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aestes@apple.com authored
Reviewed by Maciej Stachowiak. Correctly get a plug-in's MIME type when it uses WebPluginMIMETypesFilename https://bugs.webkit.org/show_bug.cgi?id=57205 If the plug-in's Info.plist uses WebPluginMIMETypesFilename to specify plug-in MIME types, WebKit has to check for a property list file in ~/Library/Preferences for the MIME type dictionary. * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm: (WebKit::getMIMETypesFromPluginBundle): If the bundle's Info dictionary has the key WebPluginMIMETypesFilename, open the property list specified by that key's value and return the MIME type dictionary from there. Otherwise, return the MIME type dictionary specified by the key WebPluginMIMETypes. (WebKit::getPluginInfoFromPropertyLists): Call getMIMETypesFromPluginBundle(). git-svn-id: svn://svn.chromium.org/blink/trunk@82087 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yutak@chromium.org authored
Unreviewed, add Chromium test results for fast/blockflow/fallback-orientation.html. * platform/chromium-mac-leopard/fast/blockflow/fallback-orientation-expected.checksum: Added. * platform/chromium-mac-leopard/fast/blockflow/fallback-orientation-expected.png: Added. * platform/chromium-win-vista/fast/blockflow/fallback-orientation-expected.checksum: Added. * platform/chromium-win-vista/fast/blockflow/fallback-orientation-expected.png: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@82086 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@webkit.org authored
Reviewed by Eric Seidel. Fix script-src redirect handling https://bugs.webkit.org/show_bug.cgi?id=57196 Test both allow => disallow and disallow => allow redirect cases. Previously, we had incorrect expectations for one of the redirect cases. Also, I've updated the policy syntax to match the default-src syntax. * http/tests/security/contentSecurityPolicy/script-src-redirect-expected.txt: * http/tests/security/contentSecurityPolicy/script-src-redirect.html: 2011-03-27 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Fix script-src redirect handling https://bugs.webkit.org/show_bug.cgi?id=57196 Resource-loading requirements in CSP apply to each hop in the redirect chain. To make that work properly, we need to move enforcement into the loader. Fortunately, we already have a choke-point in the loader for enforcing this kind of policy. * dom/ScriptElement.cpp: (WebCore::ScriptElement::requestScript): * html/parser/HTMLDocumentParser.cpp: * html/parser/HTMLDocumentParser.h: * html/parser/HTMLScriptRunnerHost.h: * loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::canRequest): * page/ContentSecurityPolicy.cpp: (WebCore::ContentSecurityPolicy::allowScriptFromSource): * page/ContentSecurityPolicy.h: git-svn-id: svn://svn.chromium.org/blink/trunk@82085 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jer.noble@apple.com authored
Reviewed by Maciej Stachowiak. Full Screen: disable keyboard access by default https://bugs.webkit.org/show_bug.cgi?id=56684 Pass whether keyboard access was requested up to ChromeClient when asking if fullscreen mode is supported. * dom/Document.cpp: (WebCore::Document::webkitRequestFullScreenForElement): * page/ChromeClient.h: (WebCore::ChromeClient::supportsFullscreenForElement): 2011-03-27 Jer Noble <jer.noble@apple.com> Reviewed by Maciej Stachowiak. Full Screen: disable keyboard access by default https://bugs.webkit.org/show_bug.cgi?id=56684 Take into account whether keyboard access was requested when deciding whether full screen mode is supported. * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::supportsFullScreenForElement): * WebView/WebView.mm: (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]): * WebView/WebViewInternal.h: 2011-03-27 Jer Noble <jer.noble@apple.com> Reviewed by Maciej Stachowiak. Full Screen: disable keyboard access by default https://bugs.webkit.org/show_bug.cgi?id=56684 Take into account whether keyboard access was requested when deciding whether full screen mode is supported. * UIProcess/WebFullScreenManagerProxy.cpp: (WebKit::WebFullScreenManagerProxy::supportsFullScreen): * UIProcess/WebFullScreenManagerProxy.h: * UIProcess/WebFullScreenManagerProxy.messages.in: * WebProcess/FullScreen/WebFullScreenManager.cpp: (WebKit::WebFullScreenManager::supportsFullScreen): * WebProcess/FullScreen/WebFullScreenManager.h: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::supportsFullScreenForElement): * WebProcess/WebCoreSupport/WebChromeClient.h: 2011-03-27 Jer Noble <jer.noble@apple.com> Reviewed by Maciej Stachowiak. Full Screen: disable keyboard access by default https://bugs.webkit.org/show_bug.cgi?id=56684 Accept the withKeyboard parameter to supportsFullScreenForElement. * DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate webView:supportsFullScreenForElement:withKeyboard:]): git-svn-id: svn://svn.chromium.org/blink/trunk@82084 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
paroga@webkit.org authored
Reviewed by David Levin. check-webkit-style should check ChangeLog for a valid bug number https://bugs.webkit.org/show_bug.cgi?id=57184 * Scripts/webkitpy/style/checker.py: * Scripts/webkitpy/style/checker_unittest.py: * Scripts/webkitpy/style/checkers/changelog.py: Added. * Scripts/webkitpy/style/checkers/changelog_unittest.py: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@82083 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 27 Mar, 2011 12 commits
-
-
benjamin.poulain@nokia.com authored
Reviewed by Andreas Kling. [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled https://bugs.webkit.org/show_bug.cgi?id=57087 Use explicit conversion for string to avoid depending on the default codec installed by the user code. * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp: (WTR::activateFonts): git-svn-id: svn://svn.chromium.org/blink/trunk@82082 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andersca@apple.com authored
Reviewed by Sam Weinig. Dock doesn't come back after leaving fullscreen on Hulu https://bugs.webkit.org/show_bug.cgi?id=57189 <rdar://problem/9192413> Port some code over from the old WebKit1 plug-in host. * PluginProcess/mac/PluginProcessShim.mm: (WebKit::shimShowMenuBar): (WebKit::shimHideMenuBar): (WebKit::shimIsMenuBarVisible): git-svn-id: svn://svn.chromium.org/blink/trunk@82078 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andersca@apple.com authored
Reviewed by Sam Weinig. * Platform/CoreIPC/Connection.cpp: git-svn-id: svn://svn.chromium.org/blink/trunk@82077 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andreas.kling@nokia.com authored
Fix build warning about IconDatabaseClient.h (wrong path.) * QtWebKit.pro: git-svn-id: svn://svn.chromium.org/blink/trunk@82076 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andreas.kling@nokia.com authored
Reviewed by Kenneth Rohde Christiansen. [Qt] Support for CSS color and background-color properties on select element's dropdown list https://bugs.webkit.org/show_bug.cgi?id=51627 Extend the QWebSelectData interface with background and foreground colors for the whole menu, as well as per-item. Hook it up to the PopupMenuStyle getters in RenderMenuList. * Api/qwebkitplatformplugin.h: * WebCoreSupport/PopupMenuQt.cpp: (SelectData::backgroundColor): (SelectData::foregroundColor): (SelectData::itemBackgroundColor): (SelectData::itemForegroundColor): * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopup::show): (WebCore::QtFallbackWebPopup::populate): git-svn-id: svn://svn.chromium.org/blink/trunk@82075 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yi.4.shen@nokia.com authored
Reviewed by Andreas Kling. [Qt][Symbian] Fix Api test failure -- microFocusCoordinates https://bugs.webkit.org/show_bug.cgi?id=57108 Since the canvas is not self-closing tag, we need to add '</canvas>'. * tests/qgraphicswebview/tst_qgraphicswebview.cpp: (tst_QGraphicsWebView::microFocusCoordinates): * tests/qwebview/tst_qwebview.cpp: (tst_QWebView::microFocusCoordinates): git-svn-id: svn://svn.chromium.org/blink/trunk@82074 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
commit-queue@webkit.org authored
Reviewed by Eric Seidel. [Qt] Build fix: Define WTF_USE_TEXTURE_MAPPER=1 when CONFIG contains texmap. https://bugs.webkit.org/show_bug.cgi?id=57143 Qt WebKit uses USE(TEXTURE_MAPPER) guard. Check texmap in CONFIG and define WTF_USE_TEXTURE_MAPPER=1. * QtWebKit.pro: git-svn-id: svn://svn.chromium.org/blink/trunk@82073 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
paroga@webkit.org authored
Reviewed by Andreas Kling. Fix agentOS() in FrameLoaderClientEfl https://bugs.webkit.org/show_bug.cgi?id=57177 Replace old PLATFORM macro with OS and CPU. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::agentOS): git-svn-id: svn://svn.chromium.org/blink/trunk@82072 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
paroga@webkit.org authored
Reviewed by Andreas Kling. [EFL] Use an appropriate user agent string https://bugs.webkit.org/show_bug.cgi?id=57176 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::composeUserAgent): git-svn-id: svn://svn.chromium.org/blink/trunk@82071 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
paroga@webkit.org authored
Reviewed by Andreas Kling. [WINCE] Use a appropriate user agent string https://bugs.webkit.org/show_bug.cgi?id=57175 * WebCoreSupport/FrameLoaderClientWinCE.cpp: (WebKit::FrameLoaderClientWinCE::userAgent): git-svn-id: svn://svn.chromium.org/blink/trunk@82070 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
paroga@webkit.org authored
Reviewed by Andreas Kling. [CMake] Generate WebKitVersion.h https://bugs.webkit.org/show_bug.cgi?id=57128 This file will be used for the user agent string by the CMake based ports. * CMakeLists.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82069 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yutak@chromium.org authored
Unreviewed, add new Chromium test result and expectations. * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.checksum: * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png: * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.checksum: * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png: * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt: * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@82068 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-