1. 28 Mar, 2008 2 commits
    • hyatt@apple.com's avatar
      2008-03-28 David Hyatt <hyatt@apple.com> · 4cac53aa
      hyatt@apple.com authored
              Fix a bug where background-position truncates instead of rounding when it evaluates to fractional
              pixel values.  This matches other browsers.
      
              Reviewed by maciej
      
              Added fast/backgrounds/background-position-rounding.html
      
              * rendering/Length.h:
              (WebCore::Length::calcValue):
              (WebCore::Length::calcMinValue):
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::calculateBackgroundImageGeometry):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cac53aa
    • mrowe@apple.com's avatar
      2008-03-27 Darin Adler <darin@apple.com> · cb17bd09
      mrowe@apple.com authored
              Reviewed by Mark Rowe.
      
              <rdar://problem/5826236> Regular expressions with large nested repetition counts can have their
              compiled length calculated incorrectly.
      
              * pcre/pcre_compile.cpp:
              (multiplyWithOverflowCheck):
              (calculateCompiledPatternLength): Check for overflow when dealing with nested repetition counts
              and bail with an error rather than returning incorrect results.
      
      2008-03-27  Mark Rowe  <mrowe@apple.com>
      
              Reviewed by Adam Roben.
      
              Tests for <rdar://problem/5826236> Regular expressions with large nested repetition counts can have their
              compiled length calculated incorrectly.
      
              * fast/js/regexp-overflow-expected.txt:
              * fast/js/resources/regexp-overflow.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31388 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb17bd09
  2. 27 Mar, 2008 14 commits
  3. 26 Mar, 2008 24 commits
    • beidson@apple.com's avatar
      2008-03-26 Brady Eidson <beidson@apple.com> · 587de2f4
      beidson@apple.com authored
              Build fix - accidentally checked in this change which was work in progress
      
              * DOM/WebDOMOperations.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      587de2f4
    • mrowe@apple.com's avatar
      Mac build fix. · af2d5c36
      mrowe@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af2d5c36
    • mjs@apple.com's avatar
      2008-03-26 Maciej Stachowiak <mjs@apple.com> · 8a60bfe8
      mjs@apple.com authored
              More screenshots for teh blog.
      
              * blog-files/acid3-full-rendering-pass.png: Added.
              * blog-files/acid3-rendering-reference.png: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a60bfe8
    • weinig@apple.com's avatar
      2008-03-26 Sam Weinig <sam@webkit.org> · 44787447
      weinig@apple.com authored
              Try and fix Gtk+ again.
      
              * GNUmakefile.am:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44787447
    • mitz@apple.com's avatar
      Reviewed by Dave Hyatt. · 812d9e3e
      mitz@apple.com authored
              - fix <rdar://problem/5816522> REGRESSION (r30111-30112): Tahoe web cam website has some text in Chinese or japanese
      
              * html/HTMLParser.cpp:
              (WebCore::HTMLParser::insertNode): Added call to beginParsingChildren()
              on the new node.
              (WebCore::HTMLParser::handleError): Ditto.
              (WebCore::HTMLParser::reopenResidualStyleTags): Ditto.
              (WebCore::HTMLParser::pushBlock): Removed incorrect call to
              beginParsingChildren() on the current node.
              * manual-tests/applet-finish-parsing-children.html: Added.
              * manual-tests/resources/DrawMessage.class: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      812d9e3e
    • beidson@apple.com's avatar
      WebCore: · a4fb38f9
      beidson@apple.com authored
      2008-03-26  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Darin
      
              When we create a WebArchive, we walk every node from some starting point, asking each node
              along the way "What are your subresource URLs?"
      
              That logic is currently in DOMNode in WebKitMac - this patch moves that ability down into
              WebCore::Node
      
              * WebCore.base.exp:
              
              * dom/Node.cpp:
              (WebCore::Node::getSubresourceURLs):
              (WebCore::Node::getSubresourceAttributeStrings):  Virtual and empty.  Subclasses of Node that have 
                subresources will override it.
      
              * dom/ProcessingInstruction.cpp:
              (WebCore::ProcessingInstruction::getSubresourceAttributeStrings):
              * dom/ProcessingInstruction.h:
              * html/HTMLBodyElement.cpp:
              (WebCore::HTMLBodyElement::getSubresourceAttributeStrings):
              * html/HTMLBodyElement.h:
              * html/HTMLEmbedElement.cpp:
              (WebCore::HTMLEmbedElement::getSubresourceAttributeStrings):
              * html/HTMLEmbedElement.h:
              * html/HTMLImageElement.cpp:
              (WebCore::HTMLImageElement::getSubresourceAttributeStrings):
              * html/HTMLImageElement.h:
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::getSubresourceAttributeStrings):
              * html/HTMLInputElement.h:
              * html/HTMLLinkElement.cpp:
              (WebCore::HTMLLinkElement::getSubresourceAttributeStrings):
              * html/HTMLLinkElement.h:
              * html/HTMLObjectElement.cpp:
              (WebCore::HTMLObjectElement::getSubresourceAttributeStrings):
              * html/HTMLObjectElement.h:
              * html/HTMLParamElement.cpp:
              (WebCore::HTMLParamElement::getSubresourceAttributeStrings):
              * html/HTMLParamElement.h:
              * html/HTMLScriptElement.cpp:
              (WebCore::HTMLScriptElement::getSubresourceAttributeStrings):
              * html/HTMLScriptElement.h:
              * html/HTMLTableCellElement.cpp:
              (WebCore::HTMLTableCellElement::getSubresourceAttributeStrings):
              * html/HTMLTableCellElement.h:
              * html/HTMLTableElement.cpp:
              (WebCore::HTMLTableElement::getSubresourceAttributeStrings):
              * html/HTMLTableElement.h:
              * svg/SVGCursorElement.cpp:
              (WebCore::SVGCursorElement::getSubresourceAttributeStrings):
              * svg/SVGCursorElement.h:
              * svg/SVGFEImageElement.cpp:
              (WebCore::SVGFEImageElement::getSubresourceAttributeStrings):
              * svg/SVGFEImageElement.h:
              * svg/SVGImageElement.cpp:
              (WebCore::SVGImageElement::getSubresourceAttributeStrings):
              * svg/SVGImageElement.h:
              * svg/SVGScriptElement.cpp:
              (WebCore::SVGScriptElement::getSubresourceAttributeStrings):
              * svg/SVGScriptElement.h:
      
      WebKit/mac:
      
      2008-03-26  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Darin
      
              When we create a WebArchive, we walk every node from some starting point, asking each node
              along the way "What are your subresource URLs?"
      
              That logic is currently in DOMNode in WebKitMac - this patch moves that ability down into
              WebCore::Node
      
              * DOM/WebDOMOperations.mm:
              (-[DOMNode _subresourceURLs]): One generic DOMNode method can now handle all DOMNodes by
                calling into individual WebCore::Node implementations
              * DOM/WebDOMOperationsPrivate.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4fb38f9
    • mitz@apple.com's avatar
      Reviewed by Dave Hyatt. · 0f1089e8
      mitz@apple.com authored
              - maintain subpixel-antialiasing when drawing text with a simple shadow
      
              * platform/graphics/mac/FontMac.mm:
              (WebCore::Font::drawComplexText): If the shadow has a zero blur radius,
              draw the shadow by drawing the text at an offset instead of relying on
              Core Graphics shadows.
              (WebCore::Font::drawGlyphs): Ditto.
              * platform/graphics/win/FontCGWin.cpp:
              (WebCore::Font::drawGlyphs): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f1089e8
    • beidson@apple.com's avatar
      WebCore: · b00be861
      beidson@apple.com authored
      2008-03-26  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Mark Rowe
      
              Part of the continued push to move WebArchive-related code down to WebCore, this
              moves [WebDataSource subresourceForURL:] down to DocumentLoader->subresource()
      
              * WebCore.base.exp:
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::subresource): Create an ArchiveResource from a CachedResource if it exists
                Otherwise, fallback to an ArchiveResource from the current Archive if any.  Otherwise, return null
              * loader/DocumentLoader.h:
      
              * loader/archive/ArchiveResource.cpp:
              (WebCore::ArchiveResource::create):
              (WebCore::ArchiveResource::ArchiveResource):
              * loader/archive/ArchiveResource.h:
      
      WebKit/mac:
      
      2008-03-26  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Mark Rowe
      
              Part of the continued push to move WebArchive-related code down to WebCore, this
              moves [WebDataSource subresourceForURL:] down to DocumentLoader->subresource()
      
              * WebView/WebDataSource.mm:
              (-[WebDataSource subresourceForURL:]): Call through to the DocumentLoader 
      
              * WebView/WebFrame.mm: Remove [WebFrame _getData:andResponse:forURL:], as its only use
                has now been ported down to WebCore
              * WebView/WebFrameInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b00be861
    • weinig@apple.com's avatar
      2008-03-26 Sam Weinig <sam@webkit.org> · d668403d
      weinig@apple.com authored
              Fix Gtk+ build.
      
              * GNUmakefile.am:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d668403d
    • mrowe@apple.com's avatar
      Update FEATURE_DEFINES to be consistent with the other locations in which it is defined. · 3ad3f4ac
      mrowe@apple.com authored
      Rubber-stamped by Brady Eidson.
      
      * Configurations/JavaScriptCore.xcconfig:
      * Configurations/WebCore.xcconfig:
      * Configurations/WebKit.xcconfig:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ad3f4ac
    • pewtermoose@webkit.org's avatar
      WebCore: · 7b026990
      pewtermoose@webkit.org authored
      2008-03-26  Brent Fulgham  <bfulgham@gmail.com>
      
              Reviewed by Adam Roben.
      
              Add necessary files and build commands to vcproj files to
              build a Curl-based Windows WebKit.  For details, see
              http://bugs.webkit.org/show_bug.cgi?id=17985
      
              * WebCore.vcproj/WebCore.vcproj:
      
      WebKit/win:
      
      2008-03-26  Brent Fulgham  <bfulgham@gmail.com>
      
              Reviewed by Adam Roben.
      
              Add necessary files and build commands to vcproj files to
              build a Curl-based Windows WebKit.  For details, see
              http://bugs.webkit.org/show_bug.cgi?id=17985
      
              * WebKit.vcproj/WebKit.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b026990
    • aroben@apple.com's avatar
      Record JS exceptions triggered by the Inspector's use of JSC · 2983edbf
      aroben@apple.com authored
              We now dump all exceptions returned from JavaScriptCore into the
              Inspector's console.
      
              The HANDLE_EXCEPTION macro records the line on which the exception was
              returned. It calls a new private handleException method on
              InspectorController.
      
              Reviewed by Kevin McCullough.
      
              * page/InspectorController.cpp:
              (WebCore::InspectorController::callSimpleFunction): Made this be a
              member of InspectorController so that it can call handleException.
              (WebCore::addSourceToFrame): Pass the exception pointer on to inner
              JSC calls, and check it after those calls return.
              (WebCore::getResourceDocumentNode): Ditto.
              (WebCore::search): Ditto. Also changed the name/type of an existing
              exception variable to ExceptionCode ec.
              (WebCore::databaseTableNames): Ditto.
              (WebCore::moveByUnrestricted): Ditto.
              (WebCore::InspectorController::~InspectorController): Check for and
              record exceptions as we call JSC.
              (WebCore::InspectorController::focusNode): Ditto.
              (WebCore::InspectorController::scriptObjectReady): Ditto.
              (WebCore::addHeaders): Added an exception parameter.
              (WebCore::scriptObjectForRequest): Ditto.
              (WebCore::scriptObjectForResponse): Ditto.
              (WebCore::InspectorController::addScriptResource): Check for and
              record exceptions as we call JSC.
              (WebCore::InspectorController::addAndUpdateScriptResource): Ditto.
              (WebCore::InspectorController::removeScriptResource): Ditto. Also
              moved the call to setScriptObject to before the JSC calls so that it
              will always be called even if we return early if JSC throws an
              exception.
              (WebCore::InspectorController::updateScriptResourceRequest): Check for
              and record exceptions as we call JSC.
              (WebCore::InspectorController::updateScriptResourceResponse): Ditto.
              (WebCore::InspectorController::updateScriptResource): Ditto.
              (WebCore::InspectorController::addDatabaseScriptResource): Ditto.
              (WebCore::InspectorController::removeDatabaseScriptResource): Ditto.
              Also moved the call to setScriptObject to before the JSC calls so that
              it will always be called even if we return early if JSC throws an
              exception.
              (WebCore::InspectorController::addScriptConsoleMessage): Check for and
              record exceptions as we call JSC.
              (WebCore::InspectorController::handleException): Added.
              * page/InspectorController.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2983edbf
    • aroben@apple.com's avatar
      Fix Bug 18060: Assertion failure (JSLock not held) beneath JSCallbackObject<Base>::toString · 230201c1
      aroben@apple.com authored
              <http://bugs.webkit.org/show_bug.cgi?id=18060>
      
              Reviewed by Geoff Garen.
      
              Bug fix:
      
              * API/JSCallbackObjectFunctions.h:
              (KJS::JSCallbackObject<Base>::toString): Make the DropAllLocks
              instance only be in scope while calling convertToType.
      
              Test:
      
              * API/testapi.c:
              (MyObject_convertToType): Implement type conversion to string.
              * API/testapi.js: Add a test for type conversion to string.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      230201c1
    • darin@apple.com's avatar
      2008-03-26 Darin Adler <darin@apple.com> · 15c2cfdb
      darin@apple.com authored
              Rubber stamped by Maciej.
      
              - removed a couple log messages in error cases that are handled internally
      
              * platform/text/TextCodecICU.cpp:
              (WebCore::TextCodecICU::decode): Removed the LOG_ERROR.
              * platform/text/mac/TextCodecMac.cpp:
              (WebCore::TextCodecMac::decode): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15c2cfdb
    • aroben@apple.com's avatar
      Windows build fix after r31322 · 1e5c8dc7
      aroben@apple.com authored
              * win/include/WebKitSystemInterface/WebKitSystemInterface.h: Updated.
              * win/lib/WebKitSystemInterface.lib: Updated.
              * win/lib/WebKitSystemInterface_debug.lib: Updated.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e5c8dc7
    • weinig@apple.com's avatar
      2008-03-26 Sam Weinig <sam@webkit.org> · cdc93f9c
      weinig@apple.com authored
              Reviewed by Adam Roben.
      
              * page/Location.idl: Don't enumerate toString.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cdc93f9c
    • weinig@apple.com's avatar
      2008-03-26 Sam Weinig <sam@webkit.org> · 173b727c
      weinig@apple.com authored
              Rubber-stamped by Adam Roben.
      
              Update test result.
      
              * fast/dom/Window/window-special-properties-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      173b727c
    • mjs@apple.com's avatar
      2008-03-26 Maciej Stachowiak <mjs@apple.com> · bbea89f9
      mjs@apple.com authored
              Screenshot for blog post.
      
              * blog-files/acid3-100.png: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbea89f9
    • mrowe@apple.com's avatar
      Release build fix. · c3da0ebe
      mrowe@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3da0ebe
    • aroben@apple.com's avatar
      Windows build fix · 42fd1fa4
      aroben@apple.com authored
              * kjs/array_instance.cpp: Touched this.
              * wtf/HashFunctions.h:
              (WTF::intHash): Added 8- and 16-bit versions of intHash.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42fd1fa4
    • mjs@apple.com's avatar
      WebCore: · 2bb17bbe
      mjs@apple.com authored
      2008-03-26  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Hyatt and Adam.
      
              Coded by me and Darin.
              
              - SVG kerning support (horizontal kerning only for now since we don't do vertical text layout right yet) 
              
              Acid3 100/100
      
              * DerivedSources.make:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * platform/graphics/Font.cpp:
              (WebCore::Font::floatWidth):
              (WebCore::Font::isSVGFont):
              * platform/graphics/Font.h:
              * rendering/SVGInlineTextBox.cpp:
              (WebCore::SVGInlineTextBox::calculateGlyphWidth):
              (WebCore::SVGInlineTextBox::calculateGlyphBoundaries):
              * rendering/SVGInlineTextBox.h:
              * rendering/SVGRootInlineBox.cpp:
              (WebCore::cummulatedWidthOrHeightOfTextChunk):
              (WebCore::SVGRootInlineBox::buildLayoutInformation):
              (WebCore::SVGRootInlineBox::buildLayoutInformationForTextBox):
              * rendering/SVGRootInlineBox.h:
              (WebCore::LastGlyphInfo::LastGlyphInfo):
              * svg/SVGFont.cpp:
              (WebCore::SVGTextRunWalker::walk):
              (WebCore::Font::svgFont):
              (WebCore::floatWidthOfSubStringUsingSVGFont):
              (WebCore::Font::floatWidthUsingSVGFont):
              (WebCore::Font::drawTextUsingSVGFont):
              (WebCore::Font::selectionRectForTextUsingSVGFont):
              * svg/SVGFontElement.cpp:
              (WebCore::SVGFontElement::invalidateGlyphCache):
              (WebCore::SVGFontElement::ensureGlyphCache):
              (WebCore::parseUnicodeRange):
              (WebCore::parseUnicodeRangeList):
              (WebCore::stringMatchesUnicodeRange):
              (WebCore::matches):
              (WebCore::SVGFontElement::getHorizontalKerningPairForStringsAndGlyphs):
              * svg/SVGFontElement.h:
              * svg/SVGGlyphElement.cpp:
              (WebCore::SVGGlyphElement::insertedIntoDocument):
              (WebCore::SVGGlyphElement::removedFromDocument):
              * svg/SVGHKernElement.cpp: Added.
              (WebCore::SVGHKernElement::SVGHKernElement):
              (WebCore::SVGHKernElement::~SVGHKernElement):
              (WebCore::SVGHKernElement::insertedIntoDocument):
              (WebCore::SVGHKernElement::removedFromDocument):
              (WebCore::SVGHKernElement::buildHorizontalKerningPair):
              * svg/SVGHKernElement.h: Added.
              (WebCore::SVGHorizontalKerningPair::SVGHorizontalKerningPair):
              (WebCore::SVGHKernElement::rendererIsNeeded):
              * svg/SVGHKernElement.idl: Added.
              * svg/SVGTextContentElement.cpp:
              (WebCore::cummulatedCharacterRangeLength):
              (WebCore::SVGInlineTextBoxQueryWalker::chunkPortionCallback):
              * svg/svgtags.in:
      
      LayoutTests:
      
      2008-03-26  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Hyatt and Adam.
              
              - new test case and test fixes for SVG text kerning
      
              * svg/text/kerning.svg: Added.
              * platform/mac/svg/text/kerning-expected.txt: Added.
      
              * platform/mac/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt:
              * platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2bb17bbe
    • weinig@apple.com's avatar
      2008-03-26 Sam Weinig <sam@webkit.org> · e3bf41a8
      weinig@apple.com authored
              Reviewed by Adam Roben.
      
              Autogenerate JSLocation.
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              Add files.
      
              * DerivedSources.make: Add Location, remove JSLocation.lut.h
              * bindings/js/JSDOMWindowBase.cpp:
              (WebCore::JSDOMWindowBasePrivate::JSDOMWindowBasePrivate):
              (WebCore::JSDOMWindowBase::getValueProperty):
              (WebCore::JSDOMWindowBase::put):
              (WebCore::JSDOMWindowBase::clearHelperObjectProperties):
              (WebCore::JSDOMWindowBase::disconnectFrame):
              * bindings/js/JSDOMWindowBase.h:
              Remove manuel management of the Location object.
      
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::mark): Add marking of JSLocation.
              (WebCore::JSDOMWindow::setLocation): Add custom setLocation as we only want to do this when
              safe and we need to keep Dashboard quirks.
      
              * bindings/js/JSDocumentCustom.cpp:
              (WebCore::JSDocument::location):
              Fetch the location object using the normal toJS route.
      
              * bindings/js/JSLocation.cpp: Removed.
              * bindings/js/JSLocation.h: Removed.
              * bindings/js/JSLocationCustom.cpp: Added.
              (WebCore::JSLocation::customGetOwnPropertySlot):
              (WebCore::JSLocation::customPut):
              (WebCore::JSLocation::deleteProperty):
              (WebCore::JSLocation::customGetPropertyNames):
              (WebCore::navigateIfAllowed):
              (WebCore::JSLocation::setHref):
              (WebCore::JSLocation::setProtocol):
              (WebCore::JSLocation::setHost):
              (WebCore::JSLocation::setHostname):
              (WebCore::JSLocation::setPort):
              (WebCore::JSLocation::setPathname):
              (WebCore::JSLocation::setSearch):
              (WebCore::JSLocation::setHash):
              (WebCore::JSLocation::replace):
              (WebCore::JSLocation::reload):
              (WebCore::JSLocation::assign):
              (WebCore::JSLocation::toString):
              Setter and Functions need custom implementations as they rely on the dynamic
              global object for determining the behavior of the navigation.
      
              * history/CachedPage.cpp:
              (WebCore::CachedPage::CachedPage):
              (WebCore::CachedPage::restore):
              (WebCore::CachedPage::clear):
              * history/CachedPage.h:
              Removed all the special casing for location as it should be treated like all
              the other objects hanging off the window.
      
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::clear):
              (WebCore::DOMWindow::location):
              * page/DOMWindow.h:
              (WebCore::DOMWindow::optionalLocation):
              * page/DOMWindow.idl:
              Add Location accessor and pointer getter for marking.
      
              * page/Location.cpp: Added.
              (WebCore::Location::Location):
              (WebCore::Location::disconnectFrame):
              (WebCore::Location::url):
              (WebCore::Location::href):
              (WebCore::Location::protocol):
              (WebCore::Location::host):
              (WebCore::Location::hostname):
              (WebCore::Location::port):
              (WebCore::Location::pathname):
              (WebCore::Location::search):
              (WebCore::Location::hash):
              (WebCore::Location::toString):
              * page/Location.h: Added.
              (WebCore::Location::create):
              (WebCore::Location::frame):
              * page/Location.idl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3bf41a8
    • hyatt@apple.com's avatar
      Add layout test results for altGlyph. · f0111de1
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0111de1
    • hyatt@apple.com's avatar
      Add layout test for altGlyph. · ebb043c3
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebb043c3