Timeline
Mar 16, 2008:
- 9:05 PM Changeset in webkit [31092] by
-
- 2 edits in trunk/WebCore
2008-03-16 Maciej Stachowiak <mjs@apple.com>
Not reviewed, just fixing an incomplete comment from the last commit.
- dom/Range.cpp: (WebCore::Range::surroundContents):
- 8:59 PM Changeset in webkit [31091] by
-
- 3 edits in trunk/WebKit/wx
wx build fix. Make sure we link png/jpeg libraries before wx libraries to get the right symbols.
- 8:50 PM Changeset in webkit [31090] by
-
- 3 edits2 adds in trunk
WebCore:
2008-03-16 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- fixed "Acid3 expects different exceptions for surroundContents calls involving comment nodes (affects Acid3 test 11)" http://bugs.webkit.org/show_bug.cgi?id=17509
This gets us to 92/100
- dom/Range.cpp: (WebCore::Range::surroundContents): Check for HIERARCHY_REQUEST_ERR before BAD_BOUNDARYPOINTS_ERR, since Acid3 expects exceptional conditions to be tested in the order that the spec lists them. Also, adjust the HIERARCHY_REQUEST_ERR check. If the start point of the range is in a comment node, the node that would be the parent of a partial replacement is actually the comment node's parent (since comment nodes have character indices), so we should do the HIERARCHY_REQUEST_ERR check based on the parent of the comment node, as for text nodes, even though it will fail later with a different exception because it is not allowed to surround a partially selected non-text node.
LayoutTests:
2008-03-16 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- test for "Acid3 expects different exceptions for surroundContents calls involving comment nodes (affects Acid3 test 11)" http://bugs.webkit.org/show_bug.cgi?id=17509
- fast/dom/Range/acid3-surround-contents-expected.txt: Added.
- fast/dom/Range/acid3-surround-contents.html: Added.
- 8:47 PM Changeset in webkit [31089] by
-
- 21 edits2 adds in trunk
WebCore:
2008-03-16 Marvin Decker <marv.decker@gmail.com>
Reviewed by Darin.
Fix bug 15119: URL query characters that are unencodable in the
request's character set should be converted to XML entities with
non-alphanumeric characters escaped.
Test: http/tests/uri/escaped-entity.html
- html/FormDataList.cpp: (WebCore::FormDataList::appendString):
- html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::formData):
- platform/KURL.cpp: (WebCore::encodeRelativeString):
- platform/text/String.cpp: (WebCore::String::latin1): (WebCore::String::utf8):
- platform/text/TextCodec.cpp: (WebCore::TextCodec::unencodableCharReplacement):
- platform/text/TextCodec.h: (WebCore::):
- platform/text/TextCodecICU.cpp: (WebCore::urlEscapedEntityCallback): (WebCore::gbkUrlEscapedEntityCallack): (WebCore::TextCodecICU::encode):
- platform/text/TextCodecICU.h: (WebCore::TextCodecICU::setNeedsGBKFallbacks):
- platform/text/TextCodecLatin1.cpp: (WebCore::encodeComplexWindowsLatin1): (WebCore::TextCodecLatin1::encode):
- platform/text/TextCodecLatin1.h:
- platform/text/TextCodecUTF16.cpp: (WebCore::TextCodecUTF16::encode):
- platform/text/TextCodecUTF16.h:
- platform/text/TextCodecUserDefined.cpp: (WebCore::encodeComplexUserDefined): (WebCore::TextCodecUserDefined::encode):
- platform/text/TextCodecUserDefined.h:
- platform/text/TextEncoding.cpp: (WebCore::TextEncoding::encode):
- platform/text/TextEncoding.h:
- platform/text/mac/TextCodecMac.cpp: (WebCore::TextCodecMac::encode):
- platform/text/mac/TextCodecMac.h:
- xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send):
LayoutTests:
2008-03-16 Marvin Decker <marv.decker@gmail.com>
Reviewed by Darin.
Fix bug 15119, unencodable characters in URLs should be entity-escaped.
- http/tests/uri/escaped-entity-expected.txt: Added.
- http/tests/uri/escaped-entity.html: Added.
- 8:26 PM Changeset in webkit [31088] by
-
- 2 edits in trunk/JavaScriptCore
2008-03-16 weihongzeng <weihong.zeng@hotmail.com>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=15416
Add support for mixed-endian processors
- kjs/dtoa.cpp: Add IEEE_ARM, triggered by PLATFORM(MIDDLE_ENDIAN).
- 6:29 PM Changeset in webkit [31087] by
-
- 12 edits in trunk
Rubber stamped by Darin.
Add set-webkit-configuration support for wx port, and centralize build dir location setting.
- 3:21 PM Changeset in webkit [31086] by
-
- 7 edits2 copies2 adds in trunk
WebCore:
2008-03-16 Darin Adler <Darin Adler>
Reviewed by Mark Rowe.
- http://bugs.webkit.org/show_bug.cgi?id=17881 a little cleanup for HTMLTextAreaElement
Tests: fast/forms/textarea-default-value-leading-newline.html
fast/forms/textarea-linewrap-dynamic.html
- html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::HTMLTextAreaElement): Tweaked names/ (WebCore::HTMLTextAreaElement::selectionStart): Ditto, also use early return and check for < 0 rather than -1 specifically. (WebCore::HTMLTextAreaElement::selectionEnd): Ditto. (WebCore::HTMLTextAreaElement::setSelectionStart): Early return. (WebCore::HTMLTextAreaElement::setSelectionEnd): Ditto. (WebCore::HTMLTextAreaElement::select): Ditto. (WebCore::HTMLTextAreaElement::setSelectionRange): Ditto. (WebCore::HTMLTextAreaElement::parseMappedAttribute): Changed value parsing to treat unknown values as meaning "default" rather than "leave value as-is". Only call setNeedsLayoutAndPrefWidthsRecalc when mode changed. (WebCore::HTMLTextAreaElement::createRenderer): Removed name of unused argument. (WebCore::HTMLTextAreaElement::appendFormData): Updated for name changes. (WebCore::HTMLTextAreaElement::isKeyboardFocusable): Got rid of unnneeded explicit class name in isFocusable call. (WebCore::HTMLTextAreaElement::isMouseFocusable): Ditto. (WebCore::HTMLTextAreaElement::updateFocusAppearance): Tweaked formatting. (WebCore::HTMLTextAreaElement::defaultEventHandler): Ditto. (WebCore::HTMLTextAreaElement::updateValue): Early return. (WebCore::HTMLTextAreaElement::setValue): Got rid of intermediate value to eliminate on small refcount churn. (WebCore::HTMLTextAreaElement::defaultValue): Got rid of unneeded redundant string length checks, since String already checks all indexing and returns 0. (WebCore::HTMLTextAreaElement::setDefaultValue): Added code to normalize line endings and add a leading line ending to fix cases where the first character is a newline. (WebCore::HTMLTextAreaElement::accessKeyAction): Removed name of unused arg. (WebCore::HTMLTextAreaElement::accessKey): Changed return value to avoid refcount churn. (WebCore::HTMLTextAreaElement::selection): Updated names and use < 0 instead of -1 specifically.
- html/HTMLTextAreaElement.h: Replaced wrap function with more-specific shouldWrapText one. Changed return value of accessKey. Made WrapMethod enum provate and renamed the values. Renamed cachedSelStart and cachedSelEnd to m_cachedSelectionStart and m_cachedSelectionEnd.
- rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::createInnerTextStyle): Updated for change to HTMLTextAreaElement wrap function.
LayoutTests:
2008-03-16 Darin Adler <Darin Adler>
Reviewed by Mark Rowe.
- test for bug fixes in http://bugs.webkit.org/show_bug.cgi?id=17881 a little cleanup for HTMLTextAreaElement
- fast/forms/textarea-default-value-leading-newline-expected.txt: Added.
- fast/forms/textarea-default-value-leading-newline.html: Copied from fast/forms/textarea-crlf.html.
- fast/forms/textarea-hard-linewrap-expected.txt: Updated.
- fast/forms/textarea-hard-linewrap.html: Cleaned up a bit.
- fast/forms/textarea-linewrap-dynamic-expected.txt: Added.
- fast/forms/textarea-linewrap-dynamic.html: Copied from fast/forms/textarea-hard-linewrap.html.
- 2:47 PM Changeset in webkit [31085] by
-
- 6 edits in trunk/WebCore
Reviewed by Mitz.
Fix http/tests/security/frame-loading-via-document-write.html
which was broken by the preload patch.
Don't print error message when preload fails local file security check.
Some minor refactoring.
- html/PreloadScanner.cpp: (WebCore::PreloadScanner::emitTag): (WebCore::PreloadScanner::emitCSSRule):
- loader/Cache.cpp: (WebCore::Cache::requestResource):
- loader/Cache.h:
- loader/DocLoader.cpp: (WebCore::DocLoader::requestResource): (WebCore::DocLoader::preload): (WebCore::DocLoader::printPreloadStats):
- loader/DocLoader.h:
- 1:53 PM Changeset in webkit [31084] by
-
- 3 edits3 adds in trunk
WebCore:
Reviewed by Darin.
Fix http://bugs.webkit.org/show_bug.cgi?id=17862
REGRESSION (r31038): Reproducible crash under DocLoader::checkForReload() at marware.com
This was a memory smasher introduced by the preloading patch.
If a script resource was marked uncacheable, early deletion of the
Request object would cause deletion of the CachedResource too if
it was referred more than once in a single document.
Test: http/tests/misc/uncacheable-script-repeated.html
- loader/loader.cpp: (WebCore::Loader::Host::servePendingRequests): (WebCore::Loader::Host::didFinishLoading):
LayoutTests:
Reviewed by Darin.
Test for http://bugs.webkit.org/show_bug.cgi?id=17862
REGRESSION (r31038): Reproducible crash under DocLoader::checkForReload() at marware.com
- http/tests/misc/resources/uncacheable-script.cgi: Added.
- http/tests/misc/uncacheable-script-repeated-expected.txt: Added.
- http/tests/misc/uncacheable-script-repeated.html: Added.
- 1:35 PM Changeset in webkit [31083] by
-
- 3 edits2 adds in trunk
WebCore:
2008-03-16 Yuzhu Shen <yuzhu.shen@gmail.com>
Reviewed by Darin.
Fix bug http://bugs.webkit.org/show_bug.cgi?id=17714
<img href="#"> should go to top of the page.
Test: fast/html/empty-fragment-id-goto-top.html
- loader/FrameLoader.cpp: (WebCore::FrameLoader::gotoAnchor):
LayoutTests:
2008-03-16 Yuzhu Shen <yuzhu.shen@gmail.com>
Reviewed by Darin.
Bug: http://bugs.webkit.org/show_bug.cgi?id=17714
Test whether clicking <img href="#"> goes to top of the page.
- fast/html/empty-fragment-id-goto-top-expected.txt: Added.
- fast/html/empty-fragment-id-goto-top.html: Added.
- 1:25 PM Changeset in webkit [31082] by
-
- 6 edits in trunk
WebCore:
2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
Reviewed by Darin.
Don't use RefPtr in classes you haven't seen the implementation of.
Forward-declaration and declaration of RefPtr<Foo> is ok. But you
cannot *use* said objects until Foo is defined. This is true even for
initialisation with a 0.
Seems the HP aCC compiler is more strict here than gcc.
- editing/SplitTextNodeCommand.h:
- page/FrameTree.h:
- xml/XPathExpressionNode.h:
WebKit/qt:
2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
Reviewed by Simon.
Don't use RefPtr in classes you haven't seen the implementation of.
Forward-declaration and declaration of RefPtr<Foo> is ok. But you
cannot *use* said objects until Foo is defined. This is true even for
initialisation with a 0.
Seems the HP aCC compiler is more strict here than gcc.
- Api/qwebframe_p.h:
- 1:17 PM Changeset in webkit [31081] by
-
- 4 edits2 adds in trunk
WebCore:
2008-03-16 Darin Adler <Darin Adler>
Reviewed by Mitz.
- fix http://bugs.webkit.org/show_bug.cgi?id=14941 <rdar://problem/5404093> textarea value from JavaScript includes extra newline
Test: fast/forms/textarea-trailing-newline.html
- rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::finishText): Added code to strip the trailing newline. It's possible there are some obscure cases where this is not wanted, but I couldn't find any. If someone finds a case where this is bad, we can make the code conditional.
LayoutTests:
2008-03-16 Darin Adler <Darin Adler>
Reviewed by Mitz.
- test for http://bugs.webkit.org/show_bug.cgi?id=14941 <rdar://problem/5404093> textarea value from JavaScript includes extra newline
- fast/forms/textarea-paste-newline.html: Updated test to expect correct behavior instead of expecting the bug.
- fast/forms/textarea-trailing-newline-expected.txt: Added.
- fast/forms/textarea-trailing-newline.html: Added.
- 1:15 PM Changeset in webkit [31080] by
-
- 2 edits in trunk/WebCore
2008-03-16 Darin Adler <Darin Adler>
Reviewed by Mitz.
- fix http://bugs.webkit.org/show_bug.cgi?id=17876 Attempting to visit Ofcom page causes crash
This is causing intermittent crashes on some existing test cases on the buildbot
too; I don't have a 100% test case right now, but it should be easy to add one later
and this does fix a crash in a test we already have.
- dom/CharacterData.cpp: (WebCore::CharacterData::CharacterData): Initialize m_data to the empty string, not the null string. The class assumes the string can never being null. (WebCore::CharacterData::setData): If asked to set the data to the null string, set it to the empty string instead. This matches what the (non-empty) constructor has always done.
Mar 15, 2008:
- 11:34 PM Changeset in webkit [31079] by
-
- 5 edits2 adds in trunk/WebCore
Reviewed by Adam Roben.
Bug 17870: Web Inspector console should feel more like a terminal
http://bugs.webkit.org/show_bug.cgi?id=17870
Bug 14390: Console input area should be more noticeable
http://bugs.webkit.org/show_bug.cgi?id=14390
Adds tab completion, auto completion and a blended input prompt.
The prompt is also focused when the console is shown.
Implements a new look, that will be part of the UI refresh.
- page/inspector/ConsolePanel.js: (WebInspector.ConsolePanel): Renamed a few properties. (WebInspector.ConsolePanel.get/set promptText): Property to set and get the current prompt text. Does not affect command history. (WebInspector.ConsolePanel.show): Make the prompt focus on show. (WebInspector.ConsolePanel.acceptAutoComplete): Accepts any pending auto complete text. (WebInspector.ConsolePanel.clearAutoComplete): Cancels any pending auto complete text. (WebInspector.ConsolePanel.autoCompleteSoon): Sets a timeout to auto complete in 250 ms, only if there isn't a pending auto complete. (WebInspector.ConsolePanel.complete): (WebInspector.ConsolePanel.completions): Generate a list of possible completions based on the prefix and the previous expression ranges. (WebInspector.ConsolePanel._backwardsRange): Helper to scan backwards from a node and offset to find a start node and offset of the first character found in the characters string. (WebInspector.ConsolePanel._evalInInspectedWindow): Helper to eval in the inspected window. (WebInspector.ConsolePanel._caretInsidePrompt): Returns true if the selection is collapsed and is inside the prompt element. (WebInspector.ConsolePanel._moveCaretToEndOfPrompt): Moves the selection to the end of the prompt. (WebInspector.ConsolePanel._onTabPressed): Calls complete on tab press. (WebInspector.ConsolePanel._onEnterPressed): Call clearAutoComplete so the autocompletion text is not evaluated.
- page/inspector/Images/errorIcon.png: New image.
- page/inspector/Images/userInputIcon.png: Added.
- page/inspector/Images/userInputPreviousIcon.png: Added.
- page/inspector/Images/warningIcon.png: New image.
- page/inspector/inspector.css: New refreshed UI.
- 12:12 PM Changeset in webkit [31078] by
-
- 2 edits in trunk/WebKitSite
2008-03-15 Matt Lilek <webkit@mattlilek.com>
Rubber-stamped by Mitz.
Update crash log page with instructions for Leopard.
- quality/crashlogs.html:
- 10:49 AM Changeset in webkit [31077] by
-
- 3 edits in trunk/WebKitTools
2008-03-15 Darin Adler <Darin Adler>
- Scripts/commit-log-editor: Include the name line of the change log entry. A long time ago I designed this script to not include the name because I thought it was redundant (same as the name of the person checking in), but nowadays it's more common for someone to check something in done by someone else.
- Scripts/do-webcore-rename: Added some more planned renames and removed some that were already done "by hand".
- 10:37 AM Changeset in webkit [31076] by
-
- 2 edits3 moves in trunk/WebCore
2008-03-15 Mark Mentovai <mark@moxienet.com>
Reviewed and landed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=17833 use file extensions instead of explicit file types in WebCore's Xcode project
- WebCore.xcodeproj/project.pbxproj: Remove unnecessary uses of explicitFileType, preferring lastKnownFileType ("File Type: Default for File" in Xcode's File Info's General tab). Files below that relied on an explicit file type setting other than what would be implied by their extensions have been renamed to have correct extensions.
- bridge/jni/jni_jsobject.cpp: Removed.
- bridge/jni/jni_jsobject.mm: Copied from bridge/jni/jni_jsobject.cpp.
- loader/mac/LoaderNSURLExtras.m: Removed.
- loader/mac/LoaderNSURLExtras.mm: Copied from loader/mac/LoaderNSURLExtras.m.
- platform/mac/SharedTimerMac.cpp: Removed.
- platform/mac/SharedTimerMac.mm: Copied from platform/mac/SharedTimerMac.cpp.
- 10:26 AM Changeset in webkit [31075] by
-
- 23 edits6 adds in trunk
WebCore:
Reviewed by Sam.
- fix http://bugs.webkit.org/show_bug.cgi?id=11997 Ranges are not fixed after mutation (affects Acid3 test 13)
Test: fast/dom/Range/mutation.html
- WebCore.xcodeproj/project.pbxproj: Added NodeWithIndex.h, NodeWithIndexAfter.h, and NodeWithIndexBefore.h.
- dom/CharacterData.cpp: (WebCore::CharacterData::setData): Replaced call to Document::removeMarkers with call to Document::textRemoved. (WebCore::CharacterData::insertData): Replaced call to Document::shiftMarkers with call to Document::textInserted. (WebCore::CharacterData::deleteData): Replaced call to Document::removeMarkers and Document::shiftMarkers with call to Document::textRemoved. (WebCore::CharacterData::replaceData): Replaced call to Document::removeMarkers and Document::shiftMarkers with call to Document::textRemoved and Document::textInserted. (WebCore::CharacterData::containsOnlyWhitespace): Tweaked a bit.
- dom/ContainerNode.cpp: (WebCore::ContainerNode::childrenChanged): Added a call to Document::nodeChildrenChanged when the nmber of children was changed (and not by the parser). (WebCore::dispatchChildRemovalEvents): Updated for name change.
- dom/Document.cpp: (WebCore::Document::~Document): Assert that all ranges are gone. (WebCore::Document::nodeChildrenChanged): Added. Calls nodeChildrenChanged on all ranges. (WebCore::Document::nodeWillBeRemoved): Renamed from notifyBeforeNodeRemoval. Added code to call nodeWillBeRemoved on all ranges. (WebCore::Document::textInserted): Added. Calls textInserted on all ranges and also calls shiftMarkers. (WebCore::Document::textRemoved): Added. Calls textRemoved on all ranges and also calls removeMarkers and shiftMarkers. (WebCore::Document::textNodesMerged): Added. Calls textNodesMerged on all ranges. (WebCore::Document::textNodeSplit): Added. Calls textNodeSplit on all ranges. (WebCore::Document::attachRange): Added. Adds range to the HashSet of all ranges for this document. (WebCore::Document::detachRange): Added. Removes range from the HashSet.
- dom/Document.h: Added the new functions and the data member.
- dom/Element.cpp: (WebCore::Element::normalizeAttributes): Added. Contains the part of the normalize function that's specific to Element. Better encapsulation to have it here rather than in Node::normalize.
- dom/Element.h: Added the new function.
- dom/Node.cpp: (WebCore::Node::normalize): Rewrote so it's no longer recursive. Also added a call to textNodesMerged after each pair of nodes is merged but before the second node is removed. (WebCore::Node::traverseNextNodePostOrder): Added. Helper function used by normalize, but also useful elsewhere.
- dom/Node.h: Added the new function.
- dom/NodeIterator.cpp: (WebCore::NodeIterator::nodeWillBeRemoved): Renamed from notifyBeforeNodeRemoval.
- dom/NodeIterator.h: Ditto.
- dom/ProcessingInstruction.cpp: (WebCore::ProcessingInstruction::setData): Call textRemoved.
- dom/Range.cpp: (WebCore::NodeWithIndex::index): Added. Computes and stores index. (WebCore::NodeWithIndexBefore::indexBefore): Added. Computes and stores index. (WebCore::NodeWithIndexAfter::indexAfter): Added. Computes and stores index. (WebCore::Range::Range): Call attachRange. (WebCore::Range::~Range): Call detachRange unless the range is already detached. (WebCore::Range::commonAncestorContainer): Removed check for WRONG_DOCUMENT_ERR. It's no longer possible to create a range where the two containers are non-zero and have no common ancestor. (WebCore::Range::isPointInRange): Rewrote expression to be more readable. (WebCore::Range::compareNode): Changed local variable to use int for consistency. (WebCore::Range::compareBoundaryPoints): Replaced ASSERT with ASSERT_NOT_REACHED. (WebCore::Range::deleteContents): Removed check for INVALID_STATE_ERR and initialization of ec to 0; both are now inside checkDeleteExtract. (WebCore::Range::intersectsNode): Changed local variable to use int for consistency. Also changed comparison to use < 0 and >= 0 rather than checking explicitly for 1 and -1. (WebCore::Range::processContents): Changed code to not get the nodeType multiple times on the same node, and tweaked formatting. Removed code to update the range on deletion, because the normal delete logic will take care of that now. (WebCore::Range::extractContents): Removed check for INVALID_STATE_ERR and initialization of ec to 0; both are now inside checkDeleteExtract. (WebCore::Range::insertNode): Changed local variable to use int for consistency. (WebCore::Range::toString): Changed variable name to pastLast. (WebCore::Range::detach): Call detachRange. (WebCore::Range::checkDeleteExtract): Added check for detached range and code to set ec to 0; moved here from the two callers. Also changed variable name to pastLast. (WebCore::endpointNodeChildrenChanged): Added. (WebCore::Range::nodeChildrenChanged): Added. (WebCore::endpointNodeWillBeRemoved): Added. (WebCore::Range::nodeWillBeRemoved): Added. (WebCore::endpointTextInserted): Added. (WebCore::Range::textInserted): Added. (WebCore::endpointTextRemoved): Added. (WebCore::Range::textRemoved): Added. (WebCore::endpointTextNodesMerged): Added. (WebCore::Range::textNodesMerged): Added. (WebCore::endpointTextNodesSplit): Added. (WebCore::Range::textNodeSplit): Added.
- dom/Range.h: Added new member functions.
- dom/NodeWithIndex.h: Added. Makes it so we won't find the index for the same node more than once.
- dom/NodeWithIndexAfter.h: Added. Similar to NodeWithIndex but gives the index after a node and treats a node pointer of 0 as meaning "before first node in parent container".
- dom/NodeWithIndexBefore.h: Added. Similar to NodeWithIndex but treats a node pointer of 0 as meaning "after last node in parent container".
- dom/Text.cpp: (WebCore::Text::splitText): Call textNodeSplit.
- editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::applyInlineStyle): Changed variable name to pastLast.
LayoutTests:
Reviewed by Sam.
- test changes for http://bugs.webkit.org/show_bug.cgi?id=11997 Ranges are not fixed after mutation (affects Acid3 test 13)
- fast/dom/Range/mutation-expected.txt: Added.
- fast/dom/Range/mutation.html: Added.
- fast/dom/Range/resources/mutation.js: Added.
- editing/execCommand/4920742-2-expected.txt: Updated.
- editing/execCommand/4920742-2.html: Updated this test. It was testing for a crash in a case that's no longer possible -- you can't make a range where one endpoint is in the document and the other is not.
- platform/mac/editing/execCommand/4920488-expected.txt: Removed WRONG_DOCUMENT_ERR. The fact that a test was getting this exception was a bug, similar to the case above.
- platform/qt/editing/execCommand/4920488-expected.txt: Ditto.
- 7:15 AM Changeset in webkit [31074] by
-
- 3 edits2 adds in trunk
WebCore:
2008-03-15 Julien Chaffraix <julien.chaffraix@gmail.com>
Reviewed by Holger.
[CURL] Crash below ResourceHandleManager::setupPOST when job->request().httpBody() is NULL
http://bugs.webkit.org/show_bug.cgi?id=16906
Add null checks for httpBody() to match other ports.
Test: http/tests/xmlhttprequest/xmlhttprequest-post-crash.html
- platform/network/curl/ResourceHandleManager.cpp: (WebCore::readCallback): Add null check. (WebCore::ResourceHandleManager::setupPOST): Ditto.
LayoutTests:
2008-03-15 Julien Chaffraix <julien.chaffraix@gmail.com>
Reviewed by Holger.
[CURL] Crash below ResourceHandleManager::setupPOST when job->request().httpBody() is NULL
http://bugs.webkit.org/show_bug.cgi?id=16906
- http/tests/xmlhttprequest/xmlhttprequest-post-crash-expected.txt: Added.
- http/tests/xmlhttprequest/xmlhttprequest-post-crash.html: Added.