- 19 Mar, 2009 2 commits
-
-
cwzwarich@webkit.org authored
Reviewed by Oliver Hunt. Bug 24596: ASSERT in JSC::PropertySlot::slotBase @ iGoogle homepage <https://bugs.webkit.org/show_bug.cgi?id=24596> <rdar://problem/6686493> JSDOMWindow::customGetOwnPropertySlot() does an access check after calling JSGlobalObject::getOwnPropertySlot(). This causes the PropertySlot to be set twice, once to the value that is illegal to access, and then to undefined This causes an assertion failure in property access caching code. The fix is to do the access check before calling JSGlobalObject::getOwnPropertySlot(). WebCore: * bindings/js/JSDOMWindowCustom.h: (WebCore::JSDOMWindow::customGetOwnPropertySlot): LayoutTests: * http/tests/security/cross-frame-access-get-custom-property-cached-expected.txt: Added. * http/tests/security/cross-frame-access-get-custom-property-cached.html: Added. * http/tests/security/resources/cross-frame-access-get-custom-property-cached-iframe.html: Added. * http/tests/security/resources/cross-frame-access.js: (shouldBeUndefined): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=24676 Simple cross-origin requests shouldn't dispatch upload progress events Test: http/tests/xmlhttprequest/simple-cross-origin-progress-events.html * loader/CrossOriginAccessControl.cpp: (WebCore::passesAccessControlCheck): Added a comment explaining the somewhat unexpected behavior of this function. * xml/XMLHttpRequestUpload.cpp: (WebCore::XMLHttpRequestUpload::hasListeners): * xml/XMLHttpRequestUpload.h: Report whether there are any event listeners registered. * xml/XMLHttpRequest.h: Added m_uploadEventsAllowed. * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::createRequest): Set m_uploadEventsAllowed flag. (WebCore::XMLHttpRequest::makeSameOriginRequest): Ditto. (WebCore::XMLHttpRequest::makeCrossOriginAccessRequest): Ditto. (WebCore::XMLHttpRequest::makeSimpleCrossOriginAccessRequest): Set request body - it can be non-empty for POST requests. (WebCore::XMLHttpRequest::makeCrossOriginAccessRequestWithPreflight): Set m_uploadEventsAllowed flag. (WebCore::XMLHttpRequest::handleAsynchronousPreflightResult): Ditto. (WebCore::XMLHttpRequest::abort): Only dispatch upload progress events if allowed. (WebCore::XMLHttpRequest::networkError): Ditto. (WebCore::XMLHttpRequest::abortError): Ditto. (WebCore::XMLHttpRequest::didSendData): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 18 Mar, 2009 8 commits
-
-
rdar://problem/6530010mrowe@apple.com authored
Reviewed by Sam Weinig. * platform/mac-snowleopard/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
what it was designed to test for some time, and is failing on some machines. Fixing the test is tracked by <https://bugs.webkit.org/show_bug.cgi?id=24690>. Rubber-stamped by Dan Bernstein. * platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html-disabled: Renamed from LayoutTests/platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/6693300mrowe@apple.com authored
Reviewed by Dan Bernstein. Switch from using printf to using the NPAPI to invoke console.log so that plug-in messages appear in test results even when the plug-in's stdout differs from DumpRenderTree's stdout. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: (log): Invoke console.log via the NPAPI. (NPP_Destroy): Call log instead of printf. (NPP_SetWindow): Ditto. (handleEventCarbon): Ditto. (handleEventCocoa): Ditto. (NPP_HandleEvent): Pass the instance in to the event handler. Update test results for change to address <rdar://problem/6693300>. * plugins/mouse-events-expected.txt: * plugins/netscape-destroy-plugin-script-objects-expected.txt: * plugins/netscape-plugin-setwindow-size-2-expected.txt: * plugins/netscape-plugin-setwindow-size-expected.txt: * plugins/open-and-close-window-with-plugin-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin@apple.com authored
Rubber-stamped by Dan Bernstein. Updating test to reflect our joy. * fast/dom/offset-parent-positioned-and-inline-expected.txt: * fast/dom/offset-parent-positioned-and-inline.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin@apple.com authored
2009-03-18 Beth Dakin <bdakin@apple.com> Reviewed by Dave Hyatt. Fix for <rdar://problem/6636747> REGRESSION (Safari 4 PB-r41326): Popup menu appears at the wrong location on page at http:// www.signonsandiego.com/ This was a regression from http://trac.webkit.org/changeset/40769, which changed the base class of RenderInline to RenderBoxModelObject rather than RenderBox. * rendering/RenderObject.cpp: (WebCore::RenderObject::offsetParent): offsetParent should return a RenderBoxModelObject rather than just a RenderBox, which is more restrictive. LayoutTests: 2009-03-18 Beth Dakin <bdakin@apple.com> Reviewed by Dave Hyatt. Test for <rdar://problem/6636747> REGRESSION (Safari 4 PB-r41326): Popup menu appears at the wrong location on page at http:// www.signonsandiego.com/ * fast/dom/offset-parent-positioned-and-inline-expected.txt: Added. * fast/dom/offset-parent-positioned-and-inline.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
2009-03-18 Sam Weinig <sam@webkit.org> Reviewed by Simon Fraser. Fix for https://bugs.webkit.org/show_bug.cgi?id=23966 REGRESSION: Custom arrow navigation functionality doesn't work at dropular.net <rdar://problem/6589657> Match the CSSOM spec for getClientRects and getBoundingClientRect by returning a 0x0 rect at the correct top/left position for empty inline boxes. * rendering/RenderInline.cpp: (WebCore::RenderInline::absoluteRects): (WebCore::RenderInline::absoluteQuads): LayoutTests: 2009-03-18 Sam Weinig <sam@webkit.org> Reviewed by Simon Fraser. Update test results for https://bugs.webkit.org/show_bug.cgi?id=23966 REGRESSION: Custom arrow navigation functionality doesn't work at dropular.net <rdar://problem/6589657> * fast/dom/getBoundingClientRect-expected.txt: * fast/dom/getClientRects-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=24670 Add tests for XHR progress events during cross-origin requests. * http/tests/xmlhttprequest/redirect-cross-origin-2-expected.txt: Added. * http/tests/xmlhttprequest/redirect-cross-origin-2.html: Added. * http/tests/xmlhttprequest/redirect-cross-origin-expected.txt: Added. * http/tests/xmlhttprequest/redirect-cross-origin-post-expected.txt: Added. * http/tests/xmlhttprequest/redirect-cross-origin-post-sync-expected.txt: Added. * http/tests/xmlhttprequest/redirect-cross-origin-post-sync.html: Added. * http/tests/xmlhttprequest/redirect-cross-origin-post.html: Added. * http/tests/xmlhttprequest/redirect-cross-origin-sync-double-expected.txt: Added. * http/tests/xmlhttprequest/redirect-cross-origin-sync-double.html: Added. * http/tests/xmlhttprequest/redirect-cross-origin-sync-expected.txt: Added. * http/tests/xmlhttprequest/redirect-cross-origin-sync.html: Added. * http/tests/xmlhttprequest/redirect-cross-origin.html: Added. * http/tests/xmlhttprequest/simple-cross-origin-denied-events-expected.txt: Added. * http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-expected.txt: Added. * http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-sync-expected.txt: Added. * http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-sync.html: Added. * http/tests/xmlhttprequest/simple-cross-origin-denied-events-post.html: Added. * http/tests/xmlhttprequest/simple-cross-origin-denied-events-sync-expected.txt: Added. * http/tests/xmlhttprequest/simple-cross-origin-denied-events-sync.html: Added. * http/tests/xmlhttprequest/simple-cross-origin-denied-events.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/6692138oliver@apple.com authored
<rdar://problem/6692138> REGRESSION (Safari 4): Incorrect function return value when using IE "try ... finally" memory leak work-around (24654) <https://bugs.webkit.org/show_bug.cgi?id=24654> Reviewed by Cameron Zwarich. If the return value for a function is in a local register we need to copy it before executing any finalisers, otherwise it is possible for the finaliser to clobber the result. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Mar, 2009 14 commits
-
-
mrowe@apple.com authored
Rubber-stamped by Dan Bernstein. The attributes aren't important to the test. * platform/mac/fast/text/attributed-substring-from-range-001-expected.txt: * platform/mac/fast/text/attributed-substring-from-range-001.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Rubber-stamped by Dan Bernstein. * platform/mac-leopard/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.checksum: Renamed from LayoutTests/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.checksum. * platform/mac-leopard/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.png: Renamed from LayoutTests/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.png. * platform/mac-leopard/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt: Copied from LayoutTests/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt. * platform/mac-leopard/fast/text/international/bidi-AN-after-L-expected.checksum: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-L-expected.checksum. * platform/mac-leopard/fast/text/international/bidi-AN-after-L-expected.png: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-L-expected.png. * platform/mac-leopard/fast/text/international/bidi-AN-after-L-expected.txt: Copied from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-L-expected.txt. * platform/mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.checksum: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.checksum. * platform/mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.png: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.png. * platform/mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.txt: Copied from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.txt. * platform/mac-leopard/fast/text/international/bidi-CS-after-AN-expected.checksum: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-CS-after-AN-expected.checksum. * platform/mac-leopard/fast/text/international/bidi-CS-after-AN-expected.png: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-CS-after-AN-expected.png. * platform/mac-leopard/fast/text/international/bidi-CS-after-AN-expected.txt: Copied from LayoutTests/platform/mac/fast/text/international/bidi-CS-after-AN-expected.txt. * platform/mac-leopard/fast/text/international/bidi-neutral-run-expected.checksum: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-neutral-run-expected.checksum. * platform/mac-leopard/fast/text/international/bidi-neutral-run-expected.png: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-neutral-run-expected.png. * platform/mac-leopard/fast/text/international/bidi-neutral-run-expected.txt: Copied from LayoutTests/platform/mac/fast/text/international/bidi-neutral-run-expected.txt. * platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt: * platform/mac/fast/text/international/bidi-AN-after-L-expected.txt: * platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.txt: * platform/mac/fast/text/international/bidi-CS-after-AN-expected.txt: * platform/mac/fast/text/international/bidi-neutral-run-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
and non-Mac platforms are already skipping the tests. Rubber-stamped by Dan Bernstein. * fast/dom/Window/window-properties-expected.txt: * fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac/fast/dom/Window/window-properties-expected.txt: Removed. * platform/mac/fast/dom/navigator-detached-no-crash-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Rubber-stamped by Sam Weinig. * fast/xsl/mozilla-tests-expected.txt: * platform/mac-leopard/fast/xsl/mozilla-tests-expected.txt: Copied from LayoutTests/fast/xsl/mozilla-tests-expected.txt. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Reviewed by Sam Weinig. * platform/mac-leopard/fast/dom/Window/window-properties-expected.txt: Copied from LayoutTests/fast/dom/Window/window-properties-expected.txt. * platform/mac-leopard/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt. * platform/mac/fast/dom/Window/window-properties-expected.txt: Copied from LayoutTests/fast/dom/Window/window-properties-expected.txt. * platform/mac/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Reviewed by Sam Weinig. * geolocation/geolocation-not-implemented-expected.txt: Removed. * geolocation/geolocation-not-implemented.html: Removed. * geolocation/geolocation-test.js: Removed. * platform/gtk/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Rubber-stamped by Sam Weinig. * platform/mac-leopard/css1/text_properties/text_transform-expected.checksum: Renamed from LayoutTests/platform/mac/css1/text_properties/text_transform-expected.checksum. * platform/mac-leopard/css1/text_properties/text_transform-expected.png: Renamed from LayoutTests/platform/mac/css1/text_properties/text_transform-expected.png. * platform/mac-leopard/css1/text_properties/text_transform-expected.txt: Copied from LayoutTests/platform/mac/css1/text_properties/text_transform-expected.txt. * platform/mac-leopard/css2.1/t1605-c545-txttrans-00-b-ag-expected.checksum: Renamed from LayoutTests/platform/mac/css2.1/t1605-c545-txttrans-00-b-ag-expected.checksum. * platform/mac-leopard/css2.1/t1605-c545-txttrans-00-b-ag-expected.png: Renamed from LayoutTests/platform/mac/css2.1/t1605-c545-txttrans-00-b-ag-expected.png. * platform/mac-leopard/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt: Copied from LayoutTests/platform/mac/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt. * platform/mac/css1/text_properties/text_transform-expected.txt: * platform/mac/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adele Peterson. Put the padding inside scrollbars on textareas. https://bugs.webkit.org/show_bug.cgi?id=24370 Put the padding inside the scrollbars on textareas. This is done by moving the overflow from the shadowNode to the RenderTextControlMultiline. As a result, all of the scroll handing methods that RenderTextControl overrides can be moved down into RenderTextControlSingleLine since RenderTextControlMultiline can now just use RenderBlock's versions. This also allows RenderTextControlMultiLine to no longer need a custom layout method since the shadowNode can now just size like a regular DIV. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::adjustRenderStyle): * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::styleDidChange): (WebCore::RenderTextControl::selection): (WebCore::RenderTextControl::calcHeight): (WebCore::RenderTextControl::hitInnerTextElement): * rendering/RenderTextControl.h: * rendering/RenderTextControlMultiLine.cpp: (WebCore::RenderTextControlMultiLine::nodeAtPoint): (WebCore::RenderTextControlMultiLine::createInnerTextStyle): * rendering/RenderTextControlMultiLine.h: * rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::styleDidChange): (WebCore::RenderTextControlSingleLine::autoscroll): (WebCore::RenderTextControlSingleLine::scrollWidth): (WebCore::RenderTextControlSingleLine::scrollHeight): (WebCore::RenderTextControlSingleLine::scrollLeft): (WebCore::RenderTextControlSingleLine::scrollTop): (WebCore::RenderTextControlSingleLine::setScrollLeft): (WebCore::RenderTextControlSingleLine::setScrollTop): (WebCore::RenderTextControlSingleLine::scroll): * rendering/RenderTextControlSingleLine.h: * rendering/TextControlInnerElements.cpp: (WebCore::RenderTextControlInnerBlock::RenderTextControlInnerBlock): (WebCore::RenderTextControlInnerBlock::positionForPoint): (WebCore::TextControlInnerTextElement::createRenderer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele@apple.com authored
2009-03-17 Adele Peterson <adele@apple.com> Reviewed by Darin Adler. Fix for https://bugs.webkit.org/show_bug.cgi?id=24655 <rdar://problem/6633727> Hitting return at the end of a line with an anchor jumps me to the bottom of the message Test: editing/inserting/6633727.html This changes does a few things: 1) Renames pos to insertionPosition. 2) Eliminates "startNode". It doesn't work well to consider the node separately from the insertionPosition. The insertionPosition gets updated at various times, and it seems likely that startNode can get out of sync. 3) Before building up a list of ancestors to move around when we insert the new block, make sure to use the deepest representation of the insertionPosition, so all ancestor nodes are correctly included. * editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply): LayoutTests: 2009-03-17 Adele Peterson <adele@apple.com> Reviewed by Darin Adler. Test for https://bugs.webkit.org/show_bug.cgi?id=24655 <rdar://problem/6633727> Hitting return at the end of a line with an anchor jumps me to the bottom of the message * editing/inserting/6633727.html: Added. * platform/mac/editing/inserting/6633727-expected.checksum: Added. * platform/mac/editing/inserting/6633727-expected.png: Added. * platform/mac/editing/inserting/6633727-expected.txt: Added. Updated results. The behavior for these tests doesn't change, but the render tree is slightly different. * platform/mac/editing/inserting/insert-div-021-expected.txt: * platform/mac/editing/style/block-styles-007-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=13287 Cannot change SELECT to a dynamically created option Tests: fast/forms/add-and-remove-option.html fast/forms/add-remove-option-modification-event.html fast/forms/add-selected-option.html fast/forms/select-cache-desynchronization.html * dom/ContainerNode.cpp: (WebCore::dispatchChildInsertionEvents): Increment DOM tree version. This will happen when dispatching DOMSubtreeModified again, but the version should be incremented for event listeners to have an up to date view of the DOM. (WebCore::dispatchChildRemovalEvents): Ditto. * html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::insertedIntoTree): Make sure that the select element knows about its new selected option. * html/HTMLOptionElement.h: Use insertedIntoTree() instead of insertedIntoDocument(), because DOM also needs to be updated for forms that are not in document yet. Similar problems exist for node removing, but removedFromTree() is called at a wrong time, so those problems cannot be fixed without deeper refactoring. * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::setRecalcListItems): Reset m_activeSelectionAnchorIndex - it doesn't make sense to keep the anchor after programmatically changing the selection, and keeping it was causing a failure in fast/forms/listbox-selection.html. * html/HTMLSelectElement.h: Removed overrides for ContainerNode methods that only called base class versions. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
2009-03-16 David Hyatt <hyatt@apple.com> <rdar://problem/6648411> REGRESSION: Layout of page is wrong at http://www.popcap.com/ Make sure that the initial shouldPaint check that looks at enclosingLayers properly skips over layers that don't paint themselves. This is done by adding a new boolean parameter to enclosingLayer so that RenderObjects can walk up the enclosing layer chain and skip any layers that don't paint themselves. Reviewed by Darin Adler. Added fast/block/float/overlapping-floats-with-overflow-hidden.html * WebCore.base.exp: * rendering/RenderBlock.cpp: (WebCore::RenderBlock::addOverhangingFloats): * rendering/RenderObject.cpp: (WebCore::RenderObject::enclosingSelfPaintingLayer): * rendering/RenderObject.h: LayoutTests: 2009-03-16 David Hyatt <hyatt@apple.com> <rdar://problem/6648411> REGRESSION: Layout of page is wrong at http://www.popcap.com/ Make...
-
darin@apple.com authored
2009-03-17 Darin Adler <darin@apple.com> Reviewed by Alexey Proskuryakov. Bug 24624: Crash in imageLoadEventTimerFired after adoptNode used on <img>, seen with inspector, which uses adoptNode https://bugs.webkit.org/show_bug.cgi?id=24624 rdar://problem/6422850 Test: fast/dom/HTMLImageElement/image-load-cross-document.html * dom/Document.cpp: (WebCore::Document::Document): Removed m_imageLoadEventTimer. (WebCore::Document::detach): Removed m_imageLoadEventDispatchSoonList and m_imageLoadEventDispatchingList. (WebCore::Document::implicitClose): Called ImageLoader::dispatchPendingLoadEvents instead of dispatchImageLoadEventsNow. * dom/Document.h: Removed ImageLoader, dispatchImageLoadEventSoon, dispatchImageLoadEventsNow, removeImage, m_imageLoadEventDispatchSoonList, m_imageLoadEventDispatchingList, m_imageLoadEventTimer, and imageLoadEventTimerFired. * loader/Imag...
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=24614 Access control checks are different in cached and uncached cases Test: http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached.html * loader/CrossOriginAccessControl.cpp: (WebCore::isOnAccessControlSimpleRequestMethodWhitelist): Factored out simple method check for use in both cached and uncached cases. In cached case, an old definition that omitted HEAD was still used. (WebCore::isOnAccessControlSimpleRequestHeaderWhitelist): Check that content type has an allowed value. This is needed in all call sites. Also changed to compare MIME type, not content type. (WebCore::isSimpleCrossOriginAccessRequest): Use the above methods. * loader/CrossOriginAccessControl.h: Expose isOnAccessControlSimpleRequestMethodWhitelist. * loader/CrossOriginPreflightResultCache.cpp: (WebCore::CrossOriginPreflightResultCacheIt...
-
kov@webkit.org authored
Reviewed by Mark Rowe. https://bugs.webkit.org/show_bug.cgi?id=24638 [GTK] HTML5 media tags do not work Remove the blacklisting of the media/ directory, now that we have a working MediaPlayer; skip only the tests that are still failing because MediaPlayerPrivateGStreamer is not completely implemented. * platform/gtk/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Mar, 2009 9 commits
-
-
mrowe@apple.com authored
Rubber-stamped by Adele Peterson. * platform/mac-snowleopard/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Rubber-stamped by Beth Dakin. * platform/mac-snowleopard/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Rubber-stamped by Beth Dakin. * platform/mac/accessibility/lists-expected.txt: * platform/mac/accessibility/table-attributes-expected.txt: * platform/mac/accessibility/table-detection-expected.txt: * platform/mac/accessibility/table-sections-expected.txt: * platform/mac/accessibility/table-with-aria-role-expected.txt: * platform/mac/accessibility/table-with-rules-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Rubber-stamped by Beth Dakin. * platform/mac/accessibility/accesskey-expected.txt: Renamed from LayoutTests/accessibility/accesskey-expected.txt. * platform/mac/accessibility/accesskey.html: Renamed from LayoutTests/accessibility/accesskey.html. * platform/mac/accessibility/aria-describedby-on-input-expected.txt: Renamed from LayoutTests/accessibility/aria-describedby-on-input-expected.txt. * platform/mac/accessibility/aria-labelledby-on-input-expected.txt: Renamed from LayoutTests/accessibility/aria-labelledby-on-input-expected.txt. * platform/mac/accessibility/aria-range-expected.txt: Renamed from LayoutTests/accessibility/aria-range-expected.txt. * platform/mac/accessibility/aria-range-value-expected.txt: Renamed from LayoutTests/accessibility/aria-range-value-expected.txt. * platform/mac/accessibility/aria-range-value.html: Renamed from LayoutTests/accessibility/aria-range-value.html. * platform/mac/accessibility/aria-range.html...
-
darin@apple.com authored
2009-03-16 Darin Adler <darin@apple.com> Reviewed by Adele Peterson. Bug 24629: moving forward or backward a paragraph fails at edge of document https://bugs.webkit.org/show_bug.cgi?id=24629 rdar://problem/6544413 Test: editing/selection/move-paragraph-document-edges.html * editing/visible_units.cpp: (WebCore::previousParagraphPosition): Use the last result from previousLinePosition rather than going all the way back to what was originally passed in when we hit exception cases like null or not moving. This correctly inherits the behavior of previousLinePosition when we are in a paragraph at the edge of a document. (WebCore::nextParagraphPosition): Ditto. LayoutTests: 2009-03-16 Darin Adler <darin@apple.com> Reviewed by Adele Peterson. Bug 24629: moving forward or backward a paragraph fails at edge of document https://bugs.webkit.org/show_bug.cgi?id=24629 rdar...
-
hyatt@apple.com authored
2009-03-12 David Hyatt <hyatt@apple.com> Reviewed by Eric Seidel https://bugs.webkit.org/show_bug.cgi?id=13632 Overflow scrolling needs to account for the bottom/right padding on the object itself as well as for bottom/right margins on children. Existing tests cover this. * rendering/RenderBlock.cpp: (WebCore::RenderBlock::lowestPosition): (WebCore::RenderBlock::rightmostPosition): LayoutTests: 2009-03-16 David Hyatt <hyatt@apple.com> Reviewed by Eric Seidel https://bugs.webkit.org/show_bug.cgi?id=13632 Overflow scrolling needs to account for the bottom/right padding on the object itself as well as for bottom/right margins on children. * platform/mac/fast/body-propagation/overflow/002-expected.checksum: * platform/mac/fast/body-propagation/overflow/002-expected.png: * platform/mac/fast/body-propagation/overflow/002-expected.txt: * platform/mac/fast/body-propagation/overflow/002-xhtml-expected.checksum: * platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png: * platform/mac/fast/body-propagation/overflow/002-xhtml-expected.txt: * platform/mac/fast/body-propagation/overflow/003-declarative-expected.checksum: * platform/mac/fast/body-propagation/overflow/003-declarative-expected.png: * platform/mac/fast/body-propagation/overflow/003-declarative-expected.txt: * platform/mac/fast/body-propagation/overflow/003-expected.checksum: * platform/mac/fast/body-propagation/overflow/003-expected.png: * platform/mac/fast/body-propagation/overflow/003-expected.txt: * platform/mac/fast/body-propagation/overflow/003-xhtml-expected.checksum: * platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png: * platform/mac/fast/body-propagation/overflow/003-xhtml-expected.txt: * platform/mac/fast/body-propagation/overflow/004-declarative-expected.checksum: * platform/mac/fast/body-propagation/overflow/004-declarative-expected.png: * platform/mac/fast/body-propagation/overflow/004-declarative-expected.txt: * platform/mac/fast/body-propagation/overflow/004-expected.checksum: * platform/mac/fast/body-propagation/overflow/004-expected.png: * platform/mac/fast/body-propagation/overflow/004-expected.txt: * platform/mac/fast/body-propagation/overflow/004-xhtml-expected.checksum: * platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png: * platform/mac/fast/body-propagation/overflow/004-xhtml-expected.txt: * platform/mac/fast/body-propagation/overflow/007-declarative-expected.checksum: * platform/mac/fast/body-propagation/overflow/007-declarative-expected.png: * platform/mac/fast/body-propagation/overflow/007-declarative-expected.txt: * platform/mac/fast/body-propagation/overflow/007-expected.checksum: * platform/mac/fast/body-propagation/overflow/007-expected.png: * platform/mac/fast/body-propagation/overflow/007-expected.txt: * platform/mac/fast/body-propagation/overflow/007-xhtml-expected.checksum: * platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png: * platform/mac/fast/body-propagation/overflow/007-xhtml-expected.txt: * platform/mac/fast/forms/basic-textareas-expected.txt: * platform/mac/fast/forms/input-disabled-color-expected.txt: * platform/mac/fast/forms/input-readonly-autoscroll-expected.checksum: * platform/mac/fast/forms/input-readonly-autoscroll-expected.png: * platform/mac/fast/forms/input-readonly-autoscroll-expected.txt: * platform/mac/fast/forms/input-readonly-dimmed-expected.txt: * platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.checksum: * platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.png: * platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.txt: * platform/mac/fast/overflow/003-expected.checksum: * platform/mac/fast/overflow/003-expected.png: * platform/mac/fast/overflow/003-expected.txt: * platform/mac/fast/overflow/004-expected.checksum: * platform/mac/fast/overflow/004-expected.png: * platform/mac/fast/overflow/007-expected.checksum: * platform/mac/fast/overflow/007-expected.png: * platform/mac/fast/overflow/007-expected.txt: * platform/mac/fast/overflow/clip-rects-fixed-ancestor-expected.txt: * platform/mac/fast/repaint/selection-gap-overflow-scroll-expected.checksum: * platform/mac/fast/repaint/selection-gap-overflow-scroll-expected.png: * platform/mac/fast/repaint/selection-gap-overflow-scroll-expected.txt: * platform/mac/fast/replaced/width100percent-textarea-expected.checksum: * platform/mac/fast/replaced/width100percent-textarea-expected.png: * platform/mac/fast/replaced/width100percent-textarea-expected.txt: * platform/mac/scrollbars/overflow-scrollbar-combinations-expected.txt: * platform/mac/tables/mozilla/bugs/bug83786-expected.txt: * platform/mac/tables/mozilla_expected_failures/bugs/bug106966-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
2009-03-16 Sam Weinig <sam@webkit.org> Reviewed by Anders Carlsson. Fix for <rdar://problem/6320555> Add an upper limit for setting HTMLSelectElement.length. Test: fast/forms/select-max-length.html * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::setOption): (WebCore::HTMLSelectElement::setLength): LayoutTests: 2009-03-16 Sam Weinig <sam@webkit.org> Reviewed by Anders Carlsson. Test for <rdar://problem/6320555> Add an upper limit for setting HTMLSelectElement.length. * fast/forms/select-max-length-expected.txt: Added. * fast/forms/select-max-length.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pam@chromium.org authored
Reviewed by Dimitri Glazkov. Remove test dependency on precise window location and size. It's not clear to me why these vary, but they're not what the test is checking, so it need not depend on them in any case. https://bugs.webkit.org/show_bug.cgi?id=24170 * fast/dom/Window/window-lookup-precedence-expected.txt: * fast/dom/Window/window-lookup-precedence.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=21752 REGRESSION: referencing XHR constructor for a not yet loaded frame permanently breaks it Test: fast/dom/Window/window-early-properties-xhr.html For some transitions, the Window object is not replaced, but Document is. When this happened, window.document property was updated, but references to Document kept in cached constructors were not. * bindings/js/JSAudioConstructor.cpp: (WebCore::JSAudioConstructor::JSAudioConstructor): (WebCore::JSAudioConstructor::document): (WebCore::JSAudioConstructor::mark): * bindings/js/JSAudioConstructor.h: * bindings/js/JSImageConstructor.cpp: (WebCore::JSImageConstructor::JSImageConstructor): (WebCore::JSImageConstructor::document): (WebCore::JSImageConstructor::mark): * bindings/js/JSImageConstructor.h: * bindings/js/JSMessageChannelConstructor.cpp: (WebCore::JSMessageChannelConstructor::JSMessageChannelConstructor): (WebCore::JSMessageChannelConstructor::scriptExecutionContext): (WebCore::JSMessageChannelConstructor::mark): * bindings/js/JSMessageChannelConstructor.h: * bindings/js/JSOptionConstructor.cpp: (WebCore::JSOptionConstructor::JSOptionConstructor): (WebCore::JSOptionConstructor::document): (WebCore::JSOptionConstructor::mark): * bindings/js/JSOptionConstructor.h: * bindings/js/JSXMLHttpRequestConstructor.cpp: (WebCore::JSXMLHttpRequestConstructor::JSXMLHttpRequestConstructor): (WebCore::JSXMLHttpRequestConstructor::scriptExecutionContext): (WebCore::JSXMLHttpRequestConstructor::mark): * bindings/js/JSXMLHttpRequestConstructor.h: Changed cached constructors to keep a reference to Window, not Document. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 Mar, 2009 4 commits
-
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=19737 No cursor and paste not enabled right clicking text field/area Test: fast/events/right-click-focus.html * page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEventSingleClick): (WebCore::EventHandler::handleMousePressEvent): Take normal code path for right clicks (we were taking it for Ctrl-clicks anyway). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
Move results for security/block-test.html to their correct locations. Results for other platforms will need to be generated. * platform/mac-leopard/security/block-test-expected.txt: Removed. * platform/mac-tiger/security: Added. * platform/mac-tiger/security/block-test-expected.txt: Copied from LayoutTests/security/block-test-expected.txt. * platform/mac/security: Added. * platform/mac/security/block-test-expected.txt: Copied from LayoutTests/platform/mac-leopard/security/block-test-expected.txt. * security/block-test-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=23949 HTMLSelectElement is in inconsistent state when handling mutation events Test: fast/forms/mutation-event-recalc.html * dom/ContainerNode.cpp: (WebCore::ContainerNode::insertBefore): (WebCore::ContainerNode::appendChild): Call childrenChanged() before dispatching modification events, not after. * html/HTMLOptGroupElement.cpp: (WebCore::HTMLOptGroupElement::insertBefore): (WebCore::HTMLOptGroupElement::replaceChild): (WebCore::HTMLOptGroupElement::removeChild): (WebCore::HTMLOptGroupElement::appendChild): (WebCore::HTMLOptGroupElement::removeChildren): * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::add): (WebCore::HTMLSelectElement::remove): (WebCore::HTMLSelectElement::insertBefore): (WebCore::HTMLSelectElement::replaceChild): (WebCore::HTMLSelectElement::removeChild): (WebCore::HTMLSelectElement::appendChild): (WebCore::HTMLSelectElement::removeChildren): Remove calls to recalcSelectOptions(). It is too late to recalc now, after mutation events were already dispatched. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
* http/tests/xmlhttprequest/resources/access-control-basic-options-not-supported.cgi: * http/tests/xmlhttprequest/resources/access-control-basic-whitelist-request-headers.cgi: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Mar, 2009 3 commits
-
-
mrowe@apple.com authored
Rubber-stamped by Dan Bernstein. * platform/mac-snowleopard/Skipped: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Reviewed by Mark Rowe. Remove two now working tests from GTK's Skipped list. * platform/gtk/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Update layout test results to accommodate slight changes in error messages in the latest version of libxml2. Rubber-stamped by Oliver Hunt. * fast/dom/getElementsByClassName/011-expected.txt: * fast/parser/external-entities-expected.txt: * platform/mac-leopard/fast/dom/getElementsByClassName/011-expected.txt: Copied from LayoutTests/fast/dom/getElementsByClassName/011-expected.txt. * platform/mac-leopard/fast/invalid/missing-end-tag-expected.checksum: Copied from LayoutTests/platform/mac/fast/invalid/missing-end-tag-expected.checksum. * platform/mac-leopard/fast/invalid/missing-end-tag-expected.png: Copied from LayoutTests/platform/mac/fast/invalid/missing-end-tag-expected.png. * platform/mac-leopard/fast/invalid/missing-end-tag-expected.txt: Copied from LayoutTests/platform/mac/fast/invalid/missing-end-tag-expected.txt. * platform/mac-leopard/fast/parser/external-entities-expected.txt: Copied from LayoutTests/fast/parser/external-entities-expected.txt. * platform/mac-leopard/fast/parser/xhtml-alternate-entities-expected.checksum: Copied from LayoutTests/platform/mac/fast/parser/xhtml-alternate-entities-expected.checksum. * platform/mac-leopard/fast/parser/xhtml-alternate-entities-expected.png: Copied from LayoutTests/platform/mac/fast/parser/xhtml-alternate-entities-expected.png. * platform/mac-leopard/fast/parser/xhtml-alternate-entities-expected.txt: Copied from LayoutTests/platform/mac/fast/parser/xhtml-alternate-entities-expected.txt. * platform/mac-leopard/fast/xsl/xslt-extra-content-at-end-expected.checksum: Copied from LayoutTests/platform/mac/fast/xsl/xslt-extra-content-at-end-expected.checksum. * platform/mac-leopard/fast/xsl/xslt-extra-content-at-end-expected.png: Copied from LayoutTests/platform/mac/fast/xsl/xslt-extra-content-at-end-expected.png. * platform/mac-leopard/fast/xsl/xslt-extra-content-at-end-expected.txt: Copied from LayoutTests/platform/mac/fast/xsl/xslt-extra-content-at-end-expected.txt. * platform/mac-leopard/svg/custom/junk-data-expected.checksum: Copied from LayoutTests/platform/mac/svg/custom/junk-data-expected.checksum. * platform/mac-leopard/svg/custom/junk-data-expected.png: Copied from LayoutTests/platform/mac/svg/custom/junk-data-expected.png. * platform/mac-leopard/svg/custom/junk-data-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/junk-data-expected.txt. * platform/mac-leopard/svg/custom/missing-xlink-expected.checksum: Copied from LayoutTests/platform/mac/svg/custom/missing-xlink-expected.checksum. * platform/mac-leopard/svg/custom/missing-xlink-expected.png: Copied from LayoutTests/platform/mac/svg/custom/missing-xlink-expected.png. * platform/mac-leopard/svg/custom/missing-xlink-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/missing-xlink-expected.txt. * platform/mac-leopard/svg/hixie/error/012-expected.checksum: Copied from LayoutTests/platform/mac/svg/hixie/error/012-expected.checksum. * platform/mac-leopard/svg/hixie/error/012-expected.png: Copied from LayoutTests/platform/mac/svg/hixie/error/012-expected.png. * platform/mac-leopard/svg/hixie/error/012-expected.txt: Copied from LayoutTests/platform/mac/svg/hixie/error/012-expected.txt. * platform/mac/fast/invalid/missing-end-tag-expected.checksum: * platform/mac/fast/invalid/missing-end-tag-expected.png: * platform/mac/fast/invalid/missing-end-tag-expected.txt: * platform/mac/fast/parser/xhtml-alternate-entities-expected.checksum: * platform/mac/fast/parser/xhtml-alternate-entities-expected.png: * platform/mac/fast/parser/xhtml-alternate-entities-expected.txt: * platform/mac/fast/xsl/xslt-extra-content-at-end-expected.checksum: * platform/mac/fast/xsl/xslt-extra-content-at-end-expected.png: * platform/mac/fast/xsl/xslt-extra-content-at-end-expected.txt: * platform/mac/svg/custom/junk-data-expected.checksum: * platform/mac/svg/custom/junk-data-expected.png: * platform/mac/svg/custom/junk-data-expected.txt: * platform/mac/svg/custom/missing-xlink-expected.checksum: * platform/mac/svg/custom/missing-xlink-expected.png: * platform/mac/svg/custom/missing-xlink-expected.txt: * platform/mac/svg/hixie/error/012-expected.checksum: * platform/mac/svg/hixie/error/012-expected.png: * platform/mac/svg/hixie/error/012-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-