WebKit-https.git
11 years ago[V8] Run-time exception in onmessage handler is not forwarded to the
jianli@chromium.org [Tue, 22 Sep 2009 00:07:49 +0000 (00:07 +0000)]
[V8] Run-time exception in onmessage handler is not forwarded to the
worker object.
https://bugs.webkit.org/show_bug.cgi?id=28980

Reviewed by David Levin.

The previous fix was partially reverted due to a reliability build break
in chromium. The break happens when an exception is thrown without
setting a message. We need to check for this scenario and handle it.

Tested by worker-close.html.

* bindings/v8/V8AbstractEventListener.cpp:
(WebCore::V8AbstractEventListener::invokeEventHandler):
* bindings/v8/V8Utilities.cpp:
(WebCore::reportException):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48610 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoJavaScriptCore: Add ENABLE(ORIENTATION_EVENTS)
bolsinga@apple.com [Mon, 21 Sep 2009 23:10:30 +0000 (23:10 +0000)]
JavaScriptCore: Add ENABLE(ORIENTATION_EVENTS)
https://bugs.webkit.org/show_bug.cgi?id=29508

Reviewed by Simon Fraser & Sam Weinig.

* wtf/Platform.h: Also sort PLATFORM(IPHONE) #defines.

WebCore: Add ENABLE(ORIENTATION_EVENTS)
https://bugs.webkit.org/show_bug.cgi?id=29508

Reviewed by Simon Fraser & Sam Weinig.

See documentation here:
http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW16

* DerivedSources.make: Use new WebCore.OrientationEvents.exp file if ENABLE_ORIENTATION_EVENTS.
Add ENABLE_ORIENTATION_EVENTS to the new ADDITIONAL_IDL_DEFINES variable that is passed to the IDL
code generator. This is because ENABLE_ORIENTATION_EVENTS is not in FEATURE_DEFINES.
* WebCore.OrientationEvents.exp: Added.
* WebCore.xcodeproj/project.pbxproj: Add WebCore.OrientationEvents.exp.
* dom/EventNames.h: Add onorientationchange.
* html/HTMLAttributeNames.in: Ditto.
* html/HTMLBodyElement.cpp: Handle onorientationchange properly.
(WebCore::HTMLBodyElement::parseMappedAttribute):
(WebCore::HTMLBodyElement::onorientationchange):
(WebCore::HTMLBodyElement::setOnorientationchange):
* html/HTMLBodyElement.h: Ditto.
* html/HTMLBodyElement.idl: Ditto.
* html/HTMLFrameSetElement.cpp: Ditto.
(WebCore::HTMLFrameSetElement::parseMappedAttribute):
(WebCore::HTMLFrameSetElement::onorientationchange):
(WebCore::HTMLFrameSetElement::setOnorientationchange):
* html/HTMLFrameSetElement.h: Ditto.
* html/HTMLFrameSetElement.idl: Ditto.
* page/DOMWindow.cpp: Ditto.
(WebCore::DOMWindow::orientation): Calls up the to the Frame for the orientation value.
(WebCore::DOMWindow::onorientationchange):
(WebCore::DOMWindow::setOnorientationchange):
* page/DOMWindow.h: Handle onorientationchange properly.
* page/DOMWindow.idl: Ditto.
* page/Frame.cpp: Ditto.
(WebCore::Frame::Frame):
(WebCore::Frame::sendOrientationChangeEvent):
* page/Frame.h: Ditto.
(WebCore::Frame::orientation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48609 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 21 Sep 2009 22:59:00 +0000 (22:59 +0000)]
2009-09-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: completions are always evaluated against
        window (discarding call frames).

        https://bugs.webkit.org/show_bug.cgi?id=29616

        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype.completions):
        * inspector/front-end/InjectedScript.js:
        (InjectedScript.getCompletions):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.selectedCallFrameId):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48608 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoUnreviewed build fix for Windows (Cairo) target.
bfulgham@webkit.org [Mon, 21 Sep 2009 22:40:29 +0000 (22:40 +0000)]
Unreviewed build fix for Windows (Cairo) target.

Add stubs for SocketStream classes added in @r47788, which
broke the WinCairo build.

No new tests. (Build failure).

* WebCore.vcproj/WebCore.vcproj:  Add references to new files
  to Cairo build, exclude from standard Apple build.
* platform/network/curl/SocketStreamError.h: Added.
* platform/network/curl/SocketStreamHandle.h: Added.
* platform/network/curl/SocketStreamHandleCurl.cpp: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48607 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 21 Sep 2009 22:15:23 +0000 (22:15 +0000)]
2009-09-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Expose InspectorResource fields.

        https://bugs.webkit.org/show_bug.cgi?id=29537

        * inspector/InspectorResource.cpp:
        (WebCore::InspectorResource::sourceString):
        (WebCore::InspectorResource::resourceData):
        * inspector/InspectorResource.h:
        (WebCore::InspectorResource::requestHeaderFields):
        (WebCore::InspectorResource::responseHeaderFields):
        (WebCore::InspectorResource::responseStatusCode):
        (WebCore::InspectorResource::requestMethod):
        (WebCore::InspectorResource::requestFormData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48606 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 21 Sep 2009 21:50:07 +0000 (21:50 +0000)]
2009-09-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: JS error drilling down childless node.
        No need to dispatch double click twice - it is already handled
        in TreeElement.treeElementDoubleClicked.

        https://bugs.webkit.org/show_bug.cgi?id=22144

        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeOutline):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48605 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore: Implement new QWebPageClient class and let our classes
kenneth@webkit.org [Mon, 21 Sep 2009 21:39:38 +0000 (21:39 +0000)]
WebCore: Implement new QWebPageClient class and let our classes
QWebViewPrivate and QWebGraphicsItemPrivate inherit from it.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-21
Reviewed by Simon Hausmann.

For Qt, platformPageClient() will now return a class derived from
the QWebPageClient, so the patch adapts our Qt hooks to go though
this class and not depend on the QWebView.

* WebCore.pro:
* platform/Widget.h:
* platform/qt/PlatformScreenQt.cpp:
(WebCore::screenDepth):
(WebCore::screenDepthPerComponent):
(WebCore::screenIsMonochrome):
(WebCore::screenRect):
(WebCore::screenAvailableRect):
* platform/qt/PopupMenuQt.cpp:
(WebCore::PopupMenu::show):
* platform/qt/QWebPageClient.h: Added.
* platform/qt/WidgetQt.cpp:
(WebCore::Widget::setCursor):
* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::handleKeyboardEvent):
(WebCore::PluginView::getValue):
(WebCore::PluginView::platformStart):

WebKit/qt: For Qt, platformPageClient() will now return a class derived from
the QWebPageClient, so the patch adapts our Qt hooks to go though
this class and not depend on the QWebView.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-21
Reviewed by Simon Hausmann.

* Api/qwebgraphicsitem.cpp:
(QWebGraphicsItemPrivate::scroll):
(QWebGraphicsItemPrivate::update):
(QWebGraphicsItemPrivate::cursor):
(QWebGraphicsItemPrivate::updateCursor):
(QWebGraphicsItemPrivate::screenNumber):
(QWebGraphicsItemPrivate::winId):
(QWebGraphicsItem::event):
(QWebGraphicsItem::setPage):
* Api/qwebgraphicsitem.h:
* Api/qwebpage.cpp:
(QWebPagePrivate::QWebPagePrivate):
* Api/qwebpage_p.h:
* Api/qwebview.cpp:
(QWebViewPrivate::scroll):
(QWebViewPrivate::update):
(QWebViewPrivate::cursor):
(QWebViewPrivate::updateCursor):
(QWebViewPrivate::screenNumber):
(QWebViewPrivate::winId):
(QWebView::setPage):
(QWebView::event):
* WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::repaint):
(WebCore::ChromeClientQt::scroll):
(WebCore::ChromeClientQt::platformPageClient):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48604 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 21 Sep 2009 21:37:16 +0000 (21:37 +0000)]
2009-09-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Evaluating on call frame always returns "undefined".

        https://bugs.webkit.org/show_bug.cgi?id=29613

        * inspector/front-end/InjectedScript.js:
        (InjectedScript.evaluate):
        (InjectedScript._evaluateAndWrap):
        (InjectedScript._evaluateOn):
        (InjectedScript.evaluateInCallFrame):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48603 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 21 Sep 2009 21:34:03 +0000 (21:34 +0000)]
2009-09-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Exception formatting is broken in console.

        https://bugs.webkit.org/show_bug.cgi?id=29608

        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleCommandResult):
        * inspector/front-end/InjectedScript.js:
        (InjectedScript.evaluate):
        (InjectedScript.createProxyObject):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48602 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 21 Sep 2009 21:32:03 +0000 (21:32 +0000)]
2009-09-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Console object formatting is broken.

        https://bugs.webkit.org/show_bug.cgi?id=29607

        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleMessage.prototype._format):
        * inspector/front-end/ObjectProxy.js:
        (WebInspector.ObjectProxy.wrapPrimitiveValue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48601 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 21 Sep 2009 21:29:24 +0000 (21:29 +0000)]
2009-09-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Crash When Logging an Element Before Opening Inspector

        https://bugs.webkit.org/show_bug.cgi?id=29514

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::populateScriptObjects):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48600 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 21 Sep 2009 21:27:24 +0000 (21:27 +0000)]
2009-09-21  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Incorrect clipping with accelerated compositing content, and position:fixed
        https://bugs.webkit.org/show_bug.cgi?id=29347

        Fix the compositing clipping logic to behave correctly when position:fixed
        elements clip, by using the new backgroundClipRect() method to determine
        when we need to clip, and to compute the clipping layer position.

        Test: compositing/overflow/fixed-position-ancestor-clip.html

        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::clippedByAncestor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48599 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Nate Chapin <japhet@chromium.org>
eric@webkit.org [Mon, 21 Sep 2009 21:03:07 +0000 (21:03 +0000)]
2009-09-21  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Add back in a special case for window.top in the V8 bindings.

        https://bugs.webkit.org/show_bug.cgi?id=29605

        Fixes LayoutTests/fast/dom/Window/window-property-shadowing.html in the Chromium port.

        * bindings/scripts/CodeGeneratorV8.pm: Ensure window.top is not marked as read only, as this breaks the shadowing disabling.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48598 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Yael Aharon <yael.aharon@nokia.com>
eric@webkit.org [Mon, 21 Sep 2009 20:54:41 +0000 (20:54 +0000)]
2009-09-21  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Simon Hausmann.

        https://bugs.webkit.org/show_bug.cgi?id=29609
        Build fix for windows when using Qt 4.5.0.

        * Api/qwebpage.cpp:
        (QWebPage::userAgentForUrl):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48597 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Mon, 21 Sep 2009 20:53:52 +0000 (20:53 +0000)]
2009-09-21  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Brady Eidson.

        HTMLMediaElement: media file should not reload when page comes out of page cache
        https://bugs.webkit.org/show_bug.cgi?id=29604

        Test: media/restore-from-page-cache.html

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::userCancelledLoad): Do nothing unless the element
        is still loading. Only fire an 'emptied' event if the readyState is HAVE_NOTHING,
        otherwise set the network state to NETWORK_IDLE.

2009-09-21  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Brady Eidson.

        HTMLMediaElement: media file should not reload when page comes out of page cache
        https://bugs.webkit.org/show_bug.cgi?id=29604

        * media/restore-from-page-cache-expected.txt: Added.
        * media/restore-from-page-cache.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48596 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoClarify two FIXMEs.
weinig@apple.com [Mon, 21 Sep 2009 20:49:30 +0000 (20:49 +0000)]
Clarify two FIXMEs.

Reviewed by Geoffrey "Sean/Shawn/Shaun" Garen.

* bindings/js/JSHTMLCollectionCustom.cpp:
(WebCore::getNamedItems):
* bindings/js/JSHTMLFormElementCustom.cpp:
(WebCore::JSHTMLFormElement::nameGetter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48595 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago<rdar://problem/7135588> HTMLMediaElement should ask WebPolicyLoadDelegate before...
andersca@apple.com [Mon, 21 Sep 2009 20:47:47 +0000 (20:47 +0000)]
<rdar://problem/7135588> HTMLMediaElement should ask WebPolicyLoadDelegate before loading resource

Reviewed by Adam Roben.

Implement WebFrameLoaderClient::shouldLoadMediaElementURL and have it call the new private policy
delegate method.

* Interfaces/IWebPolicyDelegatePrivate.idl: Added.
* Interfaces/WebKit.idl:
* WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::shouldLoadMediaElementURL):
* WebCoreSupport/WebFrameLoaderClient.h:
* WebKit.vcproj/Interfaces.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48594 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
eric@webkit.org [Mon, 21 Sep 2009 20:37:16 +0000 (20:37 +0000)]
2009-09-21  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Eric Seidel.

        [Fix] SourceCode's uninitialized member

        Potential source of crashes and bugs was fixed. Default constructor
        didn't initialized m_provider member.

        https://bugs.webkit.org/show_bug.cgi?id=29364

        * parser/SourceCode.h:
        (JSC::SourceCode::SourceCode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48593 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAttempt to fix the Tiger build
mitz@apple.com [Mon, 21 Sep 2009 19:07:07 +0000 (19:07 +0000)]
Attempt to fix the Tiger build

* WebView/WebPDFDocumentExtras.mm:
(addWebPDFDocumentExtras):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48592 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAttempt to fix the Tiger build
mitz@apple.com [Mon, 21 Sep 2009 19:01:56 +0000 (19:01 +0000)]
Attempt to fix the Tiger build

* WebView/WebPDFDocumentExtras.mm:
(web_PDFDocumentAllScripts):
(addWebPDFDocumentExtras):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48591 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoREGRESSION (r48582): Crash in StructureStubInfo::initPutByIdTransition when reloading...
oliver@apple.com [Mon, 21 Sep 2009 18:59:56 +0000 (18:59 +0000)]
REGRESSION (r48582): Crash in StructureStubInfo::initPutByIdTransition when reloading trac.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=29599

Reviewed by Geoff Garen

It is unsafe to attempt to cache new property transitions on
dictionaries of any type.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48590 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAttempt to fix the Tiger build
mitz@apple.com [Mon, 21 Sep 2009 18:54:41 +0000 (18:54 +0000)]
Attempt to fix the Tiger build

* WebView/WebPDFDocumentExtras.mm:
* WebView/WebPDFRepresentation.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48589 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoRubberstamped by Sam Weinig.
beidson@apple.com [Mon, 21 Sep 2009 18:52:04 +0000 (18:52 +0000)]
Rubberstamped by Sam Weinig.

Add some example files for an upcoming blog post.

* blog-files/load-unload-example.html: Added.
* blog-files/pageshow-pagehide-example.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48588 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAttempt to fix the Leopard and Tiger builds
mitz@apple.com [Mon, 21 Sep 2009 18:47:56 +0000 (18:47 +0000)]
Attempt to fix the Leopard and Tiger builds

* WebView/WebPDFDocumentExtras.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48587 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago<rdar://problem/4137135> iFrame with PDF not being handled correctly on
mitz@apple.com [Mon, 21 Sep 2009 18:01:10 +0000 (18:01 +0000)]
<rdar://problem/4137135> iFrame with PDF not being handled correctly on
usps.com
https://bugs.webkit.org/show_bug.cgi?id=4151

Reviewed by Anders Carlsson.

WebKit:

* WebKit.xcodeproj/project.pbxproj: Added WebPDFDocumentExtras.{h,mm}
and WebJSPDFDoc.{h,mm} and changed WebPDFRepresentation to
Objective-C++.

WebKit/mac:

* WebView/WebJSPDFDoc.h: Added.
* WebView/WebJSPDFDoc.mm: Added.
(jsPDFDocInitialize): Retains the WebDataSource.
(jsPDFDocFinalize): Releases the WebDataSource.
(jsPDFDocPrint): Call the WebUIDelegate method -webView:printFrameView:
with the PDF document's view.
(makeJSPDFDoc): Makes and returns a JavaScript Doc instance that wraps
the WebDataSource.
* WebView/WebPDFDocumentExtras.h: Added.
* WebView/WebPDFDocumentExtras.mm: Added.
(appendValuesInPDFNameSubtreeToArray): Traverses a subtree of a PDF name
tree and adds all values in the subtree to an array.
(allValuesInPDFNameTree): Returns an array with all of the values in a
PDF name tree.
(web_PDFDocumentAllScripts): This is the implementation of -[PDFDocument
_web_allScripts]. It gets all values in the document-level "JavaScript"
name tree, which are action dictionaries, and returns an array of the
actions' scripts.
(addWebPDFDocumentExtras): Adds the -_web_allScripts method to
PDFDocument.
* WebView/WebPDFRepresentation.h:
* WebView/WebPDFRepresentation.m: Removed.
* WebView/WebPDFRepresentation.mm: Copied from WebKit/mac/WebView/WebPDFRepresentation.m.
(+[WebPDFRepresentation initialize]): Added. Calls
addWebPDFDocumentExtras().
(-[WebPDFRepresentation finishedLoadingWithDataSource:]): Get the
scripts from the PDF document, create a JavaScript Doc object for the
document, and a JavaScript execution context, then execute every script
in the context, with the Doc object as "this".

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48586 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Darin Fisher <darin@chromium.org>
darin@chromium.org [Mon, 21 Sep 2009 16:06:27 +0000 (16:06 +0000)]
2009-09-21  Darin Fisher  <darin@chromium.org>

        Reviewed by Dimitri Glazkov.

        Drop down selects fail to close when a value is selected
        https://bugs.webkit.org/show_bug.cgi?id=29582

        Implement PopupListBox::hidePopup, which was previously
        declared but unimplemented.  Removes the declaration of
        showPopup since that method is not implemented.

        PopupListBox::hidePopup takes care of hiding the popup,
        by invoking hidePopup on its parent PopupContainer, and
        then informs the PopupMenuClient that popupDidHide.
        This mimics the old behavior prior to r48370.

        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupListBox::handleKeyEvent):
        (WebCore::PopupListBox::abandon):
        (WebCore::PopupListBox::acceptIndex):
        (WebCore::PopupListBox::hidePopup):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48585 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
