1. 24 Oct, 2008 1 commit
  2. 19 Sep, 2008 1 commit
    • darin@apple.com's avatar
      JavaScriptCore: · c9aea831
      darin@apple.com authored
      2008-09-18  Darin Adler  <darin@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              - part 1 of https://bugs.webkit.org/show_bug.cgi?id=20858
                make each distinct C++ class get a distinct JSC::Structure
      
              * kjs/lookup.h: Removed things here that were used only in WebCore:
              cacheGlobalObject, JSC_DEFINE_PROTOTYPE, JSC_DEFINE_PROTOTYPE_WITH_PROTOTYPE,
              and JSC_IMPLEMENT_PROTOTYPE.
      
      WebCore:
      
      2008-09-18  Darin Adler  <darin@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              - part 1 of https://bugs.webkit.org/show_bug.cgi?id=20858
                make each distinct C++ class get a distinct JSC::Structure
      
              * bindings/js/JSCSSStyleDeclarationCustom.cpp:
              (WebCore::JSCSSStyleDeclaration::customPut): Use setDOMException
              instead of DOMExceptionTranslator.
      
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::getCachedDOMObjectWrapper): Updated function name.
              (WebCore::cacheDOMObjectWrapper): Ditto.
              (WebCore::forgetDOMObject): Ditto.
              (WebCore::getCachedDOMNodeWrapper): Ditto.
              (WebCore::forgetDOMNode): Ditto.
              (WebCore::cacheDOMNodeWrapper): Ditto.
              (WebCore::forgetAllDOMNodesForDocument): Ditto.
              (WebCore::markDOMNodesForDocument): Ditto.
              (WebCore::updateDOMNodeDocument): Ditto.
              (WebCore::getCachedDOMStructure): Added.
              (WebCore::createDOMStructure): Ditto.
      
              * bindings/js/JSDOMBinding.h: Get rid of the ScriptInterpreter
              class and replace the static member functions with non-member
              functions. Added many other functions for getting at structures,
              prototypes, wrappers, and creating them. Also moved the
              cacheGlobalObject function here from JavaScriptCore; eventually
              I'll remove that once I get rid of the remaining callers. Also
              removed the DOMExceptionTranslator class.
      
              * bindings/js/JSDOMWindowBase.h: Added JSDOMStructureMap type,
              and put one of those maps in each window.
      
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::markDOMObjectWrapper): Updated for function name change.
              (WebCore::JSDOMWindow::mark): Added code to mark all the structures
              in the structure map.
      
              * bindings/js/JSEventTargetNode.cpp:
              (WebCore::JSEventTargetNode::JSEventTargetNode): Changed to take
              a structure instead of a prototype.
              * bindings/js/JSEventTargetNode.h: Ditto.
              * bindings/js/JSHTMLAllCollection.h:
              (WebCore::JSHTMLAllCollection::JSHTMLAllCollection): Ditto.
      
              * bindings/js/JSHTMLInputElementBase.cpp:
              (WebCore::JSHTMLInputElementBase::JSHTMLInputElementBase): Removed
              use of the JSC_IMPLEMENT_PROTOTYPE macro, and changed to take a
              structure instead of a prototype.
              * bindings/js/JSHTMLInputElementBase.h: Removed use of the
              JSC_DEFINE_PROTOTYPE_WITH_PROTOTYPE macro, and changed constructor
              to take a structure instead of a prototype. Created a dummy prototype
              class that causes the HTMLInputElement prototype to have the
              HTMLElement prototype.
      
              * bindings/scripts/CodeGeneratorJS.pm: Change constructors to take
              structures instead of prototypes. Changed the prototype self function
              to use the getDOMPrototype function -- later we can eliminate it and
              have callers invoke getDOMPrototype directly instead. Updated other
              functions that have name changes. Added code to generate the
              createPrototype member function. Changed use of cacheGlobalObject to
              get it from the WebCore namespace instead of the JSC namespace.
              Changed cacheDOMObject calls to use getDOMObjectWrapper instead.
      
              * dom/Document.cpp:
              (WebCore::Document::~Document): Updated for name change and also
              removed unnecessary JSLock use -- there's no need to lock around this.
              * dom/Node.cpp:
              (WebCore::Node::setDocument): Ditto.
      
              * dom/make_names.pl: Changed to use CREATE_DOM_NODE_WRAPPER macro
              instead of calling new directly.
      
              * bindings/js/JSCSSRuleCustom.cpp:
              (WebCore::toJS): Updated for function name changes and used the
              CREATE_DOM_OBJECT_WRAPPER macro.
              * bindings/js/JSCSSValueCustom.cpp:
              (WebCore::toJS): Ditto.
              * bindings/js/JSCanvasPixelArrayCustom.cpp:
              (WebCore::toJS): Ditto.
              * bindings/js/JSDocumentCustom.cpp:
              (WebCore::JSDocument::mark): Ditto.
              (WebCore::toJS): Ditto.
              * bindings/js/JSElementCustom.cpp:
              (WebCore::toJSNewlyCreated): Ditto.
              * bindings/js/JSEventCustom.cpp:
              (WebCore::toJS): Ditto.
              * bindings/js/JSEventTargetBase.cpp:
              (WebCore::jsEventTargetDispatchEvent): Use setDOMException instead
              of DOMExceptionTranslator.
              (WebCore::toJS): Updated for function name changes and used the
              CREATE_DOM_OBJECT_WRAPPER macro.
              * bindings/js/JSHTMLCollectionCustom.cpp:
              (WebCore::toJS): Ditto.
              * bindings/js/JSNodeCustom.cpp:
              (WebCore::JSNode::mark): Ditto.
              (WebCore::createWrapper): Ditto.
              (WebCore::toJS): Ditto.
              * bindings/js/JSSVGPathSegCustom.cpp:
              (WebCore::toJS): Ditto.
              * bindings/js/JSStyleSheetCustom.cpp:
              (WebCore::toJS): Ditto.
              (WebCore::JSStyleSheet::mark): Ditto.
              * bindings/js/JSTextCustom.cpp:
              (WebCore::toJSNewlyCreated): Ditto.
              * bindings/js/JSXMLHttpRequestConstructor.cpp:
              (WebCore::constructXMLHttpRequest): Ditto.
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              (WebCore::JSXMLHttpRequest::mark): Ditto.
              * bindings/js/JSXMLHttpRequestUploadCustom.cpp:
              (WebCore::JSXMLHttpRequestUpload::mark): Ditto.
              * bindings/js/JSXSLTProcessorConstructor.cpp:
              (WebCore::constructXSLTProcessor): Ditto.
              * bindings/js/ScriptController.cpp:
              (WebCore::ScriptController::finishedWithEvent): Ditto.
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::loadRequestAsynchronously): Ditto.
              (WebCore::XMLHttpRequest::dropProtection): Ditto.
      
      LayoutTests:
      
      2008-09-18  Darin Adler  <darin@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              * platform/mac/fast/dom/wrapper-classes-expected.txt: Update results to
              reflect correct prototype for CSSStyleRule.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9aea831
  3. 14 May, 2008 1 commit
    • ddkilzer@apple.com's avatar
      WebCore: · 8fb21a17
      ddkilzer@apple.com authored
              REGRESSION (r26474): WebKit fails jQuery test 64 core module: text(String) subtest 1 Check escaped text (createTextNode)
      
              <https://bugs.webkit.org/show_bug.cgi?id=18976>
              <rdar://problem/5924793>
      
              Reviewed by Darin.
      
              Tests: fast/dom/dom-parse-serialize-expected.txt:
                     fast/xsl/xslt-processor-expected.txt:
                     fast/xsl/xslt-text-expected.txt:
      
              Commit r26474 removed escaping of '>' characters to '&gt;' in serialized
              HTML content, which broke one jQuery test.  This change restores that
              serialization behavior to both attributes and content for consistency.
      
              * editing/markup.cpp:
              (WebCore::appendAttributeValue): Escape '>' as '&gt;'.
              (WebCore::escapeContentText): Ditto.
              (WebCore::appendEscapedContent): Ditto.  This is the bug fix for the jQuery test.
      
      LayoutTests:
      
              REGRESSION (r26474): WebKit fails jQuery test 64 core module: text(String) subtest 1 Check escaped text (createTextNode)
      
              <https://bugs.webkit.org/show_bug.cgi?id=18976>
              <rdar://problem/5924793>
      
              Reviewed by Darin.
      
              Updated test results now that '>' is escaped to '&gt;' in both
              attributes and content.
      
              * fast/xsl/xslt-processor-expected.txt:
              * fast/xsl/xslt-text-expected.txt:
              * platform/mac/fast/dom/dom-parse-serialize-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8fb21a17
  4. 20 Feb, 2008 1 commit
    • hyatt@apple.com's avatar
      Fix for bug 12751, doctype nodes aren't part of the Document (Acid3). · 4258307c
      hyatt@apple.com authored
              Reviewed by Sam Weinig
      
              Many tests added in fast/doctypes.
      
              * dom/DOMImplementation.cpp:
              (WebCore::DOMImplementation::createDocument):
              (WebCore::DOMImplementation::createHTMLDocument):
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::setDocType):
              (WebCore::Document::attach):
              (WebCore::Document::getImageMap):
              * dom/Document.h:
              (WebCore::Document::doctype):
              (WebCore::Document::):
              (WebCore::Document::determineParseMode):
              (WebCore::Document::setParseMode):
              (WebCore::Document::parseMode):
              (WebCore::Document::inCompatMode):
              (WebCore::Document::inAlmostStrictMode):
              (WebCore::Document::inStrictMode):
              * dom/DocumentType.cpp:
              (WebCore::DocumentType::cloneNode):
              (WebCore::DocumentType::insertedIntoDocument):
              (WebCore::DocumentType::removedFromDocument):
              * dom/DocumentType.h:
              * dom/Node.cpp:
              (WebCore::Node::childAllowed):
              * dom/StyledElement.cpp:
              (WebCore::StyledElement::attributeChanged):
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::internalSubset):
              (WebCore::):
              * editing/markup.cpp:
              (WebCore::appendStartMarkup):
              * html/HTMLAppletElement.cpp:
              (WebCore::HTMLAppletElement::createRenderer):
              * html/HTMLDocument.cpp:
              (WebCore::HTMLDocument::HTMLDocument):
              (WebCore::HTMLDocument::childAllowed):
              (WebCore::HTMLDocument::determineParseMode):
              * html/HTMLDocument.h:
              * html/HTMLMapElement.cpp:
              (WebCore::HTMLMapElement::parseMappedAttribute):
              * html/HTMLParamElement.cpp:
              (WebCore::HTMLParamElement::parseMappedAttribute):
              * html/HTMLParser.cpp:
              (WebCore::HTMLParser::parseDoctypeToken):
              * html/HTMLParser.h:
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::reset):
              (WebCore::HTMLTokenizer::parseDoctype):
              (WebCore::HTMLTokenizer::parseTag):
              (WebCore::HTMLTokenizer::write):
              (WebCore::HTMLTokenizer::finish):
              (WebCore::HTMLTokenizer::processDoctypeToken):
              * html/HTMLTokenizer.h:
              (WebCore::):
              (WebCore::DoctypeToken::DoctypeToken):
              (WebCore::DoctypeToken::reset):
              (WebCore::DoctypeToken::state):
              (WebCore::DoctypeToken::setState):
              (WebCore::HTMLTokenizer::State::inDoctype):
              (WebCore::HTMLTokenizer::State::setInDoctype):
              (WebCore::HTMLTokenizer::State::needsSpecialWriteHandling):
              (WebCore::HTMLTokenizer::State::):
              * html/HTMLViewSourceDocument.cpp:
              (WebCore::HTMLViewSourceDocument::addViewSourceToken):
              (WebCore::HTMLViewSourceDocument::addViewSourceDoctypeToken):
              * html/HTMLViewSourceDocument.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::write):
              (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady):
              * page/Frame.cpp:
              (WebCore::Frame::documentTypeString):
              * page/inspector/utilities.js:
              * xml/XSLTProcessor.cpp:
              (WebCore::XSLTProcessor::createDocumentFromSource):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4258307c
  5. 04 Jan, 2008 2 commits
    • weinig@apple.com's avatar
      WebCore: · 3a591fc1
      weinig@apple.com authored
              Reviewed by Oliver Hunt.
      
              - Match the spec when calling getFloatValue, getStringValue, getCounterValue,
                getRectValue and getRGBColorValue of CSSPrimitiveValue by throwing exceptions
                if the type of the CSSPrimitiveValue is not the same as the type requested.
              - Fix the intermittent assertion failure seen in svg/css/glyph-orientation-rounding-test.xhtml
      
              Test: fast/css/CSSPrimitiveValue-exceptions.html
      
              * css/CSSPrimitiveValue.cpp:
              (WebCore::CSSPrimitiveValue::getDoubleValue):
              (WebCore::CSSPrimitiveValue::getStringValue):
              (WebCore::CSSPrimitiveValue::getCounterValue):
              (WebCore::CSSPrimitiveValue::getRectValue):
              (WebCore::CSSPrimitiveValue::getRGBColorValue):
              (WebCore::CSSPrimitiveValue::getPairValue):
              * css/CSSPrimitiveValue.h:
              (WebCore::CSSPrimitiveValue::getFloatValue):
              (WebCore::CSSPrimitiveValue::getIntValue):
              (WebCore::CSSPrimitiveValue::getCounterValue):
              (WebCore::CSSPrimitiveValue::getRectValue):
              (WebCore::CSSPrimitiveValue::getDashboardRegionValue):
              * css/CSSPrimitiveValue.idl:
      
      LayoutTests:
      
              Reviewed by Oliver Hunt.
      
              Throw exceptions for the CSSPrimitiveValue getters, matching the spec.
      
              * fast/css/CSSPrimitiveValue-exceptions-expected.txt: Added.
              * fast/css/CSSPrimitiveValue-exceptions.html: Added.
              * fast/css/resources/CSSPrimitiveValue-exceptions.js: Added.
              * fast/dom/prototypes.html:
              * fast/dom/wrapper-classes.html:
              * platform/mac/fast/dom/wrapper-classes-objc.html:
              * svg/css/glyph-orientation-rounding-test-expected.txt:
              * svg/css/glyph-orientation-rounding-test.xhtml: Pass in a unit so this doesn't throw.
              This patch also fixes the associated intermittent failure seen in this test.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a591fc1
    • weinig@apple.com's avatar
      Reviewed by Kevin McCullough. · 456442d5
      weinig@apple.com authored
              - Splits Objective-C tests out of wrapper-classes.html and into platform specific test.
              - Adds tests for .__proto__ and .constructor to JS wrapper tests.
      
              * fast/dom/wrapper-classes.html:
              * platform/mac/fast/dom/wrapper-classes-expected.txt:
              * platform/mac/fast/dom/wrapper-classes-objc-expected.txt: Added.
              * platform/mac/fast/dom/wrapper-classes-objc.html: Copied from fast/dom/wrapper-classes.html.
              * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      456442d5
  6. 13 Dec, 2007 2 commits
    • kmccullough@apple.com's avatar
      WebKitTools: · 6e61ed34
      kmccullough@apple.com authored
              Reviewed by Adam.
      
              - Layout tests fix.  We need a way to remove machine-dependent
              information from paths in layout test results. The UIDelegate now does
              this.
      
              * DumpRenderTree/DumpRenderTree.h:
              * DumpRenderTree/win/DumpRenderTree.cpp:
              (urlSuitableForTestResult):
              * DumpRenderTree/win/DumpRenderTreeWin.h:
              * DumpRenderTree/win/ResourceLoadDelegate.cpp:
              * DumpRenderTree/win/UIDelegate.cpp:
              (UIDelegate::webViewAddMessageToConsole):
      
      LayoutTests:
      
              Reviewed by Adam.
      
              - Layout tests fix.  Removed machine dependant results and generated new
              results without machine specific information.
      
              * fast/dom/frame-loading-via-document-write-expected.txt: Added.
              * http/tests/security/frame-loading-via-document-write-expected.txt: Added.
              * http/tests/security/local-CSS-from-remote-expected.txt:
              * http/tests/security/local-JavaScript-from-remote-expected.txt:
              * http/tests/security/local-iFrame-from-remote-expected.txt:
              * http/tests/security/local-image-from-remote-expected.txt:
              * platform/mac/fast/dom/frame-loading-via-document-write-expected.checksum: Removed.
              * platform/mac/fast/dom/frame-loading-via-document-write-expected.png: Removed.
              * platform/mac/fast/dom/frame-loading-via-document-write-expected.txt: Removed.
              * platform/mac/http/tests/security: Removed.
              * platform/mac/http/tests/security/frame-loading-via-document-write-expected.checksum: Removed.
              * platform/mac/http/tests/security/frame-loading-via-document-write-expected.png: Removed.
              * platform/mac/http/tests/security/frame-loading-via-document-write-expected.txt: Removed.
              * platform/win/Skipped:
              * platform/win/http: Removed.
              * platform/win/http/tests: Removed.
              * platform/win/http/tests/security: Removed.
              * platform/win/http/tests/security/frame-loading-via-document-write-expected.txt: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e61ed34
    • kmccullough@apple.com's avatar
      WebKitTools: · ee36f6bf
      kmccullough@apple.com authored
              Reviewed by Alice and Sam.
      
              - <rdar://5621435> Need a way to specify local resources (being loaded
              from HTTP tests) on Windows.
              - Implemented pathToLocalResource which exposes the functionality of
              converting a given unix path to the correct location on Windows.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (pathToLocalResourceCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::pathToLocalResource):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::pathToLocalResource):
      
      LayoutTests:
      
              Reviewed by Alice and Sam.
      
              - <rdar://5621435> Need a way to specify local resources (being loaded
              from HTTP tests) on Windows.
              - Updated the following tests to use the new layoutTestController
              function, pathToLocalResource to get a Windows viable path (when on
              Windows) to the local resources they are attempting to access.
              - Also clarified and updated some results.
      
              * fast/dom/frame-loading-via-document-write.html:
              * fast/loader/local-CSS-from-local-expected.txt:
              * fast/loader/local-CSS-from-local.html:
              * fast/loader/local-JavaScript-from-local-expected.txt:
              * fast/loader/local-JavaScript-from-local.html:
              * fast/loader/local-iFrame-source-from-local-expected.txt:
              * fast/loader/local-iFrame-source-from-local.html:
              * fast/loader/local-image-from-local-expected.txt:
              * fast/loader/local-image-from-local.html:
              * http/tests/security/frame-loading-via-document-write.html:
              * http/tests/security/local-CSS-from-remote-expected.txt:
              * http/tests/security/local-CSS-from-remote.html:
              * http/tests/security/local-JavaScript-from-remote-expected.txt:
              * http/tests/security/local-JavaScript-from-remote.html:
              * http/tests/security/local-iFrame-from-remote-expected.txt:
              * http/tests/security/local-iFrame-from-remote.html:
              * http/tests/security/local-image-from-remote-expected.txt:
              * http/tests/security/local-image-from-remote.html:
              * http/tests/security/local-user-CSS-from-remote.html:
              * platform/mac/fast/dom/frame-loading-via-document-write-expected.txt:
              * platform/win/Skipped:
              * platform/win/http: Added.
              * platform/win/http/tests: Added.
              * platform/win/http/tests/security: Added.
              * platform/win/http/tests/security/frame-loading-via-document-write-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee36f6bf
  7. 08 Dec, 2007 1 commit
    • mitz@apple.com's avatar
      WebCore: · ec875006
      mitz@apple.com authored
              Reviewed by Adele Peterson.
      
              - fix two bugs in parsing of stylesheets in <style> elements created by
                the parser:
                1. each such stylesheet is parsed twice, once when the text node is
                   added and again when the </style> tag is reached
                2. re-inserting such a <style> element into the document fails to
                   re-parse and apply its stylesheet.
      
              Test for bug #2: fast/dom/HTMLStyleElement/insert-parser-generated.html
      
              * html/HTMLStyleElement.cpp:
              (WebCore::HTMLStyleElement::finishedParsing):
              * svg/SVGStyleElement.cpp:
              (WebCore::SVGStyleElement::finishedParsing):
      
      LayoutTests:
      
              Reviewed by Adele Peterson.
      
              - test that re-inserting a parser-generated <style> element applies its
                sylesheet.
      
              * fast/dom/HTMLStyleElement: Added.
              * fast/dom/HTMLStyleElement/insert-parser-generated.html: Added.
              * platform/mac/fast/dom/HTMLStyleElement: Added.
              * platform/mac/fast/dom/HTMLStyleElement/insert-parser-generated-expected.checksum: Added.
              * platform/mac/fast/dom/HTMLStyleElement/insert-parser-generated-expected.png: Added.
              * platform/mac/fast/dom/HTMLStyleElement/insert-parser-generated-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec875006
  8. 29 Nov, 2007 2 commits
  9. 13 Nov, 2007 1 commit
    • andersca@apple.com's avatar
      Reviewed by Adam. · 03fe93ba
      andersca@apple.com authored
              
              Make this a text-only test.
              
              * fast/dom/Window/window-onFocus-expected.txt: Added.
              * fast/dom/Window/window-onFocus.html:
              * platform/mac/fast/dom/Window/window-onFocus-expected.checksum: Removed.
              * platform/mac/fast/dom/Window/window-onFocus-expected.png: Removed.
              * platform/mac/fast/dom/Window/window-onFocus-expected.txt: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03fe93ba
  10. 12 Oct, 2007 1 commit
  11. 03 Oct, 2007 2 commits
  12. 09 Sep, 2007 1 commit
    • weinig's avatar
      WebKitTools: · 97a9b27e
      weinig authored
              Reviewed by Oliver.
      
              Initial refactor of DumpRenderTree in preparation of making it more platform independent. 
              - Move LayoutTestController into its own file.
              - Move Objective-C only functions on LayoutTestController into a new controller called the
                ObjCController. 
      
              * DumpRenderTree/DumpRenderTree.h:
              * DumpRenderTree/DumpRenderTree.m:
              (displayWebView):
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
              * DumpRenderTree/FrameLoadDelegate.m:
              (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
              * DumpRenderTree/LayoutTestController.h: Added.
              * DumpRenderTree/LayoutTestController.m: Added.
              (+[LayoutTestController isSelectorExcludedFromWebScript:]):
              (+[LayoutTestController webScriptNameForSelector:]):
              (-[LayoutTestController clearBackForwardList]):
              (-[LayoutTestController setUseDashboardCompatibilityMode:]):
              (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
              (-[LayoutTestController setCustomPolicyDelegate:]):
              (-[LayoutTestController keepWebHistory]):
              (-[LayoutTestController setCallCloseOnWebViews:]):
              (-[LayoutTestController setCanOpenWindows]):
              (-[LayoutTestController waitUntilDone]):
              (-[LayoutTestController waitUntilDoneWatchdogFired]):
              (-[LayoutTestController notifyDone]):
              (-[LayoutTestController dumpAsText]):
              (-[LayoutTestController addFileToPasteboardOnDrag]):
              (-[LayoutTestController addDisallowedURL:]):
              (-[LayoutTestController setUserStyleSheetLocation:]):
              (-[LayoutTestController setUserStyleSheetEnabled:]):
              (-[LayoutTestController dumpDOMAsWebArchive]):
              (-[LayoutTestController dumpSourceAsWebArchive]):
              (-[LayoutTestController dumpSelectionRect]):
              (-[LayoutTestController dumpTitleChanges]):
              (-[LayoutTestController dumpBackForwardList]):
              (-[LayoutTestController windowCount]):
              (-[LayoutTestController dumpChildFrameScrollPositions]):
              (-[LayoutTestController dumpChildFramesAsText]):
              (-[LayoutTestController dumpEditingCallbacks]):
              (-[LayoutTestController dumpResourceLoadCallbacks]):
              (-[LayoutTestController dumpFrameLoadCallbacks]):
              (-[LayoutTestController setWindowIsKey:]):
              (-[LayoutTestController setMainFrameIsFirstResponder:]):
              (-[LayoutTestController display]):
              (-[LayoutTestController testRepaint]):
              (-[LayoutTestController repaintSweepHorizontally]):
              (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
              (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
              (-[LayoutTestController _doLoad:target:]):
              (-[LayoutTestController _doBackOrForwardNavigation:]):
              (-[LayoutTestController queueBackNavigation:]):
              (-[LayoutTestController queueForwardNavigation:]):
              (-[LayoutTestController queueReload]):
              (-[LayoutTestController queueScript:]):
              (-[LayoutTestController queueLoad:target:]):
              (-[LayoutTestController setAcceptsEditing:]):
              (-[LayoutTestController setTabKeyCyclesThroughElements:]):
              (-[LayoutTestController storeWebScriptObject:]):
              (-[LayoutTestController accessStoredWebScriptObject]):
              (-[LayoutTestController dealloc]):
              (-[LayoutTestController decodeHostName:]):
              (-[LayoutTestController encodeHostName:]):
              * DumpRenderTree/ObjCController.h: Added.
              * DumpRenderTree/ObjCController.m: Added.
              (+[ObjCController isSelectorExcludedFromWebScript:]):
              (+[ObjCController webScriptNameForSelector:]):
              (-[ObjCController objCClassNameOf:]):
              (-[ObjCController objCObjectOfClass:]):
              (-[ObjCController objCIdentityIsEqual::]):
              (-[ObjCController objCLongLongRoundTrip:]):
              (-[ObjCController objCUnsignedLongLongRoundTrip:]):
              (-[ObjCController testWrapperRoundTripping:]):
      
      LayoutTests:
      
              Reviewed by Oliver.
      
              Change objective-c tests to use the new ObjCController.
      
              * fast/dom/Window/window-properties.html:
              * fast/dom/wrapper-classes.html:
              * platform/mac/fast/dom/wrapper-round-tripping.html:
              * platform/mac/fast/objc/longlongTest.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97a9b27e
  13. 06 Sep, 2007 1 commit
    • oliver's avatar
      Reviewed by Same and Darin · 4465e619
      oliver authored
              
              Split the wrapper test into seperate Obj-C and JS tests so the we can use the JS tests on other platforms.
      
              * fast/dom/resources/wrapper-identity-base.js: Added -- This provides the basic utility functions and
                variables needed for the wrapper tests
              * fast/dom/wrapper-identity-expected.txt: Added.
              * fast/dom/wrapper-identity.html: Added.
              * platform/mac/fast/dom/objc-wrapper-identity-expected.txt: Copied from platform/mac/fast/dom/wrapper-identity-expected.txt.
              * platform/mac/fast/dom/objc-wrapper-identity.html: Copied from platform/mac/fast/dom/wrapper-identity.html.
              * platform/mac/fast/dom/wrapper-identity-expected.txt: Removed.
              * platform/mac/fast/dom/wrapper-identity.html: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25392 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4465e619
  14. 04 Sep, 2007 1 commit
    • oliver's avatar
      RS=Adam · f3d01a86
      oliver authored
              
              Moving a number of mac specific tests into LayoutTests/platform/mac so that they
              don't need to be in the windows Skiplist.
              
              This includes most of the tests that used textInputController as it is a test
              of the mac-specific NSTextInput API.
      
              * editing/deleting/5300379-expected.checksum: Removed.
              * editing/deleting/5300379-expected.png: Removed.
              * editing/deleting/5300379-expected.txt: Removed.
              * editing/deleting/5300379.html: Removed.
              * editing/deleting/delete-to-end-of-paragraph-expected.checksum: Removed.
              * editing/deleting/delete-to-end-of-paragraph-expected.png: Removed.
              * editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed.
              * editing/deleting/delete-to-end-of-paragraph.html: Removed.
              * editing/deleting/smart-delete-003-expected.checksum: Removed.
              * editing/deleting/smart-delete-003-expected.png: Removed.
              * editing/deleting/smart-delete-003-expected.txt: Removed.
              * editing/deleting/smart-delete-003.html: Removed.
              * editing/deleting/smart-delete-004-expected.checksum: Removed.
              * editing/deleting/smart-delete-004-expected.png: Removed.
              * editing/deleting/smart-delete-004-expected.txt: Removed.
              * editing/deleting/smart-delete-004.html: Removed.
              * editing/execCommand/nsresponder-indent-expected.checksum: Removed.
              * editing/execCommand/nsresponder-indent-expected.png: Removed.
              * editing/execCommand/nsresponder-indent-expected.txt: Removed.
              * editing/execCommand/nsresponder-indent.html: Removed.
              * editing/execCommand/nsresponder-outdent-expected.checksum: Removed.
              * editing/execCommand/nsresponder-outdent-expected.png: Removed.
              * editing/execCommand/nsresponder-outdent-expected.txt: Removed.
              * editing/execCommand/nsresponder-outdent.html: Removed.
              * editing/input/firstrectforcharacterrange-plain-expected.txt: Removed.
              * editing/input/firstrectforcharacterrange-plain.html: Removed.
              * editing/input/firstrectforcharacterrange-styled-expected.txt: Removed.
              * editing/input/firstrectforcharacterrange-styled.html: Removed.
              * editing/input/mac: Removed.
              * editing/input/mac/hangul-enter-confirms-and-sends-keypress-expected.txt: Removed.
              * editing/input/mac/hangul-enter-confirms-and-sends-keypress.html: Removed.
              * editing/input/mac/hangul.js: Removed.
              * editing/input/mac/kotoeri-enter-to-confirm-and-newline-expected.txt: Removed.
              * editing/input/mac/kotoeri-enter-to-confirm-and-newline.html: Removed.
              * editing/input/mac/kotoeri.js: Removed.
              * editing/input/mac/logger.js: Removed.
              * editing/input/range-for-empty-document-expected.txt: Removed.
              * editing/input/range-for-empty-document.html: Removed.
              * editing/input/replace-invalid-range-expected.txt: Removed.
              * editing/input/replace-invalid-range.html: Removed.
              * editing/input/text-input-controller-expected.txt: Removed.
              * editing/input/text-input-controller.html: Removed.
              * editing/input/wrapped-line-char-rect-expected.txt: Removed.
              * editing/input/wrapped-line-char-rect.html: Removed.
              * editing/selection/4947387-expected.checksum: Removed.
              * editing/selection/4947387-expected.png: Removed.
              * editing/selection/4947387-expected.txt: Removed.
              * editing/selection/4947387.html: Removed.
              * editing/selection/5195166-1-expected.checksum: Removed.
              * editing/selection/5195166-1-expected.png: Removed.
              * editing/selection/5195166-1-expected.txt: Removed.
              * editing/selection/5195166-1.html: Removed.
              * editing/selection/5195166-2-expected.checksum: Removed.
              * editing/selection/5195166-2-expected.png: Removed.
              * editing/selection/5195166-2-expected.txt: Removed.
              * editing/selection/5195166-2.html: Removed.
              * editing/selection/select-line-expected.txt: Removed.
              * editing/selection/select-line.html: Removed.
              * editing/selection/selection-actions-expected.checksum: Removed.
              * editing/selection/selection-actions-expected.png: Removed.
              * editing/selection/selection-actions-expected.txt: Removed.
              * editing/selection/selection-actions.html: Removed.
              * fast/AppleScript: Removed.
              * fast/AppleScript/001-expected.txt: Removed.
              * fast/AppleScript/001.html: Removed.
              * fast/AppleScript/array-expected.txt: Removed.
              * fast/AppleScript/array.html: Removed.
              * fast/AppleScript/date-expected.txt: Removed.
              * fast/AppleScript/date.html: Removed.
              * fast/dom/character-index-for-point-expected.txt: Removed.
              * fast/dom/character-index-for-point.html: Removed.
              * fast/dom/wrapper-identity-expected.txt: Removed.
              * fast/dom/wrapper-identity.html: Removed.
              * fast/dom/wrapper-round-tripping-expected.txt: Removed.
              * fast/dom/wrapper-round-tripping.html: Removed.
              * fast/encoding/char-decoding-mac-expected.txt: Removed.
              * fast/encoding/char-decoding-mac.html: Removed.
              * fast/forms/attributed-strings-expected.txt: Removed.
              * fast/forms/attributed-strings.html: Removed.
              * fast/objc: Removed.
              * fast/objc/longlongTest-expected.txt: Removed.
              * fast/objc/longlongTest.html: Removed.
              * fast/text/attributed-substring-from-range-001-expected.txt: Removed.
              * fast/text/attributed-substring-from-range-001.html: Removed.
              * fast/text/attributed-substring-from-range-expected.txt: Removed.
              * fast/text/attributed-substring-from-range-in-textfield-expected.txt: Removed.
              * fast/text/attributed-substring-from-range-in-textfield.html: Removed.
              * fast/text/attributed-substring-from-range.html: Removed.
              * fast/text/justified-text-rect-expected.checksum: Removed.
              * fast/text/justified-text-rect-expected.png: Removed.
              * fast/text/justified-text-rect-expected.txt: Removed.
              * fast/text/justified-text-rect.html: Removed.
              * platform/mac/editing/deleting/5300379-expected.checksum: Copied from editing/deleting/5300379-expected.checksum.
              * platform/mac/editing/deleting/5300379-expected.png: Copied from editing/deleting/5300379-expected.png.
              * platform/mac/editing/deleting/5300379-expected.txt: Copied from editing/deleting/5300379-expected.txt.
              * platform/mac/editing/deleting/5300379.html: Copied from editing/deleting/5300379.html.
              * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.checksum: Copied from editing/deleting/delete-to-end-of-paragraph-expected.checksum.
              * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.png: Copied from editing/deleting/delete-to-end-of-paragraph-expected.png.
              * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.txt: Copied from editing/deleting/delete-to-end-of-paragraph-expected.txt.
              * platform/mac/editing/deleting/delete-to-end-of-paragraph.html: Copied from editing/deleting/delete-to-end-of-paragraph.html.
              * platform/mac/editing/deleting/smart-delete-003-expected.checksum: Copied from editing/deleting/smart-delete-003-expected.checksum.
              * platform/mac/editing/deleting/smart-delete-003-expected.png: Copied from editing/deleting/smart-delete-003-expected.png.
              * platform/mac/editing/deleting/smart-delete-003-expected.txt: Copied from editing/deleting/smart-delete-003-expected.txt.
              * platform/mac/editing/deleting/smart-delete-003.html: Copied from editing/deleting/smart-delete-003.html.
              * platform/mac/editing/deleting/smart-delete-004-expected.checksum: Copied from editing/deleting/smart-delete-004-expected.checksum.
              * platform/mac/editing/deleting/smart-delete-004-expected.png: Copied from editing/deleting/smart-delete-004-expected.png.
              * platform/mac/editing/deleting/smart-delete-004-expected.txt: Copied from editing/deleting/smart-delete-004-expected.txt.
              * platform/mac/editing/deleting/smart-delete-004.html: Copied from editing/deleting/smart-delete-004.html.
              * platform/mac/editing/execCommand/nsresponder-indent-expected.checksum: Copied from editing/execCommand/nsresponder-indent-expected.checksum.
              * platform/mac/editing/execCommand/nsresponder-indent-expected.png: Copied from editing/execCommand/nsresponder-indent-expected.png.
              * platform/mac/editing/execCommand/nsresponder-indent-expected.txt: Copied from editing/execCommand/nsresponder-indent-expected.txt.
              * platform/mac/editing/execCommand/nsresponder-indent.html: Copied from editing/execCommand/nsresponder-indent.html.
              * platform/mac/editing/execCommand/nsresponder-outdent-expected.checksum: Copied from editing/execCommand/nsresponder-outdent-expected.checksum.
              * platform/mac/editing/execCommand/nsresponder-outdent-expected.png: Copied from editing/execCommand/nsresponder-outdent-expected.png.
              * platform/mac/editing/execCommand/nsresponder-outdent-expected.txt: Copied from editing/execCommand/nsresponder-outdent-expected.txt.
              * platform/mac/editing/execCommand/nsresponder-outdent.html: Copied from editing/execCommand/nsresponder-outdent.html.
              * platform/mac/editing/input: Copied from editing/input/mac.
              * platform/mac/editing/input/firstrectforcharacterrange-plain-expected.txt: Copied from editing/input/firstrectforcharacterrange-plain-expected.txt.
              * platform/mac/editing/input/firstrectforcharacterrange-plain.html: Copied from editing/input/firstrectforcharacterrange-plain.html.
              * platform/mac/editing/input/firstrectforcharacterrange-styled-expected.txt: Copied from editing/input/firstrectforcharacterrange-styled-expected.txt.
              * platform/mac/editing/input/firstrectforcharacterrange-styled.html: Copied from editing/input/firstrectforcharacterrange-styled.html.
              * platform/mac/editing/input/range-for-empty-document-expected.txt: Copied from editing/input/range-for-empty-document-expected.txt.
              * platform/mac/editing/input/range-for-empty-document.html: Copied from editing/input/range-for-empty-document.html.
              * platform/mac/editing/input/replace-invalid-range-expected.txt: Copied from editing/input/replace-invalid-range-expected.txt.
              * platform/mac/editing/input/replace-invalid-range.html: Copied from editing/input/replace-invalid-range.html.
              * platform/mac/editing/input/text-input-controller-expected.txt: Copied from editing/input/text-input-controller-expected.txt.
              * platform/mac/editing/input/text-input-controller.html: Copied from editing/input/text-input-controller.html.
              * platform/mac/editing/input/wrapped-line-char-rect-expected.txt: Copied from editing/input/wrapped-line-char-rect-expected.txt.
              * platform/mac/editing/input/wrapped-line-char-rect.html: Copied from editing/input/wrapped-line-char-rect.html.
              * platform/mac/editing/selection/4947387-expected.checksum: Copied from editing/selection/4947387-expected.checksum.
              * platform/mac/editing/selection/4947387-expected.png: Copied from editing/selection/4947387-expected.png.
              * platform/mac/editing/selection/4947387-expected.txt: Copied from editing/selection/4947387-expected.txt.
              * platform/mac/editing/selection/4947387.html: Copied from editing/selection/4947387.html.
              * platform/mac/editing/selection/5195166-1-expected.checksum: Copied from editing/selection/5195166-1-expected.checksum.
              * platform/mac/editing/selection/5195166-1-expected.png: Copied from editing/selection/5195166-1-expected.png.
              * platform/mac/editing/selection/5195166-1-expected.txt: Copied from editing/selection/5195166-1-expected.txt.
              * platform/mac/editing/selection/5195166-1.html: Copied from editing/selection/5195166-1.html.
              * platform/mac/editing/selection/5195166-2-expected.checksum: Copied from editing/selection/5195166-2-expected.checksum.
              * platform/mac/editing/selection/5195166-2-expected.png: Copied from editing/selection/5195166-2-expected.png.
              * platform/mac/editing/selection/5195166-2-expected.txt: Copied from editing/selection/5195166-2-expected.txt.
              * platform/mac/editing/selection/5195166-2.html: Copied from editing/selection/5195166-2.html.
              * platform/mac/editing/selection/select-line-expected.txt: Copied from editing/selection/select-line-expected.txt.
              * platform/mac/editing/selection/select-line.html: Copied from editing/selection/select-line.html.
              * platform/mac/editing/selection/selection-actions-expected.checksum: Copied from editing/selection/selection-actions-expected.checksum.
              * platform/mac/editing/selection/selection-actions-expected.png: Copied from editing/selection/selection-actions-expected.png.
              * platform/mac/editing/selection/selection-actions-expected.txt: Copied from editing/selection/selection-actions-expected.txt.
              * platform/mac/editing/selection/selection-actions.html: Copied from editing/selection/selection-actions.html.
              * platform/mac/fast/AppleScript: Copied from fast/AppleScript.
              * platform/mac/fast/dom: Added.
              * platform/mac/fast/dom/character-index-for-point-expected.txt: Copied from fast/dom/character-index-for-point-expected.txt.
              * platform/mac/fast/dom/character-index-for-point.html: Copied from fast/dom/character-index-for-point.html.
              * platform/mac/fast/dom/wrapper-identity-expected.txt: Copied from fast/dom/wrapper-identity-expected.txt.
              * platform/mac/fast/dom/wrapper-identity.html: Copied from fast/dom/wrapper-identity.html.
              * platform/mac/fast/dom/wrapper-round-tripping-expected.txt: Copied from fast/dom/wrapper-round-tripping-expected.txt.
              * platform/mac/fast/dom/wrapper-round-tripping.html: Copied from fast/dom/wrapper-round-tripping.html.
              * platform/mac/fast/encoding: Added.
              * platform/mac/fast/encoding/char-decoding-mac-expected.txt: Copied from fast/encoding/char-decoding-mac-expected.txt.
              * platform/mac/fast/encoding/char-decoding-mac.html: Copied from fast/encoding/char-decoding-mac.html.
              * platform/mac/fast/forms: Added.
              * platform/mac/fast/forms/attributed-strings-expected.txt: Copied from fast/forms/attributed-strings-expected.txt.
              * platform/mac/fast/forms/attributed-strings.html: Copied from fast/forms/attributed-strings.html.
              * platform/mac/fast/objc: Copied from fast/objc.
              * platform/mac/fast/text: Added.
              * platform/mac/fast/text/attributed-substring-from-range-001-expected.txt: Copied from fast/text/attributed-substring-from-range-001-expected.txt.
              * platform/mac/fast/text/attributed-substring-from-range-001.html: Copied from fast/text/attributed-substring-from-range-001.html.
              * platform/mac/fast/text/attributed-substring-from-range-expected.txt: Copied from fast/text/attributed-substring-from-range-expected.txt.
              * platform/mac/fast/text/attributed-substring-from-range-in-textfield-expected.txt: Copied from fast/text/attributed-substring-from-range-in-textfield-expected.txt.
              * platform/mac/fast/text/attributed-substring-from-range-in-textfield.html: Copied from fast/text/attributed-substring-from-range-in-textfield.html.
              * platform/mac/fast/text/attributed-substring-from-range.html: Copied from fast/text/attributed-substring-from-range.html.
              * platform/mac/fast/text/justified-text-rect-expected.checksum: Copied from fast/text/justified-text-rect-expected.checksum.
              * platform/mac/fast/text/justified-text-rect-expected.png: Copied from fast/text/justified-text-rect-expected.png.
              * platform/mac/fast/text/justified-text-rect-expected.txt: Copied from fast/text/justified-text-rect-expected.txt.
              * platform/mac/fast/text/justified-text-rect.html: Copied from fast/text/justified-text-rect.html.
              * platform/mac/plugins: Added.
              * platform/mac/plugins/pluginDocumentView-deallocated-dataSource-expected.txt: Copied from plugins/pluginDocumentView-deallocated-dataSource-expected.txt.
              * platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html: Copied from plugins/pluginDocumentView-deallocated-dataSource.html.
              * platform/win/Skipped:
              * plugins/pluginDocumentView-deallocated-dataSource-expected.txt: Removed.
              * plugins/pluginDocumentView-deallocated-dataSource.html: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3d01a86