- 01 Dec, 2009 40 commits
-
-
abarth@webkit.org authored
Reviewed by Darin Adler. Add sneaky test that has tabs. * fast/frames/sandboxed-iframe-attribute-parsing-expected.txt: Added. * fast/frames/sandboxed-iframe-attribute-parsing.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Reviewed by Darin Adler. Implement HTML5 sandbox attribute for iframes. http://www.w3.org/TR/html5/text-level-semantics.html#attr-iframe-sandbox https://bugs.webkit.org/show_bug.cgi?id=21288 * fast/frames/resources/non-sandboxed-iframe-navigation.html: Added. * fast/frames/resources/sandboxed-iframe-attribute-parsing-allowed.html: Added. * fast/frames/resources/sandboxed-iframe-attribute-parsing-disallowed.html: Added. * fast/frames/resources/sandboxed-iframe-form-allowed.html: Added. * fast/frames/resources/sandboxed-iframe-form-disallowed.html: Added. * fast/frames/resources/sandboxed-iframe-navigated.html: Added. * fast/frames/resources/sandboxed-iframe-navigation-child.html: Added. * fast/frames/resources/sandboxed-iframe-navigation-navigated.html: Added. * fast/frames/resources/sandboxed-iframe-navigation-parent.html: Added. * fa...
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=32030 Reviewed by David Kilzer. WebCore: Test: accessibility/aria-text-role.html * accessibility/AccessibilityObject.cpp: (WebCore::createARIARoleMap): * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::stringValue): (WebCore::AccessibilityRenderObject::isDescendantOfBarrenParent): (WebCore::AccessibilityRenderObject::accessibilityIsIgnored): (WebCore::AccessibilityRenderObject::text): * accessibility/AccessibilityRenderObject.h: LayoutTests: * accessibility/aria-text-role-expected.txt: Added. * accessibility/aria-text-role.html: Added. * platform/gtk/Skipped: * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=32044 Reviewed by Maciej Stachowiak. The crash is caused by the prototype wrapper object getting collected when allocating the object that is going to use it as a prototype. Because the only reference to the prototype wrapper is through the new object's Structure it does not get marked automatically. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
added svg/animation in the WebCore.vcproj list of headers to be copied over on build. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
levin@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=32033 Reviewed by Eric Seidel. * Scripts/modules/cpp_style.py: Changed check for a possible primary header to use find instead of startswith. * Scripts/modules/cpp_style_unittest.py: Added a unit test for the new behavior. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
Reviewed by Simon Fraser. Add SVG animation test framework with 'snapshot' functionality https://bugs.webkit.org/show_bug.cgi?id=31897 Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method, forwarding the call to SVGDocumentExtensions, if SVG is enabled. Implemented just like the existing pauseAnimation* methods for CSS animations. * Api/qwebframe.cpp: (qt_drt_pauseSVGAnimation): 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Simon Fraser. Add SVG animation test framework with 'snapshot' functionality https://bugs.webkit.org/show_bug.cgi?id=31897 Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method, forwarding the call to SVGDocumentExtensions, if SVG is enabled. Implemented just like the existing pauseAnimation* methods for CSS animations. * webkit/webkitprivate.h: * webkit/webkitwebframe.cpp: (webkit_web_frame_pause_svg_animation): 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Simon Fraser. Add SVG animation test framework with 'snapshot' functionality https://bugs.webkit.org/show_bug.cgi?id=31897 Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method, forwarding the call to SVGDocumentExtensions, if SVG is enabled. Implemented just like the existing pauseAnimation* methods for CSS animations. * Interfaces/IWebFramePrivate.idl: * WebFrame.cpp: (WebFrame::pauseSVGAnimation): * WebFrame.h: 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Simon Fraser. Add SVG animation test framework with 'snapshot' functionality https://bugs.webkit.org/show_bug.cgi?id=31897 Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method, forwarding the call to SVGDocumentExtensions, if SVG is enabled. Implemented just like the existing pauseAnimation* methods for CSS animations. * WebView/WebFrame.mm: (-[WebFrame _pauseSVGAnimation:onSMILNode:atTime:]): * WebView/WebFramePrivate.h: 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Simon Fraser. Add SVG animation test framework with 'snapshot' functionality https://bugs.webkit.org/show_bug.cgi?id=31897 Add 'sampleSVGAnimationForElementAtTime' method to the LayoutTestController, for the use within the new SVG animation test framework (LayoutTests/svg/animations/) layoutTestController.sampleAnimationAtTime(<svg animation id>, <absolute time>, <svg element id>); to sample a svg animateMotion/animateColor/animate/set element at certain times. After the desired SVG animation starts and calling the method above, it's immediately forwarded to the desired sampling time. After JS returns from the 'sampleSVGAnimationForElementAtTime' method a callback is fired used to sample the animation value at the target time. It's modelled similar to the CSS animation/transition testing framework, inspired by LayoutTests/animations/animation-test-helpers.js. Though it has been extended to integrate within the fast/js/js-test-* framework, that's used for the SVG dynamic-updates tests, to simplify test creation, by utilizing script-tests/* only. Adding a simple testcase testing the DRT methods, it will soon be extended to test animVal/baseVal interaction, while animating. Test: svg/animations/animVal-basics.html * WebCore.base.exp: * WebCore.xcodeproj/project.pbxproj: * svg/SVGDocumentExtensions.cpp: (WebCore::SVGDocumentExtensions::sampleAnimationAtTime): * svg/SVGDocumentExtensions.h: * svg/animation/SMILTimeContainer.cpp: (WebCore::SMILTimeContainer::SMILTimeContainer): (WebCore::SMILTimeContainer::sampleAnimationAtTime): (WebCore::SMILTimeContainer::updateAnimations): * svg/animation/SMILTimeContainer.h: 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Simon Fraser. Add SVG animation test framework with 'snapshot' functionality https://bugs.webkit.org/show_bug.cgi?id=31897 Add LayoutTests/svg/animations directory, containing a new framework for SVG animation test with sampling at certain times. Added one example test, which will be extended soon to cover animVal support, once basic support has been implemented. * svg/animations: Added. * svg/animations/animVal-basics-expected.txt: Added. * svg/animations/animVal-basics.html: Added. * svg/animations/resources: Added. * svg/animations/resources/SVGAnimationTestCase.js: Added. (isCloseEnough): (moveAnimationTimelineAndSample): (startTest): (sampleAnimation): (runAnimationTest): * svg/animations/script-tests: Added. * svg/animations/script-tests/TEMPLATE.html: Added. * svg/animations/script-tests/animVal-basics.js: Added. (sample1): (sample2): (sample3): (executeTest): 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Simon Fraser. Add SVG animation test framework with 'snapshot' functionality https://bugs.webkit.org/show_bug.cgi?id=31897 Add new 'sampleSVGAnimationForElementAtTime' DRT method, used by the new SVG animation testing framework, implemented for qt/gtk/win/mac. * DumpRenderTree/LayoutTestController.cpp: (sampleSVGAnimationForElementAtTimeCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::sampleSVGAnimationForElementAtTime): * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::sampleSVGAnimationForElementAtTime): * DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::sampleSVGAnimationForElementAtTime): * DumpRenderTree/qt/LayoutTestControllerQt.h: * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::sampleSVGAnimationForElementAtTime): * DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::sampleSVGAnimationForElementAtTime): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
snej@chromium.org authored
This will allow AtomicString-keyed maps to be queried by C string without having to create a temporary AtomicString (see HTTPHeaderMap.) The code for this is adapted from the equivalent in HashSet.h. WebCore: Add convenience methods to Element and QualifiedName that take char* instead of AtomicString, in preparation for removing the implicit conversion between the two types (30187). https://bugs.webkit.org/show_bug.cgi?id=31749 Reviewed by Darin Adler. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
* platform/network/cf/CredentialStorageCFNet.cpp: (WebCore::CredentialStorage::getFromPersistentStorage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
* platform/network/cf/CredentialStorageCFNet.cpp: Include RetainPtr.h. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Rubber-stamped in advance by Brady Eidson. * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Mark Rowe. * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::userAgent): * WebView/WebView.mm: (-[WebView userAgentForURL:]): * WebView/WebViewInternal.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=32036 Implement CredentialStorage::getFromPersistentStorage for CFNetwork git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pkasting@chromium.org authored
part one: Add new APIs. (Old APIs will be removed in a second pass.) https://bugs.webkit.org/show_bug.cgi?id=31893 Reviewed by Darin Fisher. * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::zoomLevel): (WebKit::WebViewImpl::setZoomLevel): * src/WebViewImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Pavel Feldman. https://bugs.webkit.org/show_bug.cgi?id=32001 Updated layout test to reflect change to localized string and rebased the result. * inspector/elements-img-tooltip-expected.txt: * inspector/elements-img-tooltip.html: 2009-12-01 Daniel Bates <dbates@webkit.org> Reviewed by Pavel Feldman. https://bugs.webkit.org/show_bug.cgi?id=32001 Added missing localized strings (that I left out of the patch for bug #21554): %d × %d pixels %d × %d pixels (Natural: %d × %d pixels) Also, changed formatting of these stings to conform with existing ones (added a space on both sides of the multiply sign). * English.lproj/localizedStrings.js: Added stings. * inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype.createTooltipForImageNode): git-svn-id: http://svn.webkit.org/repository/we...
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. https://bugs.webkit.org/show_bug.cgi?id=31898 Makes QtLauncher default to the http scheme for URLs. * QtLauncher/main.cpp: (MainWindow::MainWindow): (MainWindow::changeLocation): (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Rubber-stamped by Brady Eidson. * platform/win/Skipped: Skip http/tests/plugins/post-url-file.html. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
Reviewed by Simon Fraser. Added fast/css/namespaces/namespaces-empty.xml * css/CSSStyleSheet.cpp: (WebCore::CSSStyleSheet::addNamespace): (WebCore::CSSStyleSheet::determineNamespace): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Fixes <http://webkit.org/b/31479> Make websocket tests work on Windows Reviewed by Alexey Proskuryakov. * DumpRenderTree/win/DumpRenderTree.cpp: (resetWebViewToConsistentStateBeforeTesting): Remove all user content before each test, which matches Mac. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
joepeck@webkit.org authored
Reviewed by Timothy Hatcher. Web Inspector: Escape key in the Search Field should be more User Friendly https://bugs.webkit.org/show_bug.cgi?id=32005 * inspector/front-end/inspector.js: (WebInspector.loaded): add mousedown listener on the search field (WebInspector.searchFieldManualFocus): user clicked to focus on the search field (WebInspector.searchKeyDown): handle escape git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
* platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Eric Seidel. PLATFORM(CAIRO) should be defined by WIN_CAIRO define https://bugs.webkit.org/show_bug.cgi?id=22250 * wtf/Platform.h: Remove WTF_PLATFORM_CAIRO as it is already define in config.h git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
Reviewed by Alexey Proskuryakov. Make pywebsocket log errors to a file https://bugs.webkit.org/show_bug.cgi?id=31604 * Scripts/run-webkit-tests: Log output to a pywebsocket_log.txt file in results directory (by passing the path to the server via a recently added -l option). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
@namespace directives need to use "maybe_space" in the "maybe_ns_prefix" portion of the grammar to match the spec. Not doing so prevent comments from being used immmediately after the namespace prefix. Reviewed by David Kilzer. Added fast/css/namespaces-comments.xml * css/CSSGrammar.y: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Fisher. Only fire start/stop events when main frame is not loading. https://bugs.webkit.org/show_bug.cgi?id=31838 * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Rubber-stamped by Ada Chan. * platform/win/Skipped: Added fast/dom/Window/window-postmessage-clone.html, which was timing out due to eventSender.beginDragFiles being unimplemented. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Reviewed by Ada Chan. Fixes <http://webkit.org/b/32027> REGRESSION (r49705): Tests that use TestNetscapePlugin fail in Debug_Internal builds * DumpRenderTree/win/DumpRenderTree.cpp: Use the "_Debug" plugin directory in Debug and Debug_All builds, but not in Debug_Internal builds. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
It was accidentally disabled in r50907. * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::setWaitToDump): Remove a "false &&" that snuck into an if condition. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Timothy Hatcher. Reloading WebInspector from context menu is closing it instead of reloading. https://bugs.webkit.org/show_bug.cgi?id=32004 When reloading WebInspector, don't delete its m_page. * inspector/InspectorController.cpp: (WebCore::InspectorController::close): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
<http://webkit.org/b/32021> covers fixing these tests. Rubber-stamped by Sam Weinig. * platform/win/Skipped: Removed tests that use textInputController. * platform/win/editing/selection/5825350-1-expected.txt: Added. * platform/win/editing/selection/5825350-2-expected.txt: Added. * platform/win/editing/selection/mixed-editability-10-expected.txt: Added. * platform/win/fast/events/ime-composition-events-001-expected.txt: Added. * platform/win/fast/forms/input-maxlength-ime-completed-expected.txt: Added. * platform/win/fast/forms/input-maxlength-ime-preedit-expected.txt: Added. * platform/win/fast/text/international/thai-cursor-position-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt/Skipped: inspector/timeline-network-resource.html added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Reviewed by Eric Seidel. check-webkit-style complains about #imports with / in them https://bugs.webkit.org/show_bug.cgi?id=32022 We need to exclude #import directives in addition to #include from the binary operator whitespace checks. * Scripts/modules/cpp_style.py: * Scripts/modules/cpp_style_unittest.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Dimitri Glazkov. Adds V8 bindings for Geolocation. https://bugs.webkit.org/show_bug.cgi?id=30206 Also adds Geolocation files to Chrome build files. * WebCore.gyp/WebCore.gyp: Modified. Corrects list of Geolocation IDL files. * WebCore.gypi: Modified. Adds Geolocation files. * bindings/v8/DOMObjectsInclude.h: Modified. Adds Geolocation includes. * bindings/v8/DerivedSourcesAllInOne.cpp: Modified. Adds Geolocation files. * bindings/v8/V8Index.cpp: Modified. Includes Geolocation generated headers. * bindings/v8/V8Index.h: Modified. Adds Geolocation types to DOM_OBJECT_TYPES. * bindings/v8/custom/V8CoordinatesCustom.cpp: Added. Handles optional properties. * bindings/v8/custom/V8CustomBinding.h: Modified. Declares callbacks and getters. * bindings/v8/custom/V8CustomPositionCallback.cpp: Added. (WebCore::V8CustomPositionCallback::V8CustomPositionCallback): Added. Constructor. (WebCore::V8CustomPositionCallback::~V8CustomPositionCallback): Added. Destructor. (WebCore::V8CustomPositionCallback::handleEvent): Added. Invokes callback. * bindings/v8/custom/V8CustomPositionCallback.h: Added. (WebCore::V8CustomPositionCallback::create): Added. Factory method. * bindings/v8/custom/V8CustomPositionErrorCallback.cpp: Added. (WebCore::V8CustomPositionErrorCallback::V8CustomPositionErrorCallback): Added. Constructor. (WebCore::V8CustomPositionErrorCallback::~V8CustomPositionErrorCallback): Added. Destructor. (WebCore::V8CustomPositionErrorCallback::handleEvent): Added. Invokes callback. * bindings/v8/custom/V8CustomPositionErrorCallback.h: Added. (WebCore::V8CustomPositionErrorCallback::create): Added. Factory method. * bindings/v8/custom/V8GeolocationCustom.cpp: Added. (WebCore::throwTypeMismatchException): Added. Throws a type mismatch error. (WebCore::createPositionCallback): Added. Handles type checking for successCallback argument. (WebCore::createPositionErrorCallback): Added. Handles type checking for errorCallback argument. (WebCore::createPositionOptions): Added. Handles type checking for positionOptions argument. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-