zoltan@webkit.org [Mon, 21 Sep 2009 15:55:52 +0000 (15:55 +0000)]
2009-09-21  Csaba Osztrogonac  <oszi@inf.u-szeged.hu>

        Reviewed by Maciej Stachowiak.

        [Qt] Make sunspider script work on Windows platform.
        https://bugs.webkit.org/show_bug.cgi?id=29544

        * sunspider:
        Using platform specific null device instead of /dev/null.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48584 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
zoltan@webkit.org [Mon, 21 Sep 2009 15:49:19 +0000 (15:49 +0000)]
2009-09-21  Csaba Osztrogonac  <oszi@inf.u-szeged.hu>

        Rubber-stamped by Simon Hausmann.

        [Qt] Windows build fix.
        https://bugs.webkit.org/show_bug.cgi?id=29535

        * platform/network/qt/DnsPrefetchHelper.cpp: Missing #include "config.h"  added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48583 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoRe-land SNES fix, with correct assertion
oliver@apple.com [Mon, 21 Sep 2009 15:45:13 +0000 (15:45 +0000)]
Re-land SNES fix, with correct assertion

RS=Maciej Stachowiak

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48582 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFix JavaScriptCore/ChangeLog to match our preferred rollout procedure
aroben@apple.com [Mon, 21 Sep 2009 15:38:53 +0000 (15:38 +0000)]
Fix JavaScriptCore/ChangeLog to match our preferred rollout procedure

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48581 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoRevert r48573, as it caused many assertion failures
aroben@apple.com [Mon, 21 Sep 2009 14:45:23 +0000 (14:45 +0000)]
Revert r48573, as it caused many assertion failures

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48580 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoUnreviewed make dist build fix. Adding missing files.
kov@webkit.org [Mon, 21 Sep 2009 12:57:54 +0000 (12:57 +0000)]
Unreviewed make dist build fix. Adding missing files.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48578 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Mon, 21 Sep 2009 12:17:03 +0000 (12:17 +0000)]
2009-09-21  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Update documentation control files to 1.1.15.

        * docs/webkitgtk-docs.sgml:
        * docs/webkitgtk-sections.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48577 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Mon, 21 Sep 2009 12:16:14 +0000 (12:16 +0000)]
2009-09-21  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Unreviewed docs build fix. Current CFLAGS and LIBS variables no
        longer bring gthread in.

        * docs/GNUmakefile.am:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48576 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-21 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 21 Sep 2009 11:56:22 +0000 (11:56 +0000)]
2009-09-21  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Bump version for 1.1.15 release.

        * configure.ac:

WebKit/gtk:

2009-09-21  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Update for release.

        * NEWS:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48575 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFix stack alignment with ARM THUMB2 JIT.
barraclough@apple.com [Mon, 21 Sep 2009 07:37:13 +0000 (07:37 +0000)]
Fix stack alignment with ARM THUMB2 JIT.
https://bugs.webkit.org/show_bug.cgi?id=29526

Patch by Gavin Barraclough <barraclough@apple.com> on 2009-09-19
Reviewed by Sam 'Cabin Boy' Weinig.

Stack is currently being decremented by 0x3c, bump this to 0x40 to make this a
multiple of 16 bytes.

* jit/JITStubs.cpp:
(JSC::JITThunks::JITThunks):
* jit/JITStubs.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48574 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoSNES is too slow
oliver@apple.com [Mon, 21 Sep 2009 05:42:24 +0000 (05:42 +0000)]
SNES is too slow
https://bugs.webkit.org/show_bug.cgi?id=29534

Reviewed by Maciej Stachowiak.

The problem was that the emulator used multiple classes with
more properties than our dictionary cutoff allowed, this resulted
in more or less all critical logic inside the emulator requiring
uncached property access.

Rather than simply bumping the dictionary cutoff, this patch
recognises that there are two ways to create a "dictionary"
structure.  Either by adding a large number of properties, or
by removing a property.  In the case of adding properties we
know all the existing properties will maintain their existing
offsets, so we could cache access to those properties, if we
know they won't be removed.

To make this possible, this patch adds the logic required to
distinguish a dictionary created by addition from one created
by removal.  With this logic in place we can now cache access
to objects with large numbers of properties.

SNES performance improved by more than 6x.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48573 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-20 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 21 Sep 2009 02:30:12 +0000 (02:30 +0000)]
2009-09-20  Adam Barth  <abarth@webkit.org>

        Reviewed by Maciej Stachowiak.

        Crash when clicking link in unload handler
        https://bugs.webkit.org/show_bug.cgi?id=29525

        Test that the first navigation always wins when the page tries to start
        a new navigation in an unload handler.

        * fast/loader/resources/fail-and-notify-done.html: Added.
        * fast/loader/resources/pass-and-notify-done.html: Added.
        * fast/loader/unload-form-about-blank-expected.txt: Added.
        * fast/loader/unload-form-about-blank.html: Added.
        * fast/loader/unload-form-expected.txt: Added.
        * fast/loader/unload-form-post-about-blank-expected.txt: Added.
        * fast/loader/unload-form-post-about-blank.html: Added.
        * fast/loader/unload-form-post-expected.txt: Added.
        * fast/loader/unload-form-post.html: Added.
        * fast/loader/unload-form.html: Added.
        * fast/loader/unload-hyperlink-expected.txt: Added.
        * fast/loader/unload-hyperlink.html: Added.
        * fast/loader/unload-javascript-url-expected.txt: Added.
        * fast/loader/unload-javascript-url.html: Added.
        * fast/loader/unload-reload-expected.txt: Added.
        * fast/loader/unload-reload.html: Added.
        * fast/loader/unload-window-location-expected.txt: Added.
        * fast/loader/unload-window-location.html: Added.
2009-09-20  Adam Barth  <abarth@webkit.org>

        Reviewed by Maciej Stachowiak.

        Crash when clicking link in unload handler
        https://bugs.webkit.org/show_bug.cgi?id=29525

        Test that the first navigation always wins when the page tries to start
        a new navigation in an unload handler.

        Tests: fast/loader/unload-form-about-blank.html
               fast/loader/unload-form-post-about-blank.html
               fast/loader/unload-form-post.html
               fast/loader/unload-form.html
               fast/loader/unload-hyperlink.html
               fast/loader/unload-javascript-url.html
               fast/loader/unload-reload.html
               fast/loader/unload-window-location.html

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::loadURL):
        (WebCore::FrameLoader::loadWithDocumentLoader):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48572 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Mon, 21 Sep 2009 01:23:03 +0000 (01:23 +0000)]
2009-09-18  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Xan Lopez.

        [GTK] Sometimes crashes when a page is destroyed/loads another URL while playing video
        https://bugs.webkit.org/show_bug.cgi?id=29496

        Protect the video sink object, and destroy it in an idle callback
        to hopefully avoid a race condition that leads to a crash.

        This is already tested by media/video-seekable.html

        * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::idleUnref):
        (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
        (WebCore::MediaPlayerPrivate::createGSTPlayBin):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48571 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Sun, 20 Sep 2009 17:45:15 +0000 (17:45 +0000)]
2009-09-20  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Small documentation fix.

        * webkit/webkithittestresult.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48570 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago<http://webkit.org/b/29521> run-webkit-tests: use require instead eval to load DumpRe...
ddkilzer@apple.com [Sun, 20 Sep 2009 15:34:58 +0000 (15:34 +0000)]
<webkit.org/b/29521> run-webkit-tests: use require instead eval to load DumpRenderTreeSupport module

Reviewed by Mark Rowe.

The require statement is like the use statement, except that it
is run during script execution instead of during the 'BEGIN'
phase.  This makes it possible to change @INC before the require
statement is run.  See 'require' and 'use' in the perlfunc(1)
manpage and 'BEGIN' in perlmod(1) manpage.

* Scripts/run-webkit-tests: Replace eval statement with require
statement.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48569 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoImplement ES5 Object.create function
oliver@apple.com [Sun, 20 Sep 2009 01:13:51 +0000 (01:13 +0000)]
Implement ES5 Object.create function
https://bugs.webkit.org/show_bug.cgi?id=29524

Reviewed by Maciej Stachowiak

Implement Object.create.  Very simple patch, effectively Object.defineProperties
only creating the target object itself.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48568 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoGTK+ build fix, Qt blind build fix
kov@webkit.org [Sun, 20 Sep 2009 00:36:50 +0000 (00:36 +0000)]
GTK+ build fix, Qt blind build fix

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48567 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=29519
weinig@apple.com [Sat, 19 Sep 2009 22:37:52 +0000 (22:37 +0000)]
WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=29519
Remove JSNameNodeCollection and just use StaticNodeList

Reviewed by Oliver Hunt.

* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* WebCoreSources.bkl:
* bindings/js/JSHTMLCollectionCustom.cpp:
(WebCore::getNamedItems):
* bindings/js/JSHTMLFormElementCustom.cpp:
(WebCore::JSHTMLFormElement::nameGetter):
* bindings/js/JSNamedNodesCollection.cpp: Removed.
* bindings/js/JSNamedNodesCollection.h: Removed.

LayoutTests: Update tests for https://bugs.webkit.org/show_bug.cgi?id=29519
Remove JSNameNodeCollection and just use StaticNodeList

Reviewed by Oliver Hunt.

* fast/dom/HTMLSelectElement/named-options-expected.txt:
* fast/dom/HTMLSelectElement/script-tests/named-options.js:
* fast/dom/prototype-inheritance-2-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48566 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoImplement ES5 Object.defineProperties function
oliver@apple.com [Sat, 19 Sep 2009 22:14:56 +0000 (22:14 +0000)]
Implement ES5 Object.defineProperties function
https://bugs.webkit.org/show_bug.cgi?id=29522

Reviewed by Sam Weinig

Implement Object.defineProperties.  Fairly simple patch, simply makes use of
existing functionality used for defineProperty.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48565 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Sat, 19 Sep 2009 20:29:29 +0000 (20:29 +0000)]
2009-09-19  Daniel Bates  <dbates@webkit.org>

        Reviewed by Adam Barth.

        https://bugs.webkit.org/show_bug.cgi?id=29511

        Fixes an issue where script code that contains non-ASCII characters may bypass the
        XSSAuditor.

        Before performing a comparison between the script source code and input parameters, we
        remove all non-ASCII characters, including non-printable ASCII characters from the
        script source code and input parameters.

        Tests: http/tests/security/xssAuditor/img-onerror-non-ASCII-char.html
               http/tests/security/xssAuditor/img-onerror-non-ASCII-char-default-encoding.html
               http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-default-encoding.html
               http/tests/security/xssAuditor/img-onerror-non-ASCII-char2.html

        * page/XSSAuditor.cpp:
        (WebCore::isNonCanonicalCharacter): Modified to remove all non-ASCII characters,
        including non-printable ASCII characters.
2009-09-19  Daniel Bates  <dbates@webkit.org>

        Reviewed by Adam Barth.

        https://bugs.webkit.org/show_bug.cgi?id=29511

        Tests that scripts that contain non-ASCII characters do not bypass the XSSAuditor.

        * http/tests/security/xssAuditor/img-onerror-non-ASCII-char-expected.txt: Added.
        * http/tests/security/xssAuditor/img-onerror-non-ASCII-char.html: Added.
        * http/tests/security/xssAuditor/img-onerror-non-ASCII-char-default-encoding-expected: Added.
        * http/tests/security/xssAuditor/img-onerror-non-ASCII-char-default-encoding.html: Added.
        * http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-default-encoding-expected.txt: Added.
        * http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-default-encoding.html: Added.
        * http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-expected.txt: Added.
        * http/tests/security/xssAuditor/img-onerror-non-ASCII-char2.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48564 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFix clean debug builds.
mitz@apple.com [Sat, 19 Sep 2009 19:51:35 +0000 (19:51 +0000)]
Fix clean debug builds.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48563 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 19 Sep 2009 18:46:56 +0000 (18:46 +0000)]
2009-09-19  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Incorrect animation with scale(0) transform (singular matrix)
        https://bugs.webkit.org/show_bug.cgi?id=29465

        Make accelerated scale() and translate() animations go through the component animation
        path (rather than just matrix animation) to avoid problems with singular scale matrices,
        and be slightly more efficient.

        Test: compositing/transitions/singular-scale-transition.html

        * platform/graphics/mac/GraphicsLayerCA.mm:
        (WebCore::getTransformFunctionValue):
        (WebCore::getValueFunctionNameForTransformOperation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48562 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Benjamin Poulain <benjamin.poulain@nokia.com>
eric@webkit.org [Sat, 19 Sep 2009 18:22:28 +0000 (18:22 +0000)]
2009-09-19  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Simon Hausmann.

        https://bugs.webkit.org/show_bug.cgi?id=29345
        The tests of QWebFrame did not use QTRY_VERIFY for
        tests involving the event loop.

        * tests/qwebframe/tst_qwebframe.cpp:
        * tests/util.h: Added. Copy of tests/shared/util.h of Qt

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48561 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Jakub Wieczorek <faw217@gmail.com>
eric@webkit.org [Sat, 19 Sep 2009 18:15:11 +0000 (18:15 +0000)]
2009-09-19  Jakub Wieczorek  <faw217@gmail.com>

        Reviewed by Simon Hausmann.

        [Qt] Add an autotest stub for QWebGraphicsItem.

        It just calls all the functions and makes sure they don't crash.

        * tests/qwebgraphicsitem/qwebgraphicsitem.pro: Added.
        * tests/qwebgraphicsitem/tst_qwebgraphicsitem.cpp: Added.
        (tst_QWebGraphicsItem::qwebgraphicsitem):
        * tests/tests.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48560 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Alex Milowski <alex@milowski.com>
eric@webkit.org [Sat, 19 Sep 2009 18:02:33 +0000 (18:02 +0000)]
2009-09-19  Alex Milowski  <alex@milowski.com>

        Reviewed by Maciej Stachowiak.

        Basic tests for msub, msup, and mtable/mtr/mtd

        * mathml: Added.
        * mathml/presentation: Added.
        * mathml/presentation/sub.xhtml: Added.
        * mathml/presentation/sup.xhtml: Added.
        * mathml/presentation/tables.xhtml: Added.
        * platform/mac/mathml: Added.
        * platform/mac/mathml/presentation: Added.
        * platform/mac/mathml/presentation/sub-expected.txt: Added.
        * platform/mac/mathml/presentation/sup-expected.txt: Added.
        * platform/mac/mathml/presentation/tables-expected.txt: Added.
2009-09-19  Alex Milowski  <alex@milowski.com>

        Reviewed by Maciej Stachowiak.

        Adds CSS styling and basic DOM element support for MathML

        * DerivedSources.make:
          Added user stylesheet and tag factory generation

        * WebCore.xcodeproj/project.pbxproj:
          Added new DOM element code

        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseAttr):
          Added check for document since stylesheet can be added before there is a document

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::styleForElement):
          Added check to add MathML user agent stylesheet

        * css/mathml.css: Added.
          MathML user agent stylesheet

        * dom/Document.cpp:
        (WebCore::Document::createElement):
          Added support for creation of MathML DOM objects

        * dom/Node.h:
        (WebCore::Node::isMathMLElement):
          Added check method for whether the node is a MathML node

        * mathml: Added.
        * mathml/MathMLElement.cpp: Added.
        (WebCore::MathMLElement::MathMLElement):
        (WebCore::MathMLElement::create):
        (WebCore::MathMLElement::createRenderer):
        * mathml/MathMLElement.h: Added.
        (WebCore::MathMLElement::isMathMLElement):
          MathML DOM base class

        * mathml/MathMLInlineContainerElement.cpp: Added.
        (WebCore::MathMLInlineContainerElement::MathMLInlineContainerElement):
        (WebCore::MathMLInlineContainerElement::create):
        (WebCore::MathMLInlineContainerElement::createRenderer):
        * mathml/MathMLInlineContainerElement.h: Added.
          Base class for non-text containers

        * mathml/MathMLMathElement.cpp: Added.
        (WebCore::MathMLMathElement::MathMLMathElement):
        (WebCore::MathMLMathElement::create):
        * mathml/MathMLMathElement.h: Added.
          Root Math element

        * mathml/mathtags.in: Added.
          Element list mappings

        * page/Frame.cpp:
        (WebCore::Frame::Frame):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48559 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoQtWebKit Windows CE compile fix
hausmann@webkit.org [Sat, 19 Sep 2009 17:41:44 +0000 (17:41 +0000)]
QtWebKit Windows CE compile fix

Patch by Joerg Bornemann <joerg.bornemann@nokia.com> on 2009-09-19
Reviewed by George Staikos.

https://bugs.webkit.org/show_bug.cgi?id=29379

