WebKit-https.git
9 years agoWebKit2: The CFNetwork Cache should be shared between the UI Process and the Web...
jberlin@webkit.org [Thu, 17 Feb 2011 22:23:26 +0000 (22:23 +0000)]
WebKit2: The CFNetwork Cache should be shared between the UI Process and the Web Process on
Windows.
https://bugs.webkit.org/show_bug.cgi?id=54683

Reviewed by Adam Roben.

* Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::encode):
(WebKit::WebProcessCreationParameters::decode):
* Shared/WebProcessCreationParameters.h:

* UIProcess/win/WebContextWin.cpp:
(WebKit::WebContext::platformInitializeWebProcess):
Make sure to remove the ending slash, as CFNetwork does not recognize the directory with
that slash.

* WebProcess/win/WebProcessWin.cpp:
(WebKit::WebProcess::platformInitializeWebProcess):
Create a cache using the path, disk capacity, and memory capacity and set it as default.

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

9 years ago2011-02-17 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 17 Feb 2011 21:50:10 +0000 (21:50 +0000)]
2011-02-17  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Web and/or plug-in process crashes when NPN_Evaluate destroys the plug-in
        https://bugs.webkit.org/show_bug.cgi?id=54686
        <rdar://problem/9013384>

        This patch fixes two bugs with a plug-in calling NPN_Evaluate to destroy itself:

        - The PluginProxy object would be destroyed in the middle of PluginProxy::evaluate.
          This would cause the web process to crash.

        - The PluginControllerProxy would call NPP_Destroy while the plug-in was busy running
          code. This would cause the plug-in process to crash.

        To fix this, we add protectPluginFromDestruction/unprotectPluginFromDestruction to
        PluginControllerProxy and use it to defer calling destroy() in the plug-in process,
        and defer actually destroying the plug-in in the web process.

        https://bugs.webkit.org/show_bug.cgi?id=54171 tracks adding a test for this.

        * PluginProcess/PluginControllerProxy.cpp:
        (WebKit::PluginControllerProxy::PluginControllerProxy):
        (WebKit::PluginControllerProxy::destroy):
        (WebKit::PluginControllerProxy::evaluate):
        (WebKit::PluginControllerProxy::protectPluginFromDestruction):
        (WebKit::PluginControllerProxy::unprotectPluginFromDestruction):
        * PluginProcess/PluginControllerProxy.h:
        (WebKit::PluginControllerProxy::asPluginController):
        * PluginProcess/WebProcessConnection.cpp:
        (WebKit::WebProcessConnection::destroyPluginControllerProxy):
        (WebKit::WebProcessConnection::didReceiveMessage):
        (WebKit::WebProcessConnection::didReceiveSyncMessage):
        * PluginProcess/WebProcessConnection.h:
        (WebKit::WebProcessConnection::connection):
        * WebProcess/Plugins/PluginController.h:
        (WebKit::PluginController::PluginDestructionProtector::PluginDestructionProtector):
        (WebKit::PluginController::PluginDestructionProtector::~PluginDestructionProtector):
        * WebProcess/Plugins/PluginProxy.cpp:
        (WebKit::PluginProxy::evaluate):
        * WebProcess/Plugins/PluginView.cpp:
        (WebKit::PluginView::protectPluginFromDestruction):
        (WebKit::PluginView::unprotectPluginFromDestruction):
        * WebProcess/Plugins/PluginView.h:

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

9 years agoSummary: HTML5 <details> and <summary>: HTMLSummaryElement
luiz@webkit.org [Thu, 17 Feb 2011 21:28:51 +0000 (21:28 +0000)]
Summary: HTML5 <details> and <summary>: HTMLSummaryElement
https://bugs.webkit.org/show_bug.cgi?id=54584

Reviewed by Andreas Kling.

Adding class HTMLSummaryElement to build systems. This class will be used in
the implementation of new HTML5 tag <summary>.

* CMakeLists.txt:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* html/HTMLElementsAllInOne.cpp:
* html/HTMLSummaryElement.cpp: Added.
(WebCore::HTMLSummaryElement::create):
(WebCore::HTMLSummaryElement::HTMLSummaryElement):
* html/HTMLSummaryElement.h: Added.
* html/HTMLTagNames.in:

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

9 years agoBug 54244. Layout test results changes landing with pre-commit hook temporarily turne...
hyatt@apple.com [Thu, 17 Feb 2011 21:26:11 +0000 (21:26 +0000)]
Bug 54244. Layout test results changes landing with pre-commit hook temporarily turned off to hopefully make this work in one go.

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

9 years ago2011-02-17 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Thu, 17 Feb 2011 21:26:01 +0000 (21:26 +0000)]
2011-02-17  Jeremy Orlow  <jorlow@chromium.org>

        Fix minor problem with test.

        * storage/indexeddb/exception-in-event-aborts-expected.txt:
        * storage/indexeddb/exception-in-event-aborts.html:

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

9 years agoBug 54244. Layout test results changes landing with pre-commit hook temporarily turne...
hyatt@apple.com [Thu, 17 Feb 2011 21:26:00 +0000 (21:26 +0000)]
Bug 54244. Layout test results changes landing with pre-commit hook temporarily turned off to hopefully make this work in one go.

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

9 years agoBug 54244. Layout test results changes landing with pre-commit hook temporarily turne...
hyatt@apple.com [Thu, 17 Feb 2011 21:21:59 +0000 (21:21 +0000)]
Bug 54244. Layout test results changes landing with pre-commit hook temporarily turned off to hopefully make this work in one go.

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

9 years agoBuild fix.
weinig@apple.com [Thu, 17 Feb 2011 21:20:31 +0000 (21:20 +0000)]
Build fix.

* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::performDictionaryLookupAtLocation):

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

9 years ago2011-02-17 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Thu, 17 Feb 2011 21:06:12 +0000 (21:06 +0000)]
2011-02-17  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Nate Chapin.

        Throwing in an IndexedDB error or success event should lead to the transaction aborting
        https://bugs.webkit.org/show_bug.cgi?id=54249

        * storage/indexeddb/exception-in-event-aborts-expected.txt: Added.
        * storage/indexeddb/exception-in-event-aborts.html: Added.
        * storage/indexeddb/queued-commands-expected.txt:
        * storage/indexeddb/queued-commands.html:
        * storage/indexeddb/request-event-propagation-expected.txt:
        * storage/indexeddb/request-event-propagation.html:
        * storage/indexeddb/resources/shared.js:
        (unexpectedErrorCallback):
        * storage/indexeddb/transaction-event-propagation-expected.txt:
        * storage/indexeddb/transaction-event-propagation.html:
2011-02-17  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Nate Chapin.

        Throwing in an IndexedDB error or success event should lead to the transaction aborting
        https://bugs.webkit.org/show_bug.cgi?id=54249

        When an exception is thrown but not handled  within an IDBRequests success/error event,
        we should abort the transaction.

        Test: storage/indexeddb/exception-in-event-aborts.html

        * bindings/js/JSEventListener.cpp:
        (WebCore::JSEventListener::handleEvent):
        * bindings/js/JSEventTarget.cpp:
        (WebCore::toJS):
        * bindings/v8/V8AbstractEventListener.cpp:
        (WebCore::V8AbstractEventListener::invokeEventHandler):
        * dom/EventTarget.cpp:
        (WebCore::EventTarget::uncaughtExceptionInEventHandler):
        * dom/EventTarget.h:
        * storage/IDBRequest.cpp:
        (WebCore::IDBRequest::uncaughtExceptionInEventHandler):
        * storage/IDBRequest.h:

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

9 years agoAttempt to fix windows build
oliver@apple.com [Thu, 17 Feb 2011 20:59:05 +0000 (20:59 +0000)]
Attempt to fix windows build

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

9 years agoBug 54244. Having to land in small chunks to avoid svn commit hangs.
hyatt@apple.com [Thu, 17 Feb 2011 20:58:10 +0000 (20:58 +0000)]
Bug 54244. Having to land in small chunks to avoid svn commit hangs.

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

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78905 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:56:59 +0000 (20:56 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78905 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78904 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:55:53 +0000 (20:55 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78904 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78903 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:54:46 +0000 (20:54 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78903 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78902 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:54:38 +0000 (20:54 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78902 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWebKit2: Support Dictionary popup
weinig@apple.com [Thu, 17 Feb 2011 20:54:31 +0000 (20:54 +0000)]
WebKit2: Support Dictionary popup
<rdar://problem/7660670>

Reviewed by Maciej Stachowiak.

../WebCore:

Add some necessary exports.

* WebCore.exp.in:

../WebKit2:

* Shared/TextInfo.cpp: Added.
(WebKit::TextInfo::encode):
(WebKit::TextInfo::decode):
* Shared/TextInfo.h: Added.
(WebKit::TextInfo::TextInfo):
Add class to represent the location and style of a run of text.

* UIProcess/PageClient.h:
* UIProcess/API/mac/PageClientImpl.h:
* UIProcess/API/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::didPerformDictionaryLookup):
Invoke the dictionary popup.

* UIProcess/API/mac/WKView.mm:
(-[WKView performLookupAtCurrentMouseLocation]):
Tell the WebProcess to get get the text under the mouse and cause
the dictionary popup to appear.

* UIProcess/API/mac/WKViewPrivate.h:
Add performLookupAtCurrentMouseLocation.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::performDictionaryLookupAtLocation):
(WebKit::WebPageProxy::didPerformDictionaryLookup):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebPage/WebPage.cpp:
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:
Pipe messages through.

* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::characterRangeAtPoint): Fix to return PassRefPtr
and not potentially stale pointers.

(WebKit::WebPage::characterIndexForPoint):
Change to use a RefPtr.

(WebKit::WebPage::performDictionaryLookupAtLocation):
Add simple heuristic to get the word at the current point (or the current selection
if it is at that point) and grab the style of the word to send the UIProcess.

* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
Add new files.

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

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78900 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:54:23 +0000 (20:54 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78900 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78899 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:54:15 +0000 (20:54 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78899 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78898 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:54:03 +0000 (20:54 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78898 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78897 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:53:52 +0000 (20:53 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78897 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78896 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:53:35 +0000 (20:53 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78896 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78895 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:53:19 +0000 (20:53 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78895 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78894 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:53:05 +0000 (20:53 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78894 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78893 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:52:43 +0000 (20:52 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78893 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78892 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:52:33 +0000 (20:52 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78892 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78891 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:52:23 +0000 (20:52 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78891 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78890 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:52:13 +0000 (20:52 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78890 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78889 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:52:04 +0000 (20:52 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78889 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78888 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:49:28 +0000 (20:49 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78888 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78887 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:49:08 +0000 (20:49 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78887 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78886 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:48:18 +0000 (20:48 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78886 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78885 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:47:45 +0000 (20:47 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78885 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78884 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:46:50 +0000 (20:46 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78884 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78883 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:45:55 +0000 (20:45 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78883 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78882 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:45:20 +0000 (20:45 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78882 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78881 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:45:09 +0000 (20:45 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78881 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78880 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:45:01 +0000 (20:45 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78880 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78879 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:44:53 +0000 (20:44 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78879 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78878 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:44:41 +0000 (20:44 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78878 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78877 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:44:34 +0000 (20:44 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78877 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78876 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:44:14 +0000 (20:44 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78876 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78875 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:44:07 +0000 (20:44 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78875 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78874 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:43:59 +0000 (20:43 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78874 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78873 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:43:50 +0000 (20:43 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78873 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78872 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:43:42 +0000 (20:43 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78872 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78871 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:43:35 +0000 (20:43 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78871 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78870 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:43:27 +0000 (20:43 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78870 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78869 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:43:17 +0000 (20:43 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78869 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78868 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:43:05 +0000 (20:43 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78868 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78867 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:42:54 +0000 (20:42 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78867 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78866 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:42:41 +0000 (20:42 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78866 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78865 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:42:28 +0000 (20:42 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78865 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78864 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:41:53 +0000 (20:41 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78864 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78863 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:41:04 +0000 (20:41 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78863 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78862 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:40:51 +0000 (20:40 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78862 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78861 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:40:35 +0000 (20:40 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78861 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78860 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:37:56 +0000 (20:37 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78860 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78859 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:37:44 +0000 (20:37 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78859 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78858 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:37:13 +0000 (20:37 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78858 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78857 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:36:51 +0000 (20:36 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78857 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-17 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Thu, 17 Feb 2011 20:35:59 +0000 (20:35 +0000)]
2011-02-17  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Refactor WriteBarrier and DeprecatedPtr to have less code duplication.
        https://bugs.webkit.org/show_bug.cgi?id=54608

        Make use of the tricks used for Handle, et al to avoid duplicating all
        of the logic for DeprecatedPtr and WriteBarrier simply to support known
        vs. unknown types.

        * JavaScriptCore.xcodeproj/project.pbxproj:
        * collector/handles/Global.h:
        (JSC::Global::internalSet):
        * collector/handles/Handle.h:
        (JSC::Handle::Handle):
        (JSC::Handle::get):
        * runtime/JSArray.cpp:
        (JSC::JSArray::sortNumeric):
        * runtime/JSObject.h:
        (JSC::JSObject::inlineGetOwnPropertySlot):
        * runtime/SlotAccessor.h: Added.
        (JSC::SlotTypes::getFromBaseType):
        (JSC::SlotTypes::convertToBaseType):
        (JSC::SlotTypes::getFromSlot):
        (JSC::SlotTypes::toJSValue):
        (JSC::SlotTypes::validateUpcast):
        (JSC::SlotAccessor::operator->):
        (JSC::SlotAccessor::operator*):
        * runtime/WeakGCPtr.h:
        (JSC::WeakGCPtr::get):
        (JSC::WeakGCPtr::internalSet):
        * runtime/WriteBarrier.h:
        (JSC::DeprecatedPtr::DeprecatedPtr):
        (JSC::DeprecatedPtr::get):
        (JSC::DeprecatedPtr::slot):
        (JSC::DeprecatedPtr::operator=):
        (JSC::WriteBarrierTranslator::convertToStorage):
        (JSC::WriteBarrierTranslator::convertFromStorage):
        (JSC::WriteBarrierBase::set):
        (JSC::WriteBarrierBase::get):
        (JSC::WriteBarrierBase::clear):
        (JSC::WriteBarrierBase::slot):
        (JSC::WriteBarrierBase::operator UnspecifiedBoolType*):
        (JSC::WriteBarrierBase::operator!):
        (JSC::WriteBarrierBase::setWithoutWriteBarrier):
        (JSC::WriteBarrier::WriteBarrier):

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

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78855 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:35:58 +0000 (20:35 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78855 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agogit-svn-id: https://svn.webkit.org/repository/webkit/trunk@78854 268f45cc-cd09-0410...
hyatt@apple.com [Thu, 17 Feb 2011 20:35:27 +0000 (20:35 +0000)]
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78854 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2011-02-17 W. James MacLean <wjmaclean@chromium.org>
commit-queue@webkit.org [Thu, 17 Feb 2011 20:33:32 +0000 (20:33 +0000)]
2011-02-17  W. James MacLean  <wjmaclean@chromium.org>

        Reviewed by James Robinson.

        [chromium] Add command-line flag to enable composite to offscreen texture.
        https://bugs.webkit.org/show_bug.cgi?id=52311

        Add plumbing to allow command-line switch to enable offscreen compositing. Function
        LayerRendererChromium::copyOffscreenTextureToDisplay used for now to mimic
        normal renderer operation.

        Existing functionality not changed; offscreen compositing will be tested via GPU test framework.

        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::setRootLayer):
        (WebCore::LayerRendererChromium::setCompositeOffscreen):
        (WebCore::LayerRendererChromium::copyOffscreenTextureToDisplay):
        (WebCore::LayerRendererChromium::useRenderSurface):
        (WebCore::LayerRendererChromium::setScissorToRect):
        * platform/graphics/chromium/LayerRendererChromium.h:
        (WebCore::LayerRendererChromium::isCompositingOffscreen):
2011-02-17  W. James MacLean  <wjmaclean@chromium.org>

        Reviewed by James Robinson.

        [chromium] Add command-line flag to enable composite to offscreen texture.
        https://bugs.webkit.org/show_bug.cgi?id=52311

        Add plumbing to allow command-line switch to enable offscreen compositing. Function
        LayerRendererChromium::copyOffscreenTextureToDisplay used for now to mimic
        normal renderer operation.

        * public/WebSettings.h:
        * src/WebSettingsImpl.cpp:
        (WebKit::WebSettingsImpl::WebSettingsImpl):
        (WebKit::WebSettingsImpl::setCompositeToTextureEnabled):
        * src/WebSettingsImpl.h:
        (WebKit::WebSettingsImpl::compositeToTextureEnabled):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::doComposite):

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

9 years ago[wx] Build fixes after recent changes.
kevino@webkit.org [Thu, 17 Feb 2011 20:24:52 +0000 (20:24 +0000)]
[wx] Build fixes after recent changes.

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

9 years agoQt build fix.
bweinstein@apple.com [Thu, 17 Feb 2011 20:02:59 +0000 (20:02 +0000)]
Qt build fix.

* WebKit2.pro: Update after renaming of MemoryCache to ResourceCache.

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

9 years agoMac build fix.
bweinstein@apple.com [Thu, 17 Feb 2011 19:55:49 +0000 (19:55 +0000)]
Mac build fix.

* WebKit2.xcodeproj/project.pbxproj: Use relative to group instead of absolute paths. Not everyone's home
    directory is /Users/brian_weinstein.

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

9 years agoFix EFL bustage.
hyatt@apple.com [Thu, 17 Feb 2011 19:35:14 +0000 (19:35 +0000)]
Fix EFL bustage.

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

9 years agoWebKit2: Need a way to manage the WebCore Cache
bweinstein@apple.com [Thu, 17 Feb 2011 19:28:36 +0000 (19:28 +0000)]
WebKit2: Need a way to manage the WebCore Cache
https://bugs.webkit.org/show_bug.cgi?id=54501

Reviewed by Brady Eidson.

Source/WebCore:

Add a way to get a set of all of the origins that have entries in the
WebCore memory cache, and a method to remove all resources from the memory
cache from a given security origin.

No change in behavior.

* WebCore.exp.in: Add functions that need to be exported.
* loader/cache/MemoryCache.cpp:
(WebCore::MemoryCache::removeResourcesWithOrigin):
(WebCore::MemoryCache::getOriginsWithCache):
* loader/cache/MemoryCache.h:

Source/WebKit2:

Implement a WebKit2 API to manage the WebCore memory cache. This API exposes three functions:

1) A method to get a list of all security origins that have entries in the WebCore memory cache.
2) A method to remove all entries in the WebCore memory cache from a SecurityOrigin.
3) A method to remove all entries from the WebCore memory cache.

* Platform/CoreIPC/MessageID.h: Add two new MessageClasses.
* Shared/API/c/WKBase.h:
* Shared/APIObject.h: Add a CacheManager type.
* Shared/WebSecurityOrigin.h: Typedef WKCacheManagerRef.
(WebKit::WebSecurityOrigin::createFromString): Creates a WebCore::SecurityOrigin using
    SecurityOrigin::createFromString.
(WebKit::WebSecurityOrigin::toString): Calls through to SecurityOrigin::toString.
* UIProcess/API/C/WKAPICast.h:

* UIProcess/API/C/WKCacheManager.cpp: Added.
(WKCacheManagerGetTypeID): Returns the WebResourceCacheManagerProxy type.
(WKCacheManagerGetCacheOrigins): Calls through to WebResourceCacheManagerProxy::getCacheOrigins.
(callGetCacheOriginsBlockBlockAndDispose):
(WKCacheManagerGetCacheOrigins_b):
(WKCacheManagerDeleteCacheForOrigin): Calls through to WebResourceCacheManagerProxy::deleteCacheForOrigin.
(WKCacheManagerDeleteAllCache): Calls through to WebResourceCacheManagerProxy::deleteAllCache.
* UIProcess/API/C/WKCacheManager.h: Added.

* UIProcess/API/C/WKContext.cpp:
(WKContextGetCacheManager): Calls to get the WebResourceCacheManagerProxy.
* UIProcess/API/C/WKContext.h:

* UIProcess/WebResourceCacheManagerProxy.cpp: Added.
(WebKit::WebResourceCacheManagerProxy::create): Calls through to the constructor.
(WebKit::WebResourceCacheManagerProxy::WebResourceCacheManagerProxy): Initialize the m_webContext variable.
(WebKit::WebResourceCacheManagerProxy::~WebResourceCacheManagerProxy):
(WebKit::WebResourceCacheManagerProxy::invalidate): Invalidate the callback map.
(WebKit::WebResourceCacheManagerProxy::getCacheOrigins): Call through to the web process to get the cache
    origins.
(WebKit::WebResourceCacheManagerProxy::didGetCacheOrigins): Call the callback.
(WebKit::WebResourceCacheManagerProxy::deleteCacheForOrigin): Call through to the web process to delete cache
    for the given origin.
(WebKit::WebResourceCacheManagerProxy::deleteAllCache): Call through to the web process to delete all of the cache.
* UIProcess/WebResourceCacheManagerProxy.h: Added.
(WebKit::WebResourceCacheManagerProxy::clearContext):
(WebKit::WebResourceCacheManagerProxy::type):
* UIProcess/WebResourceCacheManagerProxy.messages.in: Added.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext): Initialize new member variable.
(WebKit::WebContext::~WebContext):  Invalidates new member variable.
(WebKit::WebContext::didReceiveMessage): Passes cache messages to the cache manager.
* UIProcess/WebContext.h:
(WebKit::WebContext::cacheManagerProxy):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didReceiveMessage): Add a new message class.

* WebProcess/MemoryCache/WebResourceCacheManager.cpp: Added.
(WebKit::WebResourceCacheManager::shared):
(WebKit::WebResourceCacheManager::WebResourceCacheManager):
(WebKit::WebResourceCacheManager::~WebResourceCacheManager):
(WebKit::WebResourceCacheManager::didReceiveMessage): Calls through to didReceiveWebResourceCacheManagerMessage.
(WebKit::WebResourceCacheManager::getCacheOrigins): Gets a list of origins with cache entries from the memory
    cache, and puts them into a vector to send to the UI process.
(WebKit::WebResourceCacheManager::deleteCacheForOrigin): Calls through to memoryCache to delete all cache entries
    from a given origin.
(WebKit::WebResourceCacheManager::deleteAllCache):
* WebProcess/MemoryCache/WebResourceCacheManager.h: Added.
* WebProcess/MemoryCache/WebResourceCacheManager.messages.in: Added.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::didReceiveMessage):
(WebKit::WebProcess::clearResourceCaches): Tell the memory cache to evict its resources. This was done on WebKit1,
    but not WebKit2.
* WebProcess/WebProcess.h:

* WebKit2.xcodeproj/project.pbxproj: Added new files.
* win/WebKit2.vcproj: Ditto.
* win/WebKit2Common.vsprops: Added new include directory.
* win/WebKit2Generated.make: Added new header.

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

9 years ago2011-02-17 Andreas Kling <kling@webkit.org>
commit-queue@webkit.org [Thu, 17 Feb 2011 19:27:46 +0000 (19:27 +0000)]
2011-02-17  Andreas Kling  <kling@webkit.org>

        Reviewed by Dirk Schulze.

        SVG: Add test for color animation with alpha value in calcMode=discrete
        https://bugs.webkit.org/show_bug.cgi?id=54666

        * svg/animations/animate-color-rgba-calcMode-discrete-expected.txt: Added.
        * svg/animations/animate-color-rgba-calcMode-discrete.html: Added.
        * svg/animations/script-tests/animate-color-rgba-calcMode-discrete.js: Added.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=54244
hyatt@apple.com [Thu, 17 Feb 2011 19:19:07 +0000 (19:19 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=54244

Reviewed by Dan Bernstein.

Convert the line box tree to floating point and eliminate font rounding hacks.  This patch removes all of the rounding
hacks from the Font code and makes sure all Font APIs involving width measurement and width offsets use floats.

The line box tree's x, y and logicalWidth members have all been converted to floats and all of the line box APIs have
been changed as well.

In terms of pixel adjustments, overflow is using an enclosing model (so it will be enclosingIntRect of a line box's x/y/width/height).

Background and border painting is using a rounding model, so borders and backgrounds will round to the nearest pixel when painting.

Replaced elements still snap to integer positions on lines, and they use a rounding model as well, although their underlying line boxes
still have a precise floating point position.

Justification will now allow subpixel positioning to occur as well.  Platforms that don't support subpixel positioning should already
be rounding justification spacing in their font code.

Many layout test results change on Mac, since rounding hacks were used there and are now gone.

../WebCore:

* WebCore.exp.in:
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawTextInternal):
* platform/chromium/FileChooserChromium.cpp:
(WebCore::FileChooser::basenameForWidth):
* platform/graphics/Font.cpp:
(WebCore::Font::width):
* platform/graphics/Font.h:
(WebCore::Font::spaceWidth):
(WebCore::Font::tabWidth):
* platform/graphics/FontFastPath.cpp:
(WebCore::Font::getGlyphsAndAdvancesForSimpleText):
* platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::drawText):
(WebCore::GraphicsContext::drawEmphasisMarks):
(WebCore::GraphicsContext::drawBidiText):
(WebCore::GraphicsContext::drawHighlightForText):
* platform/graphics/GraphicsContext.h:
* platform/graphics/SimpleFontData.cpp:
(WebCore::SimpleFontData::SimpleFontData):
(WebCore::SimpleFontData::platformGlyphInit):
* platform/graphics/SimpleFontData.h:
(WebCore::SimpleFontData::spaceWidth):
* platform/graphics/StringTruncator.cpp:
(WebCore::stringWidth):
(WebCore::truncateString):
(WebCore::StringTruncator::centerTruncate):
(WebCore::StringTruncator::rightTruncate):
(WebCore::StringTruncator::width):
* platform/graphics/StringTruncator.h:
* platform/graphics/TextRun.h:
(WebCore::TextRun::TextRun):
(WebCore::TextRun::xPos):
(WebCore::TextRun::expansion):
(WebCore::TextRun::directionalOverride):
(WebCore::TextRun::disableSpacing):
* platform/graphics/WidthIterator.cpp:
(WebCore::WidthIterator::WidthIterator):
(WebCore::WidthIterator::advance):
* platform/graphics/WidthIterator.h:
* platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::drawLineForText):
(WebCore::GraphicsContext::drawLineForTextChecking):
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::drawLineForText):
* platform/graphics/mac/ComplexTextController.cpp:
(WebCore::ComplexTextController::ComplexTextController):
(WebCore::ComplexTextController::advance):
(WebCore::ComplexTextController::adjustGlyphsAndAdvances):
* platform/graphics/mac/ComplexTextController.h:
* platform/graphics/mac/FontComplexTextMac.cpp:
(WebCore::Font::getGlyphsAndAdvancesForComplexText):
* platform/graphics/mac/GraphicsContextMac.mm:
(WebCore::GraphicsContext::drawLineForTextChecking):
* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::drawLineForText):
(WebCore::GraphicsContext::drawLineForTextChecking):
* platform/graphics/qt/SimpleFontDataQt.cpp:
(WebCore::SimpleFontData::platformGlyphInit):
* platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::drawLineForTextChecking):
(WebCore::GraphicsContext::drawLineForText):
* platform/graphics/win/GraphicsContextCGWin.cpp:
(WebCore::GraphicsContext::drawLineForTextChecking):
* platform/graphics/win/UniscribeController.cpp:
(WebCore::UniscribeController::shapeAndPlaceItem):
* platform/gtk/FileChooserGtk.cpp:
(WebCore::FileChooser::basenameForWidth):
* platform/mac/DragImageMac.mm:
(WebCore::widthWithFont):
(WebCore::drawAtPoint):
* platform/mac/FileChooserMac.mm:
(WebCore::FileChooser::basenameForWidth):
* platform/win/DragImageWin.cpp:
(WebCore::createDragImageForLink):
* platform/win/FileChooserWin.cpp:
(WebCore::FileChooser::basenameForWidth):
* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenuWin::calculatePositionAndSize):
* platform/win/WebCoreTextRenderer.cpp:
(WebCore::WebCoreTextFloatWidth):
* rendering/HitTestResult.cpp:
(WebCore::HitTestResult::addNodeToRectBasedTestResult):
* rendering/HitTestResult.h:
* rendering/InlineBox.cpp:
(WebCore::InlineBox::adjustPosition):
(WebCore::InlineBox::placeEllipsisBox):
(WebCore::InlineBox::locationIncludingFlipping):
(WebCore::InlineBox::flipForWritingMode):
* rendering/InlineBox.h:
(WebCore::InlineBox::InlineBox):
(WebCore::InlineBox::adjustLineDirectionPosition):
(WebCore::InlineBox::adjustBlockDirectionPosition):
(WebCore::InlineBox::setX):
(WebCore::InlineBox::x):
(WebCore::InlineBox::setY):
(WebCore::InlineBox::y):
(WebCore::InlineBox::width):
(WebCore::InlineBox::height):
(WebCore::InlineBox::logicalLeft):
(WebCore::InlineBox::logicalRight):
(WebCore::InlineBox::setLogicalLeft):
(WebCore::InlineBox::pixelSnappedLogicalLeft):
(WebCore::InlineBox::pixelSnappedLogicalRight):
(WebCore::InlineBox::setLogicalWidth):
(WebCore::InlineBox::logicalWidth):
(WebCore::InlineBox::verticalAlign):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::roundedFrameRect):
(WebCore::InlineFlowBox::adjustPosition):
(WebCore::InlineFlowBox::placeBoxesInInlineDirection):
(WebCore::InlineFlowBox::adjustMaxAscentAndDescent):
(WebCore::verticalPositionForBox):
(WebCore::InlineFlowBox::computeLogicalBoxHeights):
(WebCore::InlineFlowBox::placeBoxesInBlockDirection):
(WebCore::InlineFlowBox::addBoxShadowVisualOverflow):
(WebCore::InlineFlowBox::addTextBoxVisualOverflow):
(WebCore::InlineFlowBox::computeOverflow):
(WebCore::InlineFlowBox::setLayoutOverflow):
(WebCore::InlineFlowBox::setVisualOverflow):
(WebCore::InlineFlowBox::nodeAtPoint):
(WebCore::InlineFlowBox::paintBoxDecorations):
(WebCore::InlineFlowBox::paintMask):
(WebCore::InlineFlowBox::placeEllipsisBox):
* rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::maxYLayoutOverflow):
(WebCore::InlineFlowBox::maxXLayoutOverflow):
(WebCore::InlineFlowBox::layoutOverflowRect):
(WebCore::InlineFlowBox::maxYVisualOverflow):
(WebCore::InlineFlowBox::maxXVisualOverflow):
(WebCore::InlineFlowBox::visualOverflowRect):
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::placeEllipsisBox):
(WebCore::InlineTextBox::nodeAtPoint):
(WebCore::paintTextWithShadows):
(WebCore::InlineTextBox::paint):
(WebCore::InlineTextBox::paintSelection):
(WebCore::InlineTextBox::paintCompositionBackground):
(WebCore::InlineTextBox::paintDecoration):
(WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
(WebCore::InlineTextBox::paintTextMatchMarker):
(WebCore::InlineTextBox::paintDocumentMarkers):
(WebCore::InlineTextBox::paintCompositionUnderline):
(WebCore::InlineTextBox::textPos):
(WebCore::InlineTextBox::offsetForPosition):
(WebCore::InlineTextBox::positionForOffset):
* rendering/InlineTextBox.h:
(WebCore::InlineTextBox::setExpansion):
* rendering/RenderBR.h:
(WebCore::RenderBR::width):
* rendering/RenderBlock.cpp:
(WebCore::stripTrailingSpace):
(WebCore::updatePreferredWidth):
(WebCore::RenderBlock::computeInlinePreferredLogicalWidths):
(WebCore::RenderBlock::adjustForBorderFit):
(WebCore::RenderBlock::addFocusRingRects):
* rendering/RenderBlock.h:
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
(WebCore::RenderBlock::fitBelowFloats):
(WebCore::textWidth):
(WebCore::tryHyphenating):
(WebCore::RenderBlock::findNextLineBreak):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::positionLineBox):
(WebCore::RenderBox::flipForWritingMode):
* rendering/RenderBox.h:
* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::width):
(WebCore::RenderCombineText::adjustTextOrigin):
(WebCore::RenderCombineText::combineText):
* rendering/RenderCombineText.h:
(WebCore::RenderCombineText::combinedTextWidth):
* rendering/RenderCounter.cpp:
(WebCore::RenderCounter::computePreferredLogicalWidths):
* rendering/RenderCounter.h:
* rendering/RenderEmbeddedObject.cpp:
(WebCore::RenderEmbeddedObject::getReplacementTextGeometry):
* rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::computePreferredLogicalWidths):
* rendering/RenderImage.cpp:
* rendering/RenderInline.cpp:
(WebCore::RenderInline::linesBoundingBox):
(WebCore::RenderInline::linesVisualOverflowBoundingBox):
(WebCore::RenderInline::addFocusRingRects):
(WebCore::RenderInline::paintOutline):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::updateFromElement):
(WebCore::RenderListBox::paintItemForeground):
* rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::updateOptionsWidth):
* rendering/RenderText.cpp:
(WebCore::RenderText::localCaretRect):
(WebCore::RenderText::widthFromCache):
(WebCore::RenderText::trimmedPrefWidths):
(WebCore::RenderText::minLogicalWidth):
(WebCore::RenderText::maxLogicalWidth):
(WebCore::RenderText::computePreferredLogicalWidths):
(WebCore::RenderText::firstRunOrigin):
(WebCore::RenderText::firstRunX):
(WebCore::RenderText::firstRunY):
(WebCore::RenderText::width):
(WebCore::RenderText::linesBoundingBox):
* rendering/RenderText.h:
* rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::getAvgCharWidth):
(WebCore::RenderTextControl::paintPlaceholder):
* rendering/RenderTreeAsText.cpp:
(WebCore::writeTextRun):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::placeEllipsis):
(WebCore::RootInlineBox::placeEllipsisBox):
(WebCore::RootInlineBox::adjustPosition):
(WebCore::RootInlineBox::beforeAnnotationsAdjustment):
(WebCore::RootInlineBox::paddedLayoutOverflowRect):
* rendering/RootInlineBox.h:
* rendering/VerticalPositionCache.h:
* rendering/svg/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::offsetForPosition):
(WebCore::SVGInlineTextBox::positionForOffset):
(WebCore::SVGInlineTextBox::constructTextRun):
* rendering/svg/SVGInlineTextBox.h:
* rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeRenderSVGTextBox):
* rendering/svg/SVGTextMetrics.cpp:
(WebCore::SVGTextMetrics::SVGTextMetrics):
(WebCore::constructTextRun):
* svg/SVGFont.cpp:
(WebCore::floatWidthMissingGlyphCallback):
(WebCore::Font::drawTextUsingSVGFont):

../WebKit/mac:

* Misc/WebKitNSStringExtras.mm:
(-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]):
(-[NSString _web_widthWithFont:]):

../WebKit/win:

* WebKitGraphics.cpp:
(CenterTruncateStringToWidth):
(RightTruncateStringToWidth):

../WebKit2:

* WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp:
(WebKit::WebPopupMenu::setUpPlatformData):

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

9 years ago2011-02-17 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 17 Feb 2011 19:04:00 +0000 (19:04 +0000)]
2011-02-17  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update. Remove duplicate expectation
        for media/video-display-toggle.html (on Snow Leopard only).

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-17 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 17 Feb 2011 18:57:50 +0000 (18:57 +0000)]
2011-02-17  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        'ex' coordinates fail, when SVGFont doesn't provide an explicit xHeight attribute
        https://bugs.webkit.org/show_bug.cgi?id=54672

        Measure the xHeight from the 'x' glyph of a SVGFont, if the font itself doesn't explicitely specify an x-height attribute.
        Fixes the modern version of SVG 1.1 2nd Edition coords-units-03-b.svg.

        Test: svg/W3C-SVG-1.1-SE/coords-units-03-b.svg

        * platform/graphics/SimpleFontData.cpp:
        (WebCore::SimpleFontData::SimpleFontData):

2011-02-17  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        'ex' coordinates fail, when SVGFont doesn't provide an explicit xHeight attribute
        https://bugs.webkit.org/show_bug.cgi?id=54672

        Add new testcase from SVG 1.1 2nd Edition covering exs support + SVGFonts.

        * platform/mac/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt: Added.
        * svg/W3C-SVG-1.1-SE/coords-units-03-b.svg: Added.

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

9 years agoUnreviewed test expectations update.
atwilson@chromium.org [Thu, 17 Feb 2011 18:21:41 +0000 (18:21 +0000)]
Unreviewed test expectations update.

[Chromium] set_version_blocked.html and set_version_queue.html started crashing on Chromium dbg bots after WK roll 78748:78777
https://bugs.webkit.org/show_bug.cgi?id=54644

Re-enabling tests now that they pass again.

* platform/chromium/test_expectations.txt:

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

9 years agoHTML5 <details> and <summary>: localized text
luiz@webkit.org [Thu, 17 Feb 2011 18:04:52 +0000 (18:04 +0000)]
HTML5 <details> and <summary>: localized text
https://bugs.webkit.org/show_bug.cgi?id=54260

Reviewed by Adam Roben.

Source/WebCore:

The method defaultDetailsSummaryText was added to LocalizationStrategy class and to
platform/LocalizedStrings. It is used to provide the default label to be used by a
<details> tag that has no <summary> child.

* platform/LocalizationStrategy.h:
* platform/LocalizedStrings.cpp:
(WebCore::fileButtonNoFileSelectedLabel):
(WebCore::defaultDetailsSummaryText):
* platform/LocalizedStrings.h:
* platform/android/LocalizedStringsAndroid.cpp:
(WebCore::defaultDetailsSummaryText):
* platform/brew/LocalizedStringsBrew.cpp:
(WebCore::defaultDetailsSummaryText):
* platform/efl/LocalizedStringsEfl.cpp:
(WebCore::defaultDetailsSummaryText):
* platform/gtk/LocalizedStringsGtk.cpp:
(WebCore::defaultDetailsSummaryText):
* platform/haiku/LocalizedStringsHaiku.cpp:
(WebCore::defaultDetailsSummaryText):
* platform/wx/LocalizedStringsWx.cpp:
(WebCore::defaultDetailsSummaryText):

Source/WebKit:

Default details summary text must be localizable.

* English.lproj/Localizable.strings:

Source/WebKit/chromium:

The method defaultDetailsSummaryText was added to LocalizedStrings. It is used to provide
the default label to be used by a <details> tag that has no <summary> child.

* src/LocalizedStrings.cpp:
(WebCore::defaultDetailsSummaryText):

Source/WebKit/mac:

The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
provide the default label to be used by a <details> tag that has no <summary> child.

* WebCoreSupport/WebPlatformStrategies.h:
* WebCoreSupport/WebPlatformStrategies.mm:
(WebPlatformStrategies::defaultDetailsSummaryText):

Source/WebKit/qt:

The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
provide the default label to be used by a <details> tag that has no <summary> child.

* WebCoreSupport/WebPlatformStrategies.cpp:
(WebPlatformStrategies::defaultDetailsSummaryText):
* WebCoreSupport/WebPlatformStrategies.h:

Source/WebKit/win:

The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
provide the default label to be used by a <details> tag that has no <summary> child.

* WebCoreSupport/WebPlatformStrategies.cpp:
(WebPlatformStrategies::defaultDetailsSummaryText):
* WebCoreSupport/WebPlatformStrategies.h:

Source/WebKit/wince:

The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
provide the default label to be used by a <details> tag that has no <summary> child.

* WebCoreSupport/PlatformStrategiesWinCE.cpp:
(PlatformStrategiesWinCE::defaultDetailsSummaryText):
* WebCoreSupport/PlatformStrategiesWinCE.h:

Source/WebKit2:

The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
provide the default label to be used by a <details> tag that has no <summary> child.

* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::defaultDetailsSummaryText):
* WebProcess/WebCoreSupport/WebPlatformStrategies.h:

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

9 years ago2011-02-17 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Thu, 17 Feb 2011 18:00:44 +0000 (18:00 +0000)]
2011-02-17  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: enable test for auto increment key injection
        https://bugs.webkit.org/show_bug.cgi?id=54642

        Enable this test now that Chromium supports it.

        * storage/indexeddb/objectstore-autoincrement-expected.txt:
        * storage/indexeddb/objectstore-autoincrement.html:

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

9 years ago2011-02-17 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Thu, 17 Feb 2011 17:41:32 +0000 (17:41 +0000)]
2011-02-17  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] ImageDiff sometimes hangs
        https://bugs.webkit.org/show_bug.cgi?id=54641

        * DumpRenderTree/qt/ImageDiff.cpp: Clear actualImage and baselineImage after all comparison.
        (main):

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

9 years ago2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Thu, 17 Feb 2011 17:30:12 +0000 (17:30 +0000)]
2011-02-17  Mikhail Naganov  <mnaganov@chromium.org>

        [Chromium] Unreviewed test expectations update.
        Re-enabling inspector/elements/mutate-unknown-node.html -- should pass after r78831.
        https://bugs.webkit.org/show_bug.cgi?id=54635

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

9 years ago2011-02-17 Steve Lacey <sjl@chromium.org>
commit-queue@webkit.org [Thu, 17 Feb 2011 17:26:27 +0000 (17:26 +0000)]
2011-02-17  Steve Lacey  <sjl@chromium.org>

        Reviewed by Darin Fisher.

        Roll chromium deps to 75190. Includes new dependency
        on libjingle.

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

        * DEPS:

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

9 years ago2011-02-17 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Thu, 17 Feb 2011 17:22:47 +0000 (17:22 +0000)]
2011-02-17  Sergio Villar Senin  <svillar@igalia.com>

        Unreviewed.

        Added a bunch of GTK+ baselines for Mozilla test suites
        (tables/mozilla/marvin).

        * platform/gtk/Skipped: Unskip tests which now have results.

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

9 years ago2011-02-17 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 17 Feb 2011 17:06:32 +0000 (17:06 +0000)]
2011-02-17  Zhenyao Mo  <zmo@google.com>

        Unreviewed, test expectations update.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-02-17 Peter Varga <pvarga@webkit.org>
pvarga@webkit.org [Thu, 17 Feb 2011 16:35:31 +0000 (16:35 +0000)]
2011-02-17  Peter Varga  <pvarga@webkit.org>

        Reviewed by Csaba Osztrogonác.

        The run-sunspider --v8-suite doesn't work
        https://bugs.webkit.org/show_bug.cgi?id=54660

        * Scripts/run-sunspider:

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

9 years ago2011-02-17 Kristian Amlie <kristian.amlie@nokia.com>
commit-queue@webkit.org [Thu, 17 Feb 2011 16:27:55 +0000 (16:27 +0000)]
2011-02-17  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Laszlo Gombos.

        Updated include paths for phonon.

        [Qt] WebKit patches required to work with a modularized version of Qt
        https://bugs.webkit.org/show_bug.cgi?id=53916

        * Source/WebKit.pri:
2011-02-17  Kristian Amlie  <kristian.amlie@nokia.com>

        Reviewed by Laszlo Gombos.

        Updated include paths for phonon.

        [Qt] WebKit patches required to work with a modularized version of Qt
        https://bugs.webkit.org/show_bug.cgi?id=53916

        Build fix. No tests.

        * WebCore.pro:

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

9 years ago2011-02-17 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Thu, 17 Feb 2011 16:25:00 +0000 (16:25 +0000)]
2011-02-17  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Kent Tamura.

        [EFL] Possible crash of ewk_frame_contents_set
        https://bugs.webkit.org/show_bug.cgi?id=54091

        Use length of contents if contents_size parameter is bigger than length
        of contents.

        * ewk/ewk_frame.cpp:
        (_ewk_frame_contents_set_internal):

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

9 years agoMake sure layout is up-to-date before rendering the layer tree in DrawingAreaImpl
aroben@apple.com [Thu, 17 Feb 2011 16:19:40 +0000 (16:19 +0000)]
Make sure layout is up-to-date before rendering the layer tree in DrawingAreaImpl

Fixes <http://webkit.org/b/54646> <rdar://problem/9016889> Assertion failure in
FrameView::paintContents when calling WKPageForceRepaint on a page that uses accelerated
compositing

Reviewed by Anders Carlsson.

* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::forceRepaint): Lay out before we do anything else.

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

9 years ago2011-02-17 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 17 Feb 2011 16:13:44 +0000 (16:13 +0000)]
2011-02-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [Chromium] inspector/elements/mutate-unknown-node.html test is flaky.
        https://bugs.webkit.org/show_bug.cgi?id=54635

        It was a race condition. Sometimes Inspector was loaded before domContentLoaded event but sometimes not.
        As result it receives second setDocument and got new ids for the DOM elements.

        * http/tests/inspector/elements-test.js:
        (initialize_ElementTest.InspectorTest.dumpDOMAgentTree):
        (initialize_ElementTest):
        * inspector/elements/mutate-unknown-node-expected.txt:
        * inspector/elements/mutate-unknown-node.html:

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

9 years agoSkip a new spinbutton test on Windows
aroben@apple.com [Thu, 17 Feb 2011 16:00:15 +0000 (16:00 +0000)]
Skip a new spinbutton test on Windows

Also updated the Bugzilla URL for these tests to point to a bug that isn't marked Resolved,
since clearly there's still an unresolved bug here! The new bug is
<http://webkit.org/b/54662>.

* platform/win/Skipped: Added fast/forms/input-appearance-spinbutton-layer.html.

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

9 years agoCheck in expected failure results on Windows for accessibility/canvas-fallback-conten...
aroben@apple.com [Thu, 17 Feb 2011 15:59:49 +0000 (15:59 +0000)]
Check in expected failure results on Windows for accessibility/canvas-fallback-content.html

Failure is tracked by <http://webkit.org/b/54654>.

* platform/win/accessibility/canvas-fallback-content-expected.txt: Added.

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

9 years agoSkip a failing test on Windows
aroben@apple.com [Thu, 17 Feb 2011 15:59:22 +0000 (15:59 +0000)]
Skip a failing test on Windows

Failure is tracked by <http://webkit.org/b/54655>.

* platform/win/Skipped: Added
http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html.

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

9 years agoUpdate Windows results after r78690
aroben@apple.com [Thu, 17 Feb 2011 15:58:56 +0000 (15:58 +0000)]
Update Windows results after r78690

Fixes <http://webkit.org/b/54657>.

* platform/win/media/controls-without-preload-expected.txt:

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

9 years agoSkip all inspector/debugger tests on Windows
aroben@apple.com [Thu, 17 Feb 2011 15:58:26 +0000 (15:58 +0000)]
Skip all inspector/debugger tests on Windows

The failures are tracked by <http://webkit.org/b/54490>.

* platform/win/Skipped:

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

9 years ago2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Thu, 17 Feb 2011 15:32:18 +0000 (15:32 +0000)]
2011-02-17  Mikhail Naganov  <mnaganov@chromium.org>

        [Chromium] Unreviewed test expectations update.
        Mark inspector/debugger/debug-inlined-scripts.html as crashing in debug.
        https://bugs.webkit.org/show_bug.cgi?id=54659

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

9 years ago2011-02-17 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 17 Feb 2011 15:05:52 +0000 (15:05 +0000)]
2011-02-17  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, rebaseline GTK test results.

        [GStreamer] media/video-zoom-controls.html fails
        https://bugs.webkit.org/show_bug.cgi?id=50918

        * platform/gtk/Skipped:
        * platform/gtk/media/video-zoom-controls-expected.txt:

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

9 years ago2011-02-17 Grzegorz Czajkowski <g.czajkowski@samsung.com>
commit-queue@webkit.org [Thu, 17 Feb 2011 15:01:28 +0000 (15:01 +0000)]
2011-02-17  Grzegorz Czajkowski  <g.czajkowski@samsung.com>

        Reviewed by Kent Tamura.

        Doxygen documentation for ewk cookies
        https://bugs.webkit.org/show_bug.cgi?id=54553

        * ewk/ewk_cookies.cpp:
        (ewk_cookies_file_set):
        (ewk_cookies_policy_set):
        (ewk_cookies_policy_get):
        * ewk/ewk_cookies.h:

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

9 years ago2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Thu, 17 Feb 2011 14:55:54 +0000 (14:55 +0000)]
2011-02-17  Mikhail Naganov  <mnaganov@chromium.org>

        [Chromium] Unreviewed test expectations update.
        Skip inspector/elements/mutate-unknown-node.html, it now timeouts.

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

9 years ago2011-02-17 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Thu, 17 Feb 2011 14:23:03 +0000 (14:23 +0000)]
2011-02-17  Sergio Villar Senin  <svillar@igalia.com>

        Unreviewed.

        Add the next set (tables/mozilla/dom) of GTK+ Mozilla test suite results.

        * platform/gtk/Skipped: Updated the skipped list.

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

9 years ago[Chromium] Unreviewed -- forgot to specify 'DEBUG' prefix for expectations in r78818.
mnaganov@chromium.org [Thu, 17 Feb 2011 14:16:32 +0000 (14:16 +0000)]
[Chromium] Unreviewed -- forgot to specify 'DEBUG' prefix for expectations in r78818.

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

9 years ago2011-02-17 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 17 Feb 2011 14:08:49 +0000 (14:08 +0000)]
2011-02-17  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, interactive ui test fix for r78808.

        * src/js/Tests.js:
        (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
        (.TestSuite.prototype._waitUntilScriptsAreParsed):

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

9 years ago2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Thu, 17 Feb 2011 14:05:46 +0000 (14:05 +0000)]
2011-02-17  Mikhail Naganov  <mnaganov@chromium.org>

        [Chromium] Unreviewed test expectations update.
        storage/indexeddb/set_version_(blocked|queue).html fails on all platforms in dbg on Chromium waterfall.
        https://bugs.webkit.org/show_bug.cgi?id=54644

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

9 years ago2011-02-17 Hui Huang <hui.2.huang@nokia.com>
commit-queue@webkit.org [Thu, 17 Feb 2011 13:39:46 +0000 (13:39 +0000)]
2011-02-17  Hui Huang  <hui.2.huang@nokia.com>

        Reviewed by Laszlo Gombos.

        The URL of HTML5 Video Element is percent encoded at websites such as youtube.
        It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
        the HTTP GET request for the video to be rejected by the service provider.
        https://bugs.webkit.org/show_bug.cgi?id=53973.

        The bug is fixed by constructing QUrl from the encoded URL.

        New test function tst_QWebPage::loadHtml5Video() is added in
        Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp

        * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
        (WebCore::MediaPlayerPrivateQt::commitLoad):
2011-02-17  Hui Huang  <hui.2.huang@nokia.com>

        Reviewed by Laszlo Gombos.

        The URL of HTML5 Video Element is percent encoded at websites such as youtube.
        It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
        the HTTP GET request for the video to be rejected by the service provider.
        https://bugs.webkit.org/show_bug.cgi?id=53973.

        The bug is fixed by constructing QUrl from the encoded URL in
        MediaPlayerPrivateQt::commitLoad.

        New test function tst_QWebPage::loadHtml5Video() is added to load HTML content with
        HTML5 Video element. A new public method DumpRenderTreeSupportQt::mediaContentUrlByElementId
        is added to retrieve the URL of the media content from WebCore MediaPlayerPrivateQt.
        A new macro ENABLE_QT_MULTIMEDIA is introduced in tests.pri to make sure that the test
        is skipped if Qt Multimedia is not available.

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::loadHtml5Video):
        * tests/tests.pri:

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