1. 04 Jun, 2006 1 commit
    • darin's avatar
      LayoutTests: · 9d783fab
      darin authored
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9176
                REGRESSION: repro crash in WebCore::StringImpl::hash() const + 28 (StringImpl.h:67)
      
              * fast/loader/link-no-URL.html: Added.
              * fast/loader/link-no-URL-expected.txt: Added.
      
      WebCore:
      
              Reviewed by Maciej.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9176
                REGRESSION: repro crash in WebCore::StringImpl::hash() const + 28 (StringImpl.h:67)
      
              Test: fast/loader/link-no-URL.html
      
              * loader/Cache.h:
              * loader/Cache.cpp:
              (WebCore::Cache::updateCacheStatus): Removed the URL parameter. Instead get the URL
              from the cached object itself. Callers were passing in the wrong URL. When it was a
              null string, it caused the crash mentioned above. But in other cases it may have
              caused some other minor problems as well. Added an assert to catch cases where the
              URL is null (should never happen).
              (WebCore::Cache::requestImage): Changed call site to not pass URL.
              (WebCore::Cache::requestStyleSheet): Ditto.
              (WebCore::Cache::requestScript): Ditto.
              (WebCore::Cache::requestXSLStyleSheet): Ditto.
              (WebCore::Cache::requestXBLDocument): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d783fab
  2. 02 Jun, 2006 1 commit
    • ddkilzer's avatar
      LayoutTests: · 249f410d
      ddkilzer authored
              Reviewed by mjs.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9183
              Finish renaming of RenderCanvas to RenderView
      
              * editing/selection/7152-1-expected.checksum: Layout changed due to text change in HTML file.
              * editing/selection/7152-1-expected.png: Ditto.
              * editing/selection/7152-1-expected.txt: Ditto.
              * editing/selection/7152-1.html: Changed text in HTML content.
              * editing/selection/7152-2-expected.checksum: Layout changed due to text change in HTML file.
              * editing/selection/7152-2-expected.png: Ditto.
              * editing/selection/7152-2-expected.txt: Ditto.
              * editing/selection/7152-2.html: Changed text in HTML content.
              * *-expected.txt: Replaced "RenderCanvas" with "RenderView" in 3023 more files.
      
      WebCore:
      
              Reviewed by mjs.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9183
              Finish renaming of RenderCanvas to RenderView
      
              * rendering/RenderView.h: Changed renderName from "RenderCanvas" to "RenderView".
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      249f410d
  3. 11 May, 2006 1 commit
  4. 13 Apr, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 2f992b39
      ggaren authored
              Reviewed by Darin.
      
              * kjs/internal.cpp:
              (KJS::InterpreterImp::initGlobalObject): Add the built-in object
              prototype to the end of the global object's prototype chain instead of
              just blowing away its existing prototype. We need to do this because
              the window object has a meaningful prototype now.
      
      LayoutTests:
      
              Layout test for document.defaultView
      
              * fast/dom/defaultView-expected.txt: Added.
              * fast/dom/defaultView.html: Added.
              * fast/events/event-view-toString-expected.txt: Updated to reflect new
              prototype chain for defaultView.
      
      WebCore:
      
              Reviewed by Darin.
      
              - Fixed <rdar://problem/4478467> document.defaultView should return 
              the window object
              
              Also made part of the window object autogenerated by IDL file.
              
              * DerivedSources.make: Added /page to IDL file search path, added
              JSDOMWindow.h, removed kjs_views.lut.h
              * WebCore.xcodeproj/project.pbxproj: Added missing files, removed
              obsolete files
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_proxy.cpp:
              (WebCore::KJSProxy::initScriptIfNeeded):
              * bindings/js/kjs_views.cpp: Removed.
              * bindings/js/kjs_views.h: Removed.
              * bindings/js/kjs_window.cpp: Removed document property -- it now
              belongs to JSDOMWindow. Added toJS and toDOMWindow.
              (KJS::Window::Window):
              (KJS::Window::impl):
              (KJS::Window::getValueProperty):
              (KJS::Window::clear): Added call to setPrototype to ensure
              that the prototype gets cleared during navigation. (Previously
              this wasn't an issue because the window object had no real prototype.)
              (WebCore::toJS):
              (WebCore::toDOMWindow):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * bindings/objc/DOMCSS.mm: Added NULL checks for the AbstractView
              (Presumably this is an issue after the window is closed.) Typedef-ed
              AbstractView as DOMWindow. I could have just replaced AbstractView
              with DOMWindow, but I think it's clearer to say, "There's this thing
              called the AbstractView, but really it's just the window."
              (-[DOMDocument getComputedStyle::]):
              (-[DOMDocument getMatchedCSSRules::]):
              * bindings/objc/DOMViews.mm:
              * bindings/objc/DOMViewsInternal.h:
              * bindings/scripts/CodeGeneratorJS.pm: Removed unused
              GetLegacyImplementationIncludes. Added support for DOMWindow and new
              "DoNotCache" attribute. Replaced C macros with text because (1) it
              makes the generated source easier to read and debug and (2) it made 
              it much easier to implement the DoNotCache attribute.
              * bindings/scripts/IDLParser.pm: Return a hash reference instead of
              a hash, because otherwise an interface with more than one attribute
              returns too many arguments to be processed.
              * bridge/mac/FrameMac.mm:
              * dom/AbstractView.cpp: Removed.
              * dom/AbstractView.h: Removed.
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::defaultView):
              * dom/Document.h:
              * dom/Document.idl:
              * dom/KeyboardEvent.idl:
              * dom/MouseEvent.idl:
              * dom/Position.cpp:
              * dom/UIEvent.idl:
              * dom/dom2_eventsimpl.h:
              * page/DOMWindow.cpp: Added.
              (WebCore::DOMWindow::DOMWindow):
              (WebCore::DOMWindow::frame):
              (WebCore::DOMWindow::disconnectFrame):
              (WebCore::DOMWindow::document):
              (WebCore::DOMWindow::getComputedStyle):
              (WebCore::DOMWindow::getMatchedCSSRules):
              * page/DOMWindow.h: Added.
              * page/DOMWindow.idl: Added.
              * page/Frame.cpp:
              (WebCore::Frame::~Frame): Disconnect the new DOMWindow object in
              addition to the Window object. Maybe we can unify this in the future.
              (WebCore::Frame::tree):
              (WebCore::Frame::domWindow):
              * page/Frame.h:
              * page/FramePrivate.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f992b39
  5. 12 Apr, 2006 1 commit
    • harrison's avatar
      <rdar://problem/4386640> AX:... · f0576d8f
      harrison authored
              <rdar://problem/4386640> AX: AXPreviousSentenceStartTextMarkerForTextMarker does not respect paragraph boundary
              <rdar://problem/4414575> AX: Dictionary popup cannot find some words on Dictionary.app
      
              * editing/editing.js:
              Add sentence navigation/selection.
              
              * editing/selection/extend-by-sentence-001-expected.txt: Added.
              * editing/selection/extend-by-sentence-001.html: Added.
              Test for both <rdar://problem/4386640> and <rdar://problem/4414575>.
              
              * fast/dom/inner-text-001-expected.txt: Added.
              * fast/dom/inner-text-001.html: Added.
              Tests innerText on a variety of elements.
              
              * fast/dom/HTMLObjectElement/form/test1-expected.txt:
              * fast/events/mouseclick-target-and-positioning-expected.txt:
              * fast/forms/button-in-forms-collection-expected.txt:
              * fast/forms/focus-control-to-page-expected.txt:
              * fast/forms/focus-expected.txt:
              * fast/forms/textarea-hard-linewrap-expected.txt:
              * fast/forms/textarea-setvalue-submit-expected.txt:
              * fast/loader/loadInProgress-expected.txt:
              Updated for innerText changes that emit newlines for more kinds of blocks.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0576d8f
  6. 16 Feb, 2006 1 commit
    • justing's avatar
      Reviewed by darin · 9f96b2ad
      justing authored
              
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
              Add drag and drop support to DumpRenderTree
      
              * css1/basic/comments-expected.checksum:
              * css1/basic/comments-expected.png:
              * css1/basic/containment-expected.checksum:
              * css1/basic/containment-expected.png:
              * css1/basic/id_as_selector-expected.checksum:
              * css1/basic/id_as_selector-expected.png:
              * css1/basic/inheritance-expected.checksum:
              * css1/basic/inheritance-expected.png:
              * css1/box_properties/border-expected.checksum:
              * css1/box_properties/border-expected.png:
              * css1/box_properties/border_bottom-expected.checksum:
              * css1/box_properties/border_bottom-expected.png:
              * css1/box_properties/border_bottom_width-expected.checksum:
              * css1/box_properties/border_bottom_width-expected.png:
              * css1/box_properties/border_left-expected.checksum:
              * css1/box_properties/border_left-expected.png:
              * css1/box_properties/border_left_width-expected.checksum:
              * css1/box_properties/border_left_width-expected.png:
              * css1/box_properties/border_right_inline-expected.checksum:
              * css1/box_properties/border_right_inline-expected.png:
              * css1/box_properties/border_right_width-expected.checksum:
              * css1/box_properties/border_right_width-expected.png:
              * css1/box_properties/border_style-expected.checksum:
              * css1/box_properties/border_style-expected.png:
              * css1/box_properties/border_top-expected.checksum:
              * css1/box_properties/border_top-expected.png:
              * css1/box_properties/border_top_width-expected.checksum:
              * css1/box_properties/border_top_width-expected.png:
              * css1/box_properties/border_width-expected.checksum:
              * css1/box_properties/border_width-expected.png:
              * css1/box_properties/clear-expected.checksum:
              * css1/box_properties/clear-expected.png:
              * css1/box_properties/clear_float-expected.checksum:
              * css1/box_properties/clear_float-expected.png:
              * css1/box_properties/float_elements_in_series-expected.checksum:
              * css1/box_properties/float_elements_in_series-expected.png:
              * css1/box_properties/float_margin-expected.checksum:
              * css1/box_properties/float_margin-expected.png:
              * css1/box_properties/float_on_text_elements-expected.checksum:
              * css1/box_properties/float_on_text_elements-expected.png:
              * css1/box_properties/height-expected.checksum:
              * css1/box_properties/height-expected.png:
              * css1/box_properties/margin-expected.checksum:
              * css1/box_properties/margin-expected.png:
              * css1/box_properties/margin_bottom-expected.checksum:
              * css1/box_properties/margin_bottom-expected.png:
              * css1/box_properties/margin_inline-expected.checksum:
              * css1/box_properties/margin_inline-expected.png:
              * css1/box_properties/margin_left-expected.checksum:
              * css1/box_properties/margin_left-expected.png:
              * css1/box_properties/margin_right-expected.checksum:
              * css1/box_properties/margin_right-expected.png:
              * css1/box_properties/margin_top-expected.checksum:
              * css1/box_properties/margin_top-expected.png:
              * css1/box_properties/padding-expected.checksum:
              * css1/box_properties/padding-expected.png:
              * css1/box_properties/padding_bottom-expected.checksum:
              * css1/box_properties/padding_bottom-expected.png:
              * css1/box_properties/padding_inline-expected.checksum:
              * css1/box_properties/padding_inline-expected.png:
              * css1/box_properties/padding_left-expected.checksum:
              * css1/box_properties/padding_left-expected.png:
              * css1/box_properties/padding_right-expected.checksum:
              * css1/box_properties/padding_right-expected.png:
              * css1/box_properties/padding_top-expected.checksum:
              * css1/box_properties/padding_top-expected.png:
              * css1/box_properties/width-expected.checksum:
              * css1/box_properties/width-expected.png:
              * css1/cascade/cascade_order-expected.checksum:
              * css1/cascade/cascade_order-expected.png:
              * css1/classification/display-expected.checksum:
              * css1/classification/display-expected.png:
              * css1/classification/list_style_type-expected.checksum:
              * css1/classification/list_style_type-expected.png:
              * css1/classification/white_space-expected.checksum:
              * css1/classification/white_space-expected.png:
              * css1/color_and_background/background-expected.checksum:
              * css1/color_and_background/background-expected.png:
              * css1/color_and_background/background_attachment-expected.checksum:
              * css1/color_and_background/background_attachment-expected.png:
              * css1/color_and_background/background_position-expected.checksum:
              * css1/color_and_background/background_position-expected.png:
              * css1/color_and_background/background_repeat-expected.checksum:
              * css1/color_and_background/background_repeat-expected.png:
              * css1/conformance/forward_compatible_parsing-expected.checksum:
              * css1/conformance/forward_compatible_parsing-expected.png:
              * css1/font_properties/font-expected.checksum:
              * css1/font_properties/font-expected.png:
              * css1/font_properties/font_family-expected.checksum:
              * css1/font_properties/font_family-expected.png:
              * css1/font_properties/font_size-expected.checksum:
              * css1/font_properties/font_size-expected.png:
              * css1/font_properties/font_weight-expected.checksum:
              * css1/font_properties/font_weight-expected.png:
              * css1/formatting_model/floating_elements-expected.checksum:
              * css1/formatting_model/floating_elements-expected.png:
              * css1/formatting_model/height_of_lines-expected.checksum:
              * css1/formatting_model/height_of_lines-expected.png:
              * css1/formatting_model/horizontal_formatting-expected.checksum:
              * css1/formatting_model/horizontal_formatting-expected.png:
              * css1/formatting_model/inline_elements-expected.checksum:
              * css1/formatting_model/inline_elements-expected.png:
              * css1/formatting_model/replaced_elements-expected.checksum:
              * css1/formatting_model/replaced_elements-expected.png:
              * css1/formatting_model/vertical_formatting-expected.checksum:
              * css1/formatting_model/vertical_formatting-expected.png:
              * css1/pseudo/anchor-expected.checksum:
              * css1/pseudo/anchor-expected.png:
              * css1/pseudo/firstletter-expected.checksum:
              * css1/pseudo/firstletter-expected.png:
              * css1/pseudo/firstline-expected.checksum:
              * css1/pseudo/firstline-expected.png:
              * css1/pseudo/multiple_pseudo_elements-expected.checksum:
              * css1/pseudo/multiple_pseudo_elements-expected.png:
              * css1/text_properties/letter_spacing-expected.checksum:
              * css1/text_properties/letter_spacing-expected.png:
              * css1/text_properties/line_height-expected.checksum:
              * css1/text_properties/line_height-expected.png:
              * css1/text_properties/text-transCapitalize-expected.checksum:
              * css1/text_properties/text-transCapitalize-expected.png:
              * css1/text_properties/text_decoration-expected.checksum:
              * css1/text_properties/text_decoration-expected.png:
              * css1/text_properties/text_indent-expected.checksum:
              * css1/text_properties/text_indent-expected.png:
              * css1/text_properties/text_transform-expected.checksum:
              * css1/text_properties/text_transform-expected.png:
              * css1/text_properties/vertical_align-expected.checksum:
              * css1/text_properties/vertical_align-expected.png:
              * css1/text_properties/word_spacing-expected.checksum:
              * css1/text_properties/word_spacing-expected.png:
              * css1/units/color_units-expected.checksum:
              * css1/units/color_units-expected.png:
              * css1/units/length_units-expected.checksum:
              * css1/units/length_units-expected.png:
              * css2.1/t0801-c412-hz-box-00-b-a-expected.checksum:
              * css2.1/t0801-c412-hz-box-00-b-a-expected.png:
              * css2.1/t0803-c5502-mrgn-r-02-c-expected.checksum:
              * css2.1/t0803-c5502-mrgn-r-02-c-expected.png:
              * css2.1/t0803-c5505-mrgn-02-c-expected.checksum:
              * css2.1/t0803-c5505-mrgn-02-c-expected.png:
              * css2.1/t080301-c411-vt-mrgn-00-b-expected.checksum:
              * css2.1/t080301-c411-vt-mrgn-00-b-expected.png:
              * css2.1/t0905-c5525-fltclr-00-c-ag-expected.checksum:
              * css2.1/t0905-c5525-fltclr-00-c-ag-expected.png:
              * css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.checksum:
              * css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png:
              * css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
              * css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
              * css2.1/t1002-c5523-width-02-b-g-expected.checksum:
              * css2.1/t1002-c5523-width-02-b-g-expected.png:
              * css2.1/t140201-c535-bg-fixd-00-b-g-expected.checksum:
              * css2.1/t140201-c535-bg-fixd-00-b-g-expected.png:
              * css2.1/t140201-c537-bgfxps-00-c-ag-expected.checksum:
              * css2.1/t140201-c537-bgfxps-00-c-ag-expected.png:
              * css2.1/t1508-c527-font-07-b-expected.checksum:
              * css2.1/t1508-c527-font-07-b-expected.png:
              * editing/deleting/delete-after-span-ws-001-expected.checksum:
              * editing/deleting/delete-after-span-ws-001-expected.png:
              * editing/deleting/delete-after-span-ws-002-expected.checksum:
              * editing/deleting/delete-after-span-ws-002-expected.png:
              * editing/deleting/delete-after-span-ws-003-expected.checksum:
              * editing/deleting/delete-after-span-ws-003-expected.png:
              * editing/deleting/delete-and-undo-expected.checksum:
              * editing/deleting/delete-and-undo-expected.png:
              * editing/deleting/delete-and-undo-expected.txt:
              * editing/deleting/delete-line-end-ws-001-expected.checksum:
              * editing/deleting/delete-line-end-ws-001-expected.png:
              * editing/deleting/delete-line-end-ws-002-expected.checksum:
              * editing/deleting/delete-line-end-ws-002-expected.png:
              * editing/inserting/insert-div-023-expected.checksum:
              * editing/inserting/insert-div-023-expected.png:
              * editing/selection/caret-and-focus-ring.html:
              * editing/selection/drag-to-contenteditable-iframe-expected.checksum: Added.
              * editing/selection/drag-to-contenteditable-iframe-expected.png: Added.
              * editing/selection/drag-to-contenteditable-iframe-expected.txt: Added.
              * editing/selection/drag-to-contenteditable-iframe.html: Added.
              * editing/selection/focus_editable_html-expected.checksum:
              * editing/selection/focus_editable_html-expected.png:
              * editing/selection/iframe-expected.checksum:
              * editing/selection/iframe-expected.png:
              * editing/selection/replaced-boundaries-3-expected.checksum:
              * editing/selection/replaced-boundaries-3-expected.png:
              * editing/selection/select-all-001-expected.checksum:
              * editing/selection/select-all-001-expected.png:
              * editing/selection/select-all-002-expected.checksum:
              * editing/selection/select-all-002-expected.png:
              * editing/selection/select-all-003-expected.checksum:
              * editing/selection/select-all-003-expected.png:
              * editing/selection/select-all-004-expected.checksum:
              * editing/selection/select-all-004-expected.png:
              * editing/selection/select-box-expected.checksum:
              * editing/selection/select-box-expected.png:
              * editing/selection/selection-background.html:
              * editing/selection/unrendered-001-expected.checksum:
              * editing/selection/unrendered-001-expected.png:
              * editing/selection/unrendered-002-expected.checksum:
              * editing/selection/unrendered-002-expected.png:
              * editing/selection/unrendered-003-expected.checksum:
              * editing/selection/unrendered-003-expected.png:
              * editing/selection/unrendered-004-expected.checksum:
              * editing/selection/unrendered-004-expected.png:
              * editing/selection/unrendered-005-expected.checksum:
              * editing/selection/unrendered-005-expected.png:
              * editing/undo/4063751-expected.txt:
              * editing/undo/redo-typing-001-expected.txt:
              * editing/undo/undo-typing-001-expected.checksum:
              * editing/undo/undo-typing-001-expected.png:
              * editing/undo/undo-typing-001-expected.txt:
              * fast/block/basic/016-expected.checksum:
              * fast/block/basic/016-expected.png:
              * fast/block/basic/text-indent-rtl-expected.checksum:
              * fast/block/float/008-expected.checksum:
              * fast/block/float/008-expected.png:
              * fast/block/float/013-expected.checksum:
              * fast/block/float/013-expected.png:
              * fast/block/float/019-expected.checksum:
              * fast/block/float/019-expected.png:
              * fast/block/float/021-expected.checksum:
              * fast/block/float/021-expected.png:
              * fast/block/float/025-expected.checksum:
              * fast/block/float/025-expected.png:
              * fast/block/float/026-expected.checksum:
              * fast/block/float/026-expected.png:
              * fast/block/float/027-expected.checksum:
              * fast/block/float/027-expected.png:
              * fast/block/float/028-expected.checksum:
              * fast/block/float/028-expected.png:
              * fast/block/float/032-expected.checksum:
              * fast/block/float/032-expected.png:
              * fast/block/float/033-expected.checksum:
              * fast/block/float/033-expected.png:
              * fast/block/margin-collapse/103-expected.checksum:
              * fast/block/margin-collapse/103-expected.png:
              * fast/block/margin-collapse/104-expected.checksum:
              * fast/block/margin-collapse/104-expected.png:
              * fast/block/positioning/047-expected.checksum:
              * fast/block/positioning/047-expected.png:
              * fast/block/positioning/051-expected.checksum:
              * fast/block/positioning/051-expected.png:
              * fast/block/positioning/055-expected.checksum:
              * fast/block/positioning/055-expected.png:
              * fast/block/positioning/auto/007-expected.checksum:
              * fast/block/positioning/auto/007-expected.png:
              * fast/block/positioning/relayout-on-position-change-expected.checksum:
              * fast/box-sizing/box-sizing-expected.checksum:
              * fast/box-sizing/box-sizing-expected.png:
              * fast/clip/014-expected.checksum:
              * fast/clip/014-expected.png:
              * fast/css-generated-content/014-expected.checksum:
              * fast/css-generated-content/014-expected.png:
              * fast/css/005-expected.checksum:
              * fast/css/005-expected.png:
              * fast/css/MarqueeLayoutTest-expected.checksum:
              * fast/css/MarqueeLayoutTest-expected.png:
              * fast/css/imageTileOpacity-expected.checksum:
              * fast/css/imageTileOpacity-expected.png:
              * fast/css/word-space-extra-expected.checksum:
              * fast/css/word-space-extra-expected.png:
              * fast/dom/HTMLObjectElement/object-as-frame.html:
              * fast/dom/focus-contenteditable-expected.checksum:
              * fast/dom/focus-contenteditable-expected.png:
              * fast/dom/window-onFocus.html:
              * fast/dynamic/008-expected.checksum:
              * fast/dynamic/008-expected.png:
              * fast/encoding/utf-16-big-endian-expected.checksum:
              * fast/encoding/utf-16-big-endian-expected.png:
              * fast/encoding/utf-16-little-endian-expected.checksum:
              * fast/encoding/utf-16-little-endian-expected.png:
              * fast/flexbox/009-expected.checksum:
              * fast/flexbox/009-expected.png:
              * fast/flexbox/016-expected.checksum:
              * fast/flexbox/016-expected.png:
              * fast/forms/001-expected.checksum:
              * fast/forms/001-expected.png:
              * fast/forms/003-expected.checksum:
              * fast/forms/003-expected.png:
              * fast/forms/004-expected.checksum:
              * fast/forms/004-expected.png:
              * fast/forms/HTMLOptionElement_label01-expected.checksum:
              * fast/forms/HTMLOptionElement_label01-expected.png:
              * fast/forms/HTMLOptionElement_label02-expected.checksum:
              * fast/forms/HTMLOptionElement_label02-expected.png:
              * fast/forms/HTMLOptionElement_label03-expected.checksum:
              * fast/forms/HTMLOptionElement_label03-expected.png:
              * fast/forms/HTMLOptionElement_label04-expected.checksum:
              * fast/forms/HTMLOptionElement_label04-expected.png:
              * fast/forms/button-sizes-expected.checksum:
              * fast/forms/button-sizes-expected.png:
              * fast/forms/checkbox-radio-onchange-expected.checksum:
              * fast/forms/checkbox-radio-onchange-expected.png:
              * fast/forms/form-element-geometry-expected.checksum:
              * fast/forms/form-element-geometry-expected.png:
              * fast/forms/indeterminate-expected.checksum:
              * fast/forms/indeterminate-expected.png:
              * fast/forms/option-script-expected.checksum:
              * fast/forms/option-script-expected.png:
              * fast/forms/option-strip-whitespace-expected.checksum:
              * fast/forms/option-strip-whitespace-expected.png:
              * fast/forms/radio_checked-expected.checksum:
              * fast/forms/radio_checked-expected.png:
              * fast/forms/radio_checked_dynamic-expected.checksum:
              * fast/forms/radio_checked_dynamic-expected.png:
              * fast/forms/textAreaLineHeight-expected.checksum:
              * fast/forms/textAreaLineHeight-expected.png:
              * fast/inline-block/tricky-baseline-expected.checksum:
              * fast/inline-block/tricky-baseline-expected.png:
              * fast/invalid/014-expected.checksum:
              * fast/invalid/014-expected.png:
              * fast/lists/008-expected.checksum:
              * fast/lists/008-expected.png:
              * fast/lists/li-br-expected.checksum:
              * fast/lists/li-br-expected.png:
              * fast/lists/olstart-expected.checksum:
              * fast/lists/olstart-expected.png:
              * fast/loader/form-events-back-forward.html: Removed.
              * fast/loader/form-events-back-forward.html-disabled: Added.
              * fast/overflow/002-expected.checksum:
              * fast/overflow/002-expected.png:
              * fast/overflow/003-expected.checksum:
              * fast/overflow/003-expected.png:
              * fast/overflow/005-expected.checksum:
              * fast/overflow/005-expected.png:
              * fast/overflow/006-expected.checksum:
              * fast/overflow/006-expected.png:
              * fast/overflow/007-expected.checksum:
              * fast/overflow/007-expected.png:
              * fast/overflow/image-selection-highlight-expected.checksum:
              * fast/overflow/image-selection-highlight-expected.png:
              * fast/overflow/overflow-auto-table-expected.checksum:
              * fast/overflow/overflow-auto-table-expected.png:
              * fast/overflow/overflow-rtl-expected.checksum:
              * fast/overflow/overflow-rtl-expected.png:
              * fast/overflow/overflow-text-hit-testing-expected.checksum:
              * fast/overflow/overflow-text-hit-testing-expected.png:
              * fast/overflow/scrollRevealButton-expected.checksum:
              * fast/overflow/scrollRevealButton-expected.png:
              * fast/parser/comments-expected.checksum:
              * fast/parser/comments-expected.png:
              * fast/parser/document-write-option-expected.checksum:
              * fast/parser/document-write-option-expected.png:
              * fast/parser/entities-in-xhtml-expected.checksum:
              * fast/parser/entities-in-xhtml-expected.png:
              * fast/replaced/005-expected.checksum:
              * fast/replaced/005-expected.png:
              * fast/replaced/width100percent-expected.checksum:
              * fast/replaced/width100percent-expected.png:
              * fast/selectors/166-expected.checksum:
              * fast/selectors/166-expected.png:
              * fast/table/023-expected.checksum:
              * fast/table/023-expected.png:
              * fast/table/034-expected.checksum:
              * fast/table/034-expected.png:
              * fast/table/040-expected.checksum:
              * fast/table/040-expected.png:
              * fast/table/border-collapsing/004-expected.checksum:
              * fast/table/border-collapsing/004-expected.png:
              * fast/table/edge-offsets-expected.checksum:
              * fast/table/edge-offsets-expected.png:
              * fast/table/height-percent-test-expected.checksum:
              * fast/table/height-percent-test-expected.png:
              * fast/table/overflowHidden-expected.checksum:
              * fast/table/overflowHidden-expected.png:
              * fast/table/wide-colspan-expected.checksum:
              * fast/table/wide-colspan-expected.png:
              * fast/table/wide-column-expected.checksum:
              * fast/table/wide-column-expected.png:
              * fast/text/softHyphen-expected.checksum:
              * fast/text/softHyphen-expected.png:
              * fast/text/whitespace/024-expected.checksum:
              * fast/text/whitespace/024-expected.png:
              * fast/tokenizer/004-expected.checksum:
              * fast/tokenizer/004-expected.png:
              * svg/custom/feDisplacementMap-01-expected.png: Removed.
              * svg/custom/junk-data-expected.checksum:
              * svg/custom/junk-data-expected.png:
              * svg/custom/missing-xlink-expected.checksum:
              * svg/custom/missing-xlink-expected.png:
              * svg/custom/path-bad-data-expected.checksum:
              * svg/custom/path-bad-data-expected.png:
              * traversal/tree-walker-004-expected.checksum:
              * traversal/tree-walker-004-expected.png:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f96b2ad
  7. 30 Jan, 2006 1 commit
  8. 09 Jan, 2006 1 commit
    • ggaren's avatar
      LayoutTests: · 97b3e001
      ggaren authored
              Layout tests for
      
              <rdar://problem/4268278> Submitting a form in onUnload event handler 
              causes crash in -[WebDataSource(WebPrivate) _commitIfReady:].)
      
              and
      
              -  http://bugzilla.opendarwin.org/show_bug.cgi?id=6331
              REGRESSION: form events don't fire after back/forward navigation, 
              due to inconsistent load state
      
              * fast/loader/form-events-back-forward-expected.txt: Added.
              * fast/loader/form-events-back-forward.html: Added.
              * fast/loader/onunload-form-submit-crash-expected.txt: Added.
              * fast/loader/onunload-form-submit-crash.html: Added.
              * fast/loader/resources/onunload-form-submit-crash2.html: Added.
      
      WebKit:
      
              Reviewed by Darin.
              
              - Second cut at fixing <rdar://problem/4268278> Submitting a form 
              in onUnload event handler causes crash in 
              -[WebDataSource(WebPrivate) _commitIfReady:].)
      
              - Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=6331
              REGRESSION: form events don't fire after back/forward navigation, 
              due to inconsistent load state
              
              * WebView.subproj/WebDataSource.m:
              (-[WebDataSource _stopLoading]): 
              (1) If there are no resource loaders to signal the WebView that we've
              been canceled, manufacture the signal. Otherwise, the cancel gets 
              ignored and nobody cleans up after the load. (We signal the WebView but
              not the WebFrame because we don't want the WebFrame to tear down the 
              DataSource.  Unlike most canceled DataSources, this one has valid data 
              because it's in the back/forward cache.)
              (2) Update _private->stopping before returning because if the 
              DataSource is in the back/forward cache it can be reused, so it 
              needs to be in a consistent state. (We never encountered this 
              situation before because we would always crash first.)
              (-[WebDataSource _commitLoadWithData:]): Move _commitIfReady call 
              inside retain block because the commit may cause an unload event 
              to fire, which may start a new load, deallocating the current 
              DataSource. (This is the same reason the rest of the function is 
              in the retain block.)
              * WebView.subproj/WebFrame.m:
              (-[WebFrame _transitionToCommitted:]): If the unload handler 
              started a new load, return early to avoid stomping it.
              (-[WebFrame _continueLoadRequestAfterNavigationPolicy:formState:]): 
              Undo previous incorrect fix.
              (-[WebFrame stopLoading]): Remove misleading comment. Setting 
              provisionalDataSource to nil is not optional but required for 
              internal consistency.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97b3e001
  9. 03 Jan, 2006 1 commit
  10. 27 May, 2005 1 commit
    • adele's avatar
      Reviewed by Darin. · ce788c82
      adele authored
              fix for <rdar://problem/4121747> Cannot log into Cingular.com account page (load event delivered while still processing incoming data)
      
              * khtml/misc/loader.cpp:
              (DocLoader::DocLoader): Initialized m_loadInProgress to false.
              (DocLoader::setLoadInProgress): Added.
              (Loader::slotFinished): sets the m_loadInProgress flag to reflect the fact that we're not really done loading this request until we emit the signal with the request status.
              (Loader::numRequests): If there's a load in progress, we increment the number of requests so it doesn't seem like the load is done.
              * khtml/misc/loader.h: (khtml::DocLoader::loadInProgress): Added.
      
              Test cases added:
              * layout-tests/fast/loader/loadInProgress.html: Added
              * layout-tests/fast/loader/loadInProgress-expected.html: Added
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce788c82