There is no _aligned_alloc or _aligned_free on Windows CE.
We just use the Windows code that was there before and use VirtualAlloc.
But that also means that the BLOCK_SIZE must be 64K as this function
allocates on 64K boundaries.

* runtime/Collector.cpp:
(JSC::Heap::allocateBlock):
(JSC::Heap::freeBlock):
* runtime/Collector.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48558 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWindows build fix part2
oliver@apple.com [Sat, 19 Sep 2009 17:28:39 +0000 (17:28 +0000)]
Windows build fix part2

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48557 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 19 Sep 2009 17:17:20 +0000 (17:17 +0000)]
2009-09-19  Adam Barth  <abarth@webkit.org>

        Reviewed by Oliver Hunt.

        Canvas drawn with data URL image raises SECURITY_ERR when toDataUrl() called.
        https://bugs.webkit.org/show_bug.cgi?id=29305

        Test that drawing a data URL image onto a canvas behaves as expected.
        Note the tricky case involving a data URL SVG image with an embedded
        remote image.

        Also, test that document.domain state doesn't affect canvas taint
        state.

        * http/tests/security/canvas-remote-read-data-url-image-expected.txt: Added.
        * http/tests/security/canvas-remote-read-data-url-image.html: Added.
        * http/tests/security/canvas-remote-read-data-url-svg-image-expected.txt: Added.
        * http/tests/security/canvas-remote-read-data-url-svg-image.html: Added.
        * http/tests/security/canvas-remote-read-remote-image-document-domain-expected.txt: Added.
        * http/tests/security/canvas-remote-read-remote-image-document-domain.html: Added.
2009-09-19  Adam Barth  <abarth@webkit.org>

        Reviewed by Oliver Hunt.

        Canvas drawn with data URL image raises SECURITY_ERR when toDataUrl() called.
        https://bugs.webkit.org/show_bug.cgi?id=29305

        We need to special-case data URLs when tainting a canvas because we
        treat data URLs has having no security origin, unlike other
        browsers.  The reason we do this is to help sites avoid XSS via data
        URLs, but that consideration doesn't apply to canvas taint.

        Also, we were previously incorrectly taking document.domain state
        into account when tainting canvas.

        Tests: http/tests/security/canvas-remote-read-data-url-image.html
               http/tests/security/canvas-remote-read-data-url-svg-image.html
               http/tests/security/canvas-remote-read-remote-image-document-domain.html

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::checkOrigin):
        (WebCore::CanvasRenderingContext2D::createPattern):
        * page/SecurityOrigin.cpp:
        (WebCore::SecurityOrigin::taintsCanvas):
        * page/SecurityOrigin.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48556 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWindows build fix part 1
