- 03 Feb, 2012 15 commits
-
-
alexis.menard@openbossa.org authored
https://bugs.webkit.org/show_bug.cgi?id=77491 Reviewed by Simon Fraser. Source/WebCore: The new blend function added with r105403 takes unsigned as parameters therefore we have to be careful to not overflow in case the to is less than from (animating from 400 to 0 for example). Test: animations/animation-border-overflow.html * platform/animation/AnimationUtilities.h: (WebCore::blend): LayoutTests: * animations/animation-border-overflow-expected.txt: Added. * animations/animation-border-overflow.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jesus@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=60074 Reviewed by Csaba Osztrogonác. Test http/tests/security/contentSecurityPolicy/eval-blocked.html is now passing, unskipping it. * platform/qt-wk2/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/106654 https://bugs.webkit.org/show_bug.cgi?id=77742 triggers asserts on mac, win, gtk, qt debug bots (Requested by philn-tp on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-03 Source/WebCore: * Modules/intents/IntentRequest.cpp: (WebCore::IntentRequest::create): * bindings/generic/ActiveDOMCallback.cpp: (WebCore::ActiveDOMCallback::ActiveDOMCallback): * dom/ActiveDOMObject.cpp: (WebCore::ActiveDOMObject::ActiveDOMObject): (WebCore::ActiveDOMObject::~ActiveDOMObject): * dom/ActiveDOMObject.h: (ActiveDOMObject): * dom/DocumentEventQueue.cpp: (WebCore::DocumentEventQueue::DocumentEventQueue): * dom/ScriptExecutionContext.cpp: (WebCore::ScriptExecutionContext::ScriptExecutionContext): (WebCore::ScriptExecutionContext::~ScriptExecutionContext): (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects): (WebCore::ScriptExecutionContext::suspendActiveDOMObjects): (WebCore::ScriptExecutionContext::resumeActiveDOMObjects): (WebCore::ScriptExecutionContext::stopActiveDOMObjects): * dom/ScriptExecutionContext.h: (ScriptExecutionContext): * fileapi/DOMFileSystem.cpp: (WebCore::DOMFileSystem::create): * fileapi/FileReader.cpp: (WebCore): * fileapi/FileReader.h: (WebCore::FileReader::create): * fileapi/FileWriter.cpp: (WebCore): * fileapi/FileWriter.h: (WebCore::FileWriter::create): * history/CachedFrame.cpp: (WebCore::CachedFrame::CachedFrame): * html/HTMLAudioElement.cpp: (WebCore::HTMLAudioElement::create): * html/HTMLMarqueeElement.cpp: (WebCore::HTMLMarqueeElement::create): * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::create): * mediastream/PeerConnection.cpp: (WebCore::PeerConnection::create): * notifications/Notification.cpp: (WebCore::Notification::create): * notifications/NotificationCenter.cpp: * notifications/NotificationCenter.h: (WebCore::NotificationCenter::create): * page/DOMTimer.cpp: (WebCore::DOMTimer::install): (WebCore::DOMTimer::fired): * page/EventSource.cpp: (WebCore::EventSource::create): * page/SuspendableTimer.cpp: (WebCore::SuspendableTimer::SuspendableTimer): * storage/IDBDatabase.cpp: (WebCore::IDBDatabase::create): * storage/IDBRequest.cpp: (WebCore::IDBRequest::create): * storage/IDBTransaction.cpp: (WebCore::IDBTransaction::create): * webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * websockets/WebSocket.cpp: * websockets/WebSocket.h: (WebCore::WebSocket::create): * workers/SharedWorker.cpp: (WebCore::SharedWorker::create): * workers/Worker.cpp: (WebCore::Worker::create): * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::create): LayoutTests: * fast/events/resources/suspend-subframe-1.html: Removed. * fast/events/resources/suspend-subframe-2.html: Removed. * fast/events/suspend-timers-expected.txt: Removed. * fast/events/suspend-timers.html: Removed. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
apavlov@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=77619 Reviewed by Vsevolod Vlasov. Source/WebCore: XPath is optimized whenever an element has the "id" attribute. Test: inspector/elements/node-xpath.xhtml * English.lproj/localizedStrings.js: * inspector/front-end/DOMAgent.js: (WebInspector.DOMNode.XPathStep): (WebInspector.DOMNode.XPathStep.prototype.toString): (WebInspector.DOMNode.prototype.copyXPath): (WebInspector.DOMNode.prototype.isXMLNode): (WebInspector.DOMNode.prototype.xPath): (WebInspector.DOMNode.prototype._xPathValue): (WebInspector.DOMNode.prototype._xPathIndex): * inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._populateNodeContextMenu): LayoutTests: * inspector/elements/node-xpath-expected.txt: Added. * inspector/elements/node-xpath.xhtml: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=77663 Source/WebCore: Make ASSERT in MainResourceLoader not fail if debugger hits breakpoint in the main resource inline script. Reviewed by Pavel Feldman. Test: inspector/debugger/pause-in-inline-script.html * bindings/js/ScriptDebugServer.h: (WebCore::ScriptDebugServer::isPaused): (ScriptDebugServer): * bindings/v8/ScriptDebugServer.h: (ScriptDebugServer): * inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::didClearMainFrameWindowObject): (WebCore): (WebCore::InspectorDebuggerAgent::isPaused): * inspector/InspectorDebuggerAgent.h: (InspectorDebuggerAgent): * inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::isDebuggerPausedImpl): (WebCore): * inspector/InspectorInstrumentation.h: (InspectorInstrumentation): (WebCore::InspectorInstrumentation::isDebuggerPaused): (WebCore): * loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::didFinishLoading): LayoutTests: Reviewed by Pavel Feldman. * platform/chromium/test_expectations.txt: assert was fixed, remove custom expectation for inspector/debugger/pause-in-inline-script.html git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=77203 Inspector console evaluation now works when debugger is paused in a page with content-security-policy prohibiting evals. Reviewed by Pavel Feldman. Source/WebCore: Test: inspector/debugger/eval-on-pause-blocked.html * bindings/js/JSInjectedScriptHostCustom.cpp: * bindings/js/ScriptState.cpp: (WebCore::evalEnabled): (WebCore): (WebCore::setEvalEnabled): * bindings/js/ScriptState.h: (WebCore): * bindings/v8/ScriptObject.h: (WebCore::ScriptObject::ScriptObject): * bindings/v8/ScriptState.cpp: (WebCore::evalEnabled): (WebCore): (WebCore::setEvalEnabled): * bindings/v8/ScriptState.h: (WebCore): * bindings/v8/custom/V8InjectedScriptHostCustom.cpp: * inspector/InjectedScript.cpp: (WebCore::InjectedScript::makeCall): * inspector/InjectedScriptHost.idl: * inspector/InjectedScriptSource.js: (.): LayoutTests: * inspector/debugger/eval-on-pause-blocked-expected.txt: Added. * inspector/debugger/eval-on-pause-blocked.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=53733 ScriptExecutionContext now remembers it has suspended active DOM objects and suspends all newly installed active DOM objects as well. All create-calls active DOM objects now calls the post constructor method suspendIfNeeded that updates the suspend state. It is post constructor because the suspend/resume functions are virtual and thus can not be called from constructors. Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-02-03 Reviewed by Mihai Parparita. Test: fast/events/suspend-timers.html * Modules/intents/IntentRequest.cpp: (WebCore::IntentRequest::create): * bindings/generic/ActiveDOMCallback.cpp: (WebCore::ActiveDOMCallback::ActiveDOMCallback): * dom/ActiveDOMObject.cpp: (WebCore::ActiveDOMObject::ActiveDOMObject): (WebCore::ActiveDOMObject::~ActiveDOMObject): (WebCore::ActiveDOMObject::suspendIfNeeded): * dom/ActiveDOMObject.h: (WebCore::ActiveDOMObject::suspendIfNeededCalled): * dom/DocumentEventQueue.cpp: (WebCore::DocumentEventQueue::DocumentEventQueue): * dom/ScriptExecutionContext.cpp: (WebCore::ScriptExecutionContext::ScriptExecutionContext): (WebCore::ScriptExecutionContext::~ScriptExecutionContext): (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects): (WebCore::ScriptExecutionContext::suspendActiveDOMObjects): (WebCore::ScriptExecutionContext::resumeActiveDOMObjects): (WebCore::ScriptExecutionContext::stopActiveDOMObjects): (WebCore::ScriptExecutionContext::suspendActiveDOMObjectIfNeeded): * dom/ScriptExecutionContext.h: (WebCore::ScriptExecutionContext::activeDOMObjectsAreSuspended): * fileapi/DOMFileSystem.cpp: (WebCore::DOMFileSystem::create): * fileapi/FileReader.cpp: (WebCore::FileReader::create): * fileapi/FileReader.h: * fileapi/FileWriter.cpp: (WebCore::FileWriter::create): * fileapi/FileWriter.h: * history/CachedFrame.cpp: (WebCore::CachedFrame::CachedFrame): * html/HTMLAudioElement.cpp: (WebCore::HTMLAudioElement::create): * html/HTMLMarqueeElement.cpp: (WebCore::HTMLMarqueeElement::create): * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::create): * mediastream/PeerConnection.cpp: (WebCore::PeerConnection::create): * notifications/Notification.cpp: (WebCore::Notification::create): * notifications/NotificationCenter.cpp: (WebCore::NotificationCenter::create): * notifications/NotificationCenter.h: * page/DOMTimer.cpp: (WebCore::DOMTimer::install): (WebCore::DOMTimer::fired): * page/EventSource.cpp: (WebCore::EventSource::create): * page/SuspendableTimer.cpp: (WebCore::SuspendableTimer::SuspendableTimer): * storage/IDBDatabase.cpp: (WebCore::IDBDatabase::create): * storage/IDBRequest.cpp: (WebCore::IDBRequest::create): * storage/IDBTransaction.cpp: (WebCore::IDBTransaction::create): * webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * websockets/WebSocket.cpp: (WebCore::WebSocket::create): * websockets/WebSocket.h: * workers/SharedWorker.cpp: (WebCore::SharedWorker::create): * workers/Worker.cpp: (WebCore::Worker::create): * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::create): LayoutTests: Test that timers do not fire from subframes of suspended documents. https://bugs.webkit.org/show_bug.cgi?id=53733 Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-02-03 Reviewed by Mihai Parparita. * fast/events/resources/suspend-subframe-1.html: Added. * fast/events/resources/suspend-subframe-2.html: Added. * fast/events/suspend-timers-expected.txt: Added. * fast/events/suspend-timers.html: Added. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=77729 Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-02-03 Reviewed by Csaba Osztrogonác. * platform/qt/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
apavlov@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=77105 Reviewed by Ryosuke Niwa. Source/WebCore: This change essentially maps mouse events into single-touch events in the following way: - mousedown -> touchstart - mouseup -> touchend - mousemove -> touchmove (between mousedown and mouseup). Test: fast/events/touch/emulate-touch-events.html * page/EventHandler.cpp: (SyntheticTouchPoint): A synthetic touch point built from PlatformMouseEvent. (WebCore::SyntheticTouchPoint::SyntheticTouchPoint): (SyntheticSingleTouchEvent): A synthetic touch point event built from PlatformMouseEvent. (WebCore::SyntheticSingleTouchEvent::SyntheticSingleTouchEvent): (WebCore::EventHandler::handleMouseReleaseEvent): Invoke maybeDispatchSyntheticTouchEvent() and bail out if necessary. (WebCore::EventHandler::handleMousePressEvent): Invoke maybeDispatchSyntheticTouchEvent() and bail out if necessary. (WebCore::EventHandler::mouseMoved): Invoke maybeDispatchSyntheticTouchEvent() and bail out if necessary. (WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled): Dispatch a synthetic touch event if necessary. * page/EventHandler.h: Added new method. * page/Settings.cpp: (WebCore::Settings::Settings): Added m_touchEventEmulationEnabled initializer. * page/Settings.h: Added m_touchEventEmulationEnabled, getter, and setter. (WebCore::Settings::setTouchEventEmulationEnabled): Added. (WebCore::Settings::isTouchEventEmulationEnabled): Added. * platform/PlatformTouchPoint.h: (WebCore::PlatformTouchPoint::PlatformTouchPoint): Unconditionally compile the parameterless ctor. * testing/InternalSettings.cpp: (WebCore::InternalSettings::setTouchEventEmulationEnabled): Added for testing. * testing/InternalSettings.h: Added setTouchEventEmulationEnabled() for testing. * testing/InternalSettings.idl: Added setTouchEventEmulationEnabled() for testing. LayoutTests: * fast/events/touch/emulate-touch-events-expected.txt: Added. * fast/events/touch/emulate-touch-events.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
* platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=77722 Reviewed by Vsevolod Vlasov. Source/WebCore: Test: inspector/elements/move-node.html * inspector/front-end/DOMAgent.js: (WebInspector.DOMAgent.prototype._markRevision): * inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeOutline.prototype._ondrop): (WebInspector.ElementsTreeOutline.prototype._doMove.callback): (WebInspector.ElementsTreeOutline.prototype._doMove): LayoutTests: * inspector/elements/move-node-expected.txt: Added. * inspector/elements/move-node.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=75930 Patch by Shinya Kawanaka <shinyak@google.com> on 2012-02-03 Reviewed by Hajime Morita. DETAILS is reimplemented using content element and its fallback feature. We don't need to recreate DOM even if SUMMARY is removed from or added into DETAILS. No new tests, should be covered by existing tests. * html/HTMLDetailsElement.cpp: (WebCore::DetailsSummaryElement::fallbackSummary): Takes fallback element of content summary. (DetailsSummaryElement): (WebCore::DetailsSummaryElement::create): Creates a fallback element also. (WebCore): (WebCore::HTMLDetailsElement::create): (WebCore::HTMLDetailsElement::HTMLDetailsElement): (WebCore::HTMLDetailsElement::createShadowSubtree): (WebCore::HTMLDetailsElement::findMainSummary): (WebCore::HTMLDetailsElement::parseMappedAttribute): (WebCore::HTMLDetailsElement::childShouldCreateRenderer): (WebCore::HTMLDetailsElement::toggleOpen): * html/HTMLDetailsElement.h: (HTMLDetailsElement): * html/HTMLSummaryElement.cpp: (WebCore::HTMLSummaryElement::isMainSummary): LayoutTests: Reimplement DETAILS and SUMMARY using selector query. https://bugs.webkit.org/show_bug.cgi?id=75930 Since the implementation of DETAILS shadow tree, the path of caret position is also changed. Patch by Shinya Kawanaka <shinyak@google.com> on 2012-02-03 Reviewed by Hajime Morita. * platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt: * platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt: * platform/gtk/fast/html/details-remove-summary-1-and-click-expected.txt: * platform/gtk/fast/html/details-remove-summary-4-and-click-expected.txt: * platform/mac/fast/html/details-remove-summary-1-and-click-expected.txt: * platform/mac/fast/html/details-remove-summary-4-and-click-expected.txt: * platform/qt/fast/html/details-remove-summary-1-and-click-expected.txt: * platform/qt/fast/html/details-remove-summary-4-and-click-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=77434 Source/WebCore: Patch by Alexei Filippov <alexeif@chromium.org> on 2012-02-02 Reviewed by Pavel Feldman. * inspector/front-end/DetailedHeapshotGridNodes.js: (WebInspector.HeapSnapshotGridNode.prototype._toPercentString): (WebInspector.HeapSnapshotGridNode.prototype._createValueCell): (WebInspector.HeapSnapshotGenericObjectNode.prototype.createCell): (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data): (WebInspector.HeapSnapshotConstructorNode.prototype.createCell): (WebInspector.HeapSnapshotConstructorNode.prototype.get data): (WebInspector.HeapSnapshotDiffNode.prototype.get data): * inspector/front-end/DetailedHeapshotView.js: (WebInspector.HeapSnapshotContainmentDataGrid): (WebInspector.HeapSnapshotConstructorsDataGrid): (WebInspector.HeapSnapshotDiffDataGrid): (WebInspector.HeapSnapshotDominatorsDataGrid): (WebInspector.DetailedHeapshotView.prototype._mouseDownInContentsGrid): (WebInspector.DetailedHeapshotView.prototype.get _isShowingAsPercent): (WebInspector.DetailedHeapshotView.prototype._percentClicked): * inspector/front-end/heapProfiler.css: (.detailed-heapshot-view .data-grid span.percent-column): LayoutTests: Added parseInt conversion as counters are now strings not ints. Patch by Alexei Filippov <alexeif@chromium.org> on 2012-02-02 Reviewed by Pavel Feldman. * inspector/profiler/detailed-heapshots-comparison-show-all.html: * inspector/profiler/detailed-heapshots-comparison-show-next.html: * inspector/profiler/detailed-heapshots-summary-show-all.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=76701 Patch by Matt Falkenhagen <falken@chromium.org> on 2012-02-02 Reviewed by Darin Adler. Source/WebCore: So far, only content-language set through http-equiv is used; the HTTP Content-Language header is not yet supported. Tests: fast/text/content-language-case-insensitivity.html fast/text/content-language-mapped-to-webkit-locale.html fast/text/international/content-language-font-selection-expected.html fast/text/international/content-language-font-selection.html fast/text/international/content-language-with-subtags-expected.html fast/text/international/content-language-with-subtags.html * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::styleForDocument): Use content language when selecting initial font. * dom/Document.cpp: (WebCore::Document::setContentLanguage): Recalculate style so language is taken into account. (WebCore): * dom/Document.h: (Document): LayoutTests: Add tests that content-language from http-equiv sets document locale and is used in font selection. * fast/text/content-language-case-insensitivity-expected.txt: Added. * fast/text/content-language-case-insensitivity.html: Added. * fast/text/content-language-mapped-to-webkit-locale-expected.txt: Added. * fast/text/content-language-mapped-to-webkit-locale.html: Added. * fast/text/international/content-language-font-selection-expected.html: Added. * fast/text/international/content-language-font-selection.html: Added. * fast/text/international/content-language-with-subtags-expected.html: Added. * fast/text/international/content-language-with-subtags.html: Added. * fast/text/lang-mapped-to-webkit-locale-expected.txt: * fast/text/lang-mapped-to-webkit-locale.xhtml: Fix some style issues. * fast/text/xml-lang-ignored-in-html-expected.txt: * fast/text/xml-lang-ignored-in-html.html: Fix some style issues. * platform/efl/Skipped: Skip tests using overridePreference("WebKit*FontMap"...) on non-Chromium ports. * platform/gtk-wk2/Skipped: Ditto. * platform/gtk/Skipped: Ditto. * platform/mac/Skipped: Ditto. * platform/qt/Skipped: Ditto. * platform/win/Skipped: Ditto. * platform/wincairo/Skipped: Ditto. * platform/wk2/Skipped: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt/Skipped: Skip one more failing test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 02 Feb, 2012 25 commits
-
-
mikelawther@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=75822 Reviewed by Hajime Morita. Tests for future implementation of CSS3 calc() (see http://webkit.org/b/16662) These tests are expected to 'fail', and will pass once calc() functionality is landed. For now, they serve to demonstrate that the current code doesn't crash on these tests. * css3/calc/css3-radial-gradients-expected-mismatch.html: Added. * css3/calc/css3-radial-gradients.html: Added. * css3/calc/gradient-color-stops-expected-mismatch.html: Added. * css3/calc/gradient-color-stops.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=52130 Source/WebCore: Adding disabled property to SVGStyleElement, which mirrors the functionality added to HTMLStyleElement for DOM1. The disabled property reflects and sets the disabled state of its style sheet. Based off of patch for bug 25287 Patch by Bear Travis <betravis@adobe.com> on 2012-02-02 Reviewed by Dirk Schulze. Test: svg/dom/SVGStyleElement/disable-svg-style-element.html * svg/SVGStyleElement.cpp: (WebCore::SVGStyleElement::disabled): (WebCore): (WebCore::SVGStyleElement::setDisabled): * svg/SVGStyleElement.h: (SVGStyleElement): * svg/SVGStyleElement.idl: LayoutTests: Test the disabled property of an svg style element. Based off of the patch for bug 25287. Patch by Bear Travis <betravis@adobe.com> on 2012-02-02 Reviewed by Dirk Schulze. * svg/dom/SVGStyleElement/disable-svg-style-element-expected.txt: Added. * svg/dom/SVGStyleElement/disable-svg-style-element.html: Added. * svg/dom/SVGStyleElement/script-tests/disable-svg-style-element.js: Added. (createStyle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=71413 Source/WebCore: Patch by Raymond Toy <rtoy@google.com> on 2012-02-02 Reviewed by Kenneth Russell. Tests added for each filter type and for the limiting cases for each filter type. * platform/audio/Biquad.cpp: (WebCore::Biquad::setLowpassParams): (WebCore::Biquad::setHighpassParams): (WebCore::Biquad::setLowShelfParams): (WebCore::Biquad::setHighShelfParams): (WebCore::Biquad::setPeakingParams): (WebCore::Biquad::setAllpassParams): (WebCore::Biquad::setNotchParams): (WebCore::Biquad::setBandpassParams): Check for invalid parameters and clip them to something sensible. Also check for the limiting cases and try to use the limiting form of the z-transform for the biquad. Some issues cannot be consistently handled because the z-transform is not continuous as the parameters approach the limit. LayoutTests: Patch by Raymond Toy <rtoy@chromium.org> on 2012-02-02 Reviewed by Kenneth Russell. * webaudio/biquad-allpass-expected.txt: Added * webaudio/biquad-allpass.html: Added * webaudio/biquad-bandpass-expected.txt: Added * webaudio/biquad-bandpass.html: Added * webaudio/biquad-highpass-expected.txt: Added * webaudio/biquad-highpass.html: Added * webaudio/biquad-highshelf-expected.txt: Added * webaudio/biquad-highshelf.html: Added * webaudio/biquad-lowpass-expected.txt: Added * webaudio/biquad-lowpass.html: Added * webaudio/biquad-lowshelf-expected.txt: Added * webaudio/biquad-lowshelf.html: Added * webaudio/biquad-notch-expected.txt: Added * webaudio/biquad-notch.html: Added * webaudio/biquad-peaking-expected.txt: Added * webaudio/biquad-peaking.html: Added * webaudio/resources/biquad-testing.js: Added git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=77584 Extracts shared test code from content-element-move.html and content-element-select-dynamic.html. This test framework will be used a few more times. Patch by Shinya Kawanaka <shinyak@google.com> on 2012-02-02 Reviewed by Hajime Morita. * fast/dom/resources/shadow-test-driver.js: Added. (log): (cleanUp): (removeContainerLines): (check): (createSpanWithText): (createContentWithSelect): (appendShadow): (appendShadowDeep): (doTestIfLeft.callIfDone): (doneTest): (doTest): * fast/dom/shadow/content-element-move.html: * fast/dom/shadow/content-element-select-dynamic.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=76262 Patch by Shinya Kawanaka <shinyak@google.com> on 2012-02-02 Reviewed by Hajime Morita. Source/WebCore: When light children is changed, the element included in HTMLContentElement may also be changed. So we have to recalculate inclusion of content element again. Test: fast/dom/shadow/shadow-contents-fallback-dynamic.html * dom/Element.cpp: (WebCore::Element::childrenChanged): LayoutTests: Tests for dynamic content fallback. Also, unnecessary RenderText objects in previous test expectations were removed. * fast/dom/shadow/shadow-contents-fallback-dynamic-expected.txt: Added. * fast/dom/shadow/shadow-contents-fallback-dynamic.html: Added. * platform/chromium-win/fast/html/details-remove-child-2-expected.txt: * platform/gtk/fast/html/details-remove-child-2-expected.txt: * platform/mac/fast/html/details-remove-child-2-expected.txt: * platform/qt/fast/html/details-remove-child-2-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=77225 Patch by Raymond Toy <rtoy@google.com> on 2012-02-02 Reviewed by Kenneth Russell. * webaudio/note-grain-on-play.html: Added. * webaudio/note-grain-on-play-expected.txt: Added. * webaudio/note-grain-on-timing.html: Refactored to use new functions in note-grain-on-testing.js. * webaudio/note-grain-on-timing-expected.txt: Updated. * webaudio/resources/audio-testing.js: (grainLengthInSampleFrames): Utility to compute length of a grain in samples. * webaudio/resources/note-grain-on-testing.js: Added. (createSignalBuffer): (findStartAndEndSamples): (playGrain): (playAllGrains): (verifyStarAndtEndTimes): Common functions for note-grain-on-play and note-grain-on-timing tests to use. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=75996 Patch by Raymond Toy <rtoy@google.com> on 2012-02-02 Reviewed by Kenneth Russell. * webaudio/sample-accurate-scheduling-expected.txt: Updated * webaudio/sample-accurate-scheduling.html: Fix typo, add test for expected number of events. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=77256 Patch by Raymond Toy <rtoy@google.com> on 2012-02-02 Reviewed by Eric Seidel. * platform/chromium/test_expectations.txt: webaudio/audiobuffersource-playbackrate.html and webaudio/gain.html pass on windows now after the fix for bug 76659. Delete these. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=77593 Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-02-02 Reviewed by Michael Saboff. Source/JavaScriptCore: The method Interpreter::execute() was crashing on empty programs because the assumption is made the source is not null. This patch shortcut the execution when the String is null to avoid invalid memory access. * interpreter/Interpreter.cpp: (JSC::Interpreter::execute): LayoutTests: The Worker thread should not crash if running on an empty page. The timer is necessary to give a chance for the thread to start. * fast/workers/empty-worker-nocrash-expected.txt: Added. * fast/workers/empty-worker-nocrash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=77684 Source/JavaScriptCore: Reviewed by Oliver Hunt. * interpreter/Interpreter.cpp: (JSC::Interpreter::retrieveCallerFromVMCode): LayoutTests: Rubber stamped by Oliver Hunt. * fast/js/dfg-inline-function-dot-caller-expected.txt: Added. * fast/js/dfg-inline-function-dot-caller.html: Added. * fast/js/script-tests/dfg-inline-function-dot-caller.js: Added. (resultArray): (object.nonInlineable.nonInlineable.if): (object.nonInlineable): (object.inlineable): (makeInlinableCall): (g): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aestes@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=76667 Source/WebCore: Turning on CSS_FILTERS flag for Windows and fixed a couple of resultant build errors Patch by Chris Marrin <cmarrin@apple.com> on 2012-02-02 Reviewed by Adele Peterson. * WebCore.vcproj/copyForwardingHeaders.cmd: * platform/graphics/ca/win/PlatformCALayerWin.cpp: (PlatformCALayer::setFilters): (PlatformCALayer::filtersCanBeComposited): WebKitLibraries: Turned on CSS_FILTERS for Windows Patch by Chris Marrin <cmarrin@apple.com> on 2012-02-02 Reviewed by Adele Peterson. * win/tools/vsprops/FeatureDefines.vsprops: LayoutTests: Skipped filter test files not supported on Windows Patch by Chris Marrin <cmarrin@apple.com> on 2012-02-02 Reviewed by Adele Peterson. * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=77675 Reviewed by Timothy Hatcher. Source/JavaScriptCore: Our default literal parsing logic doesn't handle the extra work required for getters and setters. When it encounters one, it rolls back the lexer and then switches to a more complete parsing function. Unfortunately it was only winding back the character position, and was ignoring the line number and other lexer data. This led to every getter and setter causing the line number to be incorrectly incremented leading to increasingly incorrect numbers for the rest of the file. * parser/Parser.cpp: (JSC::::parseObjectLiteral): LayoutTests: Add getter and setter line number tests. * fast/js/exception-linenums-expected.txt: * fast/js/script-tests/exception-linenums.js: (firstPropIsGetter.get getter): (secondPropIsGetter.prop.1.get getter): (firstPropIsSetter.set setter): (secondPropIsSetter.prop.1.set setter): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
japhet@chromium.org authored
Unreviewed, chromium expectations update. Remove custom chromium-mac expectation for fast/canvas/fillPath-shadow.html, since it's failing the same way as chromium win/linux. * platform/chromium-mac/fast/canvas/canvas-fillPath-shadow-expected.txt: Removed. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/106566 https://bugs.webkit.org/show_bug.cgi?id=77673 Broke the Windows build (Requested by jessieberlin on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-02 Source/WebCore: * WebCore.vcproj/copyForwardingHeaders.cmd: * platform/graphics/ca/win/PlatformCALayerWin.cpp: WebKitLibraries: * win/tools/vsprops/FeatureDefines.vsprops: LayoutTests: * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
scherkus@chromium.org authored
Unreviewed, updating Chromium test expectations. https://bugs.webkit.org/show_bug.cgi?id=73681 * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
japhet@chromium.org authored
Unreviewed, chromium expectations update. Mark some touch event tests as crashing, since they're asserting as of r106554. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=74273 Patch by Raymond Toy <rtoy@google.com> on 2012-02-02 Reviewed by Kenneth Russell. Source/WebCore: Tests: webaudio/distance-exponential.html webaudio/distance-inverse.html webaudio/distance-linear.html * webaudio/AudioPannerNode.h: Define enum for the new constants for the distance models. * webaudio/AudioPannerNode.idl: Define matching constants for the distance models. LayoutTests: * webaudio/distance-exponential-expected.txt: Added. * webaudio/distance-exponential.html: Added. * webaudio/distance-inverse-expected.txt: Added. * webaudio/distance-inverse.html: Added. * webaudio/distance-linear-expected.txt: Added. * webaudio/distance-linear.html: Added. * webaudio/resources/distance-model-testing.js: Added. (createImpulseBuffer): (linearDistance): (exponentialDistance): (inverseDistance): (createGraph): (startSources): (equalPowerGain): (checkDistanceResult.return.renderedBuffer): (checkDistanceResult): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=77235 Patch by Raymond Toy <rtoy@google.com> on 2012-02-02 Reviewed by Kenneth Russell. Source/WebCore: Modified existing panner-set-model test to catch exceptions. Debug build should not crash anymore. * webaudio/AudioPannerNode.cpp: (WebCore::AudioPannerNode::setPanningModel): Throw exception for invalid model values. * webaudio/AudioPannerNode.h: (AudioPannerNode): Update declaration * webaudio/AudioPannerNode.idl: Setting panner model can throw exception. LayoutTests: * webaudio/panner-set-model-expected.txt: Updated. * webaudio/panner-set-model.html: Catch the errors that are thrown for invalid panning model values. * platform/chromium/test_expectations.txt: Remove test that no longer crashes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
japhet@chromium.org authored
Unreviewed, chromium expectations update. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
* platform/chromium/fast/events/remove-target-with-shadow-in-drag-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=67485 * platform/qt-wk2/Skipped: - fast/dom/Window/window-properties.html: unskip, it needed only update - fast/text/complex-preferred-logical-widths.html: unskip, it passes now - http/tests/loading/empty-urls.html: unskip, it doesn't exist now - http/tests/loading/progress-finished-callback.html: move to the correct place * platform/qt-wk2/fast/dom/Window/window-properties-expected.txt: Updated. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt/Skipped: Unskip a now passing test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt-mac/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=77628 * platform/qt-5.0/Skipped: * platform/qt-wk2/Skipped: * platform/qt/Skipped: Skip new crashing tests after r106554. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=76667 Source/WebCore: Turning on CSS_FILTERS flag for Windows and fixed a couple of resultant build errors Reviewed by Adele Peterson. * WebCore.vcproj/copyForwardingHeaders.cmd: * platform/graphics/ca/win/PlatformCALayerWin.cpp: (PlatformCALayer::setFilters): (PlatformCALayer::filtersCanBeComposited): WebKitLibraries: Turned on CSS_FILTERS for Windows Reviewed by Adele Peterson. * win/tools/vsprops/FeatureDefines.vsprops: LayoutTests: Skipped filter test files not supported on Windows Reviewed by Adele Peterson. * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-