- 17 Sep, 2009 40 commits
-
-
bweinstein@apple.com authored
Reviewed by Timothy Hatcher. The Console scope bar should have a divider between All and the other possible values (Errors, Warnings, Logs). It will look something like: All | Errors Warnings Logs. * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.createDividerElement): (WebInspector.ConsoleView): * inspector/front-end/inspector.css: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
Reviewed by Adam Roben. Remove assertions that were being hit by calls to m_verticalScrollbar->invalidate(). These assertions were valid, but they were causing tests to fail, so replacing with a FIXME until we can find out the real cause/solution that is being tracked by http://webkit.org/b/29350. * WebView.cpp: (WebView::addToDirtyRegion): (WebView::paintIntoBackingStore): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Mark Rowe. * DerivedSources.cpp: * WebCore.vcproj/WebCore.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Eric Carlson. Media layout tests should have a way to provide test files in different formats https://bugs.webkit.org/show_bug.cgi?id=28327 Updating 19 media layout tests to use media files based on supported codecs. * media/media-file.js: Prefer .wav over other formats as this is used the most in tests for mac port. Most of audio tests use media/content/test.wav as test file for mac, so this change would make sure findMediaFile() will return test.wav but not test.mp3 or other formats. (setSrcById): Fixing bug in code. * media/video-canvas-source.html: Use findMediaFile() to locate a media file based on supported types. * media/video-click-dblckick-standalone.html: ditto. * media/video-controls-transformed.html: ditto. * media/video-controls-visible-audio-only.html: ditto. * media/video-controls-zoomed.html: ditto. * media/video-controls.html: ditto. * media/video-currentTime-set.html: ditto. * media/video-currentTime-set2.html: ditto. * media/video-currentTime.html: ditto. * media/video-display-none-crash.html: ditto. * media/video-display-toggle.html: ditto. * media/video-dom-autoplay.html: ditto. * media/video-dom-src.html: ditto. * media/video-error-abort.html: ditto. * media/video-load-networkState.html: ditto. * media/video-load-readyState.html: ditto. * media/video-loop.html: ditto. * media/video-muted.html: ditto. * media/video-no-autoplay.html: ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Brady Eidson. * page/DOMWindow.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/7007541andersca@apple.com authored
CrashTracer: 4800+ crashes in Safari at com.apple.WebKit • WTF::HashTableIterator... Reviewed by Oliver Hunt. Make RuntimeObjectImp more robust against m_instance being a null (which can happen if an OOP plug-in crashes while we're calling into it). * bridge/runtime_object.cpp: (JSC::RuntimeObjectImp::RuntimeObjectImp): (JSC::RuntimeObjectImp::~RuntimeObjectImp): (JSC::RuntimeObjectImp::invalidate): (JSC::RuntimeObjectImp::fallbackObjectGetter): (JSC::RuntimeObjectImp::fieldGetter): (JSC::RuntimeObjectImp::methodGetter): (JSC::RuntimeObjectImp::getOwnPropertySlot): (JSC::RuntimeObjectImp::getOwnPropertyDescriptor): (JSC::RuntimeObjectImp::put): (JSC::RuntimeObjectImp::defaultValue): (JSC::RuntimeObjectImp::getCallData): (JSC::RuntimeObjectImp::getConstructData): (JSC::RuntimeObjectImp::getPropertyNames): * bridge/runtime_object.h: (JSC::RuntimeObjectImp::getInternalInstance): WebKit/mac: <rdar://problem/7007541> CrashTracer: 4800+ crashes in Safari at com.apple.WebKit • WTF::HashTableIterator... Reviewed by Oliver Hunt. Add null checks for m_instanceProxy (It will be null when a plug-in has crashed). * Plugins/Hosted/ProxyInstance.mm: (WebKit::ProxyInstance::invoke): (WebKit::ProxyInstance::supportsInvokeDefaultMethod): (WebKit::ProxyInstance::supportsConstruct): (WebKit::ProxyInstance::getPropertyNames): (WebKit::ProxyInstance::methodsNamed): (WebKit::ProxyInstance::fieldNamed): (WebKit::ProxyInstance::fieldValue): (WebKit::ProxyInstance::setFieldValue): (WebKit::ProxyInstance::invalidate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Timothy Hatcher. Wrap primitive values (as objects) in InspectorController::wrap. https://bugs.webkit.org/show_bug.cgi?id=28983 * inspector/InspectorController.cpp: (WebCore::InspectorController::wrapObject): objects of any type will be wrapped into proxies, only object proxies will have objectId. * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.completions): there is InjectedScript.getCompletionsi that accepts an expression and returns possible completions. This way we don't need to wrap and unwrap the completions result into a proxy object. * inspector/front-end/InjectedScript.js: (InjectedScript.getCompletions): (InjectedScript.evaluate): (InjectedScript._evaluateOn): (InjectedScript.createProxyObject): * inspector/front-end/InjectedScriptAccess.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
japhet@chromium.org authored
Reviewed by Dimitri Glazkov. Wrap PageTransitionEvents properly for V8's use. https://bugs.webkit.org/show_bug.cgi?id=29340 Fixes Chromium's failures for LayoutTests/fast/events/pageshow-pagehide.html. * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::convertEventToV8Object): Wrap PageTransitionEvents properly. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dave Hyatt. Hardware-accelerated opacity transition on inline asserts https://bugs.webkit.org/show_bug.cgi?id=29342 Remove an erroneous toRenderBox() that could be called on a RenderInline; we can just pass an empty size, because the box size is only required for transform animations. Test: compositing/transitions/opacity-on-inline.html * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::startTransition): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Adler. Update contributing.html to mention recently added tools. https://bugs.webkit.org/show_bug.cgi?id=29318 Update our contributing instructions to mention the new tools (check-webkit-style and commit-queue) recently added to make contributions easier. * coding/contributing.html: - Mention check-webkit-style as an optional helper tool. - Mention checking the 'patch' checkbox. - Mention the commit-queue as an optional helper tool. - Remove "or in email" since patch reviews are all done via bugzilla. - Encourage contributers to be responsible for getting their patch landed. Provide a list of committers. - Mention commit-queue as an optional help in getting your patch landed. - Give an overview of the commit-queue process and link to the Commit Queue docs. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
Rubber-stamped by Brady Eidson. Tiger fails test http/tests/loading/redirect-with-no-location-crash.html added in r48413 https://bugs.webkit.org/show_bug.cgi?id=29329 Skip test that fails on Tiger because of a bug in its version of CFNetwork. * platform/mac-tiger/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Eric Seidel. [V8] OwnHandle might get a weak callback after destruction https://bugs.webkit.org/show_bug.cgi?id=29172 Be sure to clear out weak reference so we don't get a weak callback after we've destructed ourselves. Also, removed some tricky methods that had no clients. * bindings/v8/OwnHandle.h: (WebCore::OwnHandle::clear): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Simon Fraser. REGRESSION: media/video-size-intrinsic-scale.html (and other media tests?) crashing/timing-out intermittently https://bugs.webkit.org/show_bug.cgi?id=28845 Skip media/video-size-intrinsic-scale.html in hopes of stopping the crashers. I ran the media tests with --iterations 30 w/o seeing a crash. I also re-enabled media/video-source-add-src.html now that we know it is not at fault. * media/video-source-add-src.html: Renamed from LayoutTests/media/video-source-add-src.html-disabled. * platform/mac-leopard/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Barth. Add layout tests to verify there is no security leaks if someone sets a prototype of top window to its child window. https://bugs.webkit.org/show_bug.cgi?id=29334 * http/tests/security/resources/iframe-with-element.html: Added. * http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto-expected.txt: Added. * http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto.html: Added. * http/tests/security/xss-DENIED-method-with-iframe-proto-expected.txt: Added. * http/tests/security/xss-DENIED-method-with-iframe-proto.html: Added. * http/tests/security/xss-DENIED-non-shadowable-propterty-with-iframe-proto-expected.txt: Added. * http/tests/security/xss-DENIED-non-shadowable-propterty-with-iframe-proto.html: Added. * http/tests/security/xss-DENIED-regular-propterty-with-iframe-proto-expected.txt: Added. * http/tests/security/xss-DENIED-regular-propterty-with-iframe-proto.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Unreviewed, build fix. [V8] Partial roll out of http://trac.webkit.org/changeset/48455 to fix crashes that started happening in V8Proxy::getEnteredContext(). * bindings/v8/ScheduledAction.cpp: (WebCore::ScheduledAction::execute): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=29335 Reviewed by Beth Dakin. WebCore: When an accessibility hit test is done and it hits the label of a control element, the control element should be returned instead of nothing, since the label itself is usually ignored. Test: accessibility/label-for-control-hittest.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::correspondingControlForLabelElement): * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::accessibilityIsIgnored): (WebCore::AccessibilityRenderObject::doAccessibilityHitTest): (WebCore::AccessibilityRenderObject::correspondingControlForLabelElement): * accessibility/AccessibilityRenderObject.h: LayoutTests: * accessibility/label-for-control-hittest-expected.txt: Added. * accessibility/label-for-control-hittest.html: Added. * platform/gtk/Skipped: * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Dimitri Glazkov, build fix. Change to make RenderThemeChromiumMac compile inside of non PLATFORM(MAC). https://bugs.webkit.org/show_bug.cgi?id=29243 Covered by existing tests. * rendering/RenderThemeChromiumMac.mm: (WebCore::RenderThemeChromiumMac::paintMediaSliderTrack): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Eric Seidel. [V8] Accessing properties/methods of an object, created with document.implementation.createDocumentType creates nodes that have no document (ScriptExecutionContext), which in turn produces NULL-ref crashes. https://bugs.webkit.org/show_bug.cgi?id=26402 Test: fast/dom/DOMImplementation/detached-doctype.html fast/dom/doctype-event-listener-crash.html * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::getEventListener): Added an extra NULL-check. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
Rubber-stamped by Adam Roben. Add a newline to the end of the expected file, should fix results. * platform/win/transforms/2d/hindi-rotated-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adachan@apple.com authored
Fixes <http://webkit.org/b/29321> Reviewed by Adam Roben. * Interfaces/IWebView.idl: * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::respondToChangedSelection): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
Rubber-stamped by Adam Roben. Updated Windows results on three failing tests, adding font-smoothing to computed-style, and udpated the hindi-rotated-expected to what it has been getting on the bots. * platform/win/fast/css/getComputedStyle/computed-style-expected.txt: * platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: * platform/win/transforms/2d/hindi-rotated-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=29327 Reviewed by Simon Fraser. * GNUmakefile.am: Added FontSmoothingMode.h. * WebCore.gypi: Added FontSmoothingMode.h. * WebCore.vcproj/WebCore.vcproj: Added FontSmoothingMode.h. * WebCore.xcodeproj/project.pbxproj: Added FontSmoothingMode.h and made it a private header. * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Get the font smoothing mode via the font description. * css/CSSPrimitiveValueMappings.h: Include FontSmoothingMode.h (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Updated for the rename of FontSmoothing to FontSmoothingMode. (WebCore::CSSPrimitiveValue::operator FontSmoothingMode): Ditto. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): Get the font smoothing mode via the font description. * platform/graphics/FontDescription.h: Do not include RenderStyleConstants.h. (WebCore::FontDescription::fontSmoothing): Updated for the rename of FontSmoothing to FontSmoothingMode. (WebCore::FontDescription::setFontSmoothing): Ditto. * platform/graphics/FontSmoothingMode.h: Added. (WebCore::FontSmoothingMode): Moved the FontSmoothing enum from RenderStyleConstants here and renamed it to this. * rendering/style/RenderStyle.h: (WebCore::InheritedFlags::fontSmoothing): Removed this getter, since this can be accessed via the font description. * rendering/style/RenderStyleConstants.h: Moved the FontSmoothing enum from here to FontSmoothingMode.h. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
WebView's HWND was being sent a WM_TIMER message after the WebView was destroyed. This normally isn't possible (we call DestroyWindow inside WebView's destructor to ensure the HWND doesn't outlive the WebView), but r48060 changed WebView to call SetParent(m_viewWindow, HWND_MESSAGE) while handling WM_DESTROY, and apparently this puts the HWND into some weird half-destroyed state where it can still receive WM_TIMER messages. Fixes <http://webkit.org/b/29337> <rdar://problem/7209897> REGRESSION (r48060): unrepro but frequent crash in WebViewWndProc Reviewed by Steve Falkenburg. * WebView.cpp: (WebViewWndProc): When handling WM_DESTROY, call setIsBeingDestroyed() before calling close(). This allows setHostWindow to detect that we're handling WM_DESTROY. No other code in close() cared whether isBeingDestroyed() was true or not. (WebView::setHostWindow): If our host window is being set to 0 and we're being destroyed, don't become a message-only window. Doing this while handling WM_DESTROY seems to lead to crashes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dan Bernstein. Work around a bug in AppKit on Leopard which causes compositing layers to jitter, and become misplaced when the WebHTMLView is resized or scrolled sometimes. <rdar://problem/7071636> The previous fix didn't fix the case where the layers jiggle when resizing the docked inspector when the view size is over 2048px tall, on Leopard. * WebView/WebHTMLView.mm: (-[WebHTMLView _updateLayerHostingViewPosition]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dan Bernstein. Elements appear behind <video> when they should be in front sometimes https://bugs.webkit.org/show_bug.cgi?id=29314 r45598 added logic that tests for overlap with <video> to determine when to throw a layer into compositing mode. That logic was incorrect in some cases, and this patch fixes it. When testing overlap, the layer needs to be composited iff some previous layer is composited (which adds a rect to the overlay map), and there is overlap. Test: compositing/geometry/video-opacity-overlay.html * rendering/RenderLayerCompositor.cpp: (WebCore::CompositingState::CompositingState): (WebCore::RenderLayerCompositor::computeCompositingRequirements): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Darin Fisher. Update the Chromium Mac theming files (RenderTheme and Theme) to be up-to-date. https://bugs.webkit.org/show_bug.cgi?id=29243 http://crbug.com/19604 Covered by existing tests. * WebCore.gypi: * platform/chromium/ThemeChromiumMac.h: Added. (WebCore::ThemeChromiumMac::ThemeChromiumMac): (WebCore::ThemeChromiumMac::~ThemeChromiumMac): (WebCore::ThemeChromiumMac::controlRequiresPreWhiteSpace): * platform/chromium/ThemeChromiumMac.mm: Added. (WebCore::): (WebCore::platformTheme): (WebCore::controlSizeForFont): (WebCore::sizeFromFont): (WebCore::setControlSize): (WebCore::updateStates): (WebCore::inflateRect): (WebCore::checkboxSizes): (WebCore::checkboxMargins): (WebCore::checkboxSize): (WebCore::checkbox): (WebCore::paintCheckbox): (WebCore::radioSizes): (WebCore::radioMargins): (WebCore::radioSize): (WebCore::radio): (WebCore::paintRadio): (WebCore::buttonSizes): (WebCore::buttonMargins): (WebCore::button): (WebCore::paintButton): (WebCore::ThemeChromiumMac::baselinePositionAdjustment): (WebCore::ThemeChromiumMac::controlFont): (WebCore::ThemeChromiumMac::controlSize): (WebCore::ThemeChromiumMac::minimumControlSize): (WebCore::ThemeChromiumMac::controlBorder): (WebCore::ThemeChromiumMac::controlPadding): (WebCore::ThemeChromiumMac::inflateControlPaintRect): (WebCore::ThemeChromiumMac::paint): * platform/graphics/FloatPoint.h: * platform/graphics/FloatRect.h: * platform/graphics/FloatSize.h: * platform/graphics/IntRect.h: * rendering/RenderThemeChromiumMac.h: (WebCore::RenderThemeChromiumMac::supportsControlTints): (WebCore::RenderThemeChromiumMac::scrollbarControlSizeForPart): (WebCore::RenderThemeChromiumMac::supportsSelectionForegroundColors): * rendering/RenderThemeChromiumMac.mm: (-[WebCoreRenderThemeNotificationObserver systemColorsDidChange:]): (-[RTCMFlippedView isFlipped]): (-[RTCMFlippedView currentEditor]): (WebCore::): (WebCore::FlippedView): (WebCore::RenderTheme::themeForPage): (WebCore::RenderThemeChromiumMac::platformActiveListBoxSelectionForegroundColor): (WebCore::RenderThemeChromiumMac::platformInactiveListBoxSelectionForegroundColor): (WebCore::RenderThemeChromiumMac::platformInactiveListBoxSelectionBackgroundColor): (WebCore::RenderThemeChromiumMac::systemFont): (WebCore::convertNSColorToColor): (WebCore::menuBackgroundColor): (WebCore::RenderThemeChromiumMac::systemColor): (WebCore::RenderThemeChromiumMac::isControlStyled): (WebCore::RenderThemeChromiumMac::adjustRepaintRect): (WebCore::RenderThemeChromiumMac::inflateRect): (WebCore::RenderThemeChromiumMac::convertToPaintingRect): (WebCore::RenderThemeChromiumMac::setFontFromControlSize): (WebCore::RenderThemeChromiumMac::paintTextField): (WebCore::RenderThemeChromiumMac::paintCapsLockIndicator): (WebCore::RenderThemeChromiumMac::paintTextArea): (WebCore::RenderThemeChromiumMac::paintMenuList): (WebCore::TopGradientInterpolate): (WebCore::BottomGradientInterpolate): (WebCore::MainGradientInterpolate): (WebCore::TrackGradientInterpolate): (WebCore::RenderThemeChromiumMac::paintMenuListButtonGradients): (WebCore::RenderThemeChromiumMac::paintMenuListButton): (WebCore::RenderThemeChromiumMac::popupInternalPaddingLeft): (WebCore::RenderThemeChromiumMac::popupInternalPaddingRight): (WebCore::RenderThemeChromiumMac::popupInternalPaddingTop): (WebCore::RenderThemeChromiumMac::popupInternalPaddingBottom): (WebCore::RenderThemeChromiumMac::adjustMenuListButtonStyle): (WebCore::RenderThemeChromiumMac::adjustSliderTrackStyle): (WebCore::RenderThemeChromiumMac::adjustSliderThumbStyle): (WebCore::RenderThemeChromiumMac::paintSliderThumb): (WebCore::RenderThemeChromiumMac::paintSearchField): (WebCore::RenderThemeChromiumMac::setSearchCellState): (WebCore::RenderThemeChromiumMac::adjustSearchFieldStyle): (WebCore::RenderThemeChromiumMac::paintSearchFieldCancelButton): (WebCore::RenderThemeChromiumMac::adjustSearchFieldCancelButtonStyle): (WebCore::RenderThemeChromiumMac::adjustSearchFieldDecorationStyle): (WebCore::RenderThemeChromiumMac::paintSearchFieldDecoration): (WebCore::RenderThemeChromiumMac::adjustSearchFieldResultsDecorationStyle): (WebCore::RenderThemeChromiumMac::paintSearchFieldResultsDecoration): (WebCore::RenderThemeChromiumMac::adjustSearchFieldResultsButtonStyle): (WebCore::RenderThemeChromiumMac::paintSearchFieldResultsButton): (WebCore::mediaControllerTheme): (WebCore::RenderThemeChromiumMac::adjustSliderThumbSize): (WebCore::getMediaUIPartStateFlags): (WebCore::getUnzoomedRectAndAdjustCurrentContext): (WebCore::RenderThemeChromiumMac::paintMediaFullscreenButton): (WebCore::RenderThemeChromiumMac::paintMediaMuteButton): (WebCore::RenderThemeChromiumMac::paintMediaPlayButton): (WebCore::RenderThemeChromiumMac::paintMediaSeekBackButton): (WebCore::RenderThemeChromiumMac::paintMediaSeekForwardButton): (WebCore::RenderThemeChromiumMac::paintMediaSliderTrack): (WebCore::RenderThemeChromiumMac::paintMediaSliderThumb): (WebCore::RenderThemeChromiumMac::paintMediaRewindButton): (WebCore::RenderThemeChromiumMac::paintMediaReturnToRealtimeButton): (WebCore::RenderThemeChromiumMac::paintMediaControlsBackground): (WebCore::RenderThemeChromiumMac::paintMediaCurrentTime): (WebCore::RenderThemeChromiumMac::paintMediaTimeRemaining): (WebCore::RenderThemeChromiumMac::extraMediaControlsStyleSheet): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kenneth@webkit.org authored
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-17 Reviewed by Simon Hausmann. * Api/qwebsettings.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zoltan@webkit.org authored
Reviewed by Simon Hausmann. [Qt] Add expected file for passing font-smoothing test and update computed style tests since font smoothing is auto by default. * platform/qt/fast/css/font-smoothing-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zoltan@webkit.org authored
Reviewed by Simon Hausmann. [Qt] Add expected file for passing font-smoothing test and update computed style tests since font smoothing is auto by default. * platform/qt/fast/css/font-smoothing-expected.txt: Added. * platform/qt/fast/css/getComputedStyle/computed-style-expected.txt: * platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vestbo@webkit.org authored
Reviewed by Simon Hausmann. https://bugs.webkit.org/show_bug.cgi?id=29081 The documentation now specifies that the URL has to be a local file or a a data-URL (with utf-8 and base64-encoded data), as these are the only two schemes that the current code path accepts. The auto-test has been updated to reflect this limitation. At a later point we should concider adding API for the new way of doing both user defined stylesheets and scripts. * Api/qwebsettings.cpp: * tests/qwebpage/tst_qwebpage.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Patch by Andras Becsi <becsi.andras@stud.u-szeged.hu> on 2009-09-17 Reviewed by Simon Hausmann. * platform/qt/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Patch by Janne Koskinen <janne.p.koskinen@digia.com> on 2009-09-17 Reviewed by Simon Hausmann. Repeat Q_OS_WIN wchar_t hack for WINSCW, similar to revision 24774. WINSCW defines wchar_t, thus UChar has to be wchar_t * wtf/unicode/qt4/UnicodeQt4.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Patch by Janne Koskinen <janne.p.koskinen@digia.com> on 2009-09-17 Reviewed by Simon Hausmann. https://bugs.webkit.org/show_bug.cgi?id=29186 WINSCW Template specialisation name in declaration must the be the same as in implementation. * runtime/LiteralParser.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Patch by Norbert Leser <norbert.leser@nokia.com> on 2009-09-15 Reviewed by Darin Adler. Symbian compiler for emulator target (WINSCW) fails with "illegal operand" for m_attributesInPrevious in structure.ccp (when calling make_pair functions). This error is apparently due to the compiler not properly resolving the unsigned type of the declared bitfield. Initial patch explicitly casted m_attributesInPrevious to unsigned, but since bitfield optimization is not critical for the emulator target, this conditional change in header file appears to be least intrusive. * runtime/Structure.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Patch by Janne Koskinen <janne.p.koskinen@digia.com> on 2009-09-17 Reviewed by Simon Hausmann. Moved the #ifdefs around _q_cleanupLeakMessages() into the function definition. QMake is not being able to distinguish between release and debug builds in Symbian build. This is a Symbian toolchain issue. * Api/qwebpage.cpp: (QWebPagePrivate::_q_cleanupLeakMessages): * Api/qwebpage.h: * Api/qwebpage_p.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2009-09-17 Reviewed by Simon Hausmann. * Api/qwebinspector.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=29306 Tests that scripts with accented characters do not bypass the XSSAuditor. * http/tests/security/xssAuditor/img-onerror-accented-char-expected.txt: Added. * http/tests/security/xssAuditor/img-onerror-accented-char.html: Added. 2009-09-16 Daniel Bates <dbates@webkit.org> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=29306 Fixes an issue where an attack that contains accented characters can bypass the XSSAuditor. XSSAuditor::decodeURL used the wrong length for the input string. When the input string was decoded, the decoded result was truncated. Hence, XSSAuditor was comparing the source code of the script to the truncated input parameters. Test: http/tests/security/xssAuditor/img-onerror-accented-char.html * page/XSSAuditor.cpp: (WebCore::XSSAuditor::decodeURL): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-