oliver@apple.com [Sat, 19 Sep 2009 17:09:28 +0000 (17:09 +0000)]
Windows build fix part 1

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48555 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 09:46:09 +0000 (09:46 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for svg directory.

        * svg/custom/SVGException.html:
        * svg/custom/getSubStringLength.html:
        * svg/custom/immutable-properties.html:
        * svg/custom/resources/SVGException.js: Removed.
        * svg/custom/resources/TEMPLATE.html: Removed.
        * svg/custom/resources/getSubStringLength.js: Removed.
        * svg/custom/resources/immutable-properties.js: Removed.
        * svg/custom/resources/selectSubString.js: Removed.
        * svg/custom/resources/svg-fonts-in-text-controls.js: Removed.
        * svg/custom/resources/svg-modify-currentTranslate.js: Removed.
        * svg/custom/resources/svg-xml-dom-sync.js: Removed.
        * svg/custom/resources/tearoffs-with-tearoffs.js: Removed.
        * svg/custom/script-tests: Added.
        * svg/custom/script-tests/SVGException.js: Copied from LayoutTests/svg/custom/resources/SVGException.js.
        * svg/custom/script-tests/TEMPLATE.html: Copied from LayoutTests/svg/custom/resources/TEMPLATE.html.
        * svg/custom/script-tests/getSubStringLength.js: Copied from LayoutTests/svg/custom/resources/getSubStringLength.js.
        * svg/custom/script-tests/immutable-properties.js: Copied from LayoutTests/svg/custom/resources/immutable-properties.js.
        * svg/custom/script-tests/selectSubString.js: Copied from LayoutTests/svg/custom/resources/selectSubString.js.
        * svg/custom/script-tests/svg-fonts-in-text-controls.js: Copied from LayoutTests/svg/custom/resources/svg-fonts-in-text-controls.js.
        * svg/custom/script-tests/svg-modify-currentTranslate.js: Copied from LayoutTests/svg/custom/resources/svg-modify-currentTranslate.js.
        * svg/custom/script-tests/svg-xml-dom-sync.js: Copied from LayoutTests/svg/custom/resources/svg-xml-dom-sync.js.
        * svg/custom/script-tests/tearoffs-with-tearoffs.js: Copied from LayoutTests/svg/custom/resources/tearoffs-with-tearoffs.js.
        * svg/custom/selectSubString.html:
        * svg/custom/svg-fonts-in-text-controls.html:
        * svg/custom/svg-modify-currentTranslate.html:
        * svg/custom/svg-xml-dom-sync.html:
        * svg/custom/tearoffs-with-tearoffs.html:
        * svg/dom/SVGStyleElement/resources/TEMPLATE.html: Removed.
        * svg/dom/SVGStyleElement/resources/style-langspace.js: Removed.
        * svg/dom/SVGStyleElement/script-tests: Added.
        * svg/dom/SVGStyleElement/script-tests/TEMPLATE.html: Copied from LayoutTests/svg/dom/SVGStyleElement/resources/TEMPLATE.html.
        * svg/dom/SVGStyleElement/script-tests/style-langspace.js: Copied from LayoutTests/svg/dom/SVGStyleElement/resources/style-langspace.js.
        * svg/dom/SVGStyleElement/style-langspace.html:
        * svg/dom/path-parser.html:
        * svg/dom/path-segments.html:
        * svg/dom/resources/TEMPLATE.html: Removed.
        * svg/dom/resources/path-parser.js: Removed.
        * svg/dom/resources/path-segments.js: Removed.
        * svg/dom/resources/style-reflect.js: Removed.
        * svg/dom/resources/text-rotate-live.js: Removed.
        * svg/dom/script-tests: Added.
        * svg/dom/script-tests/TEMPLATE.html: Copied from LayoutTests/svg/dom/resources/TEMPLATE.html.
        * svg/dom/script-tests/path-parser.js: Copied from LayoutTests/svg/dom/resources/path-parser.js.
        * svg/dom/script-tests/path-segments.js: Copied from LayoutTests/svg/dom/resources/path-segments.js.
        * svg/dom/script-tests/style-reflect.js: Copied from LayoutTests/svg/dom/resources/style-reflect.js.
        * svg/dom/script-tests/text-rotate-live.js: Copied from LayoutTests/svg/dom/resources/text-rotate-live.js.
        * svg/dom/style-reflect.html:
        * svg/dom/text-rotate-live.html:
        * svg/dynamic-updates/SVGAElement-dom-href-attr.html:
        * svg/dynamic-updates/SVGAElement-dom-target-attr.html:
        * svg/dynamic-updates/SVGAElement-svgdom-href-prop.html:
        * svg/dynamic-updates/SVGAElement-svgdom-target-prop.html:
        * svg/dynamic-updates/SVGCircleElement-dom-cx-attr.html:
        * svg/dynamic-updates/SVGCircleElement-dom-cy-attr.html:
        * svg/dynamic-updates/SVGCircleElement-dom-r-attr.html:
        * svg/dynamic-updates/SVGCircleElement-svgdom-cx-prop.html:
        * svg/dynamic-updates/SVGCircleElement-svgdom-cy-prop.html:
        * svg/dynamic-updates/SVGCircleElement-svgdom-r-prop.html:
        * svg/dynamic-updates/SVGClipPathElement-dom-clipPathUnits-attr.html:
        * svg/dynamic-updates/SVGClipPathElement-svgdom-clipPathUnits-prop.html:
        * svg/dynamic-updates/SVGCursorElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGCursorElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGCursorElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGCursorElement-svgdom-y-prop.html:
        * svg/dynamic-updates/SVGEllipseElement-dom-cx-attr.html:
        * svg/dynamic-updates/SVGEllipseElement-dom-cy-attr.html:
        * svg/dynamic-updates/SVGEllipseElement-dom-rx-attr.html:
        * svg/dynamic-updates/SVGEllipseElement-dom-ry-attr.html:
        * svg/dynamic-updates/SVGEllipseElement-svgdom-cx-prop.html:
        * svg/dynamic-updates/SVGEllipseElement-svgdom-cy-prop.html:
        * svg/dynamic-updates/SVGEllipseElement-svgdom-rx-prop.html:
        * svg/dynamic-updates/SVGEllipseElement-svgdom-ry-prop.html:
        * svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr.html:
        * svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr.html:
        * svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop.html:
        * svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop.html:
        * svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop.html:
        * svg/dynamic-updates/SVGImageElement-dom-height-attr.html:
        * svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr.html:
        * svg/dynamic-updates/SVGImageElement-dom-width-attr.html:
        * svg/dynamic-updates/SVGImageElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGImageElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGImageElement-svgdom-height-prop.html:
        * svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop.html:
        * svg/dynamic-updates/SVGImageElement-svgdom-width-prop.html:
        * svg/dynamic-updates/SVGImageElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGImageElement-svgdom-y-prop.html:
        * svg/dynamic-updates/SVGLineElement-dom-x1-attr.html:
        * svg/dynamic-updates/SVGLineElement-dom-x2-attr.html:
        * svg/dynamic-updates/SVGLineElement-dom-y1-attr.html:
        * svg/dynamic-updates/SVGLineElement-dom-y2-attr.html:
        * svg/dynamic-updates/SVGLineElement-svgdom-x1-prop.html:
        * svg/dynamic-updates/SVGLineElement-svgdom-x2-prop.html:
        * svg/dynamic-updates/SVGLineElement-svgdom-y1-prop.html:
        * svg/dynamic-updates/SVGLineElement-svgdom-y2-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-gradientTransform-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-gradientUnits-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-x1-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-x2-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-y1-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-y2-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientUnits-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-x1-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-x2-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-y1-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-y2-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-markerHeight-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-markerUnits-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-markerWidth-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-orient-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-refX-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-refY-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-markerHeight-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-markerUnits-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-markerWidth-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-orientAngle-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-orientType-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-refX-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-refY-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAngle-call.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAuto-call.html:
        * svg/dynamic-updates/SVGMaskElement-dom-height-attr.html:
        * svg/dynamic-updates/SVGMaskElement-dom-maskContentUnits-attr.html:
        * svg/dynamic-updates/SVGMaskElement-dom-maskUnits-attr.html:
        * svg/dynamic-updates/SVGMaskElement-dom-width-attr.html:
        * svg/dynamic-updates/SVGMaskElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGMaskElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-height-prop.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-maskContentUnits-prop.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-maskUnits-prop.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-width-prop.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-y-prop.html:
        * svg/dynamic-updates/SVGPatternElement-dom-height-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-patternContentUnits-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-patternTransform-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-patternUnits-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-width-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-height-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-patternContentUnits-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-patternUnits-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-width-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-y-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-cx-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-cy-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-fx-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-fy-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-gradientTransform-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-gradientUnits-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-r-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-cx-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-cy-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-fx-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-fy-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientUnits-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-r-prop.html:
        * svg/dynamic-updates/SVGRectElement-dom-height-attr.html:
        * svg/dynamic-updates/SVGRectElement-dom-width-attr.html:
        * svg/dynamic-updates/SVGRectElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGRectElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGRectElement-svgdom-height-prop.html:
        * svg/dynamic-updates/SVGRectElement-svgdom-width-prop.html:
        * svg/dynamic-updates/SVGRectElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGRectElement-svgdom-y-prop.html:
        * svg/dynamic-updates/resources/SVGAElement-dom-href-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGAElement-dom-target-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGAElement-svgdom-href-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGAElement-svgdom-target-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-dom-cx-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-dom-cy-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-dom-r-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-svgdom-cx-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-svgdom-cy-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-svgdom-r-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGClipPathElement-dom-clipPathUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGClipPathElement-svgdom-clipPathUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGCursorElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGCursorElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGCursorElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGCursorElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-dom-cx-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-dom-cy-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-dom-rx-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-dom-ry-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-svgdom-cx-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-svgdom-cy-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-svgdom-rx-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-svgdom-ry-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-dom-height-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-dom-width-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-height-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-width-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-dom-height-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-dom-preserveAspectRatio-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-dom-width-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-svgdom-height-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-svgdom-preserveAspectRatio-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-svgdom-width-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-dom-x1-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-dom-x2-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-dom-y1-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-dom-y2-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-svgdom-x1-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-svgdom-x2-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-svgdom-y1-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-svgdom-y2-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-gradientTransform-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-gradientUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-x1-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-x2-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-y1-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-y2-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-gradientTransform-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-gradientUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-x1-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-x2-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-y1-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-y2-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-markerHeight-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-markerUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-markerWidth-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-orient-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-refX-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-refY-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerHeight-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerWidth-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-orientAngle-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-orientType-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-refX-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-refY-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-setOrientToAngle-call.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-setOrientToAuto-call.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-height-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-maskContentUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-maskUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-width-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-height-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-maskContentUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-maskUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-width-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-height-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-patternContentUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-patternTransform-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-patternUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-width-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-height-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternContentUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternTransform-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-width-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-cx-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-cy-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-fx-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-fy-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-gradientTransform-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-gradientUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-r-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-cx-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-cy-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-fx-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-fy-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-gradientTransform-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-gradientUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-r-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-dom-height-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-dom-width-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-svgdom-height-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-svgdom-width-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/TEMPLATE.html: Removed.
        * svg/dynamic-updates/script-tests: Added.
        * svg/dynamic-updates/script-tests/SVGAElement-dom-href-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGAElement-dom-href-attr.js.
        * svg/dynamic-updates/script-tests/SVGAElement-dom-target-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGAElement-dom-target-attr.js.
        * svg/dynamic-updates/script-tests/SVGAElement-svgdom-href-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGAElement-svgdom-href-prop.js.
        * svg/dynamic-updates/script-tests/SVGAElement-svgdom-target-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGAElement-svgdom-target-prop.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-dom-cx-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-dom-cx-attr.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-dom-cy-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-dom-cy-attr.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-dom-r-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-dom-r-attr.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-cx-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-svgdom-cx-prop.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-cy-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-svgdom-cy-prop.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-r-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-svgdom-r-prop.js.
        * svg/dynamic-updates/script-tests/SVGClipPathElement-dom-clipPathUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGClipPathElement-dom-clipPathUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGClipPathElement-svgdom-clipPathUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGClipPathElement-svgdom-clipPathUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGCursorElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCursorElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGCursorElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCursorElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGCursorElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCursorElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGCursorElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCursorElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-dom-cx-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-dom-cx-attr.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-dom-cy-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-dom-cy-attr.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-dom-rx-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-dom-rx-attr.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-dom-ry-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-dom-ry-attr.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-cx-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-svgdom-cx-prop.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-cy-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-svgdom-cy-prop.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-rx-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-svgdom-rx-prop.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-ry-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-svgdom-ry-prop.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-dom-height-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-dom-height-attr.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-dom-width-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-dom-width-attr.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-height-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-height-prop.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-width-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-width-prop.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-dom-height-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-dom-height-attr.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-dom-preserveAspectRatio-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-dom-preserveAspectRatio-attr.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-dom-width-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-dom-width-attr.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-svgdom-height-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-svgdom-height-prop.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-svgdom-preserveAspectRatio-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-svgdom-preserveAspectRatio-prop.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-svgdom-width-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-svgdom-width-prop.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-dom-x1-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-dom-x1-attr.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-dom-x2-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-dom-x2-attr.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-dom-y1-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-dom-y1-attr.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-dom-y2-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-dom-y2-attr.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-svgdom-x1-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-svgdom-x1-prop.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-svgdom-x2-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-svgdom-x2-prop.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-svgdom-y1-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-svgdom-y1-prop.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-svgdom-y2-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-svgdom-y2-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-gradientTransform-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-gradientTransform-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-gradientUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-gradientUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-x1-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-x1-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-x2-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-x2-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-y1-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-y1-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-y2-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-y2-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-gradientTransform-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-gradientTransform-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-gradientUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-gradientUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-x1-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-x1-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-x2-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-x2-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-y1-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-y1-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-y2-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-y2-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-markerHeight-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-markerHeight-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-markerUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-markerUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-markerWidth-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-markerWidth-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-orient-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-orient-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-refX-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-refX-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-refY-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-refY-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-markerHeight-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerHeight-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-markerUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-markerWidth-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerWidth-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-orientAngle-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-orientAngle-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-orientType-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-orientType-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-refX-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-refX-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-refY-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-refY-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-setOrientToAngle-call.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-setOrientToAngle-call.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-setOrientToAuto-call.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-setOrientToAuto-call.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-height-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-height-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-maskContentUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-maskContentUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-maskUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-maskUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-width-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-width-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-height-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-height-prop.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-maskContentUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-maskContentUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-maskUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-maskUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-width-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-width-prop.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-height-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-height-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-patternContentUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-patternContentUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-patternTransform-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-patternTransform-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-patternUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-patternUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-width-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-width-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-height-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-height-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-patternContentUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternContentUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-patternTransform-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternTransform-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-patternUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-width-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-width-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-cx-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-cx-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-cy-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-cy-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-fx-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-fx-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-fy-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-fy-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-gradientTransform-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-gradientTransform-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-gradientUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-gradientUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-r-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-r-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-cx-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-cx-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-cy-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-cy-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-fx-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-fx-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-fy-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-fy-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-gradientTransform-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-gradientTransform-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-gradientUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-gradientUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-r-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-r-prop.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-dom-height-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-dom-height-attr.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-dom-width-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-dom-width-attr.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-svgdom-height-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-svgdom-height-prop.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-svgdom-width-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-svgdom-width-prop.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/TEMPLATE.html: Copied from LayoutTests/svg/dynamic-updates/resources/TEMPLATE.html.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48554 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 09:35:47 +0000 (09:35 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for http, platform, plugins, traversal, and wml directories.

        * http/tests/cookies/double-quoted-value-with-semi-colon.html:
        * http/tests/cookies/multiple-cookies.html:
        * http/tests/cookies/resources/TEMPLATE.html: Removed.
        * http/tests/cookies/resources/double-quoted-value-with-semi-colon.js: Removed.
        * http/tests/cookies/resources/multiple-cookies.js: Removed.
        * http/tests/cookies/resources/simple-cookies-expired.js: Removed.
        * http/tests/cookies/resources/simple-cookies-max-age.js: Removed.
        * http/tests/cookies/script-tests: Added.
        * http/tests/cookies/script-tests/TEMPLATE.html: Copied from LayoutTests/http/tests/cookies/resources/TEMPLATE.html.
        * http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js: Copied from LayoutTests/http/tests/cookies/resources/double-quoted-value-with-semi-colon.js.
        * http/tests/cookies/script-tests/multiple-cookies.js: Copied from LayoutTests/http/tests/cookies/resources/multiple-cookies.js.
        * http/tests/cookies/script-tests/simple-cookies-expired.js: Copied from LayoutTests/http/tests/cookies/resources/simple-cookies-expired.js.
        * http/tests/cookies/script-tests/simple-cookies-max-age.js: Copied from LayoutTests/http/tests/cookies/resources/simple-cookies-max-age.js.
        * http/tests/cookies/simple-cookies-expired.html:
        * http/tests/cookies/simple-cookies-max-age.html:
        * http/tests/security/clipboard/clipboard-file-access.html:
        * http/tests/security/clipboard/resources/TEMPLATE.html: Removed.
        * http/tests/security/clipboard/resources/clipboard-file-access.js: Removed.
        * http/tests/security/clipboard/script-tests: Added.
        * http/tests/security/clipboard/script-tests/TEMPLATE.html: Copied from LayoutTests/http/tests/security/clipboard/resources/TEMPLATE.html.
        * http/tests/security/clipboard/script-tests/clipboard-file-access.js: Copied from LayoutTests/http/tests/security/clipboard/resources/clipboard-file-access.js.
        * http/tests/wml/access-target-domain-deny.html:
        * http/tests/wml/access-target-path-deny.html:
        * http/tests/wml/access-target.html:
        * http/tests/wml/go-task-get-method-accept-charset.html:
        * http/tests/wml/go-task-get-method.html:
        * http/tests/wml/go-task-post-method-accept-charset.html:
        * http/tests/wml/go-task-post-method.html:
        * http/tests/wml/post-data-to-server.html:
        * http/tests/wml/resources/TEMPLATE.html: Removed.
        * http/tests/wml/resources/access-target-domain-deny.js: Removed.
        * http/tests/wml/resources/access-target-path-deny.js: Removed.
        * http/tests/wml/resources/access-target.js: Removed.
        * http/tests/wml/resources/go-task-get-method-accept-charset.js: Removed.
        * http/tests/wml/resources/go-task-get-method.js: Removed.
        * http/tests/wml/resources/go-task-post-method-accept-charset.js: Removed.
        * http/tests/wml/resources/go-task-post-method.js: Removed.
        * http/tests/wml/resources/post-data-to-server.js: Removed.
        * http/tests/wml/script-tests: Added.
        * http/tests/wml/script-tests/TEMPLATE.html: Copied from LayoutTests/http/tests/wml/resources/TEMPLATE.html.
        * http/tests/wml/script-tests/access-target-domain-deny.js: Copied from LayoutTests/http/tests/wml/resources/access-target-domain-deny.js.
        * http/tests/wml/script-tests/access-target-path-deny.js: Copied from LayoutTests/http/tests/wml/resources/access-target-path-deny.js.
        * http/tests/wml/script-tests/access-target.js: Copied from LayoutTests/http/tests/wml/resources/access-target.js.
        * http/tests/wml/script-tests/go-task-get-method-accept-charset.js: Copied from LayoutTests/http/tests/wml/resources/go-task-get-method-accept-charset.js.
        * http/tests/wml/script-tests/go-task-get-method.js: Copied from LayoutTests/http/tests/wml/resources/go-task-get-method.js.
        * http/tests/wml/script-tests/go-task-post-method-accept-charset.js: Copied from LayoutTests/http/tests/wml/resources/go-task-post-method-accept-charset.js.
        * http/tests/wml/script-tests/go-task-post-method.js: Copied from LayoutTests/http/tests/wml/resources/go-task-post-method.js.
        * http/tests/wml/script-tests/post-data-to-server.js: Copied from LayoutTests/http/tests/wml/resources/post-data-to-server.js.
        * platform/gtk/editing/pasteboard/resources/TEMPLATE.html: Removed.
        * platform/gtk/editing/pasteboard/resources/middle-click-onpaste.js: Removed.
        * platform/gtk/editing/pasteboard/script-tests: Added.
        * platform/gtk/editing/pasteboard/script-tests/TEMPLATE.html: Copied from LayoutTests/platform/gtk/editing/pasteboard/resources/TEMPLATE.html.
        * platform/gtk/editing/pasteboard/script-tests/middle-click-onpaste.js: Copied from LayoutTests/platform/gtk/editing/pasteboard/resources/middle-click-onpaste.js.
        * platform/win/fast/events/context-click-events.html:
        * platform/win/fast/events/resources/TEMPLATE.html: Removed.
        * platform/win/fast/events/resources/context-click-events.js: Removed.
        * platform/win/fast/events/script-tests: Added.
        * platform/win/fast/events/script-tests/TEMPLATE.html: Copied from LayoutTests/platform/win/fast/events/resources/TEMPLATE.html.
        * platform/win/fast/events/script-tests/context-click-events.js: Copied from LayoutTests/platform/win/fast/events/resources/context-click-events.js.
        * plugins/netscape-identifier-conversion.html:
        * plugins/resources/TEMPLATE.html: Removed.
        * plugins/resources/netscape-identifier-conversion.js: Removed.
        * plugins/script-tests: Added.
        * plugins/script-tests/TEMPLATE.html: Copied from LayoutTests/plugins/resources/TEMPLATE.html.
        * plugins/script-tests/netscape-identifier-conversion.js: Copied from LayoutTests/plugins/resources/netscape-identifier-conversion.js.
        * traversal/acid3-test-2.html:
        * traversal/exception-forwarding.html:
        * traversal/resources/TEMPLATE.html: Removed.
        * traversal/resources/acid3-test-2.js: Removed.
        * traversal/resources/exception-forwarding.js: Removed.
        * traversal/script-tests: Added.
        * traversal/script-tests/TEMPLATE.html: Copied from LayoutTests/traversal/resources/TEMPLATE.html.
        * traversal/script-tests/acid3-test-2.js: Copied from LayoutTests/traversal/resources/acid3-test-2.js.
        * traversal/script-tests/exception-forwarding.js: Copied from LayoutTests/traversal/resources/exception-forwarding.js.
        * wml/access-target-deny.html:
        * wml/access-target.html:
        * wml/enter-card-with-events.html:
        * wml/enter-first-card-with-events.html:
        * wml/go-task-get-method-external-deck-with-href.html:
        * wml/go-task-get-method-external-deck.html:
        * wml/go-task-get-method-same-deck.html:
        * wml/input-format.html:
        * wml/newcontext-same-deck.html:
        * wml/onenterforward-event.html:
        * wml/onenterforward-inline-event.html:
        * wml/ontimer-event.html:
        * wml/ontimer-inline-event.html:
        * wml/option-element-onpick-recursion.html:
        * wml/option-element-onpick.html:
        * wml/resources/TEMPLATE.html: Removed.
        * wml/resources/access-target-deny.js: Removed.
        * wml/resources/access-target.js: Removed.
        * wml/resources/enter-card-with-events.js: Removed.
        * wml/resources/enter-first-card-with-events.js: Removed.
        * wml/resources/go-task-get-method-external-deck-with-href.js: Removed.
        * wml/resources/go-task-get-method-external-deck.js: Removed.
        * wml/resources/go-task-get-method-same-deck.js: Removed.
        * wml/resources/input-format.js: Removed.
        * wml/resources/newcontext-same-deck.js: Removed.
        * wml/resources/onenterforward-event.js: Removed.
        * wml/resources/onenterforward-inline-event.js: Removed.
        * wml/resources/ontimer-event.js: Removed.
        * wml/resources/ontimer-inline-event.js: Removed.
        * wml/resources/option-element-onpick-recursion.js: Removed.
        * wml/resources/option-element-onpick.js: Removed.
        * wml/resources/select-element-variables.js: Removed.
        * wml/resources/variable-reference-invalid-character.js: Removed.
        * wml/resources/variable-reference-valid.js: Removed.
        * wml/script-tests: Added.
        * wml/script-tests/TEMPLATE.html: Copied from LayoutTests/wml/resources/TEMPLATE.html.
        * wml/script-tests/access-target-deny.js: Copied from LayoutTests/wml/resources/access-target-deny.js.
        * wml/script-tests/access-target.js: Copied from LayoutTests/wml/resources/access-target.js.
        * wml/script-tests/enter-card-with-events.js: Copied from LayoutTests/wml/resources/enter-card-with-events.js.
        * wml/script-tests/enter-first-card-with-events.js: Copied from LayoutTests/wml/resources/enter-first-card-with-events.js.
        * wml/script-tests/go-task-get-method-external-deck-with-href.js: Copied from LayoutTests/wml/resources/go-task-get-method-external-deck-with-href.js.
        * wml/script-tests/go-task-get-method-external-deck.js: Copied from LayoutTests/wml/resources/go-task-get-method-external-deck.js.
        * wml/script-tests/go-task-get-method-same-deck.js: Copied from LayoutTests/wml/resources/go-task-get-method-same-deck.js.
        * wml/script-tests/input-format.js: Copied from LayoutTests/wml/resources/input-format.js.
        * wml/script-tests/newcontext-same-deck.js: Copied from LayoutTests/wml/resources/newcontext-same-deck.js.
        * wml/script-tests/onenterforward-event.js: Copied from LayoutTests/wml/resources/onenterforward-event.js.
        * wml/script-tests/onenterforward-inline-event.js: Copied from LayoutTests/wml/resources/onenterforward-inline-event.js.
        * wml/script-tests/ontimer-event.js: Copied from LayoutTests/wml/resources/ontimer-event.js.
        * wml/script-tests/ontimer-inline-event.js: Copied from LayoutTests/wml/resources/ontimer-inline-event.js.
        * wml/script-tests/option-element-onpick-recursion.js: Copied from LayoutTests/wml/resources/option-element-onpick-recursion.js.
        * wml/script-tests/option-element-onpick.js: Copied from LayoutTests/wml/resources/option-element-onpick.js.
        * wml/script-tests/select-element-variables.js: Copied from LayoutTests/wml/resources/select-element-variables.js.
        * wml/script-tests/variable-reference-invalid-character.js: Copied from LayoutTests/wml/resources/variable-reference-invalid-character.js.
        * wml/script-tests/variable-reference-valid.js: Copied from LayoutTests/wml/resources/variable-reference-valid.js.
        * wml/select-element-variables.html:
        * wml/variable-reference-invalid-character.html:
        * wml/variable-reference-valid.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48553 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 08:49:05 +0000 (08:49 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for fast/* directories except fast js directory.

        * fast/events/blur-focus-window-should-blur-focus-element.html:
        * fast/events/create-document-crash-on-attach-event.html:
        * fast/events/event-function-toString.html:
        * fast/events/event-instanceof.html:
        * fast/events/event-listener-sharing.html:
        * fast/events/init-events.html:
        * fast/events/mouse-click-events.html:
        * fast/events/resources/TEMPLATE.html: Removed.
        * fast/events/resources/blur-focus-window-should-blur-focus-element.js: Removed.
        * fast/events/resources/create-document-crash-on-attach-event.js: Removed.
        * fast/events/resources/event-function-toString.js: Removed.
        * fast/events/resources/event-instanceof.js: Removed.
        * fast/events/resources/event-listener-sharing.js: Removed.
        * fast/events/resources/init-events.js: Removed.
        * fast/events/resources/mouse-click-events.js: Removed.
        * fast/events/resources/tab-is-focusable-assert.js: Removed.
        * fast/events/script-tests: Added.
        * fast/events/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/events/resources/TEMPLATE.html.
        * fast/events/script-tests/blur-focus-window-should-blur-focus-element.js: Copied from LayoutTests/fast/events/resources/blur-focus-window-should-blur-focus-element.js.
        * fast/events/script-tests/create-document-crash-on-attach-event.js: Copied from LayoutTests/fast/events/resources/create-document-crash-on-attach-event.js.
        * fast/events/script-tests/event-function-toString.js: Copied from LayoutTests/fast/events/resources/event-function-toString.js.
        * fast/events/script-tests/event-instanceof.js: Copied from LayoutTests/fast/events/resources/event-instanceof.js.
        * fast/events/script-tests/event-listener-sharing.js: Copied from LayoutTests/fast/events/resources/event-listener-sharing.js.
        * fast/events/script-tests/init-events.js: Copied from LayoutTests/fast/events/resources/init-events.js.
        * fast/events/script-tests/mouse-click-events.js: Copied from LayoutTests/fast/events/resources/mouse-click-events.js.
        * fast/events/script-tests/tab-is-focusable-assert.js: Copied from LayoutTests/fast/events/resources/tab-is-focusable-assert.js.
        * fast/events/tab-is-focusable-assert.html:
        * fast/forms/ValidityState-patternMismatch-unsupported.html:
        * fast/forms/ValidityState-typeMismatch-color.html:
        * fast/forms/ValidityState-typeMismatch-number.html:
        * fast/forms/ValidityState-typeMismatch-url.html:
        * fast/forms/formnovalidate-attribute.html:
        * fast/forms/input-maxlength-ime-completed.html:
        * fast/forms/input-maxlength-ime-preedit.html:
        * fast/forms/novalidate-attribute.html:
        * fast/forms/placeholder-dom-property.html:
        * fast/forms/resources/TEMPLATE.html: Removed.
        * fast/forms/resources/ValidityState-patternMismatch-unsupported.js: Removed.
        * fast/forms/resources/ValidityState-typeMismatch-color.js: Removed.
        * fast/forms/resources/ValidityState-typeMismatch-number.js: Removed.
        * fast/forms/resources/ValidityState-typeMismatch-url.js: Removed.
        * fast/forms/resources/formnovalidate-attribute.js: Removed.
        * fast/forms/resources/input-maxlength-ime-completed.js: Removed.
        * fast/forms/resources/input-maxlength-ime-preedit.js: Removed.
        * fast/forms/resources/novalidate-attribute.js: Removed.
        * fast/forms/resources/placeholder-dom-property.js: Removed.
        * fast/forms/resources/shadow-tree-exposure.js: Removed.
        * fast/forms/resources/text-control-intrinsic-widths.js: Removed.
        * fast/forms/resources/textarea-metrics.js: Removed.
        * fast/forms/resources/textarea-placeholder-dom-property.js: Removed.
        * fast/forms/resources/textarea-textlength.js: Removed.
        * fast/forms/script-tests: Added.
        * fast/forms/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/forms/resources/TEMPLATE.html.
        * fast/forms/script-tests/ValidityState-patternMismatch-unsupported.js: Copied from LayoutTests/fast/forms/resources/ValidityState-patternMismatch-unsupported.js.
        * fast/forms/script-tests/ValidityState-typeMismatch-color.js: Copied from LayoutTests/fast/forms/resources/ValidityState-typeMismatch-color.js.
        * fast/forms/script-tests/ValidityState-typeMismatch-number.js: Copied from LayoutTests/fast/forms/resources/ValidityState-typeMismatch-number.js.
        * fast/forms/script-tests/ValidityState-typeMismatch-url.js: Copied from LayoutTests/fast/forms/resources/ValidityState-typeMismatch-url.js.
        * fast/forms/script-tests/formnovalidate-attribute.js: Copied from LayoutTests/fast/forms/resources/formnovalidate-attribute.js.
        * fast/forms/script-tests/input-maxlength-ime-completed.js: Copied from LayoutTests/fast/forms/resources/input-maxlength-ime-completed.js.
        * fast/forms/script-tests/input-maxlength-ime-preedit.js: Copied from LayoutTests/fast/forms/resources/input-maxlength-ime-preedit.js.
        * fast/forms/script-tests/novalidate-attribute.js: Copied from LayoutTests/fast/forms/resources/novalidate-attribute.js.
        * fast/forms/script-tests/placeholder-dom-property.js: Copied from LayoutTests/fast/forms/resources/placeholder-dom-property.js.
        * fast/forms/script-tests/shadow-tree-exposure.js: Copied from LayoutTests/fast/forms/resources/shadow-tree-exposure.js.
        * fast/forms/script-tests/text-control-intrinsic-widths.js: Copied from LayoutTests/fast/forms/resources/text-control-intrinsic-widths.js.
        * fast/forms/script-tests/textarea-metrics.js: Copied from LayoutTests/fast/forms/resources/textarea-metrics.js.
        * fast/forms/script-tests/textarea-placeholder-dom-property.js: Copied from LayoutTests/fast/forms/resources/textarea-placeholder-dom-property.js.
        * fast/forms/script-tests/textarea-textlength.js: Copied from LayoutTests/fast/forms/resources/textarea-textlength.js.
        * fast/forms/shadow-tree-exposure.html:
        * fast/forms/text-control-intrinsic-widths.html:
        * fast/forms/textarea-metrics.html:
        * fast/forms/textarea-placeholder-dom-property.html:
        * fast/forms/textarea-textlength.html:
        * fast/images/border.html:
        * fast/images/resources/TEMPLATE.html: Removed.
        * fast/images/resources/border.js: Removed.
        * fast/images/script-tests: Added.
        * fast/images/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/images/resources/TEMPLATE.html.
        * fast/images/script-tests/border.js: Copied from LayoutTests/fast/images/resources/border.js.
        * fast/parser/block-nesting-cap.html:
        * fast/parser/pre-first-line-break.html:
        * fast/parser/resources/TEMPLATE.html: Removed.
        * fast/parser/resources/block-nesting-cap.js: Removed.
        * fast/parser/resources/pre-first-line-break.js: Removed.
        * fast/parser/script-tests: Added.
        * fast/parser/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/parser/resources/TEMPLATE.html.
        * fast/parser/script-tests/block-nesting-cap.js: Copied from LayoutTests/fast/parser/resources/block-nesting-cap.js.
        * fast/parser/script-tests/pre-first-line-break.js: Copied from LayoutTests/fast/parser/resources/pre-first-line-break.js.
        * fast/regex/alternative-length-miscalculation.html:
        * fast/regex/cross-frame-callable.html:
        * fast/regex/early-acid3-86.html:
        * fast/regex/malformed-escapes.html:
        * fast/regex/non-capturing-backtracking.html:
        * fast/regex/non-pattern-characters.html:
        * fast/regex/quantified-assertions.html:
        * fast/regex/resources/TEMPLATE.html: Removed.
        * fast/regex/resources/alternative-length-miscalculation.js: Removed.
        * fast/regex/resources/cross-frame-callable.js: Removed.
        * fast/regex/resources/early-acid3-86.js: Removed.
        * fast/regex/resources/malformed-escapes.js: Removed.
        * fast/regex/resources/non-capturing-backtracking.js: Removed.
        * fast/regex/resources/non-pattern-characters.js: Removed.
        * fast/regex/resources/quantified-assertions.js: Removed.
        * fast/regex/resources/slow.js: Removed.
        * fast/regex/script-tests: Added.
        * fast/regex/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/regex/resources/TEMPLATE.html.
        * fast/regex/script-tests/alternative-length-miscalculation.js: Copied from LayoutTests/fast/regex/resources/alternative-length-miscalculation.js.
        * fast/regex/script-tests/cross-frame-callable.js: Copied from LayoutTests/fast/regex/resources/cross-frame-callable.js.
        * fast/regex/script-tests/early-acid3-86.js: Copied from LayoutTests/fast/regex/resources/early-acid3-86.js.
        * fast/regex/script-tests/malformed-escapes.js: Copied from LayoutTests/fast/regex/resources/malformed-escapes.js.
        * fast/regex/script-tests/non-capturing-backtracking.js: Copied from LayoutTests/fast/regex/resources/non-capturing-backtracking.js.
        * fast/regex/script-tests/non-pattern-characters.js: Copied from LayoutTests/fast/regex/resources/non-pattern-characters.js.
        * fast/regex/script-tests/quantified-assertions.js: Copied from LayoutTests/fast/regex/resources/quantified-assertions.js.
        * fast/regex/script-tests/slow.js: Copied from LayoutTests/fast/regex/resources/slow.js.
        * fast/regex/slow.html:
        * fast/table/border-changes.html:
        * fast/table/resources/TEMPLATE.html: Removed.
        * fast/table/resources/border-changes.js: Removed.
        * fast/table/script-tests: Added.
        * fast/table/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/table/resources/TEMPLATE.html.
        * fast/table/script-tests/border-changes.js: Copied from LayoutTests/fast/table/resources/border-changes.js.
        * fast/text/find-backwards.html:
        * fast/text/resources/TEMPLATE.html: Removed.
        * fast/text/resources/find-backwards.js: Removed.
        * fast/text/script-tests: Added.
        * fast/text/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/text/resources/TEMPLATE.html.
        * fast/text/script-tests/find-backwards.js: Copied from LayoutTests/fast/text/resources/find-backwards.js.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48552 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 08:41:51 +0000 (08:41 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for fast/dom directories.

        * fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html:
        * fast/dom/CSSStyleDeclaration/resources/TEMPLATE.html: Removed.
        * fast/dom/CSSStyleDeclaration/resources/css-properties-case-sensitive.js: Removed.
        * fast/dom/CSSStyleDeclaration/resources/transition-property-names.js: Removed.
        * fast/dom/CSSStyleDeclaration/script-tests: Added.
        * fast/dom/CSSStyleDeclaration/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/CSSStyleDeclaration/resources/TEMPLATE.html.
        * fast/dom/CSSStyleDeclaration/script-tests/css-properties-case-sensitive.js: Copied from LayoutTests/fast/dom/CSSStyleDeclaration/resources/css-properties-case-sensitive.js.
        * fast/dom/CSSStyleDeclaration/script-tests/transition-property-names.js: Copied from LayoutTests/fast/dom/CSSStyleDeclaration/resources/transition-property-names.js.
        * fast/dom/CSSStyleDeclaration/transition-property-names.html:
        * fast/dom/DOMImplementation/createDocument-namespace-err.html:
        * fast/dom/DOMImplementation/createDocumentType-err.html:
        * fast/dom/DOMImplementation/resources/TEMPLATE.html: Removed.
        * fast/dom/DOMImplementation/resources/createDocument-namespace-err.js: Removed.
        * fast/dom/DOMImplementation/resources/createDocumentType-err.js: Removed.
        * fast/dom/DOMImplementation/script-tests: Added.
        * fast/dom/DOMImplementation/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/DOMImplementation/resources/TEMPLATE.html.
        * fast/dom/DOMImplementation/script-tests/createDocument-namespace-err.js: Copied from LayoutTests/fast/dom/DOMImplementation/resources/createDocument-namespace-err.js.
        * fast/dom/DOMImplementation/script-tests/createDocumentType-err.js: Copied from LayoutTests/fast/dom/DOMImplementation/resources/createDocumentType-err.js.
        * fast/dom/Document/createAttributeNS-namespace-err.html:
        * fast/dom/Document/createElementNS-namespace-err.html:
        * fast/dom/Document/document-write-doctype.html:
        * fast/dom/Document/replaceChild-null-oldChild.html:
        * fast/dom/Document/resources/TEMPLATE.html: Removed.
        * fast/dom/Document/resources/createAttributeNS-namespace-err.js: Removed.
        * fast/dom/Document/resources/createElementNS-namespace-err.js: Removed.
        * fast/dom/Document/resources/document-write-doctype.js: Removed.
        * fast/dom/Document/resources/replaceChild-null-oldChild.js: Removed.
        * fast/dom/Document/script-tests: Added.
        * fast/dom/Document/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Document/resources/TEMPLATE.html.
        * fast/dom/Document/script-tests/createAttributeNS-namespace-err.js: Copied from LayoutTests/fast/dom/Document/resources/createAttributeNS-namespace-err.js.
        * fast/dom/Document/script-tests/createElementNS-namespace-err.js: Copied from LayoutTests/fast/dom/Document/resources/createElementNS-namespace-err.js.
        * fast/dom/Document/script-tests/document-write-doctype.js: Copied from LayoutTests/fast/dom/Document/resources/document-write-doctype.js.
        * fast/dom/Document/script-tests/replaceChild-null-oldChild.js: Copied from LayoutTests/fast/dom/Document/resources/replaceChild-null-oldChild.js.
        * fast/dom/Element/attr-param-typechecking.html:
        * fast/dom/Element/contains-method.html:
        * fast/dom/Element/dimension-properties-unrendered.html:
        * fast/dom/Element/element-traversal.html:
        * fast/dom/Element/getAttribute-check-case-sensitivity.html:
        * fast/dom/Element/resources/TEMPLATE.html: Removed.
        * fast/dom/Element/resources/attr-param-typechecking.js: Removed.
        * fast/dom/Element/resources/contains-method.js: Removed.
        * fast/dom/Element/resources/dimension-properties-unrendered.js: Removed.
        * fast/dom/Element/resources/element-traversal.js: Removed.
        * fast/dom/Element/resources/getAttribute-check-case-sensitivity.js: Removed.
        * fast/dom/Element/script-tests: Added.
        * fast/dom/Element/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Element/resources/TEMPLATE.html.
        * fast/dom/Element/script-tests/attr-param-typechecking.js: Copied from LayoutTests/fast/dom/Element/resources/attr-param-typechecking.js.
        * fast/dom/Element/script-tests/contains-method.js: Copied from LayoutTests/fast/dom/Element/resources/contains-method.js.
        * fast/dom/Element/script-tests/dimension-properties-unrendered.js: Copied from LayoutTests/fast/dom/Element/resources/dimension-properties-unrendered.js.
        * fast/dom/Element/script-tests/element-traversal.js: Copied from LayoutTests/fast/dom/Element/resources/element-traversal.js.
        * fast/dom/Element/script-tests/getAttribute-check-case-sensitivity.js: Copied from LayoutTests/fast/dom/Element/resources/getAttribute-check-case-sensitivity.js.
        * fast/dom/EntityReference/readonly-exceptions.html:
        * fast/dom/EntityReference/resources/TEMPLATE.html: Removed.
        * fast/dom/EntityReference/resources/readonly-exceptions.js: Removed.
        * fast/dom/EntityReference/script-tests: Added.
        * fast/dom/EntityReference/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/EntityReference/resources/TEMPLATE.html.
        * fast/dom/EntityReference/script-tests/readonly-exceptions.js: Copied from LayoutTests/fast/dom/EntityReference/resources/readonly-exceptions.js.
        * fast/dom/HTMLFontElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLFontElement/resources/size-attribute.js: Removed.
        * fast/dom/HTMLFontElement/script-tests: Added.
        * fast/dom/HTMLFontElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLFontElement/resources/TEMPLATE.html.
        * fast/dom/HTMLFontElement/script-tests/size-attribute.js: Copied from LayoutTests/fast/dom/HTMLFontElement/resources/size-attribute.js.
        * fast/dom/HTMLFontElement/size-attribute.html:
        * fast/dom/HTMLFormElement/elements-not-in-document.html:
        * fast/dom/HTMLFormElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLFormElement/resources/elements-not-in-document.js: Removed.
        * fast/dom/HTMLFormElement/script-tests: Added.
        * fast/dom/HTMLFormElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLFormElement/resources/TEMPLATE.html.
        * fast/dom/HTMLFormElement/script-tests/elements-not-in-document.js: Copied from LayoutTests/fast/dom/HTMLFormElement/resources/elements-not-in-document.js.
        * fast/dom/HTMLInputElement/checked-pseudo-selector.html:
        * fast/dom/HTMLInputElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLInputElement/resources/checked-pseudo-selector.js: Removed.
        * fast/dom/HTMLInputElement/resources/size-attribute.js: Removed.
        * fast/dom/HTMLInputElement/script-tests: Added.
        * fast/dom/HTMLInputElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLInputElement/resources/TEMPLATE.html.
        * fast/dom/HTMLInputElement/script-tests/checked-pseudo-selector.js: Copied from LayoutTests/fast/dom/HTMLInputElement/resources/checked-pseudo-selector.js.
        * fast/dom/HTMLInputElement/script-tests/size-attribute.js: Copied from LayoutTests/fast/dom/HTMLInputElement/resources/size-attribute.js.
        * fast/dom/HTMLInputElement/size-attribute.html:
        * fast/dom/HTMLSelectElement/named-options.html:
        * fast/dom/HTMLSelectElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLSelectElement/resources/named-options.js: Removed.
        * fast/dom/HTMLSelectElement/script-tests: Added.
        * fast/dom/HTMLSelectElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLSelectElement/resources/TEMPLATE.html.
        * fast/dom/HTMLSelectElement/script-tests/named-options.js: Copied from LayoutTests/fast/dom/HTMLSelectElement/resources/named-options.js.
        * fast/dom/HTMLTableElement/cellpadding-attribute.html:
        * fast/dom/HTMLTableElement/early-acid3-65-excerpt.html:
        * fast/dom/HTMLTableElement/early-acid3-66-excerpt.html:
        * fast/dom/HTMLTableElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLTableElement/resources/cellpadding-attribute.js: Removed.
        * fast/dom/HTMLTableElement/resources/early-acid3-65-excerpt.js: Removed.
        * fast/dom/HTMLTableElement/resources/early-acid3-66-excerpt.js: Removed.
        * fast/dom/HTMLTableElement/resources/rows.js: Removed.
        * fast/dom/HTMLTableElement/resources/tBodies.js: Removed.
        * fast/dom/HTMLTableElement/rows.html:
        * fast/dom/HTMLTableElement/script-tests: Added.
        * fast/dom/HTMLTableElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/TEMPLATE.html.
        * fast/dom/HTMLTableElement/script-tests/cellpadding-attribute.js: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/cellpadding-attribute.js.
        * fast/dom/HTMLTableElement/script-tests/early-acid3-65-excerpt.js: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/early-acid3-65-excerpt.js.
        * fast/dom/HTMLTableElement/script-tests/early-acid3-66-excerpt.js: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/early-acid3-66-excerpt.js.
        * fast/dom/HTMLTableElement/script-tests/rows.js: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/rows.js.
        * fast/dom/HTMLTableElement/script-tests/tBodies.js: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/tBodies.js.
        * fast/dom/HTMLTableElement/tBodies.html:
        * fast/dom/HTMLTableRowElement/cells.html:
        * fast/dom/HTMLTableRowElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLTableRowElement/resources/cells.js: Removed.
        * fast/dom/HTMLTableRowElement/script-tests: Added.
        * fast/dom/HTMLTableRowElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLTableRowElement/resources/TEMPLATE.html.
        * fast/dom/HTMLTableRowElement/script-tests/cells.js: Copied from LayoutTests/fast/dom/HTMLTableRowElement/resources/cells.js.
        * fast/dom/HTMLTableSectionElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLTableSectionElement/resources/rows.js: Removed.
        * fast/dom/HTMLTableSectionElement/rows.html:
        * fast/dom/HTMLTableSectionElement/script-tests: Added.
        * fast/dom/HTMLTableSectionElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLTableSectionElement/resources/TEMPLATE.html.
        * fast/dom/HTMLTableSectionElement/script-tests/rows.js: Copied from LayoutTests/fast/dom/HTMLTableSectionElement/resources/rows.js.
        * fast/dom/Node/DOMNodeRemovedEvent.html:
        * fast/dom/Node/initial-values.html:
        * fast/dom/Node/resources/DOMNodeRemovedEvent.js: Removed.
        * fast/dom/Node/resources/TEMPLATE.html: Removed.
        * fast/dom/Node/resources/initial-values.js: Removed.
        * fast/dom/Node/script-tests: Added.
        * fast/dom/Node/script-tests/DOMNodeRemovedEvent.js: Copied from LayoutTests/fast/dom/Node/resources/DOMNodeRemovedEvent.js.
        * fast/dom/Node/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Node/resources/TEMPLATE.html.
        * fast/dom/Node/script-tests/initial-values.js: Copied from LayoutTests/fast/dom/Node/resources/initial-values.js.
        * fast/dom/Range/mutation.html:
        * fast/dom/Range/range-clone-empty.html:
        * fast/dom/Range/range-exceptions.html:
        * fast/dom/Range/range-insertNode-separate-endContainer.html:
        * fast/dom/Range/range-insertNode-splittext.html:
        * fast/dom/Range/range-modifycontents.html:
        * fast/dom/Range/resources/TEMPLATE.html: Removed.
        * fast/dom/Range/resources/mutation.js: Removed.
        * fast/dom/Range/resources/range-clone-empty.js: Removed.
        * fast/dom/Range/resources/range-exceptions.js: Removed.
        * fast/dom/Range/resources/range-insertNode-separate-endContainer.js: Removed.
        * fast/dom/Range/resources/range-insertNode-splittext.js: Removed.
        * fast/dom/Range/resources/range-modifycontents.js: Removed.
        * fast/dom/Range/script-tests: Added.
        * fast/dom/Range/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Range/resources/TEMPLATE.html.
        * fast/dom/Range/script-tests/mutation.js: Copied from LayoutTests/fast/dom/Range/resources/mutation.js.
        * fast/dom/Range/script-tests/range-clone-empty.js: Copied from LayoutTests/fast/dom/Range/resources/range-clone-empty.js.
        * fast/dom/Range/script-tests/range-exceptions.js: Copied from LayoutTests/fast/dom/Range/resources/range-exceptions.js.
        * fast/dom/Range/script-tests/range-insertNode-separate-endContainer.js: Copied from LayoutTests/fast/dom/Range/resources/range-insertNode-separate-endContainer.js.
        * fast/dom/Range/script-tests/range-insertNode-splittext.js: Copied from LayoutTests/fast/dom/Range/resources/range-insertNode-splittext.js.
        * fast/dom/Range/script-tests/range-modifycontents.js: Copied from LayoutTests/fast/dom/Range/resources/range-modifycontents.js.
        * fast/dom/Selection/getRangeAt.html:
        * fast/dom/Selection/resources/TEMPLATE.html: Removed.
        * fast/dom/Selection/resources/getRangeAt.js: Removed.
        * fast/dom/Selection/script-tests: Added.
        * fast/dom/Selection/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Selection/resources/TEMPLATE.html.
        * fast/dom/Selection/script-tests/getRangeAt.js: Copied from LayoutTests/fast/dom/Selection/resources/getRangeAt.js.
        * fast/dom/SelectorAPI/detached-element.html:
        * fast/dom/SelectorAPI/elementRoot.html:
        * fast/dom/SelectorAPI/id-fastpath.html:
        * fast/dom/SelectorAPI/resources/TEMPLATE.html: Removed.
        * fast/dom/SelectorAPI/resources/detached-element.js: Removed.
        * fast/dom/SelectorAPI/resources/elementRoot.js: Removed.
        * fast/dom/SelectorAPI/resources/id-fastpath.js: Removed.
        * fast/dom/SelectorAPI/resources/undefined-null-stringify.js: Removed.
        * fast/dom/SelectorAPI/resources/viewless-document.js: Removed.
        * fast/dom/SelectorAPI/script-tests: Added.
        * fast/dom/SelectorAPI/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/SelectorAPI/resources/TEMPLATE.html.
        * fast/dom/SelectorAPI/script-tests/detached-element.js: Copied from LayoutTests/fast/dom/SelectorAPI/resources/detached-element.js.
        * fast/dom/SelectorAPI/script-tests/elementRoot.js: Copied from LayoutTests/fast/dom/SelectorAPI/resources/elementRoot.js.
        * fast/dom/SelectorAPI/script-tests/id-fastpath.js: Copied from LayoutTests/fast/dom/SelectorAPI/resources/id-fastpath.js.
        * fast/dom/SelectorAPI/script-tests/undefined-null-stringify.js: Copied from LayoutTests/fast/dom/SelectorAPI/resources/undefined-null-stringify.js.
        * fast/dom/SelectorAPI/script-tests/viewless-document.js: Copied from LayoutTests/fast/dom/SelectorAPI/resources/viewless-document.js.
        * fast/dom/SelectorAPI/undefined-null-stringify.html:
        * fast/dom/SelectorAPI/viewless-document.html:
        * fast/dom/Text/replaceWholeText.html:
        * fast/dom/Text/resources/TEMPLATE.html: Removed.
        * fast/dom/Text/resources/replaceWholeText.js: Removed.
        * fast/dom/Text/script-tests: Added.
        * fast/dom/Text/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Text/resources/TEMPLATE.html.
        * fast/dom/Text/script-tests/replaceWholeText.js: Copied from LayoutTests/fast/dom/Text/resources/replaceWholeText.js.
        * fast/dom/Window/HTMLBodyElement-window-eventListener-attributes.html:
        * fast/dom/Window/HTMLFrameSetElement-window-eventListener-attributes.html:
        * fast/dom/Window/dispatchEvent.html:
        * fast/dom/Window/resources/HTMLBodyElement-window-eventListener-attributes.js: Removed.
        * fast/dom/Window/resources/HTMLFrameSetElement-window-eventListener-attributes.js: Removed.
        * fast/dom/Window/resources/TEMPLATE.html: Removed.
        * fast/dom/Window/resources/dispatchEvent.js: Removed.
        * fast/dom/Window/resources/window-custom-prototype.js: Removed.
        * fast/dom/Window/script-tests: Added.
        * fast/dom/Window/script-tests/HTMLBodyElement-window-eventListener-attributes.js: Copied from LayoutTests/fast/dom/Window/resources/HTMLBodyElement-window-eventListener-attributes.js.
        * fast/dom/Window/script-tests/HTMLFrameSetElement-window-eventListener-attributes.js: Copied from LayoutTests/fast/dom/Window/resources/HTMLFrameSetElement-window-eventListener-attributes.js.
        * fast/dom/Window/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Window/resources/TEMPLATE.html.
        * fast/dom/Window/script-tests/dispatchEvent.js: Copied from LayoutTests/fast/dom/Window/resources/dispatchEvent.js.
        * fast/dom/Window/script-tests/window-custom-prototype.js: Copied from LayoutTests/fast/dom/Window/resources/window-custom-prototype.js.
        * fast/dom/Window/window-custom-prototype.html:
        * fast/dom/constructed-objects-prototypes.html:
        * fast/dom/constructors-cached.html:
        * fast/dom/css-RGBValue.html:
        * fast/dom/domListEnumeration.html:
        * fast/dom/event-attribute-availability.html:
        * fast/dom/javascript-url-exception-isolation.html:
        * fast/dom/location-new-window-no-crash.html:
        * fast/dom/non-numeric-values-numeric-parameters.html:
        * fast/dom/prototype-inheritance-2.html:
        * fast/dom/prototype-inheritance.html:
        * fast/dom/resources/TEMPLATE.html: Removed.
        * fast/dom/resources/constructed-objects-prototypes.js: Removed.
        * fast/dom/resources/constructors-cached.js: Removed.
        * fast/dom/resources/css-RGBValue.js: Removed.
        * fast/dom/resources/domListEnumeration.js: Removed.
        * fast/dom/resources/event-attribute-availability.js: Removed.
        * fast/dom/resources/javascript-url-exception-isolation.js: Removed.
        * fast/dom/resources/location-new-window-no-crash.js: Removed.
        * fast/dom/resources/non-numeric-values-numeric-parameters.js: Removed.
        * fast/dom/resources/prototype-inheritance-2.js: Removed.
        * fast/dom/resources/prototype-inheritance.js: Removed.
        * fast/dom/script-tests: Added.
        * fast/dom/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/resources/TEMPLATE.html.
        * fast/dom/script-tests/constructed-objects-prototypes.js: Copied from LayoutTests/fast/dom/resources/constructed-objects-prototypes.js.
        * fast/dom/script-tests/constructors-cached.js: Copied from LayoutTests/fast/dom/resources/constructors-cached.js.
        * fast/dom/script-tests/css-RGBValue.js: Copied from LayoutTests/fast/dom/resources/css-RGBValue.js.
        * fast/dom/script-tests/domListEnumeration.js: Copied from LayoutTests/fast/dom/resources/domListEnumeration.js.
        * fast/dom/script-tests/event-attribute-availability.js: Copied from LayoutTests/fast/dom/resources/event-attribute-availability.js.
        * fast/dom/script-tests/javascript-url-exception-isolation.js: Copied from LayoutTests/fast/dom/resources/javascript-url-exception-isolation.js.
        * fast/dom/script-tests/location-new-window-no-crash.js: Copied from LayoutTests/fast/dom/resources/location-new-window-no-crash.js.
        * fast/dom/script-tests/non-numeric-values-numeric-parameters.js: Copied from LayoutTests/fast/dom/resources/non-numeric-values-numeric-parameters.js.
        * fast/dom/script-tests/prototype-inheritance-2.js: Copied from LayoutTests/fast/dom/resources/prototype-inheritance-2.js.
        * fast/dom/script-tests/prototype-inheritance.js: Copied from LayoutTests/fast/dom/resources/prototype-inheritance.js.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48551 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 08:35:22 +0000 (08:35 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for fast/canvas and fast/css directories.

        * fast/canvas/canvas-copyPixels.html:
        * fast/canvas/canvas-gradient-addStop-error.html:
        * fast/canvas/canvas-gradient-without-path.html:
        * fast/canvas/canvas-modify-emptyPath.html:
        * fast/canvas/canvas-set-properties-with-non-invertible-ctm.html:
        * fast/canvas/canvas-setTransform.html:
        * fast/canvas/canvas-strokeRect.html:
        * fast/canvas/canvas-transparency-and-composite.html:
        * fast/canvas/gradient-addColorStop-with-invalid-color.html:
        * fast/canvas/gradient-with-clip.html:
        * fast/canvas/linearGradient-infinite-values.html:
        * fast/canvas/pattern-with-transform.html:
        * fast/canvas/radialGradient-infinite-values.html:
        * fast/canvas/resources/TEMPLATE.html: Removed.
        * fast/canvas/resources/canvas-copyPixels.js: Removed.
        * fast/canvas/resources/canvas-gradient-addStop-error.js: Removed.
        * fast/canvas/resources/canvas-gradient-without-path.js: Removed.
        * fast/canvas/resources/canvas-modify-emptyPath.js: Removed.
        * fast/canvas/resources/canvas-set-properties-with-non-invertible-ctm.js: Removed.
        * fast/canvas/resources/canvas-setTransform.js: Removed.
        * fast/canvas/resources/canvas-strokeRect.js: Removed.
        * fast/canvas/resources/canvas-transparency-and-composite.js: Removed.
        * fast/canvas/resources/gradient-addColorStop-with-invalid-color.js: Removed.
        * fast/canvas/resources/gradient-with-clip.js: Removed.
        * fast/canvas/resources/linearGradient-infinite-values.js: Removed.
        * fast/canvas/resources/pattern-with-transform.js: Removed.
        * fast/canvas/resources/radialGradient-infinite-values.js: Removed.
        * fast/canvas/resources/set-colors.js: Removed.
        * fast/canvas/resources/translate-text.js: Removed.
        * fast/canvas/script-tests: Added.
        * fast/canvas/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/canvas/resources/TEMPLATE.html.
        * fast/canvas/script-tests/canvas-copyPixels.js: Copied from LayoutTests/fast/canvas/resources/canvas-copyPixels.js.
        * fast/canvas/script-tests/canvas-gradient-addStop-error.js: Copied from LayoutTests/fast/canvas/resources/canvas-gradient-addStop-error.js.
        * fast/canvas/script-tests/canvas-gradient-without-path.js: Copied from LayoutTests/fast/canvas/resources/canvas-gradient-without-path.js.
        * fast/canvas/script-tests/canvas-modify-emptyPath.js: Copied from LayoutTests/fast/canvas/resources/canvas-modify-emptyPath.js.
        * fast/canvas/script-tests/canvas-set-properties-with-non-invertible-ctm.js: Copied from LayoutTests/fast/canvas/resources/canvas-set-properties-with-non-invertible-ctm.js.
        * fast/canvas/script-tests/canvas-setTransform.js: Copied from LayoutTests/fast/canvas/resources/canvas-setTransform.js.
        * fast/canvas/script-tests/canvas-strokeRect.js: Copied from LayoutTests/fast/canvas/resources/canvas-strokeRect.js.
        * fast/canvas/script-tests/canvas-transparency-and-composite.js: Copied from LayoutTests/fast/canvas/resources/canvas-transparency-and-composite.js.
        * fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js: Copied from LayoutTests/fast/canvas/resources/gradient-addColorStop-with-invalid-color.js.
        * fast/canvas/script-tests/gradient-with-clip.js: Copied from LayoutTests/fast/canvas/resources/gradient-with-clip.js.
        * fast/canvas/script-tests/linearGradient-infinite-values.js: Copied from LayoutTests/fast/canvas/resources/linearGradient-infinite-values.js.
        * fast/canvas/script-tests/pattern-with-transform.js: Copied from LayoutTests/fast/canvas/resources/pattern-with-transform.js.
        * fast/canvas/script-tests/radialGradient-infinite-values.js: Copied from LayoutTests/fast/canvas/resources/radialGradient-infinite-values.js.
        * fast/canvas/script-tests/set-colors.js: Copied from LayoutTests/fast/canvas/resources/set-colors.js.
        * fast/canvas/script-tests/translate-text.js: Copied from LayoutTests/fast/canvas/resources/translate-text.js.
        * fast/canvas/set-colors.html:
        * fast/canvas/translate-text.html:
        * fast/css/getComputedStyle/computed-style-font-family-monospace.html:
        * fast/css/getComputedStyle/font-family-fallback-reset.html:
        * fast/css/getComputedStyle/getComputedStyle-text-decoration.html:
        * fast/css/getComputedStyle/resources/TEMPLATE.html: Removed.
        * fast/css/getComputedStyle/resources/computed-style-font-family-monospace.js: Removed.
        * fast/css/getComputedStyle/resources/font-family-fallback-reset.js: Removed.
        * fast/css/getComputedStyle/resources/getComputedStyle-text-decoration.js: Removed.
        * fast/css/getComputedStyle/script-tests: Added.
        * fast/css/getComputedStyle/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/css/getComputedStyle/resources/TEMPLATE.html.
        * fast/css/getComputedStyle/script-tests/computed-style-font-family-monospace.js: Copied from LayoutTests/fast/css/getComputedStyle/resources/computed-style-font-family-monospace.js.
        * fast/css/getComputedStyle/script-tests/font-family-fallback-reset.js: Copied from LayoutTests/fast/css/getComputedStyle/resources/font-family-fallback-reset.js.
        * fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js: Copied from LayoutTests/fast/css/getComputedStyle/resources/getComputedStyle-text-decoration.js.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48550 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 07:30:19 +0000 (07:30 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for editing directory.

        * editing/inserting/font-size-clears-from-typing-style.html:
        * editing/inserting/resources/TEMPLATE.html: Removed.
        * editing/inserting/resources/font-size-clears-from-typing-style.js: Removed.
        * editing/inserting/script-tests: Added.
        * editing/inserting/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/inserting/resources/TEMPLATE.html.
        * editing/inserting/script-tests/font-size-clears-from-typing-style.js: Copied from LayoutTests/editing/inserting/resources/font-size-clears-from-typing-style.js.
        * editing/pasteboard/file-input-files-access.html:
        * editing/pasteboard/files-during-page-drags.html:
        * editing/pasteboard/get-data-text-plain-paste.html:
        * editing/pasteboard/resources/TEMPLATE.html: Removed.
        * editing/pasteboard/resources/file-input-files-access.js: Removed.
        * editing/pasteboard/resources/files-during-page-drags.js: Removed.
        * editing/pasteboard/resources/get-data-text-plain-paste.js: Removed.
        * editing/pasteboard/script-tests: Added.
        * editing/pasteboard/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/pasteboard/resources/TEMPLATE.html.
        * editing/pasteboard/script-tests/file-input-files-access.js: Copied from LayoutTests/editing/pasteboard/resources/file-input-files-access.js.
        * editing/pasteboard/script-tests/files-during-page-drags.js: Copied from LayoutTests/editing/pasteboard/resources/files-during-page-drags.js.
        * editing/pasteboard/script-tests/get-data-text-plain-paste.js: Copied from LayoutTests/editing/pasteboard/resources/get-data-text-plain-paste.js.
        * editing/selection/click-in-margins-inside-editable-div.html:
        * editing/selection/click-in-padding-with-multiple-line-boxes.html:
        * editing/selection/click-outside-editable-div.html:
        * editing/selection/resources/TEMPLATE.html: Removed.
        * editing/selection/resources/click-in-margins-inside-editable-div.js: Removed.
        * editing/selection/resources/click-in-padding-with-multiple-line-boxes.js: Removed.
        * editing/selection/resources/click-outside-editable-div.js: Removed.
        * editing/selection/script-tests: Added.
        * editing/selection/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/selection/resources/TEMPLATE.html.
        * editing/selection/script-tests/click-in-margins-inside-editable-div.js: Copied from LayoutTests/editing/selection/resources/click-in-margins-inside-editable-div.js.
        * editing/selection/script-tests/click-in-padding-with-multiple-line-boxes.js: Copied from LayoutTests/editing/selection/resources/click-in-padding-with-multiple-line-boxes.js.
        * editing/selection/script-tests/click-outside-editable-div.js: Copied from LayoutTests/editing/selection/resources/click-outside-editable-div.js.
        * editing/style/resources/TEMPLATE.html: Removed.
        * editing/style/resources/text-decoration-state.js: Removed.
        * editing/style/script-tests: Added.
        * editing/style/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/style/resources/TEMPLATE.html.
        * editing/style/script-tests/text-decoration-state.js: Copied from LayoutTests/editing/style/resources/text-decoration-state.js.
        * editing/style/text-decoration-state.html:
        * editing/text-iterator/basic-iteration.html:
        * editing/text-iterator/resources/TEMPLATE.html: Removed.
        * editing/text-iterator/resources/basic-iteration.js: Removed.
        * editing/text-iterator/script-tests: Added.
        * editing/text-iterator/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/text-iterator/resources/TEMPLATE.html.
        * editing/text-iterator/script-tests/basic-iteration.js: Copied from LayoutTests/editing/text-iterator/resources/basic-iteration.js.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48549 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 07:22:01 +0000 (07:22 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Attempt to split the huge patch as I failed to commit it...

        * editing/execCommand/break-out-of-empty-list-item.html:
        * editing/execCommand/convert-style-elements-to-spans.html:
        * editing/execCommand/empty-span-removal.html:
        * editing/execCommand/enabling-and-selection-2.html:
        * editing/execCommand/enabling-and-selection.html:
        * editing/execCommand/inline-style-after-indentoutdent.html:
        * editing/execCommand/resources/TEMPLATE.html: Removed.
        * editing/execCommand/resources/break-out-of-empty-list-item.js: Removed.
        * editing/execCommand/resources/convert-style-elements-to-spans.js: Removed.
        * editing/execCommand/resources/empty-span-removal.js: Removed.
        * editing/execCommand/resources/enabling-and-selection-2.js: Removed.
        * editing/execCommand/resources/enabling-and-selection.js: Removed.
        * editing/execCommand/resources/inline-style-after-indentoutdent.js: Removed.
        * editing/execCommand/resources/toggle-compound-styles.js: Removed.
        * editing/execCommand/resources/toggle-style-2.js: Removed.
        * editing/execCommand/resources/toggle-styles.js: Removed.
        * editing/execCommand/resources/toggle-text-decorations.js: Removed.
        * editing/execCommand/script-tests: Added.
        * editing/execCommand/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/execCommand/resources/TEMPLATE.html.
        * editing/execCommand/script-tests/break-out-of-empty-list-item.js: Copied from LayoutTests/editing/execCommand/resources/break-out-of-empty-list-item.js.
        * editing/execCommand/script-tests/convert-style-elements-to-spans.js: Copied from LayoutTests/editing/execCommand/resources/convert-style-elements-to-spans.js.
        * editing/execCommand/script-tests/empty-span-removal.js: Copied from LayoutTests/editing/execCommand/resources/empty-span-removal.js.
        * editing/execCommand/script-tests/enabling-and-selection-2.js: Copied from LayoutTests/editing/execCommand/resources/enabling-and-selection-2.js.
        * editing/execCommand/script-tests/enabling-and-selection.js: Copied from LayoutTests/editing/execCommand/resources/enabling-and-selection.js.
        * editing/execCommand/script-tests/inline-style-after-indentoutdent.js: Copied from LayoutTests/editing/execCommand/resources/inline-style-after-indentoutdent.js.
        * editing/execCommand/script-tests/toggle-compound-styles.js: Copied from LayoutTests/editing/execCommand/resources/toggle-compound-styles.js.
        * editing/execCommand/script-tests/toggle-style-2.js: Copied from LayoutTests/editing/execCommand/resources/toggle-style-2.js.
        * editing/execCommand/script-tests/toggle-styles.js: Copied from LayoutTests/editing/execCommand/resources/toggle-styles.js.
        * editing/execCommand/script-tests/toggle-text-decorations.js: Copied from LayoutTests/editing/execCommand/resources/toggle-text-decorations.js.
        * editing/execCommand/toggle-compound-styles.html:
        * editing/execCommand/toggle-style-2.html:
        * editing/execCommand/toggle-styles.html:
        * editing/execCommand/toggle-text-decorations.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48548 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 19 Sep 2009 03:46:03 +0000 (03:46 +0000)]
2009-09-18  Simon Fraser  <simon.fraser@apple.com>

        Fix stylistic issue raised in code review for previous commit.

        * rendering/RenderLayerBacking.cpp:
        (WebCore::hasNonZeroTransformOrigin):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48547 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 19 Sep 2009 03:44:10 +0000 (03:44 +0000)]
2009-09-18  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Element is misplaced during opacity transition with certain configuration of transform-origin and clipping
        https://bugs.webkit.org/show_bug.cgi?id=29495

        If an element has zero size, but has a transform origin with absolute values,
        then the transform origin would not be applied because it is implemented via
        anchorPoint, which is expressed as a fraction of the layer size.

        Work around this by artificially inflating the size of the backing store when we need to.

        Test: compositing/geometry/transfrom-origin-on-zero-size-layer.html

        * rendering/RenderLayerBacking.h:
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::RenderLayerBacking):
        Init m_artificiallyInflatedBounds to false.

        (WebCore::hasNonZeroTransformOrigin):
        Utility function that describes whether the transform-origin contains non-percentage
        x or y offsets.

        (WebCore::RenderLayerBacking::updateCompositedBounds):
        New wrapper method around setCompositedBounds() that applies the size inflation
        when necessary, setting the m_artificiallyInflatedBounds as appropriate.

        (WebCore::RenderLayerBacking::updateAfterLayout): Call updateCompositedBounds().
        (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): Ditto

        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree): Ditto
        (WebCore::RenderLayerCompositor::updateCompositingDescendantGeometry): Ditto

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48546 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=29512
antti@apple.com [Sat, 19 Sep 2009 01:19:04 +0000 (01:19 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=29512
Don't recalculate style when restoring from the page cache

Patch by Antti Koivisto <antti@apple.com> on 2009-09-18
Reviewed by Maciej Stachowiak.

FrameLoaderClient::forceLayout() also forces style recalc. Instead call FrameView::forceLayout()
directly to update the scrollbars while keeping the existing style.

Makes back/forward really fast on complex pages (in cases where page cache works).

* loader/FrameLoader.cpp:
(WebCore::FrameLoader::commitProvisionalLoad):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48545 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agowx build fixes. Fix the config name under git and allow users to specify
kevino@webkit.org [Sat, 19 Sep 2009 00:21:40 +0000 (00:21 +0000)]
wx build fixes. Fix the config name under git and allow users to specify
their own waf install for experimenting with new versions.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48544 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoREGRESSION: fast/workers/worker-cloneport.html failing intermttently on leopard bot
atwilson@chromium.org [Sat, 19 Sep 2009 00:18:46 +0000 (00:18 +0000)]
REGRESSION: fast/workers/worker-cloneport.html failing intermttently on leopard bot
https://bugs.webkit.org/show_bug.cgi?id=29341

Reviewed by Eric Seidel.

* fast/workers/worker-cloneport-expected.txt:
Updated to reflect new output (lower clone count threshold).
* fast/workers/worker-cloneport.html:
Updated test to have a more lenient performance requirement and timeout, to address flakiness on Leopard and Chromium.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48543 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoImplement ES5 Object.defineProperty function
oliver@apple.com [Fri, 18 Sep 2009 23:12:03 +0000 (23:12 +0000)]
Implement ES5 Object.defineProperty function
https://bugs.webkit.org/show_bug.cgi?id=29503

Reviewed by Geoff Garen

Implement Object.defineProperty.  This requires adding the API to
ObjectConstructor, along with a helper function that implements the
ES5 internal [[ToPropertyDescriptor]] function.  It then adds
JSObject::defineOwnProperty that implements the appropriate ES5 semantics.
Currently defineOwnProperty uses a delete followed by a put to redefine
attributes of a property, clearly this is less efficient than it could be
but we can improve this if it needs to be possible in future.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48542 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoSpeculative fix for:
beidson@apple.com [Fri, 18 Sep 2009 22:25:23 +0000 (22:25 +0000)]
Speculative fix for:
https://bugs.webkit.org/show_bug.cgi?id=29322
and
https://bugs.webkit.org/show_bug.cgi?id=29505

Reviewed by Alexey Proskuryakov.

Adding a "Connection: close" header might make the tests work more reliably,
and doesn't seem to make anything worse: They all continue to pass on my machine!

* http/tests/loading/resources/basic-auth-testing.php:
* http/tests/loading/resources/othersubresources/protected-resource.php:
* http/tests/loading/resources/protected-resource.php:
* http/tests/loading/resources/subresources/protected-resource.php:
* http/tests/xmlhttprequest/resources/cross-origin-authorization.php:
* http/tests/xmlhttprequest/resources/cross-origin-check-cookies.php:
* http/tests/xmlhttprequest/resources/cross-origin-no-authorization.php:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48541 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Darin Adler.
ap@apple.com [Fri, 18 Sep 2009 22:24:50 +0000 (22:24 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=29510
        Active DOM objects should be suspended while a modal dialog is displayed

        * manual-tests/js-timers-beneath-modal-dialog.html: Added a test for JS timers.

        * page/PageGroupLoadDeferrer.cpp:
        (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
        (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer):
        Match other platforms, and make Mac also suspend active DOM objects. Since a page that
        currently displays a modal dialog cannot go into page cache, there is no danger of suspending
        an object twice.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48540 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Alpha Lam <hclam@chromium.org>
eric@webkit.org [Fri, 18 Sep 2009 22:20:01 +0000 (22:20 +0000)]
2009-09-18  Alpha Lam  <hclam@chromium.org>

        Reviewed by Eric Carlson.

        Media layout tests should have a way to provide test files in different formats
        https://bugs.webkit.org/show_bug.cgi?id=28327

        Updating 25 media layout tests to use media files based on supported codecs.

        * media/progress-event-at-least-one.html: Use findMediaFile() to locate a supported media file.
        * media/video-pause-empty-events.html: ditto.
        * media/video-play-empty-events.html: ditto.
        * media/video-play-pause-events.html: ditto.
        * media/video-played-collapse.html: ditto.
        * media/video-played-ranges-1.html: ditto.
        * media/video-played-reset.html: ditto.
        * media/video-played.js: ditto.
        (videoPlayedMain):
        * media/video-seek-past-end-paused.html: ditto.
        * media/video-seek-past-end-playing.html: ditto.
        * media/video-seekable.html: ditto.
        * media/video-seeking.html: ditto.
        * media/video-size.html: ditto.
        * media/video-source-error.html: ditto.
        * media/video-source-type-params.html: ditto.
        * media/video-source-type.html: ditto.
        * media/video-source.html: ditto.
        * media/video-src-change.html: ditto.
        * media/video-src-invalid-remove.html: ditto.
        * media/video-src-remove.html: ditto. Use counting.mp4 instead of silence.mpg.
        * media/video-src-remove-expected.txt: Updated results.
        * media/video-src-set.html: ditto.
        * media/video-src-source.html: ditto.
        * media/video-src.html: ditto.
        * media/video-timeupdate-during-playback.html: ditto.
        * media/video-volume.html: ditto.
        * media/video-zoom.html: ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48539 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
eric@webkit.org [Fri, 18 Sep 2009 22:12:14 +0000 (22:12 +0000)]
2009-09-18  Csaba Osztrogonac  <oszi@inf.u-szeged.hu>

        Reviewed by Eric Seidel.

        [Qt] Buildfix caused by http://trac.webkit.org/changeset/48513
        https://bugs.webkit.org/show_bug.cgi?id=29351

        * bridge/qt/qt_instance.h: createRuntimeObject method renamed to newRuntimeObject.
        * bridge/runtime.h: Visibility of newRuntimeObject method modified to protected.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48538 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAdd failing tests to the skipped list.
andersca@apple.com [Fri, 18 Sep 2009 22:04:04 +0000 (22:04 +0000)]
Add failing tests to the skipped list.

* platform/mac-snowleopard/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48537 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Yury Semikhatsky <yurys@chromium.org>
eric@webkit.org [Fri, 18 Sep 2009 21:58:39 +0000 (21:58 +0000)]
2009-09-18  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Timothy Hatcher.

        Fix parameter substitutions in console.log().

        https://bugs.webkit.org/show_bug.cgi?id=29366

        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleMessage.prototype._format):
        * inspector/front-end/InjectedScript.js:
        (InjectedScript.getPrototypes):
        (InjectedScript.CallFrameProxy.prototype._wrapScopeChain):
        * inspector/front-end/utilities.js:
        ():

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48536 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoVersioning.
mrowe@apple.com [Fri, 18 Sep 2009 21:39:42 +0000 (21:39 +0000)]
Versioning.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48535 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoTemporarily remove an assertion that was getting hit when going
weinig@apple.com [Fri, 18 Sep 2009 21:34:54 +0000 (21:34 +0000)]
Temporarily remove an assertion that was getting hit when going
back to a page in the page cache while a banner in Safari was visible.
We should re-enable this once that is fixed. See <rdar://problem/7218118>

Reviewed by Geoffrey Garen and Brady Eidson.

* page/FrameView.cpp:
(WebCore::FrameView::scheduleRelayout):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48533 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoTry fixing the build again.
andersca@apple.com [Fri, 18 Sep 2009 21:28:40 +0000 (21:28 +0000)]
Try fixing the build again.

* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenu::wndProc):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48532 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFix windows build.
andersca@apple.com [Fri, 18 Sep 2009 21:23:55 +0000 (21:23 +0000)]
Fix windows build.

* platform/win/PopupMenuWin.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48531 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoConvert another callback type object to store the global object
weinig@apple.com [Fri, 18 Sep 2009 20:56:37 +0000 (20:56 +0000)]
Convert another callback type object to store the global object
instead of the frame.

Reviewed by Gavin 'BearClaw' Barraclough.

* bindings/js/JSCustomXPathNSResolver.cpp:
(WebCore::JSCustomXPathNSResolver::create):
(WebCore::JSCustomXPathNSResolver::JSCustomXPathNSResolver):
(WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
* bindings/js/JSCustomXPathNSResolver.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48530 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=29332
andersca@apple.com [Fri, 18 Sep 2009 20:52:01 +0000 (20:52 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=29332
<rdar://problem/7231652>
REGRESSION (r48446): While a <select> popup menu is open, the
rest of the WebView doesn't respond to mouse move events.

Reviewed by Sam Weinig.

* platform/win/PopupMenuWin.cpp:
(WebCore::translatePoint):
New helper function that translates a point between HWND coordinates.

(WebCore::PopupMenu::show):
Protect the PopupMenu if someone removes the <select> in response to a mouse
event. Handle WM_HOST_WINDOW_MOUSEMOVE events.

(WebCore::PopupMenu::wndProc):
in the WM_MOUSEMOVE handler, if the mouse is not over the popup, post a
WM_HOST_WINDOW_MOUSEMOVE event so that the host window (the WebView) gets the
mouse move event.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48529 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Norbert Leser <norbert.leser@nokia.com>
eric@webkit.org [Fri, 18 Sep 2009 20:49:10 +0000 (20:49 +0000)]
2009-09-18  Norbert Leser  <norbert.leser@nokia.com>

        Reviewed by Eric Seidel.

        Corrected the Symbian specific UID3 values to be assigned
        from the "unprotected" pool that permits self-signing of
        those test and demo executables. (Added new UID3 values
        where they were missing for new components.)

        * QGVLauncher/QGVLauncher.pro:
        * QtLauncher/QtLauncher.pro:
        * tests/benchmarks/loading/tst_loading.pro:
        * tests/benchmarks/painting/tst_painting.pro:
        * tests/qwebelement/qwebelement.pro:
        * tests/qwebframe/qwebframe.pro:
        * tests/qwebhistory/qwebhistory.pro:
        * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
        * tests/qwebpage/qwebpage.pro:
        * tests/qwebplugindatabase/qwebplugindatabase.pro:
        * tests/qwebview/qwebview.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48528 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Gabor Loki <loki@inf.u-szeged.hu>
barraclough@apple.com [Fri, 18 Sep 2009 20:35:30 +0000 (20:35 +0000)]
2009-09-18  Gabor Loki  <loki@inf.u-szeged.hu>

        Reviewed by Gavin Barraclough.

        Build fix to enable ARM_THUMB2 on Linux
        https://bugs.webkit.org/show_bug.cgi?id=

        * jit/ExecutableAllocator.h:
        (JSC::ExecutableAllocator::cacheFlush):
        * jit/JITStubs.cpp:
        * wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48527 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 18 Sep 2009 20:30:32 +0000 (20:30 +0000)]
2009-09-18  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt.

        Compositing layers are incorrectly positioned after scrolling with position:fixed
        https://bugs.webkit.org/show_bug.cgi?id=29262

        When scrolling a page with compositing layers inside a position:fixed element,
        we need to update the compositing layer positions when the scroll position changes.

        Test: compositing/geometry/fixed-position.html

        * WebCore.base.exp:
        Export FrameView::scrollPositionChanged()

        * page/FrameView.h:
        * page/FrameView.cpp:
        (WebCore::FrameView::scrollPositionChanged):
        New method that sends the scroll event, and updates compositing layers positions if necessary.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48526 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Gabor Loki <loki@inf.u-szeged.hu>
barraclough@apple.com [Fri, 18 Sep 2009 20:18:27 +0000 (20:18 +0000)]
2009-09-18  Gabor Loki  <loki@inf.u-szeged.hu>

        Reviewed by Gavin Barraclough.

        Defines two pseudo-platforms for ARM and Thumb-2 instruction set.
        https://bugs.webkit.org/show_bug.cgi?id=29122

        Introduces WTF_PLATFORM_ARM_TRADITIONAL and WTF_PLATFORM_ARM_THUMB2
        macros on ARM platforms. The PLATFORM(ARM_THUMB2) should be used
        when Thumb-2 instruction set is the required target. The
        PLATFORM(ARM_TRADITIONAL) is for generic ARM instruction set. In
        case where the code is common the PLATFORM(ARM) have to be used.

        * assembler/ARMAssembler.cpp:
        * assembler/ARMAssembler.h:
        * assembler/ARMv7Assembler.h:
        * assembler/MacroAssembler.h:
        * assembler/MacroAssemblerARM.cpp:
        * assembler/MacroAssemblerARM.h:
        * assembler/MacroAssemblerCodeRef.h:
        (JSC::MacroAssemblerCodePtr::MacroAssemblerCodePtr):
        * jit/ExecutableAllocator.h:
        * jit/JIT.h:
        * jit/JITInlineMethods.h:
        (JSC::JIT::beginUninterruptedSequence):
        (JSC::JIT::preserveReturnAddressAfterCall):
        (JSC::JIT::restoreReturnAddressBeforeReturn):
        (JSC::JIT::restoreArgumentReference):
        (JSC::JIT::restoreArgumentReferenceForTrampoline):
        * jit/JITOpcodes.cpp:
        * jit/JITStubs.cpp:
        (JSC::JITThunks::JITThunks):
        * jit/JITStubs.h:
        * wtf/Platform.h:
        * yarr/RegexJIT.cpp:
        (JSC::Yarr::RegexGenerator::generateEnter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48525 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 18 Sep 2009 20:15:15 +0000 (20:15 +0000)]
2009-09-18  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt.

        Transformed elements inside position:fixed container are clipped incorrectly
        https://bugs.webkit.org/show_bug.cgi?id=29346

        Fix clipping and hit testing on transformed elements inside a position:fixed element.
        Previously, the code used the overflowClipRect of the parent clip rects, but
        this is not correct for fixed postion elements. Instead, share code that is
        already present in calculateRects() to get the correct rect.

        Test: fast/overflow/position-fixed-transform-clipping.html

        * rendering/RenderLayer.h:
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::paintLayer):
        (WebCore::RenderLayer::hitTestLayer):
        Call the new backgroundClipRect() to get the correct clipRect.

        (WebCore::RenderLayer::backgroundClipRect):
        New method, factored out of calculateRects(), that computes the clip rect,
        doing the right thing for fixed position elements.

        (WebCore::RenderLayer::calculateRects):
        Call the new backgroundClipRect() method.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48524 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoUpdated test result for <rdar://problem/7050773>
mitz@apple.com [Fri, 18 Sep 2009 19:41:59 +0000 (19:41 +0000)]
Updated test result for <rdar://problem/7050773>

* platform/mac/accessibility/document-attributes-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48523 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Alex Milowski <alex@milowski.com>
eric@webkit.org [Fri, 18 Sep 2009 19:06:13 +0000 (19:06 +0000)]
2009-09-18  Alex Milowski  <alex@milowski.com>

        Reviewed by Maciej Stachowiak.

        Added checkWebCoreMathMLSupport and hasMathMLSupport to support
        checking for whether MathML tests should be run

        * Scripts/run-webkit-tests:
        * Scripts/webkitdirs.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48522 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore: Fix <rdar://problem/7050773> REGRESSION (r40098) Crash at
mitz@apple.com [Fri, 18 Sep 2009 19:00:28 +0000 (19:00 +0000)]
WebCore: Fix <rdar://problem/7050773> REGRESSION (r40098) Crash at
WebCore::RenderBlock::layoutBlock()
https://bugs.webkit.org/show_bug.cgi?id=29498

Reviewed by Darin Adler.

Test: accessibility/nested-layout-crash.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::updateBackingStore): Changed to
    call Document::updateLayoutIgnorePendingStylesheets() instead of
    calling RenderObject::layoutIfNeeded(). The latter requires that
    there be no pending style recalc, which allows methods that call
    Document::updateLayout() to be called during layout without risking
    re-entry into layout.
* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper accessibilityActionNames]): Null-check
    m_object after calling updateBackingStore(), since style recalc may
    destroy the renderer, which destroys the accessibility object and
    detaches it from the wrapper.
(-[AccessibilityObjectWrapper accessibilityAttributeNames]): Ditto.
(-[AccessibilityObjectWrapper accessibilityAttributeValue:]): Ditto.
(-[AccessibilityObjectWrapper accessibilityFocusedUIElement]): Ditto.
(-[AccessibilityObjectWrapper accessibilityHitTest:]): Ditto.
(-[AccessibilityObjectWrapper accessibilityIsAttributeSettable:]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityIsIgnored]): Ditto.
(-[AccessibilityObjectWrapper accessibilityParameterizedAttributeNames]):
     Ditto.
(-[AccessibilityObjectWrapper accessibilityPerformPressAction]): Ditto.
(-[AccessibilityObjectWrapper accessibilityPerformIncrementAction]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityPerformDecrementAction]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityPerformAction:]): Ditto.
(-[AccessibilityObjectWrapper accessibilitySetValue:forAttribute:]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityIndexOfChild:]): Ditto.
(-[AccessibilityObjectWrapper accessibilityArrayAttributeCount:]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityArrayAttributeValues:index:maxCount:]):
    Ditto.

LayoutTests: Test for <rdar://problem/7050773> REGRESSION (r40098) Crash at
WebCore::RenderBlock::layoutBlock()
https://bugs.webkit.org/show_bug.cgi?id=29498

Reviewed by Darin Adler.

* accessibility/nested-layout-crash-expected.txt: Added.
* accessibility/nested-layout-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48521 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Fumitoshi Ukai <ukai@chromium.org>
eric@webkit.org [Fri, 18 Sep 2009 18:57:13 +0000 (18:57 +0000)]
2009-09-18  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Simon Hausmann.

        Update Qt build system for Web Socket.
        https://bugs.webkit.org/show_bug.cgi?id=29270

        * WebCore.pro:
        * platform/network/qt/SocketStreamError.h: Added.
        * platform/network/qt/SocketStreamHandle.h: Added.
        * platform/network/qt/SocketStreamHandleSoup.cpp: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48520 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Fri, 18 Sep 2009 18:45:06 +0000 (18:45 +0000)]
2009-09-18  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Darin Adler.

        NULL check HTMLMediaElement::m_playedTimeRanges.
        Fix for https://bugs.webkit.org/show_bug.cgi?id=29494

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::addPlayedRange): New. Create m_playedTimeRanges if
        necessary, add range specified.
        (WebCore::HTMLMediaElement::seek): Use addPlayedRange.
        (WebCore::HTMLMediaElement::played): Use addPlayedRange. Change time comparison
        to be more readable.
        (WebCore::HTMLMediaElement::updatePlayState): Ditto.
        * html/HTMLMediaElement.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48519 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-09-18 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Fri, 18 Sep 2009 18:30:21 +0000 (18:30 +0000)]
2009-09-18  Xan Lopez  <xlopez@igalia.com>

        Build fix.

        Add missing file to the repository.

        * tests/testhittestresult.c: Added.
        (test_info_new):
        (test_info_destroy):
        (hit_test_result_fixture_setup):
        (hit_test_result_fixture_teardown):
        (load_status_cb):
        (test_webkit_hit_test_result):
        (main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48518 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAdded bug number.
darin@apple.com [Fri, 18 Sep 2009 18:17:22 +0000 (18:17 +0000)]
Added bug number.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48517 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoSome small steps toward improving run-webkit-tests. My goal is to
darin@apple.com [Fri, 18 Sep 2009 18:16:53 +0000 (18:16 +0000)]
Some small steps toward improving run-webkit-tests. My goal is to
refactor much more of the script into functions. Later we can add
parallel test running to the tool. But better structure may help
even if someone decides to translate this into another scripting
language instead.

Patch by Darin Adler <darin@apple.com> on 2009-08-28
Reviewed by Mark Rowe.

* Scripts/run-webkit-tests: Break more pieces of the script into
seprate functions. Added readSkippedFiles, findTestsToRun, and
printResults functions. Removed custom code to skip results.html
and instead just put it into the ignoredFiles hash. Fixed some
indentation. Sorted function declarations, global variables,
and options at the top of the file alphabetically so they're not
in a semi-random order.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48516 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore: Follow up fix for https://bugs.webkit.org/show_bug.cgi?id=29276
weinig@apple.com [Fri, 18 Sep 2009 18:01:59 +0000 (18:01 +0000)]
WebCore: Follow up fix for https://bugs.webkit.org/show_bug.cgi?id=29276
REGRESSION(r48334): WebKit crashes on file select by drag

Reviewed by Adele Peterson.

Don't use Document.elementFromPoint since it returns null if the point
is outside the viewport.  Instead, just hit test ourselves.

Test: fast/events/drag-file-crash.html

* page/DragController.cpp:
(WebCore::elementUnderMouse):
(WebCore::DragController::tryDocumentDrag):
(WebCore::DragController::concludeEditDrag):

LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=29276
REGRESSION(r48334): WebKit crashes on file select by drag

Reviewed by Adele Peterson.

* fast/events/drag-file-crash-expected.txt: Added.
* fast/events/drag-file-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48515 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFix date on a change log entry.
darin@apple.com [Fri, 18 Sep 2009 17:48:55 +0000 (17:48 +0000)]
Fix date on a change log entry.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48514 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoEach wrapped Objective-C object should use a single RuntimeObjectImp
darin@apple.com [Fri, 18 Sep 2009 17:48:23 +0000 (17:48 +0000)]
Each wrapped Objective-C object should use a single RuntimeObjectImp
https://bugs.webkit.org/show_bug.cgi?id=29351
rdar://problem/7142294

Patch by Darin Adler <darin@apple.com> on 2009-09-18
Reviewed by Sam Weinig.

* WebCore.base.exp: Added a newly-needed exported symbol.

* bindings/objc/DOMInternal.h: Eliminated unused
createWrapperCacheWithIntegerKeys; it has not been needed since the
RGBColor wrappers were reworked.
* bindings/objc/DOMInternal.mm: Ditto.

* bridge/objc/objc_instance.h: Made the create function non-inline.
* bridge/objc/objc_instance.mm:
(createInstanceWrapperCache): Added. Creates an appropriate map table.
(ObjcInstance::create): Moved here from header. Uses NSMapGet and
NSMapInsert to cache the instance in a map table.
(ObjcInstance::~ObjcInstance): Added a call to NSMapRemove to remove
the instance from the map table.

* bridge/qt/qt_instance.cpp:
(JSC::Bindings::QtInstance::~QtInstance): Remove unneeded code to remove
the instance from cachedObjects, which no longer exists.
(JSC::Bindings::QtInstance::newRuntimeObject): Renamed to overload new
bottleneck. Caching is now handled by the base class.

* bridge/runtime.cpp:
(JSC::Bindings::Instance::Instance): Initialize m_runtimeObject to 0.
(JSC::Bindings::Instance::~Instance): Assert m_runtimeObject is 0.
(JSC::Bindings::Instance::createRuntimeObject): Use m_runtimeObject
if it's already set. Set m_runtimeObject and call addRuntimeObject
if it's not.
(JSC::Bindings::Instance::newRuntimeObject): Added. Virtual function,
used only by createRuntimeObject.
(JSC::Bindings::Instance::willDestroyRuntimeObject): Added.
Calls removeRuntimeObject and then clears m_runtimeObject.
(JSC::Bindings::Instance::willInvalidateRuntimeObject): Added.
Clears m_runtimeObject.

* bridge/runtime.h: Made createRuntimeObject non-virtual. Added
willDestroyRuntimeObject, willInvalidateRuntimeObject,
newRuntimeObject, and m_runtimeObject.

* bridge/runtime_object.cpp:
(JSC::RuntimeObjectImp::RuntimeObjectImp): Removed addRuntimeObject
call, now handled by caller.
(JSC::RuntimeObjectImp::~RuntimeObjectImp): Replaced removeRuntimeObject
call with willDestroyRuntimeObject call; the latter nows calls
removeRuntimeObject.
(JSC::RuntimeObjectImp::invalidate): Added willInvalidateRuntimeObject
call.

* bridge/runtime_object.h: Made invalidate non-virtual.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48513 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago[Gtk] Unreviewed build fix.
kenneth@webkit.org [Fri, 18 Sep 2009 17:46:09 +0000 (17:46 +0000)]
[Gtk] Unreviewed build fix.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-18
* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::platformPageClient):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48512 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoMake PlatformWindow return something else than PlatformWidget
kenneth@webkit.org [Fri, 18 Sep 2009 17:34:17 +0000 (17:34 +0000)]
Make PlatformWindow return something else than PlatformWidget
https://bugs.webkit.org/show_bug.cgi?id=29085

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-17
Reviewed by Simon Hausmann.

WebCore:

Make platformWindow return a PlatformPageClient
(for now typedef'ed to PlatformWidget)

Also, change the name of platformWindow to platformPageClient()

* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(getPangoLayoutForAtk):
* accessibility/win/AXObjectCacheWin.cpp:
(WebCore::AXObjectCache::postPlatformNotification):
(WebCore::AXObjectCache::handleFocusedUIElementChanged):
* loader/EmptyClients.h:
(WebCore::EmptyChromeClient::platformPageClient):
* page/Chrome.cpp:
(WebCore::Chrome::platformPageClient):
* page/Chrome.h:
* page/ChromeClient.h:
* page/mac/EventHandlerMac.mm:
(WebCore::EventHandler::wheelEvent):
(WebCore::EventHandler::currentPlatformMouseEvent):
(WebCore::EventHandler::sendContextMenuEvent):
(WebCore::EventHandler::eventMayStartDrag):
* platform/HostWindow.h:
* platform/Widget.h:
* platform/gtk/PlatformScreenGtk.cpp:
(WebCore::getVisual):
(WebCore::screenRect):
(WebCore::screenAvailableRect):
* platform/gtk/PopupMenuGtk.cpp:
(WebCore::PopupMenu::show):
* platform/gtk/ScrollViewGtk.cpp:
(WebCore::ScrollView::platformAddChild):
(WebCore::ScrollView::platformRemoveChild):
(WebCore::ScrollView::visibleContentRect):
* platform/gtk/WidgetGtk.cpp:
(WebCore::Widget::setFocus):
(WebCore::Widget::setCursor):
* platform/qt/PlatformScreenQt.cpp:
(WebCore::screenDepth):
(WebCore::screenDepthPerComponent):
(WebCore::screenIsMonochrome):
(WebCore::screenRect):
(WebCore::screenAvailableRect):
* platform/qt/PopupMenuQt.cpp:
(WebCore::PopupMenu::show):
* platform/qt/WidgetQt.cpp:
(WebCore::Widget::setCursor):
* platform/win/PlatformScreenWin.cpp:
(WebCore::monitorInfoForWidget):
* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenu::show):
(WebCore::PopupMenu::calculatePositionAndSize):
(WebCore::PopupMenu::wndProc):
* platform/wx/RenderThemeWx.cpp:
(WebCore::nativeWindowForRenderObject):
* platform/wx/ScrollbarThemeWx.cpp:
(WebCore::ScrollbarThemeWx::paint):
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::getValue):
(WebCore::PluginView::forceRedraw):
(WebCore::PluginView::platformStart):
* plugins/mac/PluginViewMac.cpp:
(WebCore::PluginView::platformStart):
* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::handleKeyboardEvent):
(WebCore::PluginView::getValue):
(WebCore::PluginView::platformStart):
* plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::getValue):
(WebCore::PluginView::forceRedraw):
(WebCore::PluginView::platformStart):

WebKit/gtk:

Reflect the rename of platformWindow and it's return type.

* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::platformPageClient):
(WebKit::ChromeClient::runOpenPanel):
* WebCoreSupport/ChromeClientGtk.h:
* webkit/webkitprivate.cpp:
(currentToplevelCallback):
* webkit/webkitwebview.cpp:
(webkit_web_view_popup_menu_handler):

WebKit/haiku:

Reflect the rename of platformWindow and it's return type.

* WebCoreSupport/ChromeClientHaiku.cpp:
(WebCore::ChromeClientHaiku::platformPageClient):
* WebCoreSupport/ChromeClientHaiku.h:

WebKit/mac:

Reflect the rename of platformWindow and it's return type.

* WebCoreSupport/WebChromeClient.h:
* WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::platformPageClient):

WebKit/qt:

Reflect the rename of platformWindow and it's return type.

* WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::platformPageClient):
* WebCoreSupport/ChromeClientQt.h:

WebKit/win:

Reflect the rename of platformWindow and it's return type.

* AccessibleBase.cpp:
(AccessibleBase::get_accParent):
* WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::platformPageClient):
* WebCoreSupport/WebChromeClient.h:

WebKit/wx:

Reflect the rename of platformWindow and it's return type.

* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::platformPageClient):
* WebKitSupport/ChromeClientWx.h:
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::isEditable):
(WebCore::EditorClientWx::registerCommandForUndo):
(WebCore::EditorClientWx::registerCommandForRedo):
(WebCore::EditorClientWx::clearUndoRedoOperations):
(WebCore::EditorClientWx::canUndo):
(WebCore::EditorClientWx::canRedo):
(WebCore::EditorClientWx::undo):
(WebCore::EditorClientWx::redo):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48511 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago[Qt] Web inspector UI adjustments specific to the Qt platform:
hausmann@webkit.org [Fri, 18 Sep 2009 15:47:34 +0000 (15:47 +0000)]
[Qt] Web inspector UI adjustments specific to the Qt platform:
- Hide the close button
- Hide the dock button
- Disable the draggable toolbar

Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2009-09-18
Reviewed by Simon Hausmann.

https://bugs.webkit.org/show_bug.cgi?id=29384

* inspector/front-end/inspector.css:
* inspector/front-end/inspector.js:
(WebInspector.toolbarDragStart):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48510 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFix the Qt/Windows CE build.
hausmann@webkit.org [Fri, 18 Sep 2009 15:34:46 +0000 (15:34 +0000)]
Fix the Qt/Windows CE build.

Patch by Joerg Bornemann <joerg.bornemann@nokia.com> on 2009-09-18
Reviewed by Simon Hausmann.

* JavaScriptCore.pri: Build the ce_time.cpp functions from
within Qt externally.
* wtf/DateMath.cpp: Removed unnecessary Qt #ifdef, for the
Qt build these functions are no external, too.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48509 268f45cc-cd09-0410-ab3c-d52691b4dbfc