- 04 Jun, 2010 27 commits
-
-
eric@webkit.org authored
Reviewed by Pavel Feldman. Web Inspector: better Function.prototype.bind for the internal code. In the "Event Listeners" pane show handler function instead of Function.prototype.bind. https://bugs.webkit.org/show_bug.cgi?id=40080 * inspector/front-end/utilities.js: (Function.prototype.bind.bound): (Function.prototype.bind.bound.toString): (Function.prototype.bind): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
apavlov@chromium.org authored
Unreviewed, fix Qt build. Add references to a new file. * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * inspector/front-end/WebKit.qrc: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
apavlov@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: Eliminate direct dependency of StylesSidebarPane on InspectorBackend https://bugs.webkit.org/show_bug.cgi?id=40069 No new tests are needed, as this is a refactoring. * inspector/front-end/CSSStyleModel.js: Added. (WebInspector.CSSStyleModel): (WebInspector.CSSStyleModel.prototype.getStylesAsync): (WebInspector.CSSStyleModel.prototype.getComputedStyleAsync): (WebInspector.CSSStyleModel.prototype.setRuleSelector): (WebInspector.CSSStyleModel.prototype.addRule): (WebInspector.CSSStyleModel.prototype.toggleStyleEnabled): (WebInspector.CSSStyleModel.prototype.setCSSText): (WebInspector.CSSStyleModel.prototype.applyStyleText): * inspector/front-end/StylesSidebarPane.js: (WebInspector.StylesSidebarPane.prototype.update.stylesCallback): (WebInspector.StylesSidebarPane.prototype.update.computedStyleCallback): (WebInspector.StylesSidebarPane.prototype.update): (WebInspector.StylesSidebarPane.prototype._arrayContainsInheritedProperty): (WebInspector.StylePropertiesSection.prototype.editingSelectorCommitted.successCallback): (WebInspector.StylePropertiesSection.prototype.editingSelectorCommitted): (WebInspector.BlankStylePropertiesSection.prototype.editingSelectorCommitted.successCallback): (WebInspector.BlankStylePropertiesSection.prototype.editingSelectorCommitted): (WebInspector.StylePropertyTreeElement.prototype.): (WebInspector.StylePropertyTreeElement.prototype): * inspector/front-end/inspector.html: * inspector/front-end/inspector.js: (WebInspector.loaded): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
Reviewed by Yury Semikhatsky. Web Inspector: Create resource for DebuggerScript.js. https://bugs.webkit.org/show_bug.cgi?id=40122 * WebKit.grd: * public/WebDevToolsAgentClient.h: (WebKit::WebDevToolsAgentClient::debuggerScriptSource): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yael.aharon@nokia.com authored
https://bugs.webkit.org/show_bug.cgi?id=40078 Reviewed by Simon Hausmann. * QtTestBrowser/main.cpp: (NotificationsPermissionController::NotificationsPermissionController): (NotificationsPermissionController::checkPermission): (NotificationsPermissionController::requestPermission): (LauncherWindow::LauncherWindow): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=40116 Reviewed by Tor Arne Vestbø. CONFIG += mobility has the side-effect of pulling in mobility includes, which conflict with Qt 4.7's bearer managenent includes and break the build. * WebCore.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Dimitri Glazkov. [chromium] Fix scrolling bug with pages using accelerated compositing. https://bugs.webkit.org/show_bug.cgi?id=40037 * platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::LayerRendererChromium): (WebCore::LayerRendererChromium::drawLayers): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Adler. CG implementation needed for compression quality in canvas.toDataURL https://bugs.webkit.org/show_bug.cgi?id=38492 * platform/mac/Skipped: 2010-06-04 Matthew Delaney <mdelaney@apple.com> Reviewed by Darin Adler. CG implementation needed for compression quality in canvas.toDataURL https://bugs.webkit.org/show_bug.cgi?id=38492 Took toDataURL.jpeg.quality.basic.html test off of Skipped list. Passes. Went the route of avoiding in-band signaling to flag the use of a quality parameter or not. So, instead of simply passing the quality down as a double, instead I pass a reference to the quality parameter from where it comes in just after the JS bindings. Thus, no need for any global constants to signify when the quality is not specified. Updated the other platforms to support this (qt was on the only one currently with any implementation). * bindings/js/JSHTMLCanvasElementCustom.cpp: Moved range check logic for quality parameter down lower. Updated call to toDataURL to use double* instead of just passing the quality directly. (WebCore::JSHTMLCanvasElement::toDataURL): * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp: Updated toDataURL call to pass double* (WebCore::V8HTMLCanvasElement::toDataURLCallback): * dom/CanvasSurface.cpp: Updated method prototype. (WebCore::CanvasSurface::toDataURL): * dom/CanvasSurface.h: Updated method prototype. (WebCore::CanvasSurface::toDataURL): * platform/graphics/ImageBuffer.h: Updated method signature to use double* for quality param. * platform/graphics/cairo/ImageBufferCairo.cpp: Updated prototype for consistency. (WebCore::ImageBuffer::toDataURL): * platform/graphics/cg/ImageBufferCG.cpp: Implemented support for quality parametejr when jpeg MIME type used. (WebCore::jpegUTI): (WebCore::utiFromMIMEType): (WebCore::ImageBuffer::toDataURL): * platform/graphics/haiku/ImageBufferHaiku.cpp: Updated prototype for consistency. (WebCore::ImageBuffer::toDataURL): * platform/graphics/qt/ImageBufferQt.cpp: Updated prototype for consistency. (WebCore::ImageBuffer::toDataURL): * platform/graphics/skia/ImageBufferSkia.cpp: Updated prototype for consistency. (WebCore::ImageBuffer::toDataURL): * platform/graphics/wince/ImageBufferWince.cpp: Updated prototype for consistency. (WebCore::ImageBuffer::toDataURL): * platform/graphics/wx/ImageBufferWx.cpp: Updated prototype for consistency. (WebCore::ImageBuffer::toDataURL): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
failures on Chromium. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alex@webkit.org authored
Reviewed by Xan Lopez. Leaks in listDirectory https://bugs.webkit.org/show_bug.cgi?id=40008 Fixed both leaks. * platform/gtk/FileSystemGtk.cpp: (WebCore::listDirectory): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
steveblock@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=40153 * platform/gtk/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by David Levin. Modifying the WebMediaPlayer interface to be compatible with a change in chrome. This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome has been updated, so this commit should NOT break chromium anymore. https://bugs.webkit.org/show_bug.cgi?id=39445 * public/WebMediaPlayer.h: Changed buffered() to be non-const. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Nate Chapin. [Chromium] get rid of named interceptor on HTMLDocument and introduce/remove accessors when named items get deleted/removed https://bugs.webkit.org/show_bug.cgi?id=39877 This patch makes callbacks invoked on named items addition/removal install API accessors and thus there is no more need in named and indexed interceptors on HTMLDocument which speeds up invocation of methods on document. * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/ScriptController.cpp: (WebCore::ScriptController::namedItemAdded): (WebCore::ScriptController::namedItemRemoved): * bindings/v8/V8DOMWindowShell.cpp: (WebCore::checkDocumentWrapper): (WebCore::V8DOMWindowShell::updateDocumentWrapperCache): (WebCore::getter): (WebCore::V8DOMWindowShell::namedItemAdded): (WebCore::V8DOMWindowShell::namedItemRemoved): * bindings/v8/V8DOMWindowShell.h: * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::instantiateV8Object): * bindings/v8/custom/V8HTMLDocumentCustom.cpp: (WebCore::V8HTMLDocument::WrapInShadowObject): (WebCore::V8HTMLDocument::GetNamedProperty): (WebCore::V8HTMLDocument::allAccessorSetter): (WebCore::toV8): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
steveblock@google.com authored
Reviewed by Jeremy Orlow. Geolocation needs more LayoutTests to test making callbacks to remote frames https://bugs.webkit.org/show_bug.cgi?id=40146 This test is similar to callback-to-remote-context.html in that it test making a callback from a Geolocation object to a remote frame. In callback-to-remote-context.html, the call chain to the Geolocation method is started from the owning frame. In this test, however, the call chain is started from the remote frame. * fast/dom/Geolocation/callback-to-remote-context2-expected.txt: Added. * fast/dom/Geolocation/callback-to-remote-context2.html: Added. * fast/dom/Geolocation/script-tests/callback-to-remote-context2.js: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kent Tamura. Change filenameFromString to return CString https://bugs.webkit.org/show_bug.cgi?id=39494 filenameFromString returns a newly allocated string and the caller must free the string. GTK and EFL ports use g_free while all others ports use fastFree. This is confusing because the same function behaves differently with respect to ports. Change filenameFromString to return CString. * platform/FileSystem.cpp: (WebCore::filenameFromString): * platform/FileSystem.h: * platform/efl/FileSystemEfl.cpp: (WebCore::filenameFromString): * platform/gtk/FileChooserGtk.cpp: (WebCore::FileChooser::basenameForWidth): * platform/gtk/FileSystemGtk.cpp: (WebCore::filenameFromString): (WebCore::filenameForDisplay): (WebCore::fileExists): (WebCore::deleteFile): (WebCore::deleteEmptyDirectory): (WebCore::getFileSize): (WebCore::getFileModificationTime): (WebCore::makeAllDirectories): (WebCore::pathGetFileName): (WebCore::directoryName): (WebCore::listDirectory): * platform/gtk/SharedBufferGtk.cpp: (WebCore::SharedBuffer::createWithContentsOfFile): * platform/network/soup/ResourceHandleSoup.cpp: (WebCore::startHttp): * platform/posix/SharedBufferPOSIX.cpp: (WebCore::SharedBuffer::createWithContentsOfFile): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
steveblock@google.com authored
Reviewed by Jeremy Orlow. Geolocation LayoutTests should make more careful use of LayoutTestController https://bugs.webkit.org/show_bug.cgi?id=39994 Guards calls to LayoutTestController methods with 'if (window.layoutTestController)' and adds test output to make it clear if the test can not pass without LayoutTestController. Also removes superfluous calls to LayoutTestController.waitUntilDone(), which are now made by js-test-post.js. * fast/dom/Geolocation/callback-exception-expected.txt: * fast/dom/Geolocation/script-tests/callback-exception.js: * fast/dom/Geolocation/script-tests/error.js: * fast/dom/Geolocation/script-tests/maximum-age.js: * fast/dom/Geolocation/script-tests/notimer-after-unload.js: * fast/dom/Geolocation/script-tests/permission-denied-already-clear-watch.js: * fast/dom/Geolocation/script-tests/permission-denied-already-error.js: * fast/dom/Geolocation/script-tests/permission-denied-already-success.js: * fast/dom/Geolocation/script-tests/permission-denied-stops-watches.js: * fast/dom/Geolocation/script-tests/permission-denied.js: * fast/dom/Geolocation/script-tests/position-string.js: * fast/dom/Geolocation/script-tests/reentrant-error.js: * fast/dom/Geolocation/script-tests/reentrant-success.js: * fast/dom/Geolocation/script-tests/success.js: * fast/dom/Geolocation/script-tests/timeout-clear-watch.js: * fast/dom/Geolocation/script-tests/timeout-zero.js: * fast/dom/Geolocation/script-tests/timeout.js: * fast/dom/Geolocation/script-tests/watch.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Barth. Detect whether the user's environment can open a browser. https://bugs.webkit.org/show_bug.cgi?id=40136 Some environments like cygwin silently fail webbrowser.open() causing webkit-patch upload not to display any diff. This detects environments where webbrowser.open() would fail by testing if webbrowser.get() raises an exception. * Scripts/webkitpy/common/system/user.py: * Scripts/webkitpy/tool/mocktool.py: * Scripts/webkitpy/tool/steps/confirmdiff.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] Fix compilation with QT_NO_FEATURE https://bugs.webkit.org/show_bug.cgi?id=38324 The #ifdef QT_NO_GRAPHICSEFFECT was in the wrong place, would have made AC not work at all. No new tests. * platform/graphics/qt/GraphicsLayerQt.cpp: (WebCore::GraphicsLayerQtImpl::flushChanges): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Laszlo Gombos. [Qt] Failed at http://philip.html5.org/tests/canvas/suite/tests/2d.path.arcTo.ensuresubpath.1.html https://bugs.webkit.org/show_bug.cgi?id=38645 Remove 2d.path.arcTo.ensuresubpath.1.html from Skipped. * platform/qt/Skipped: 2010-06-04 Qi Zhang <qi.2.zhang@nokia.com> Reviewed by Laszlo Gombos. [Qt] Failed at http://philip.html5.org/tests/canvas/suite/tests/2d.path.arcTo.ensuresubpath.1.html https://bugs.webkit.org/show_bug.cgi?id=38645 Path arcto function need to ensure there is subpath before it. * platform/graphics/qt/PathQt.cpp: (WebCore::Path::addArcTo): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Laszlo Gombos. [Qt] failed at http://philip.html5.org/tests/canvas/suite/tests/2d.path.arc.angle.3.html https://bugs.webkit.org/show_bug.cgi?id=38537 Remove canvas/philip/tests/2d.path.arcTo.2d.path.arc.angle.3.html and canvas/philip/tests/2d.path.arcTo.2d.path.arc.angle.5.html from Skipped. * platform/qt/Skipped: 2010-06-04 Qi Zhang <qi.2.zhang@nokia.com> Reviewed by Laszlo Gombos. [Qt] failed at http://philip.html5.org/tests/canvas/suite/tests/2d.path.arc.angle.3.html https://bugs.webkit.org/show_bug.cgi?id=38537 For path.arc function handle span > 2PI * platform/graphics/qt/PathQt.cpp: (WebCore::Path::addArc): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. Remove a QEXPECT_FAIL flag from an autotest. Test tst_QScriptEngine::globalObject pass after 36600 bug fix have been applied. [Qt] Expected fail in the tst_QScriptEngine::globalObject should be removed. https://bugs.webkit.org/show_bug.cgi?id=40114 * qt/tests/qscriptengine/tst_qscriptengine.cpp: (tst_QScriptEngine::globalObject): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. Fix QScriptValue::equals. Handling for a few edge cases were added. Now comparison between NaN, an invalid objects should works as supposed. [Qt] QScriptValue::equals problems https://bugs.webkit.org/show_bug.cgi?id=40110 * qt/api/qscriptvalue.cpp: (QScriptValue::equals): * qt/api/qscriptvalue_p.h: (QScriptValuePrivate::equals): * qt/tests/qscriptvalue/tst_qscriptvalue.h: * qt/tests/qscriptvalue/tst_qscriptvalue_generated_comparison.cpp: (tst_QScriptValue::equals_initData): (tst_QScriptValue::equals_makeData): (tst_QScriptValue::equals_test): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Dimitri Glazkov. Set attributes.stencil to false by default at context creation https://bugs.webkit.org/show_bug.cgi?id=40090 * fast/canvas/webgl/context-attributes-expected.txt: Check if the default attributes.stencil == false. * fast/canvas/webgl/context-attributes.html: Ditto. 2010-06-04 Zhenyao Mo <zmo@google.com> Reviewed by Dimitri Glazkov. Set attributes.stencil to false by default at context creation https://bugs.webkit.org/show_bug.cgi?id=40090 * platform/graphics/GraphicsContext3D.h: Set default attributes.stencil to false. (WebCore::GraphicsContext3D::Attributes::Attributes): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
websocket/tests/reload-crash.html sometimes crash. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
morrita@google.com authored
Reviewed by Eric Carlson. Fix a crash when trying to use an invalid media src url by moving the isValid url checks to a central location in isSafeToLoadURL function. Also added an empty string check in DocumentLoader::didTellClientAboutLoad. Test: media/invalid-media-url-crash.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::isSafeToLoadURL): (WebCore::HTMLMediaElement::selectNextSourceChild): (WebCore::HTMLMediaElement::getPluginProxyParams): * loader/DocumentLoader.h: (WebCore::DocumentLoader::didTellClientAboutLoad): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
Reviewed by Eric Carlson. Tests that invalid media src url does not result in crash. * media/invalid-media-url-crash-expected.txt: Added. * media/invalid-media-url-crash.html: Added. * platform/gtk/Skipped: * platform/qt/Skipped: 2010-06-03 Abhishek Arya <inferno@chromium.org> Reviewed by Eric Carlson. Fix a crash when trying to use an invalid media src url by moving the isValid url checks to a central location in isSafeToLoadURL function. Also added an empty string check in DocumentLoader::didTellClientAboutLoad. Test: media/invalid-media-url-crash.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::isSafeToLoadURL): (WebCore::HTMLMediaElement::selectNextSourceChild): (WebCore::HTMLMediaElement::getPluginProxyParams): * loader/DocumentLoader.h: (WebCore::DocumentLoader::didTellClientAboutLoad): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by David Levin. Add dependencies required to link with VS Express 2005. https://bugs.webkit.org/show_bug.cgi?id=40038 Visual Studio implicitly links against these libs. VC++ Express does not. * WebKitAPITest/WebKitAPITestCommon.vsprops: * WinLauncher/WinLauncher.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Jun, 2010 13 commits
-
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. New states in QScriptValuePrivate. The CSpecial state was divided into CNull and CUndefined. It simplify the QScriptValue code by avoiding a few "cast" and "if". Moreover the MSVS compiler didn't like casting between a double and an enum which is avoided now. [Qt] The QScriptValuePrivate::CSpecial is too generic. https://bugs.webkit.org/show_bug.cgi?id=40067 * qt/api/qscriptvalue_p.h: (QScriptValuePrivate::): (QScriptValuePrivate::QScriptValuePrivate): (QScriptValuePrivate::isNull): (QScriptValuePrivate::isUndefined): (QScriptValuePrivate::toString): (QScriptValuePrivate::toNumber): (QScriptValuePrivate::toBool): (QScriptValuePrivate::toObject): (QScriptValuePrivate::assignEngine): (QScriptValuePrivate::isNumberBased): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ukai@chromium.org authored
Reviewed by David Levin. bad codecs.open in webkitpy/layout_tests/ports/websocket_server.py https://bugs.webkit.org/show_bug.cgi?id=40105 * Scripts/webkitpy/layout_tests/port/websocket_server.py: - kill pywebsocket process when url is not alive and the process is not terminated, not to leave pywebsocket server running. - fix codecs.open parameters. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
Skip fast/dom/Geolocation/callback-to-remote-context.html on GTK. https://bugs.webkit.org/show_bug.cgi?id=40153 * platform/gtk/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ukai@chromium.org authored
Reviewed by Alexey Proskuryakov. old-run-webkit-tests should use ensure-valid-python to check if it can run the websockets tests https://bugs.webkit.org/show_bug.cgi?id=39058 * platform/mac-tiger/Skipped: - remove websocket/tests from skipped list. 2010-06-03 Fumitoshi Ukai <ukai@chromium.org> Reviewed by Alexey Proskuryakov. old-run-webkit-tests should use ensure-valid-python to check if it can run the websockets tests https://bugs.webkit.org/show_bug.cgi?id=39058 * Scripts/ensure-valid-python: - Perl 5.8 doesn't have File::Temp->newdir(). Use File::Temp->tempdir() instead. - Add --check-only and --help option. - --check-only option only checks python version and don't try to install Python 2.5. - Set executable bit. * Scripts/old-run-webkit-tests: - Check if it can run the websocket tests by calling ensure-valid-python --check-only. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
morrita@google.com authored
Reviewed by Jian Li. [Chromium] Dragging over an element with scrollbars should scroll the element when dragging near edges https://bugs.webkit.org/show_bug.cgi?id=39725 Added WebViewImpl::scrollForDragging() to handle scroll-on-drag. Note that this change handes both source and destination cases. * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::dragSourceMovedTo): (WebKit::WebViewImpl::dragTargetDragEnterOrOver): (WebKit::WebViewImpl::scrollForDragging): * src/WebViewImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Reviewed by NOBODY (Qt build fix). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Unreviewed, rolling out r60642. http://trac.webkit.org/changeset/60642 https://bugs.webkit.org/show_bug.cgi?id=40151 Broke rendering of border images on rotated elements (Requested by jamesr on #webkit). * platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::drawImage): (WebCore::GraphicsContext::drawTiledImage): * platform/graphics/GraphicsContext.h: * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintNinePieceImage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pkasting@chromium.org authored
* platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adachan@apple.com authored
Add UIProcess\API\cpp to the list of additional include directories. Allow WKViewRef to work with WKRetainPtr on Windows. * UIProcess/API/cpp/WKRetainPtr.h: * win/WebKit2.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
This was fixed in bug #40094. Reviewed by Mark Rowe. * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: * wtf/Platform.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
steveblock@google.com authored
Reviewed by Alexey Proskuryakov. Geolocation needs LayoutTest to test making callbacks to remote frames https://bugs.webkit.org/show_bug.cgi?id=40129 * fast/dom/Geolocation/callback-to-remote-context-expected.txt: Added. * fast/dom/Geolocation/callback-to-remote-context.html: Added. * fast/dom/Geolocation/resources: Added. * fast/dom/Geolocation/resources/callback-to-remote-context-inner.html: Added. * fast/dom/Geolocation/script-tests/callback-to-remote-context.js: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
Unreviewed. Add chromium-specific baselines for new tests added by 60640 * platform/chromium-linux/fast/repaint/layout-state-scrolloffset-expected.checksum: Added. * platform/chromium-linux/fast/repaint/layout-state-scrolloffset2-expected.checksum: Added. * platform/chromium-linux/fast/repaint/layout-state-scrolloffset3-expected.checksum: Added. * platform/chromium-mac/fast/repaint/layout-state-scrolloffset-expected.checksum: Added. * platform/chromium-mac/fast/repaint/layout-state-scrolloffset-expected.png: Added. * platform/chromium-mac/fast/repaint/layout-state-scrolloffset2-expected.checksum: Added. * platform/chromium-mac/fast/repaint/layout-state-scrolloffset2-expected.png: Added. * platform/chromium-mac/fast/repaint/layout-state-scrolloffset3-expected.checksum: Added. * platform/chromium-mac/fast/repaint/layout-state-scrolloffset3-expected.png: Added. * platform/chromium-win/fast/repaint/layout-state-scrolloffset-expected.checksum: Added. * platform/chromium-win/fast/repaint/layout-state-scrolloffset-expected.png: Added. * platform/chromium-win/fast/repaint/layout-state-scrolloffset-expected.txt: Added. * platform/chromium-win/fast/repaint/layout-state-scrolloffset2-expected.checksum: Added. * platform/chromium-win/fast/repaint/layout-state-scrolloffset2-expected.png: Added. * platform/chromium-win/fast/repaint/layout-state-scrolloffset2-expected.txt: Added. * platform/chromium-win/fast/repaint/layout-state-scrolloffset3-expected.checksum: Added. * platform/chromium-win/fast/repaint/layout-state-scrolloffset3-expected.png: Added. * platform/chromium-win/fast/repaint/layout-state-scrolloffset3-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by David Levin. notifications: in display+close layout test, don't close the notification until the display event has been received asynchronously; also don't use an invalid icon URL, since that should generate an error event. https://bugs.webkit.org/show_bug.cgi?id=39782 * fast/notifications/notifications-display-close-events.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-