WebKit-https.git
9 years agoRevert unwanted change in platform/chromium/test_expectations.txt.
rniwa@webkit.org [Fri, 17 Jun 2011 02:44:04 +0000 (02:44 +0000)]
Revert unwanted change in platform/chromium/test_expectations.txt.

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 17 Jun 2011 02:41:38 +0000 (02:41 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Chromium Windows XP rebaseline after r89091.

        * platform/chromium-win-xp/editing/selection: Added.
        * platform/chromium-win-xp/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.png: Added.
        * platform/chromium-win-xp/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.png: Added.
        * platform/chromium-win-xp/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.png: Added.
        * platform/chromium-win-xp/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.png: Added.
        * platform/chromium-win-xp/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.png: Added.
        * platform/chromium-win-xp/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.png: Added.
        * platform/chromium-win-xp/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.png: Added.
        * platform/chromium-win-xp/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 17 Jun 2011 02:30:39 +0000 (02:30 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Fix Mac baselines for r89091. I don't know why the original baseline was wrong.

        * platform/mac/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt:
        * platform/mac/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt:
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt:
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt:
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt:

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 17 Jun 2011 02:20:51 +0000 (02:20 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Update Chromium test expectation after r89100.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 17 Jun 2011 02:04:00 +0000 (02:04 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Update Chromium Mac test expectations after r89091.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 17 Jun 2011 01:51:31 +0000 (01:51 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        GTK+ rebaselines after r89091.

        * platform/gtk/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt: Added.
        * platform/gtk/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt: Added.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=23611
barraclough@apple.com [Fri, 17 Jun 2011 01:47:25 +0000 (01:47 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=23611
Multiline Javascript comments cause incorrect parsing of following script.

Reviewed by Oliver Hunt.

From the spec:
"A MultiLineComment [is] simply discarded if it contains no line terminator,
but if a MultiLineComment contains one or more line terminators, then it is
replaced with a single line terminator, which becomes part of the stream of
inputs for the syntactic grammar."

This may result in behavioural changes, due to automatic semicolon insertion.

Source/JavaScriptCore:

* parser/Lexer.cpp:
(JSC::Lexer::parseMultilineComment):
    - Set m_terminator is we see a line terminator in a multiline comment.

LayoutTests:

* fast/js/multiline-comment-newline-expected.txt: Added.
* fast/js/multiline-comment-newline.html: Added.
* fast/js/script-tests/multiline-comment-newline.js: Added.
(shouldBeUndefined):

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 17 Jun 2011 01:39:53 +0000 (01:39 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Qt rebaselines after r89091.

        * platform/qt/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt: Added.
        * platform/qt/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt: Added.
        * platform/qt/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt: Added.
        * platform/qt/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt: Added.
        * platform/qt/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt: Added.
        * platform/qt/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt: Added.
        * platform/qt/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt: Added.
        * platform/qt/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt: Added.
        * platform/qt/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt: Added.
        * platform/qt/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt: Added.
        * platform/qt/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt: Added.
        * platform/qt/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt: Added.

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 17 Jun 2011 01:28:25 +0000 (01:28 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Windows rebaselines for r89091.

        * platform/mac/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt:
        * platform/mac/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt:
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt:
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt:
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt:
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt:

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 17 Jun 2011 01:18:57 +0000 (01:18 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Chromium rebaselines after r89091.

        They are all considered passing even though vertical text aren't rendered correctly in these tests
        because only selection range matters in these tests.

        * platform/chromium-linux/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt: Added.
        * platform/chromium-linux/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.png: Added.
        * platform/chromium-linux/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt: Added.
        * platform/chromium-win/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.png: Added.
        * platform/chromium-win/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt: Added.

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

9 years ago2011-06-16 Darin Adler <darin@apple.com>
darin@apple.com [Fri, 17 Jun 2011 01:16:59 +0000 (01:16 +0000)]
2011-06-16  Darin Adler  <darin@apple.com>

        Reviewed by Dan Bernstein.

        REGRESSION (r89035): HTMLTableRowsCollection constructor crashes; depends on compiler order of evaluation
        https://bugs.webkit.org/show_bug.cgi?id=62836

        Covered by existing tests on platforms where it occurs.

        * html/HTMLTableRowsCollection.cpp:
        (WebCore::HTMLTableRowsCollection::HTMLTableRowsCollection): Add a call to get()
        to prevent the passing behavior of PassRefPtr from kicking in and changing the
        table pointer to 0, possibly before it is dereferenced.

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

9 years ago2011-06-16 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 17 Jun 2011 01:02:58 +0000 (01:02 +0000)]
2011-06-16  Stephen White  <senorblanco@chromium.org>

        Unreviewed.

        Your chromium layout test results are now diamonds!  Ok, not really.
        But they're 0.03% better.

        * platform/chromium-linux/fast/transforms/transformed-document-element-expected.png:
        * platform/chromium-win/fast/transforms/transformed-document-element-expected.png:
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Fri, 17 Jun 2011 00:56:17 +0000 (00:56 +0000)]
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89055.
        http://trac.webkit.org/changeset/89055
        https://bugs.webkit.org/show_bug.cgi?id=62835

        Caused failures on all ports except GTK (Requested by
        mrobinson on #webkit).

        * http/tests/loading/resources/status-code-error-with-response-body.php: Removed.
        * http/tests/loading/resources/status-code-error-without-response-body.php: Removed.
        * http/tests/loading/status-code-error-without-response-body-expected.txt: Removed.
        * http/tests/loading/status-code-error-without-response-body.html: Removed.
        * platform/chromium/test_expectations.txt:
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89055.
        http://trac.webkit.org/changeset/89055
        https://bugs.webkit.org/show_bug.cgi?id=62835

        Caused failures on all ports except GTK (Requested by
        mrobinson on #webkit).

        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::statusWillBeHandledBySoup):
        (WebCore::soupErrorShouldCauseLoadFailure):
        (WebCore::convertSoupErrorToResourceError):
        (WebCore::sendRequestCallback):

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

9 years ago2011-06-16 Wyatt Carss <wcarss@chromium.org>
commit-queue@webkit.org [Fri, 17 Jun 2011 00:29:41 +0000 (00:29 +0000)]
2011-06-16  Wyatt Carss  <wcarss@chromium.org>

        Reviewed by Ryosuke Niwa.

        markup-dump conversion + rename: editing/deleting/5408255.html
        https://bugs.webkit.org/show_bug.cgi?id=62680

        Tests if the UI delete button works while '-webkit-user-select: none' is applied.
        There should be no visible content in the dumped markup. Holding off on rename.

        * editing/deleting/5408255.html:
        * editing/deleting/5408255-expected.txt:
        * platform/chromium-linux/editing/deleting/5408255-expected.png: Removed.
        * platform/chromium-mac-leopard/editing/deleting/5408255-expected.png: Removed.
        * platform/chromium-mac/editing/deleting/5408255-expected.png: Removed.
        * platform/chromium-win/editing/deleting/5408255-expected.png: Removed.
        * platform/chromium-win/editing/deleting/5408255-expected.txt: Removed.
        * platform/gtk/editing/deleting/5408255-expected.png: Removed.
        * platform/gtk/editing/deleting/5408255-expected.txt: Removed.
        * platform/mac/editing/deleting/5408255-expected.png: Removed.
        * platform/mac/editing/deleting/5408255-expected.txt: Removed.
        * platform/qt/editing/deleting/5408255-expected.txt: Removed.

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 17 Jun 2011 00:25:42 +0000 (00:25 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Support logical line movement in vertical writing mode
        https://bugs.webkit.org/show_bug.cgi?id=62743

        Added various tests to ensure WebKit uses a proper line direction point
        when extending selection horizontally in vertical writing modes.

        * editing/selection/vertical-lr-ltr-extend-line-backward-br.html: Added.
        * editing/selection/vertical-lr-ltr-extend-line-forward-br.html: Added.
        * editing/selection/vertical-rl-ltr-extend-line-backward-br.html: Added.
        * editing/selection/vertical-rl-ltr-extend-line-backward-p.html: Added.
        * editing/selection/vertical-rl-ltr-extend-line-backward-wrap.html: Added.
        * editing/selection/vertical-rl-ltr-extend-line-forward-br.html: Added.
        * editing/selection/vertical-rl-ltr-extend-line-forward-p.html: Added.
        * editing/selection/vertical-rl-ltr-extend-line-forward-wrap.html: Added.
        * editing/selection/vertical-rl-rtl-extend-line-backward-br.html: Added.
        * editing/selection/vertical-rl-rtl-extend-line-backward-p.html: Added.
        * editing/selection/vertical-rl-rtl-extend-line-forward-br.html: Added.
        * editing/selection/vertical-rl-rtl-extend-line-forward-p.html: Added.
        * platform/mac/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.png: Added.
        * platform/mac/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt: Added.
        * platform/mac/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.png: Added.
        * platform/mac/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.png: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.png: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.png: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.png: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.png: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.png: Added.
        * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt: Added.
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.png: Added.
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt: Added.
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.png: Added.
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt: Added.
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.png: Added.
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt: Added.
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.png: Added.
        * platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt: Added.
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Support logical line movement in vertical writing mode
        https://bugs.webkit.org/show_bug.cgi?id=62743

        Fixed the bug by making xOffsetForVerticalNavigation (now called lineDirectionPointForVerticalNavigation)
        aware of writing modes. Also extracted absoluteLineDirectionPointToLocalPointInBlock from previousLinePosition
        and nextLinePosition to convert a line direction point to a physical point relative to a root inline box.

        Tests: editing/selection/vertical-lr-ltr-extend-line-backward-br.html
               editing/selection/vertical-lr-ltr-extend-line-forward-br.html
               editing/selection/vertical-rl-ltr-extend-line-backward-br.html
               editing/selection/vertical-rl-ltr-extend-line-backward-p.html
               editing/selection/vertical-rl-ltr-extend-line-backward-wrap.html
               editing/selection/vertical-rl-ltr-extend-line-forward-br.html
               editing/selection/vertical-rl-ltr-extend-line-forward-p.html
               editing/selection/vertical-rl-ltr-extend-line-forward-wrap.html
               editing/selection/vertical-rl-rtl-extend-line-backward-br.html
               editing/selection/vertical-rl-rtl-extend-line-backward-p.html
               editing/selection/vertical-rl-rtl-extend-line-forward-br.html
               editing/selection/vertical-rl-rtl-extend-line-forward-p.html

        * editing/FrameSelection.cpp:
        (WebCore::FrameSelection::modifyExtendingForward): Calls lineDirectionPointForBlockDirectionNavigation.
        (WebCore::FrameSelection::modifyMovingForward): Ditto.
        (WebCore::FrameSelection::modifyExtendingBackward): Ditto.
        (WebCore::FrameSelection::modifyMovingBackward): Ditto.
        (WebCore::FrameSelection::modify): Ditto.
        (WebCore::FrameSelection::lineDirectionPointForBlockDirectionNavigation): Renamed from
        xPosForVerticalArrowNavigation; calls VisiblePosition::lineDirectionPointForVerticalNavigation.
        * editing/FrameSelection.h:
        * editing/VisiblePosition.cpp:
        (WebCore::VisiblePosition::lineDirectionPointForBlockDirectionNavigation): Renamed from
        xOffsetForVerticalNavigation. Returns line direction point instead of visual x coordinate.
        * editing/VisiblePosition.h:
        * editing/visible_units.cpp:
        (WebCore::absoluteLineDirectionPointToLocalPointInBlock): Extracted from previousLinePosition and
        nextLinePosition. Takes care or writing modes.
        (WebCore::previousLinePosition): Calls absoluteLineDirectionPointToLocalPointInBlock.
        (WebCore::nextLinePosition): Ditto.
        * editing/visible_units.h:
        * rendering/RootInlineBox.cpp:
        (WebCore::RootInlineBox::closestLeafChildForPoint): Added; takes a physical point and calls
        closestLeafChildForLogicalLeftPosition with logical x.
        * rendering/RootInlineBox.h:

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

9 years ago2011-06-16 Bill Budge <bbudge@chromium.org>
commit-queue@webkit.org [Thu, 16 Jun 2011 23:53:23 +0000 (23:53 +0000)]
2011-06-16  Bill Budge  <bbudge@chromium.org>

        Reviewed by Adam Barth.

        The AssociatedURLLoader returns URL access errors synchronously. Use a timer to return such errors asynchronously. Also add unit tests for successful loads, same-origin restriction by default, and successful cross-origin loads.
        https://bugs.webkit.org/show_bug.cgi?id=60059

        * WebKit.gyp:
        * WebKit.gypi:
        * src/AssociatedURLLoader.cpp:
        (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
        (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
        (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
        (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
        (WebKit::AssociatedURLLoader::ClientAdapter::enableErrorNotifications):
        (WebKit::AssociatedURLLoader::ClientAdapter::notifyError):
        (WebKit::AssociatedURLLoader::loadAsynchronously):
        * tests/AssociatedURLLoaderTest.cpp: Added.
        (WebKit::TestWebFrameClient::cancelledError):
        (WebKit::AssociatedURLLoaderTest::AssociatedURLLoaderTest):
        (WebKit::AssociatedURLLoaderTest::SetUp):
        (WebKit::AssociatedURLLoaderTest::TearDown):
        (WebKit::AssociatedURLLoaderTest::serveRequests):
        (WebKit::AssociatedURLLoaderTest::createAssociatedURLLoader):
        (WebKit::AssociatedURLLoaderTest::willSendRequest):
        (WebKit::AssociatedURLLoaderTest::didSendData):
        (WebKit::AssociatedURLLoaderTest::didReceiveResponse):
        (WebKit::AssociatedURLLoaderTest::didDownloadData):
        (WebKit::AssociatedURLLoaderTest::didReceiveData):
        (WebKit::AssociatedURLLoaderTest::didReceiveCachedMetadata):
        (WebKit::AssociatedURLLoaderTest::didFinishLoading):
        (WebKit::AssociatedURLLoaderTest::didFail):
        (WebKit::TEST_F):

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

9 years ago2011-06-16 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 16 Jun 2011 23:45:15 +0000 (23:45 +0000)]
2011-06-16  Nate Chapin  <japhet@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Set the referrer on a ResourceRequest from a WorkerThreadableLoader
        as soon as the request reaches the main thread and remove the
        optionalOutgoingReferrer parameter from some functions.
        https://bugs.webkit.org/show_bug.cgi?id=62806

        * loader/DocumentThreadableLoader.cpp:
        (WebCore::DocumentThreadableLoader::loadResourceSynchronously):
        (WebCore::DocumentThreadableLoader::create):
        (WebCore::DocumentThreadableLoader::DocumentThreadableLoader):
        (WebCore::DocumentThreadableLoader::loadRequest):
        * loader/DocumentThreadableLoader.h:
        * loader/ResourceLoadScheduler.cpp:
        (WebCore::ResourceLoadScheduler::scheduleSubresourceLoad):
        * loader/ResourceLoadScheduler.h:
        * loader/SubresourceLoader.cpp:
        (WebCore::SubresourceLoader::create):
        * loader/SubresourceLoader.h:
        * loader/WorkerThreadableLoader.cpp:
        (WebCore::WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=62824
barraclough@apple.com [Thu, 16 Jun 2011 23:40:06 +0000 (23:40 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=62824
DFG JIT - add support for branch-fusion of compareEq, JSValue comparisons in SpeculativeJIT

Reviewed by Sam Weinig.

CompareEq of non-integer values is the most common cause of speculation failure.

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compilePeepHoleIntegerBranch):
    - Support Equals.
(JSC::DFG::SpeculativeJIT::compilePeepHoleEq):
    - new! - peephole optimized Eq of JSValues.
(JSC::DFG::SpeculativeJIT::compile):
    - Add peephole optimization for CompareEq.
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::detectPeepHoleBranch):
    - Add support for dead nodes between compare & branch.
(JSC::DFG::SpeculativeJIT::isInteger):
    - Added to determine which form of peephole to do in CompareEq.

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

9 years ago2011-06-16 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 16 Jun 2011 23:15:10 +0000 (23:15 +0000)]
2011-06-16  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        FrameLoader doesn't need completeURL or baseURL
        https://bugs.webkit.org/show_bug.cgi?id=62818

        No functional change, thus no tests.

        * html/HTMLPlugInImageElement.cpp:
        (WebCore::HTMLPlugInImageElement::isImageType):
        (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
        * inspector/InspectorPageAgent.cpp:
        (WebCore::InspectorPageAgent::open):
        * loader/FrameLoader.cpp:
        * loader/FrameLoader.h:
        * loader/NavigationScheduler.cpp:
        (WebCore::NavigationScheduler::scheduleLocationChange):
        * page/History.cpp:
        (WebCore::History::urlForState):

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

9 years ago2011-06-16 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 16 Jun 2011 23:10:49 +0000 (23:10 +0000)]
2011-06-16  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Get rid of CoreIPC::In and CoreIPC::Out from some argument coders
        https://bugs.webkit.org/show_bug.cgi?id=62832

        * Shared/OriginAndDatabases.cpp:
        (WebKit::OriginAndDatabases::encode):
        (WebKit::OriginAndDatabases::decode):
        * Shared/SecurityOriginData.cpp:
        (WebKit::SecurityOriginData::encode):
        (WebKit::SecurityOriginData::decode):
        * Shared/WebKeyboardEvent.cpp:
        (WebKit::WebKeyboardEvent::encode):
        (WebKit::WebKeyboardEvent::decode):
        * Shared/WebOpenPanelParameters.cpp:
        (WebKit::WebOpenPanelParameters::Data::encode):
        (WebKit::WebOpenPanelParameters::Data::decode):
        * Shared/WebPreferencesStore.cpp:
        (WebKit::WebPreferencesStore::encode):
        (WebKit::WebPreferencesStore::decode):

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

9 years agoTry to fix the Windows build.
ggaren@apple.com [Thu, 16 Jun 2011 22:29:45 +0000 (22:29 +0000)]
Try to fix the Windows build.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Export another
symbol.

* bytecode/EvalCodeCache.h:
* heap/HandleHeap.h:
* heap/HeapRootVisitor.h:
* heap/NewSpace.h:
* runtime/ArgList.h:
* runtime/ScopeChain.h:
* runtime/SmallStrings.h:
* runtime/Structure.h: Stop forward-declaring things that don't really
exist anymore.

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

9 years ago2011-06-16 Dawit Alemayehu <adawit@kde.org>
commit-queue@webkit.org [Thu, 16 Jun 2011 22:20:53 +0000 (22:20 +0000)]
2011-06-16  Dawit Alemayehu  <adawit@kde.org>

        Reviewed by Antonio Gomes.

        Support for gnash flash player plugin in QtWebKit

        [Qt] Support for the gnash flash player plugin
        https://bugs.webkit.org/show_bug.cgi?id=62283

        No new tests needed. Existing nsplugin tests are sufficient.

        * plugins/qt/PluginPackageQt.cpp:
        (WebCore::PluginPackage::load):

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

9 years agoTry to fix the Mac build: Removed and re-added SlotVisitor.h to the Xcode
ggaren@apple.com [Thu, 16 Jun 2011 22:19:13 +0000 (22:19 +0000)]
Try to fix the Mac build: Removed and re-added SlotVisitor.h to the Xcode
project while crossing my fingers and facing west.

* JavaScriptCore.xcodeproj/project.pbxproj:

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

9 years ago2011-06-16 Sailesh Agrawal <sail@chromium.org>
commit-queue@webkit.org [Thu, 16 Jun 2011 22:08:11 +0000 (22:08 +0000)]
2011-06-16  Sailesh Agrawal  <sail@chromium.org>

        Reviewed by Mihai Parparita.

        [Chromium] Draw search tickmarks on overlay scrollbars
        https://bugs.webkit.org/show_bug.cgi?id=62783

        This change adds search tickmark support for overlay scrollbars. Tickmarks are only drawn when the scroll track is visible.

        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:Split the scrollbar drawing code into a track and knob version.
        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
        (wkScrollbarPainterPaint):
        (wkScrollbarPainterPaintTrack):
        (wkScrollbarPainterPaintKnob):
        * platform/chromium/ScrollbarThemeChromiumMac.h:
        * platform/chromium/ScrollbarThemeChromiumMac.mm:Factor out the paint tickmark code and call it from the overlay scrollbar drawing code.
        (WebCore::ScrollbarThemeChromiumMac::paint):
        (WebCore::ScrollbarThemeChromiumMac::paintTickmarks):

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

9 years agoBuild fix: Removed an incorrect symbol on Windows.
ggaren@apple.com [Thu, 16 Jun 2011 22:08:04 +0000 (22:08 +0000)]
Build fix: Removed an incorrect symbol on Windows.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:

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

9 years agoBuild fix: Removed an accidental commit from the future.
ggaren@apple.com [Thu, 16 Jun 2011 22:06:09 +0000 (22:06 +0000)]
Build fix: Removed an accidental commit from the future.

* CMakeLists.txt:

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

9 years ago2011-06-16 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Thu, 16 Jun 2011 22:01:43 +0000 (22:01 +0000)]
2011-06-16  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Introduced SlotVisitor into the project
        https://bugs.webkit.org/show_bug.cgi?id=62820

        This resolves a class vs typedef forward declaration issue, and gives all
        exported symbols the correct names.

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * JavaScriptCore.exp:
        * JavaScriptCore.gypi:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
        * JavaScriptCore.xcodeproj/project.pbxproj: Build!

        * bytecode/EvalCodeCache.h:
        * heap/HandleHeap.h:
        * heap/Heap.cpp:
        (JSC::Heap::Heap):
        (JSC::Heap::markRoots):
        * heap/Heap.h:
        * heap/HeapRootVisitor.h: Replaced MarkStack with SlotVisitor. Now no
        clients operate on a MarkStack.

        * heap/MarkStack.cpp:
        (JSC::SlotVisitor::visitChildren):
        (JSC::SlotVisitor::drain):
        * heap/SlotVisitor.h: Added.
        (JSC::SlotVisitor::SlotVisitor): Used 'protected' and a little cheesy
        inheritance to give SlotVisitor all the attributes of MarkStack without
        making this change giant. Over time, we will move more behavior into
        SlotVisitor and its subclasses.

        * heap/MarkStack.h:
        * heap/NewSpace.h: Replaced MarkStack with SlotVisitor. Now no
        clients operate on a MarkStack.

        * runtime/ArgList.h:
        * runtime/JSCell.h:
        * runtime/JSObject.h:
        * runtime/ScopeChain.h:
        * runtime/SmallStrings.h:
        * runtime/Structure.h: Replaced MarkStack with SlotVisitor. Now no
        clients operate on a MarkStack.
2011-06-16  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Introduced SlotVisitor into the project
        https://bugs.webkit.org/show_bug.cgi?id=62820

        This resolves a class vs typedef forward declaration issue, and gives all
        exported symbols the correct names.

        * dom/EventListener.h:
        * dom/Node.h:
        * dom/NodeFilterCondition.h:

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

9 years ago2011-06-16 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Thu, 16 Jun 2011 21:27:30 +0000 (21:27 +0000)]
2011-06-16  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        RefPtr frame since it can get removed in
        FrameLoader::finishedParsing.
        https://bugs.webkit.org/show_bug.cgi?id=62812

        Tests: already tested by fast/parser/document-write-into-initial-document.html.

        * dom/Document.cpp:
        (WebCore::Document::finishedParsing):

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

9 years ago2011-06-16 Sailesh Agrawal <sail@chromium.org>
commit-queue@webkit.org [Thu, 16 Jun 2011 21:20:52 +0000 (21:20 +0000)]
2011-06-16  Sailesh Agrawal  <sail@chromium.org>

        Reviewed by Mihai Parparita.

        [Chromium] Update forked ScrollAnimatorChromiumMac.mm/h
        https://bugs.webkit.org/show_bug.cgi?id=62779

        Updated ScrollAnimatorChromiumMac.mm/h with the latest code in WebCore/platform/mac/ScrollAnimatorMac.mm/h

        * platform/chromium/ScrollAnimatorChromiumMac.h:
        (WebCore::ScrollAnimatorChromiumMac::setNeedsScrollerStyleUpdate):
        (WebCore::ScrollAnimatorChromiumMac::needsScrollerStyleUpdate):
        * platform/chromium/ScrollAnimatorChromiumMac.mm:
        (-[ScrollAnimationHelperDelegate _immediateScrollToPoint:]):
        (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
        (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
        (WebCore::ScrollAnimatorChromiumMac::scroll):
        (WebCore::ScrollAnimatorChromiumMac::immediateScrollToPointForScrollAnimation):
        (WebCore::isScrollingLeftAndShouldNotRubberBand):
        (WebCore::isScrollingRightAndShouldNotRubberBand):
        (WebCore::ScrollAnimatorChromiumMac::handleWheelEvent):
        (WebCore::ScrollAnimatorChromiumMac::smoothScrollWithEvent):
        (WebCore::ScrollAnimatorChromiumMac::beginScrollGesture):
        (WebCore::ScrollAnimatorChromiumMac::snapRubberBand):
        (WebCore::ScrollAnimatorChromiumMac::snapRubberBandTimerFired):
        (WebCore::ScrollAnimatorChromiumMac::setIsActive):
        (WebCore::ScrollAnimatorChromiumMac::updateScrollerStyle):
        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:
        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
        (wkScrollbarPainterControllerStyle):

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

9 years ago2011-06-16 Sailesh Agrawal <sail@chromium.org>
commit-queue@webkit.org [Thu, 16 Jun 2011 21:18:35 +0000 (21:18 +0000)]
2011-06-16  Sailesh Agrawal  <sail@chromium.org>

        Reviewed by Mihai Parparita.

        [Chromium] Overlay scrollbars leave glitches on web content
        https://bugs.webkit.org/show_bug.cgi?id=62383

        Enable overlay scrollbars on Chromium Mac.

        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
        (preferredScrollerStyle):
2011-06-16  Sailesh Agrawal  <sail@chromium.org>

        Reviewed by Mihai Parparita.

        [Chromium] Overlay scrollbars leave glitches on web content
        https://bugs.webkit.org/show_bug.cgi?id=62383

        Fix glitches when scrolling with overlay scrollbars. The problem was that the render widget was copying the scrollbars when scrolling. Fix was to intersect the clip rect with the scroll rect. This is the same thing that Safari does (see WebChromeClient::scroll).

        * src/ChromeClientImpl.cpp:
        (WebKit::ChromeClientImpl::scroll):

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 16 Jun 2011 21:17:49 +0000 (21:17 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Skip the failing test added by r89056 on Qt.
        The failure is tracked by the bug 62821.

        * platform/qt/Skipped:

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 16 Jun 2011 20:52:45 +0000 (20:52 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Rolled DEPS.

        * DEPS:

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

9 years ago2011-06-16 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Thu, 16 Jun 2011 20:31:36 +0000 (20:31 +0000)]
2011-06-16  Stephen White  <senorblanco@chromium.org>

        Unreviewed.

        A yak.  Just kidding.  More test expectations updates.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 16 Jun 2011 20:25:54 +0000 (20:25 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Rolled DEPS.

        * DEPS:

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

9 years ago2011-06-16 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 16 Jun 2011 20:01:14 +0000 (20:01 +0000)]
2011-06-16  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Cleanup ResourceRequest, ResourceResponse and ResourceError argument coders
        https://bugs.webkit.org/show_bug.cgi?id=62803

        Get rid of the free encode/decode functions and move the template specializations to their
        respective implementation files instead.

        * Shared/WebCoreArgumentCoders.h:
        * Shared/gtk/WebCoreArgumentCodersGtk.cpp:
        (CoreIPC::::encode):
        (CoreIPC::::decode):
        * Shared/mac/WebCoreArgumentCodersMac.mm:
        (CoreIPC::::encode):
        (CoreIPC::::decode):
        * Shared/qt/WebCoreArgumentCodersQt.cpp:
        (CoreIPC::::encode):
        (CoreIPC::::decode):
        * Shared/win/WebCoreArgumentCodersWin.cpp:
        (CoreIPC::::encode):
        (CoreIPC::::decode):

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

9 years ago2011-06-16 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Thu, 16 Jun 2011 19:54:03 +0000 (19:54 +0000)]
2011-06-16  Stephen White  <senorblanco@chromium.org>

        Unreviewed.

        Yet more chromium expectations updates.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-15 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Thu, 16 Jun 2011 19:30:57 +0000 (19:30 +0000)]
2011-06-15  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Reduce memory usage of resolve_global
        https://bugs.webkit.org/show_bug.cgi?id=62765

        If we have a large number of resolve_globals in a single
        block start planting plain resolve instructions instead
        whenever we aren't in a loop.  This allows us to reduce
        the code size for extremely large functions without
        losing the performance benefits of op_resolve_global.

        * bytecode/CodeBlock.h:
        (JSC::CodeBlock::globalResolveInfoCount):
        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::shouldAvoidResolveGlobal):
        (JSC::BytecodeGenerator::emitResolve):
        (JSC::BytecodeGenerator::emitResolveWithBase):
        * bytecompiler/BytecodeGenerator.h:

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

9 years ago2011-06-16 una sabovic <una.sabovic@palm.com>
commit-queue@webkit.org [Thu, 16 Jun 2011 19:14:29 +0000 (19:14 +0000)]
2011-06-16  una sabovic  <una.sabovic@palm.com>

        Reviewed by Simon Fraser.

        Optimization: do a single fillRect when painting the root background in RenderBoxModelObject::paintFillLayerExtended
        https://bugs.webkit.org/show_bug.cgi?id=62593

        When painting the root background, instead of doing two fillRects blend the base with background color and do a single fillRect.

        No new tests. This is an optimization and it doesn't change any existing functionality.

        * rendering/RenderBoxModelObject.cpp:
        (WebCore::RenderBoxModelObject::paintFillLayerExtended):

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

9 years ago2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 16 Jun 2011 19:11:32 +0000 (19:11 +0000)]
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Consider padding and border when looking for the next/previous line position
        https://bugs.webkit.org/show_bug.cgi?id=55481

        Added a test to ensure WebKit can allow vertical caret movements even when
        inline elements that span multiple lines have paddings, borders, or both.

        * editing/selection/move-vertically-with-paddings-borders-expected.txt: Added.
        * editing/selection/move-vertically-with-paddings-borders.html: Added.
2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Consider padding and border when looking for the next/previous line position
        https://bugs.webkit.org/show_bug.cgi?id=55481

        The bug was caused by previousLinePosition and nextLinePosition passing y coordinate
        above the line in some cases. Fixed the bug by passing the larger of selectionTop and logicalTop.

        This patch is based on a patch originally written by Mario Sanchez Prada <msanchez@igalia.com>.

        Test: editing/selection/move-vertically-with-paddings-borders.html

        * editing/visible_units.cpp:
        (WebCore::previousLinePosition):
        (WebCore::nextLinePosition):
        * rendering/RootInlineBox.h:
        (WebCore::RootInlineBox::blockDirectionPointInLine):

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

9 years ago2011-06-16 Keunsoon Lee <keunsoon.lee@samsung.com>
commit-queue@webkit.org [Thu, 16 Jun 2011 18:54:09 +0000 (18:54 +0000)]
2011-06-16  Keunsoon Lee  <keunsoon.lee@samsung.com>

        Reviewed by Martin Robinson.

        [SOUP] Abnormal operation if server sends 5xx status code without HTTP body
        https://bugs.webkit.org/show_bug.cgi?id=60875

        * http/tests/loading/resources/status-code-error-with-response-body.php: Added.
            Accepting status code and creating response having body with the received status code
        * http/tests/loading/resources/status-code-error-without-response-body.php: Added.
            Accepting status code and creating response having no body with the received status code
        * http/tests/loading/status-code-error-without-response-body-expected.txt: Added.
        * http/tests/loading/status-code-error-without-response-body.html: Added.
            Sending XMLHttpRequest and check if return callback is onerror or onload for all 4xx and 5xx status codes.
        * platform/chromium/test_expectations.txt: add BUGWK60875
2011-06-16  Keunsoon Lee  <keunsoon.lee@samsung.com>

        Reviewed by Martin Robinson.

        [SOUP] Abnormal operation if server sends 5xx status code without HTTP body
        https://bugs.webkit.org/show_bug.cgi?id=60875

        Handle status code 4xx and 5xx after receiving HTTP body

        Webkit soup port premises that server always sends error page
        in case server sends error code, 4xx and 5xx.
        But, sometimes there is no HTTP body for error page.
        In that case, Webkit does nothing or tries to download the HTTP response
        according to received MIME Type even if there is no HTTP body. (abnormal operation)

        With this modification,
        Browser will show received error page if server sends error page.
        Or it will show its own error page from each port if server sends nothing.

        Modified algorithm
        1) libsoup sends status code 4xx or 5xx (client error or server error)
        2) Webkit soup port orders to accumulate HTTP body chunks to libsoup.
        3) Webkit soup port ignores gotHeadersCallback, contentSniffedCallback and gotChunkCallback.
        4) Webkit soup port checks there is HTTP body or not on sendRequestCallback and;
             4-1) if there is HTTP body, calls didReceiveResponse()
             4-2) if there is no HTTP body, calls didFail() - prevent the abnormal operation

        Test: http/tests/loading/status-code-error-without-response-body.html

        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::statusWillBeHandledBySoup):
            Add a new condition, SOUP_STATUS_IS_CLIENT_ERROR() and SOUP_STATUS_IS_SERVER_ERROR()
        (WebCore::soupErrorAndHaveNotReceivedBody):
            Add a new helper function, it checks received body is exist if soup sends error code
        (WebCore::soupErrorShouldCauseLoadFailure):
           Add a new condition, soupErrorAndHaveNotReceivedBody()
        (WebCore::convertSoupErrorToResourceError):
           Add a new condition, soupErrorAndHaveNotReceivedBody()
        (WebCore::sendRequestCallback):
           Check handle->client() again, because didReceiveResponse() can make it zero

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

9 years ago2011-06-16 Dmitry Lomov <dslomov@google.com>
commit-queue@webkit.org [Thu, 16 Jun 2011 18:46:44 +0000 (18:46 +0000)]
2011-06-16  Dmitry Lomov  <dslomov@google.com>

        Reviewed by David Levin.

        https://bugs.webkit.org/show_bug.cgi?id=62603
        Run run-api-tests on bots in debug mode.
        Release mode is disabled due to https://bugs.webkit.org/show_bug.cgi?id=61812.

        * BuildSlaveSupport/build.webkit.org-config/master.cfg:

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

9 years ago2011-06-16 Leandro Pereira <leandro@profusion.mobi>
commit-queue@webkit.org [Thu, 16 Jun 2011 18:41:09 +0000 (18:41 +0000)]
2011-06-16  Leandro Pereira  <leandro@profusion.mobi>

        Reviewed by Eric Seidel.

        [EFL] DumpRenderTree: Add GCController, PixelDumpSupport and
        WorkQueueItem.
        They will be plugged into the build system once the EFL's DRT is
        fully upstreamed.
        https://bugs.webkit.org/show_bug.cgi?id=61958

        * DumpRenderTree/efl: Added.
        * DumpRenderTree/efl/GCControllerEfl.cpp: Added.
        (GCController::collect):
        (GCController::collectOnAlternateThread):
        (GCController::getJSObjectCount):
        * DumpRenderTree/efl/PixelDumpSupportEfl.cpp: Added.
        (createBitmapContextFromWebView):
        * DumpRenderTree/efl/WorkQueueItemEfl.cpp: Added.
        (LoadItem::invoke):
        (LoadHTMLStringItem::invoke):
        (ReloadItem::invoke):
        (ScriptItem::invoke):
        (BackForwardItem::invoke):
        * DumpRenderTree/efl/WorkQueueItemEfl.h: Added.
        (WorkQueueItem::~WorkQueueItem):
        (LoadItem::LoadItem):
        (LoadHTMLStringItem::LoadHTMLStringItem):
        (ScriptItem::ScriptItem):
        (LoadingScriptItem::LoadingScriptItem):
        (LoadingScriptItem::invoke):
        (NonLoadingScriptItem::NonLoadingScriptItem):
        (NonLoadingScriptItem::invoke):
        (BackForwardItem::BackForwardItem):
        (BackItem::BackItem):
        (ForwardItem::ForwardItem):

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

9 years ago2011-06-16 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 16 Jun 2011 18:39:48 +0000 (18:39 +0000)]
2011-06-16  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Fisher.

        [Chromium] Prepare to move some APIs from WebFrame to WebDocument
        https://bugs.webkit.org/show_bug.cgi?id=62781

        This patch adds a WEBKIT_FRAME_TO_DOCUMENT_API_MOVE ifdef to prepare
        for moving a number of Document-specific APIs from WebFrame to
        WebDocument.  This ifdef will allow us to move these APIs without
        disrupting the consumers of the APIs (too much).

        * public/WebFrame.h:
        * src/WebFrameImpl.cpp:
        * src/WebFrameImpl.h:

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

9 years ago2011-06-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Thu, 16 Jun 2011 18:33:31 +0000 (18:33 +0000)]
2011-06-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Eric Seidel.

        [CMAKE] Enable METER_TAG of HTML5
        https://bugs.webkit.org/show_bug.cgi?id=62697

        Support for meter tag of html5 in CMake build system. However, this feature is
        only enabled on EFL port now.

        * Source/cmake/OptionsEfl.cmake: Add ENABLE_METER_TAG.
        * Source/cmakeconfig.h.cmake:ditto.

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

9 years ago2011-06-16 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Thu, 16 Jun 2011 18:23:36 +0000 (18:23 +0000)]
2011-06-16  Chang Shu  <cshu@webkit.org>

        Reviewed by Sam Weinig.

        [Qt] [WK2] Qt WebKit2 needs undo/redo support
        https://bugs.webkit.org/show_bug.cgi?id=62637

        Unskip passed tests.

        * platform/qt-wk2/Skipped:
2011-06-16  Chang Shu  <cshu@webkit.org>

        Reviewed by Sam Weinig.

        [Qt] [WK2] Qt WebKit2 needs undo/redo support
        https://bugs.webkit.org/show_bug.cgi?id=62637

        Implement undo/redo support for document.execCommand().

        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPagePrivate::QWKPagePrivate):
        (QWKPagePrivate::~QWKPagePrivate):
        (QWKPagePrivate::registerEditCommand):
        (QWKPagePrivate::clearAllEditCommands):
        (QWKPagePrivate::canUndoRedo):
        (QWKPagePrivate::executeUndoRedo):
        * UIProcess/API/qt/qwkpage_p.h:
        * UIProcess/qt/WebUndoCommandQt.cpp: Added.
        (WebUndoCommandQt::WebUndoCommandQt):
        (WebUndoCommandQt::~WebUndoCommandQt):
        (WebUndoCommandQt::redo):
        (WebUndoCommandQt::undo):
        * UIProcess/qt/WebUndoCommandQt.h: Added.
        (WebUndoCommandQt::inUndoRedo):
        * WebKit2.pro:

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

9 years ago2011-06-16 Vsevolod Vlasov <vsevik@chromium.org>
commit-queue@webkit.org [Thu, 16 Jun 2011 18:14:32 +0000 (18:14 +0000)]
2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Network panel shows incorrect query parameters when url has fragment.
        https://bugs.webkit.org/show_bug.cgi?id=62723

        * http/tests/inspector/resource-parameters-expected.txt:
        * http/tests/inspector/resource-parameters.html:
2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Network panel shows incorrect query parameters when url has fragment.
        https://bugs.webkit.org/show_bug.cgi?id=62723

        * English.lproj/localizedStrings.js:
        * inspector/front-end/HAREntry.js:
        (WebInspector.HAREntry.prototype._buildRequest):
        (WebInspector.HAREntry.prototype._buildRequestURL):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.set url):
        (WebInspector.Resource.prototype.get queryParameters):
        * inspector/front-end/ResourceHeadersView.js:
        (WebInspector.ResourceHeadersView):
        (WebInspector.ResourceHeadersView.prototype._refreshUrlFragment):

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

9 years ago2011-06-16 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 16 Jun 2011 18:12:24 +0000 (18:12 +0000)]
2011-06-16  Dimitri Glazkov  <dglazkov@chromium.org>

        Clang fix after r89039.

        * rendering/RenderThemeMac.h: Removed spurious constipation.
        * rendering/RenderThemeMac.mm:
        (WebCore::RenderThemeMac::fileListNameForWidth): Ditto.

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

9 years ago2011-06-16 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Thu, 16 Jun 2011 18:10:20 +0000 (18:10 +0000)]
2011-06-16  Stephen White  <senorblanco@chromium.org>

        Unreviewed.

        Update chromium test expectations.  Add some missing bug ID's (lazy
        gardener, no chocolate for you), and remove some now-passing tests.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-16 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 16 Jun 2011 18:07:05 +0000 (18:07 +0000)]
2011-06-16  Dimitri Glazkov  <dglazkov@chromium.org>

        [Qt] Build fix after r89039.

        * WebCore.pro: Added StringTruncator to build system.
        * platform/qt/RenderThemeQt.cpp: Reverted previous change.

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

9 years agoFix build.
andersca@apple.com [Thu, 16 Jun 2011 18:05:37 +0000 (18:05 +0000)]
Fix build.

* Shared/WebCoreArgumentCoders.cpp:
* Shared/WebCoreArgumentCoders.h:

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

9 years ago2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Thu, 16 Jun 2011 18:01:30 +0000 (18:01 +0000)]
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89026.
        http://trac.webkit.org/changeset/89026
        https://bugs.webkit.org/show_bug.cgi?id=62804

        These patches were likely correct.  I'll investigate the
        browser_test failures. (Requested by abarth on #webkit).

        * WebCore.exp.in:
        * bindings/js/ScheduledAction.cpp:
        (WebCore::ScheduledAction::execute):
        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::ScriptController):
        (WebCore::ScriptController::processingUserGesture):
        * bindings/js/ScriptController.h:
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::ScriptController):
        (WebCore::ScriptController::processingUserGesture):
        * bindings/v8/ScriptController.h:
        * dom/Event.cpp:
        * dom/Event.h:
        * dom/UserGestureIndicator.cpp:
        (WebCore::isDefinite):
        (WebCore::UserGestureIndicator::UserGestureIndicator):
        (WebCore::UserGestureIndicator::~UserGestureIndicator):
        * dom/UserGestureIndicator.h:
        (WebCore::UserGestureIndicator::processingUserGesture):
        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::removedFromDocument):
        (WebCore::HTMLMediaElement::load):
        (WebCore::HTMLMediaElement::play):
        (WebCore::HTMLMediaElement::pause):
        (WebCore::HTMLMediaElement::beginScrubbing):
        (WebCore::HTMLMediaElement::resume):
        * html/HTMLMediaElement.h:
        * html/HTMLMediaElement.idl:
        * html/HTMLVideoElement.cpp:
        (WebCore::HTMLVideoElement::webkitEnterFullscreen):
        * html/HTMLVideoElement.h:
        (WebCore::HTMLVideoElement::webkitEnterFullScreen):
        * html/HTMLVideoElement.idl:
        * html/MediaDocument.cpp:
        (WebCore::MediaDocument::defaultEventHandler):
        * html/shadow/MediaControlElements.cpp:
        (WebCore::MediaControlSeekButtonElement::defaultEventHandler):
        * html/shadow/TextControlInnerElements.cpp:
        (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89026.
        http://trac.webkit.org/changeset/89026
        https://bugs.webkit.org/show_bug.cgi?id=62804

        These patches were likely correct.  I'll investigate the
        browser_test failures. (Requested by abarth on #webkit).

        * src/WebPluginContainerImpl.cpp:
        (WebKit::WebPluginContainerImpl::loadFrameRequest):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::performMediaPlayerAction):
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89026.
        http://trac.webkit.org/changeset/89026
        https://bugs.webkit.org/show_bug.cgi?id=62804

        These patches were likely correct.  I'll investigate the
        browser_test failures. (Requested by abarth on #webkit).

        * WebCoreSupport/FullscreenVideoController.cpp:
        (FullscreenVideoController::play):
        (FullscreenVideoController::pause):
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89026.
        http://trac.webkit.org/changeset/89026
        https://bugs.webkit.org/show_bug.cgi?id=62804

        These patches were likely correct.  I'll investigate the
        browser_test failures. (Requested by abarth on #webkit).

        * WebView/WebVideoFullscreenHUDWindowController.mm:
        (-[WebVideoFullscreenHUDWindowController setPlaying:]):
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89026.
        http://trac.webkit.org/changeset/89026
        https://bugs.webkit.org/show_bug.cgi?id=62804

        These patches were likely correct.  I'll investigate the
        browser_test failures. (Requested by abarth on #webkit).

        * FullscreenVideoController.cpp:
        (FullscreenVideoController::play):
        (FullscreenVideoController::pause):

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

9 years ago2011-06-16 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 16 Jun 2011 17:54:59 +0000 (17:54 +0000)]
2011-06-16  Dimitri Glazkov  <dglazkov@chromium.org>

        [Qt] Build fix after r89039.

        * platform/qt/RenderThemeQt.cpp: Added StringTruncator include.

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

9 years ago2011-06-16 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 16 Jun 2011 17:46:52 +0000 (17:46 +0000)]
2011-06-16  Dimitri Glazkov  <dglazkov@chromium.org>

        [Qt] Build fix after r89039.

        * platform/qt/RenderThemeQt.h: Renamed local variable f to font.

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

9 years ago[wx] Unreviewed build fix, make sure the waf build checks the webKitBranchBuild
kevino@webkit.org [Thu, 16 Jun 2011 17:41:10 +0000 (17:41 +0000)]
[wx] Unreviewed build fix, make sure the waf build checks the webKitBranchBuild
preference like the perl scripts do.

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

9 years ago2011-06-16 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 16 Jun 2011 17:40:55 +0000 (17:40 +0000)]
2011-06-16  Dimitri Glazkov  <dglazkov@chromium.org>

        [Qt] Build fix after r89039.

        * platform/qt/RenderThemeQt.h: Move decl out of ENABLE(VIDEO) ifdef.

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

9 years ago2011-06-15 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 16 Jun 2011 17:33:18 +0000 (17:33 +0000)]
2011-06-15  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Kent Tamura.

        Move FileChooser::basenameForWidth to RenderTheme::fileListNameForWidth, eliminate gnarly FileChooserFoo proliferation.
        https://bugs.webkit.org/show_bug.cgi?id=62748

        Refactoring, covered by existing tests.

        * CMakeListsEfl.txt: Removed FileChooserFoo from build system.
        * CMakeListsWinCE.txt: Ditto.
        * GNUmakefile.list.am: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.order: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * platform/FileChooser.h: Removed baseNameForWidth decl.
        * platform/FileSystem.h: Removed now-unnecessary Chromium-specific cruft.
        * platform/android/FileChooserAndroid.cpp: Removed.
        * platform/brew/FileChooserBrew.cpp: Removed.
        * platform/chromium/FileChooserChromium.cpp: Removed.
        * platform/chromium/FileSystemChromiumLinux.cpp: Removed now-unnecessary code.
        * platform/chromium/FileSystemChromiumMac.mm: Ditto.
        * platform/chromium/FileSystemChromiumWin.cpp: Ditto.
        * platform/efl/FileChooserEfl.cpp: Removed.
        * platform/gtk/FileChooserGtk.cpp: Removed.
        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::stringByAdoptingFileSystemRepresentation): Moved from FileChooserGtk.
        (WebCore::RenderThemeGtk::fileListNameForWidth): Ditto.
        * platform/gtk/RenderThemeGtk.h: Added decl.
        * platform/haiku/FileChooserHaiku.cpp: Removed.
        * platform/mac/FileChooserMac.mm: Removed.
        * platform/qt/FileChooserQt.cpp: Removed.
        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::RenderThemeQt): Moved from FileChooserQt.
        (WebCore::RenderThemeQt::fileListNameForWidth): Ditto.
        * platform/qt/RenderThemeQt.h: Adde decl.
        * platform/win/FileChooserWin.cpp: Removed.
        * platform/wx/FileChooserWx.cpp: Removed.
        * rendering/RenderFileUploadControl.cpp:
        (WebCore::RenderFileUploadControl::fileTextValue): Changed to use RenderTheme.
        * rendering/RenderTheme.cpp:
        (WebCore::RenderTheme::fileListNameForWidth): Added default impl.
        * rendering/RenderTheme.h: Added decl.
        * rendering/RenderThemeMac.h: Ditto.
        * rendering/RenderThemeMac.mm:
        (WebCore::RenderThemeMac::fileListNameForWidth): Added default Mac impl.

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

9 years ago2011-06-15 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 16 Jun 2011 17:01:59 +0000 (17:01 +0000)]
2011-06-15  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Move more argument coders to WebCoreArgumentCoders and clean up the animation coders
        https://bugs.webkit.org/show_bug.cgi?id=62760

        * Shared/WebCoreArgumentCoders.cpp:
        (CoreIPC::::encode):
        (CoreIPC::::decode):
        (CoreIPC::encodeOperation):
        (CoreIPC::decodeOperation):
        (CoreIPC::encodeBoolAndValue):
        (CoreIPC::encodeBoolAndEnumValue):
        (CoreIPC::decodeBoolAndValue):
        (CoreIPC::decodeBoolAndEnumValue):
        * Shared/WebCoreArgumentCoders.h:
        * Shared/mac/ArgumentCodersMac.h:
        * Shared/mac/ArgumentCodersMac.mm:
        * Shared/mac/WebCoreArgumentCodersMac.mm:
        (CoreIPC::::encode):
        (CoreIPC::::decode):

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

9 years ago2011-06-16 Qi Zhang <qi.2.zhang@nokia.com>
qi.2.zhang@nokia.com [Thu, 16 Jun 2011 16:55:56 +0000 (16:55 +0000)]
2011-06-16  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] Fix building with CONFIG(use_system_icu)
        https://bugs.webkit.org/show_bug.cgi?id=62744

        Do not define WTF_USE_QT4_UNICODE if WTF_USE_ICU_UNICODE is set.

        * wtf/Platform.h:

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

9 years ago2011-06-16 Vsevolod Vlasov <vsevik@chromium.org>
pfeldman@chromium.org [Thu, 16 Jun 2011 16:53:03 +0000 (16:53 +0000)]
2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
        https://bugs.webkit.org/show_bug.cgi?id=61205

        Added inspector backend cache for XHR content.

        * http/tests/inspector/network/network-xhr-async-expected.txt: Added.
        * http/tests/inspector/network/network-xhr-async.html: Added.
        * http/tests/inspector/network/network-xhr-sync-expected.txt: Added.
        * http/tests/inspector/network/network-xhr-sync.html: Added.
2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
        https://bugs.webkit.org/show_bug.cgi?id=61205

        Added inspector backend cache for XHR content.

        Tests: http/tests/inspector/network/network-xhr-async.html
               http/tests/inspector/network/network-xhr-sync.html

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * fileapi/FileReaderLoader.cpp:
        (WebCore::FileReaderLoader::didReceiveResponse):
        * fileapi/FileReaderLoader.h:
        * inspector/Inspector.json:
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::didReceiveXHRResponseImpl):
        (WebCore::InspectorInstrumentation::willLoadXHRSynchronouslyImpl):
        (WebCore::InspectorInstrumentation::didLoadXHRSynchronouslyImpl):
        (WebCore::InspectorInstrumentation::didCommitLoadImpl):
        * inspector/InspectorInstrumentation.h:
        (WebCore::InspectorInstrumentation::didReceiveXHRResponse):
        (WebCore::InspectorInstrumentation::willLoadXHRSynchronously):
        (WebCore::InspectorInstrumentation::didLoadXHRSynchronously):
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::willSendRequest):
        (WebCore::InspectorResourceAgent::didReceiveResponse):
        (WebCore::InspectorResourceAgent::setInitialXHRContent):
        (WebCore::InspectorResourceAgent::didReceiveXHRResponse):
        (WebCore::InspectorResourceAgent::willLoadXHRSynchronously):
        (WebCore::InspectorResourceAgent::didLoadXHRSynchronously):
        (WebCore::InspectorResourceAgent::getResourceContent):
        (WebCore::InspectorResourceAgent::mainFrameNavigated):
        (WebCore::InspectorResourceAgent::InspectorResourceAgent):
        * inspector/InspectorResourceAgent.h:
        * inspector/NetworkResourcesData.cpp: Added.
        (WebCore::NetworkResourcesData::ResourceData::ResourceData):
        (WebCore::NetworkResourcesData::ResourceData::content):
        (WebCore::NetworkResourcesData::ResourceData::appendContent):
        (WebCore::NetworkResourcesData::ResourceData::purgeContent):
        (WebCore::NetworkResourcesData::NetworkResourcesData):
        (WebCore::NetworkResourcesData::~NetworkResourcesData):
        (WebCore::NetworkResourcesData::resourceCreated):
        (WebCore::NetworkResourcesData::responseReceived):
        (WebCore::NetworkResourcesData::didReceiveXHRResponse):
        (WebCore::NetworkResourcesData::addResourceContent):
        (WebCore::NetworkResourcesData::isXHR):
        (WebCore::NetworkResourcesData::data):
        (WebCore::NetworkResourcesData::clear):
        (WebCore::NetworkResourcesData::ensureNoDataForIdentifier):
        (WebCore::NetworkResourcesData::ensureFreeSpace):
        * inspector/NetworkResourcesData.h: Added.
        (WebCore::NetworkResourcesData::ResourceData::identifier):
        (WebCore::NetworkResourcesData::ResourceData::loaderId):
        (WebCore::NetworkResourcesData::ResourceData::frameId):
        (WebCore::NetworkResourcesData::ResourceData::setFrameId):
        (WebCore::NetworkResourcesData::ResourceData::url):
        (WebCore::NetworkResourcesData::ResourceData::setUrl):
        (WebCore::NetworkResourcesData::ResourceData::isXHR):
        (WebCore::NetworkResourcesData::ResourceData::setIsXHR):
        (WebCore::NetworkResourcesData::ResourceData::hasContent):
        (WebCore::NetworkResourcesData::ResourceData::isContentPurged):
        (WebCore::NetworkResourcesData::ResourceData::setIsContentPurged):
        * inspector/front-end/NetworkManager.js:
        (WebInspector.NetworkManager.prototype.requestContent):
        (WebInspector.NetworkDispatcher.prototype._appendRedirect):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype._appendResource):
        (WebInspector.NetworkPanel.prototype._frameNavigated):
        * loader/DocumentThreadableLoader.cpp:
        (WebCore::DocumentThreadableLoader::didReceiveResponse):
        (WebCore::DocumentThreadableLoader::receivedCancellation):
        (WebCore::DocumentThreadableLoader::loadRequest):
        * loader/DocumentThreadableLoader.h:
        * loader/ThreadableLoaderClient.h:
        (WebCore::ThreadableLoaderClient::didReceiveResponse):
        (WebCore::ThreadableLoaderClient::didReceiveAuthenticationCancellation):
        * loader/ThreadableLoaderClientWrapper.h:
        (WebCore::ThreadableLoaderClientWrapper::didReceiveResponse):
        (WebCore::ThreadableLoaderClientWrapper::didReceiveAuthenticationCancellation):
        * loader/WorkerThreadableLoader.cpp:
        (WebCore::workerContextDidReceiveResponse):
        (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse):
        (WebCore::workerContextDidReceiveAuthenticationCancellation):
        (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveAuthenticationCancellation):
        * loader/WorkerThreadableLoader.h:
        * notifications/Notification.cpp:
        (WebCore::Notification::didReceiveResponse):
        (WebCore::Notification::didReceiveAuthenticationCancellation):
        * notifications/Notification.h:
        * page/EventSource.cpp:
        (WebCore::EventSource::didReceiveResponse):
        * page/EventSource.h:
        * workers/WorkerScriptLoader.cpp:
        (WebCore::WorkerScriptLoader::didReceiveResponse):
        (WebCore::WorkerScriptLoader::didReceiveAuthenticationCancellation):
        * workers/WorkerScriptLoader.h:
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::createRequest):
        (WebCore::XMLHttpRequest::didReceiveResponse):
        (WebCore::XMLHttpRequest::didReceiveAuthenticationCancellation):
        * xml/XMLHttpRequest.h:
2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
        https://bugs.webkit.org/show_bug.cgi?id=61205

        Added inspector backend cache for XHR content.

        * src/AssociatedURLLoader.cpp:
        (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):

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

9 years ago2011-06-16 Julien Chaffraix <jchaffraix@webkit.org>
jchaffraix@webkit.org [Thu, 16 Jun 2011 16:50:19 +0000 (16:50 +0000)]
2011-06-16  Julien Chaffraix  <jchaffraix@webkit.org>

        Reviewed by Darin Adler.

        HTMLTable should cache its 'rows' collection results
        https://bugs.webkit.org/show_bug.cgi?id=62800

        * perf/table-rows-length-caching-expected.txt: Added.
        * perf/table-rows-length-caching.html: Added.
        This test checks that the call to table.rows is CONSTANT once it has
        been populated once (and the DOM is not mutated).
2011-06-16  Julien Chaffraix  <jchaffraix@webkit.org>

        Reviewed by Darin Adler.

        HTMLTable should cache its 'rows' collection results
        https://bugs.webkit.org/show_bug.cgi?id=62800

        Test: perf/table-rows-length-caching.html

        Currently all our HTMLCollection's are recreated on call. This means that
        we don't cache the information about the collection between calls to, for
        example, table.rows.

        This change adds a CollectionCache to HTMLTableElement. It is similar to what
        is done for HTMLFormElement.

        * html/HTMLTableElement.cpp:
        (WebCore::HTMLTableElement::collectionCache): This method does
        lazy initialization of the table's collectionCache.
        * html/HTMLTableElement.h: Added a new member and the previous
        method.

        * html/HTMLTableRowsCollection.cpp:
        (WebCore::HTMLTableRowsCollection::HTMLTableRowsCollection): Pass
        the HTMLTableElement's CollectionCache so that we reuse the cached
        results.

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

9 years ago2011-06-16 Vitaly Repeshko <vitalyr@chromium.org>
vitalyr@chromium.org [Thu, 16 Jun 2011 16:39:27 +0000 (16:39 +0000)]
2011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>

        Unreviewed.

        [chromium] Adding more new baselines.

        * platform/chromium-mac-leopard/fast/forms/basic-textareas-expected.png:
        * platform/chromium-mac-leopard/svg/hixie/text/003-expected.png:

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

9 years ago2011-06-16 Vitaly Repeshko <vitalyr@chromium.org>
vitalyr@chromium.org [Thu, 16 Jun 2011 16:33:58 +0000 (16:33 +0000)]
2011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>

        Unreviewed.

        [chromium] Adding new baselines.

        * platform/chromium-mac-leopard/fast/replaced/outline-replaced-elements-expected.png: Added.

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

9 years ago2011-06-16 Tommy Widenflycht <tommyw@google.com>
commit-queue@webkit.org [Thu, 16 Jun 2011 16:19:53 +0000 (16:19 +0000)]
2011-06-16  Tommy Widenflycht  <tommyw@google.com>

        Reviewed by Tony Gentilcore.

        MediaStream API: Runtime enabled features
        https://bugs.webkit.org/show_bug.cgi?id=62798

        Add the WebRuntimeFeatures API for Media Streams and enable the feature by default in DumpRenderTree.

        * public/WebRuntimeFeatures.h:
        * src/WebRuntimeFeatures.cpp:
        (WebKit::WebRuntimeFeatures::enableMediaStream):
        (WebKit::WebRuntimeFeatures::isMediaStreamEnabled):
2011-06-16  Tommy Widenflycht  <tommyw@google.com>

        Reviewed by Tony Gentilcore.

        MediaStream API: Runtime enabled features
        https://bugs.webkit.org/show_bug.cgi?id=62798

        Add the WebRuntimeFeatures API for Media Streams and enable the feature by default in DumpRenderTree.

        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::TestShell):

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

9 years ago2011-06-16 Torsten Kurbad <gentoo@tk-webart.de>
commit-queue@webkit.org [Thu, 16 Jun 2011 16:18:23 +0000 (16:18 +0000)]
2011-06-16  Torsten Kurbad  <gentoo@tk-webart.de>

        Reviewed by Eric Seidel.

        Add support for sys.platform == 'linux3' by relaxing
        conditional statements and/or extending lookup dicts.
        This way, Linux kernels >=3.0-rc1 get supported in the
        build process.
        https://bugs.webkit.org/show_bug.cgi?id=62730

        * gyp_webkit:
2011-06-16  Torsten Kurbad  <gentoo@tk-webart.de>

        Reviewed by Eric Seidel.

        Add support for sys.platform == 'linux3' by relaxing
        conditional statements and/or extending lookup dicts.
        This way, Linux kernels >=3.0-rc1 get supported in the
        build process.
        https://bugs.webkit.org/show_bug.cgi?id=62730

        * Scripts/webkitpy/common/system/executive.py:
        * Scripts/webkitpy/common/system/file_lock.py:
        * Scripts/webkitpy/common/system/path_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/manager.py:
        * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
        * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
        * Scripts/webkitpy/layout_tests/port/factory.py:
        * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
        * Scripts/webkitpy/layout_tests/port/qt.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

9 years ago2011-06-16 Sangyong Park <sy302.park@gmail.com>
commit-queue@webkit.org [Thu, 16 Jun 2011 16:03:15 +0000 (16:03 +0000)]
2011-06-16  Sangyong Park  <sy302.park@gmail.com>

        Reviewed by Martin Robinson.

        [GTK] Implement ResourceRequest and ResourceResponse encoder/decoder
        https://bugs.webkit.org/show_bug.cgi?id=55934

        * Shared/gtk/WebCoreArgumentCodersGtk.cpp:
        (CoreIPC::encodeResourceRequest):
        (CoreIPC::decodeResourceRequest):
        (CoreIPC::encodeResourceResponse):
        (CoreIPC::decodeResourceResponse):

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

9 years ago2011-06-16 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 16 Jun 2011 15:44:15 +0000 (15:44 +0000)]
2011-06-16  Eric Carlson  <eric.carlson@apple.com>

        Unreviewed, removing test incorrectly added to GTK skipped list.

        [Qt] http/tests/appcache/video.html fails
        https://bugs.webkit.org/show_bug.cgi?id=62741

        * platform/gtk/Skipped: Unskip test.
        * platform/qt/Skipped: Add bug url.

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

9 years ago2011-06-16 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 16 Jun 2011 15:39:54 +0000 (15:39 +0000)]
2011-06-16  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Remove support for GTK+2 in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=62794

        * configure.ac: Make WebKit2 require GTK+ 3.x.
2011-06-16  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Remove support for GTK+2 in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=62794

        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
        (webkitWebViewBaseRealize):
        (webkitWebViewBaseDraw):
        (webkitWebViewBaseQueryTooltip):
        (webkit_web_view_base_class_init):
        (webkitWebViewBaseSetTooltipText):
        * UIProcess/gtk/WebContextMenuProxyGtk.cpp:
        (WebKit::WebContextMenuProxyGtk::menuPositionFunction):
        * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
        (WebKit::moduleMixesGtkSymbols):

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

9 years ago2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
yurys@chromium.org [Thu, 16 Jun 2011 15:27:59 +0000 (15:27 +0000)]
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89025.
        http://trac.webkit.org/changeset/89025
        https://bugs.webkit.org/show_bug.cgi?id=62799

        "Some layout tests fail" (Requested by yurys on #webkit).

        * http/tests/inspector/network/network-xhr-async-expected.txt: Removed.
        * http/tests/inspector/network/network-xhr-async.html: Removed.
        * http/tests/inspector/network/network-xhr-sync-expected.txt: Removed.
        * http/tests/inspector/network/network-xhr-sync.html: Removed.
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89025.
        http://trac.webkit.org/changeset/89025
        https://bugs.webkit.org/show_bug.cgi?id=62799

        "Some layout tests fail" (Requested by yurys on #webkit).

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * fileapi/FileReaderLoader.cpp:
        (WebCore::FileReaderLoader::didReceiveResponse):
        * fileapi/FileReaderLoader.h:
        * inspector/Inspector.json:
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::didCommitLoadImpl):
        * inspector/InspectorInstrumentation.h:
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::willSendRequest):
        (WebCore::InspectorResourceAgent::didReceiveResponse):
        (WebCore::InspectorResourceAgent::setInitialXHRContent):
        (WebCore::InspectorResourceAgent::InspectorResourceAgent):
        * inspector/InspectorResourceAgent.h:
        * inspector/NetworkResourcesData.cpp: Removed.
        * inspector/NetworkResourcesData.h: Removed.
        * inspector/front-end/NetworkManager.js:
        (WebInspector.NetworkManager.prototype.requestContent):
        (WebInspector.NetworkDispatcher.prototype._appendRedirect):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype._appendResource):
        (WebInspector.NetworkPanel.prototype._frameNavigated):
        * loader/DocumentThreadableLoader.cpp:
        (WebCore::DocumentThreadableLoader::didReceiveResponse):
        (WebCore::DocumentThreadableLoader::receivedCancellation):
        (WebCore::DocumentThreadableLoader::loadRequest):
        * loader/DocumentThreadableLoader.h:
        * loader/ThreadableLoaderClient.h:
        (WebCore::ThreadableLoaderClient::didReceiveResponse):
        (WebCore::ThreadableLoaderClient::didReceiveAuthenticationCancellation):
        * loader/ThreadableLoaderClientWrapper.h:
        (WebCore::ThreadableLoaderClientWrapper::didReceiveResponse):
        (WebCore::ThreadableLoaderClientWrapper::didReceiveAuthenticationCancellation):
        * loader/WorkerThreadableLoader.cpp:
        (WebCore::workerContextDidReceiveResponse):
        (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse):
        (WebCore::workerContextDidReceiveAuthenticationCancellation):
        (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveAuthenticationCancellation):
        * loader/WorkerThreadableLoader.h:
        * notifications/Notification.cpp:
        (WebCore::Notification::didReceiveResponse):
        (WebCore::Notification::didReceiveAuthenticationCancellation):
        * notifications/Notification.h:
        * page/EventSource.cpp:
        (WebCore::EventSource::didReceiveResponse):
        * page/EventSource.h:
        * workers/WorkerScriptLoader.cpp:
        (WebCore::WorkerScriptLoader::didReceiveResponse):
        (WebCore::WorkerScriptLoader::didReceiveAuthenticationCancellation):
        * workers/WorkerScriptLoader.h:
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::createRequest):
        (WebCore::XMLHttpRequest::didReceiveResponse):
        (WebCore::XMLHttpRequest::didReceiveAuthenticationCancellation):
        * xml/XMLHttpRequest.h:
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89025.
        http://trac.webkit.org/changeset/89025
        https://bugs.webkit.org/show_bug.cgi?id=62799

        "Some layout tests fail" (Requested by yurys on #webkit).

        * src/AssociatedURLLoader.cpp:
        (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):

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

9 years ago2011-06-16 Vitaly Repeshko <vitalyr@chromium.org>
vitalyr@chromium.org [Thu, 16 Jun 2011 14:43:48 +0000 (14:43 +0000)]
2011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>

        Unreviewed.

        Revert Adam's user gesture patch series r89002, r89005, r89007, r89018
        https://bugs.webkit.org/show_bug.cgi?id=62796

        The patches broke chromium browser tests.

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

9 years ago2011-06-16 Vsevolod Vlasov <vsevik@chromium.org>
yurys@chromium.org [Thu, 16 Jun 2011 14:14:05 +0000 (14:14 +0000)]
2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
        https://bugs.webkit.org/show_bug.cgi?id=61205

        Added inspector backend cache for XHR content.

        * http/tests/inspector/network/network-xhr-async-expected.txt: Added.
        * http/tests/inspector/network/network-xhr-async.html: Added.
        * http/tests/inspector/network/network-xhr-sync-expected.txt: Added.
        * http/tests/inspector/network/network-xhr-sync.html: Added.
2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
        https://bugs.webkit.org/show_bug.cgi?id=61205

        Added inspector backend cache for XHR content.

        Tests: http/tests/inspector/network/network-xhr-async.html
               http/tests/inspector/network/network-xhr-sync.html

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * fileapi/FileReaderLoader.cpp:
        (WebCore::FileReaderLoader::didReceiveResponse):
        * fileapi/FileReaderLoader.h:
        * inspector/Inspector.json:
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::didReceiveXHRResponseImpl):
        (WebCore::InspectorInstrumentation::willLoadXHRSynchronouslyImpl):
        (WebCore::InspectorInstrumentation::didLoadXHRSynchronouslyImpl):
        (WebCore::InspectorInstrumentation::didCommitLoadImpl):
        * inspector/InspectorInstrumentation.h:
        (WebCore::InspectorInstrumentation::didReceiveXHRResponse):
        (WebCore::InspectorInstrumentation::willLoadXHRSynchronously):
        (WebCore::InspectorInstrumentation::didLoadXHRSynchronously):
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::willSendRequest):
        (WebCore::InspectorResourceAgent::didReceiveResponse):
        (WebCore::InspectorResourceAgent::setInitialXHRContent):
        (WebCore::InspectorResourceAgent::didReceiveXHRResponse):
        (WebCore::InspectorResourceAgent::willLoadXHRSynchronously):
        (WebCore::InspectorResourceAgent::didLoadXHRSynchronously):
        (WebCore::InspectorResourceAgent::getResourceContent):
        (WebCore::InspectorResourceAgent::mainFrameNavigated):
        (WebCore::InspectorResourceAgent::InspectorResourceAgent):
        * inspector/InspectorResourceAgent.h:
        * inspector/NetworkResourcesData.cpp: Added.
        (WebCore::NetworkResourcesData::ResourceData::ResourceData):
        (WebCore::NetworkResourcesData::ResourceData::content):
        (WebCore::NetworkResourcesData::ResourceData::appendContent):
        (WebCore::NetworkResourcesData::ResourceData::purgeContent):
        (WebCore::NetworkResourcesData::NetworkResourcesData):
        (WebCore::NetworkResourcesData::~NetworkResourcesData):
        (WebCore::NetworkResourcesData::resourceCreated):
        (WebCore::NetworkResourcesData::responseReceived):
        (WebCore::NetworkResourcesData::didReceiveXHRResponse):
        (WebCore::NetworkResourcesData::addResourceContent):
        (WebCore::NetworkResourcesData::isXHR):
        (WebCore::NetworkResourcesData::data):
        (WebCore::NetworkResourcesData::clear):
        (WebCore::NetworkResourcesData::ensureFreeSpace):
        * inspector/NetworkResourcesData.h: Added.
        (WebCore::NetworkResourcesData::ResourceData::identifier):
        (WebCore::NetworkResourcesData::ResourceData::loaderId):
        (WebCore::NetworkResourcesData::ResourceData::frameId):
        (WebCore::NetworkResourcesData::ResourceData::setFrameId):
        (WebCore::NetworkResourcesData::ResourceData::url):
        (WebCore::NetworkResourcesData::ResourceData::setUrl):
        (WebCore::NetworkResourcesData::ResourceData::isXHR):
        (WebCore::NetworkResourcesData::ResourceData::setIsXHR):
        (WebCore::NetworkResourcesData::ResourceData::hasContent):
        (WebCore::NetworkResourcesData::ResourceData::isContentPurged):
        (WebCore::NetworkResourcesData::ResourceData::setIsContentPurged):
        * inspector/front-end/NetworkManager.js:
        (WebInspector.NetworkManager.prototype.requestContent):
        (WebInspector.NetworkDispatcher.prototype._appendRedirect):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype._appendResource):
        (WebInspector.NetworkPanel.prototype._frameNavigated):
        * loader/DocumentThreadableLoader.cpp:
        (WebCore::DocumentThreadableLoader::didReceiveResponse):
        (WebCore::DocumentThreadableLoader::receivedCancellation):
        (WebCore::DocumentThreadableLoader::loadRequest):
        * loader/DocumentThreadableLoader.h:
        * loader/ThreadableLoaderClient.h:
        (WebCore::ThreadableLoaderClient::didReceiveResponse):
        (WebCore::ThreadableLoaderClient::didReceiveAuthenticationCancellation):
        * loader/ThreadableLoaderClientWrapper.h:
        (WebCore::ThreadableLoaderClientWrapper::didReceiveResponse):
        (WebCore::ThreadableLoaderClientWrapper::didReceiveAuthenticationCancellation):
        * loader/WorkerThreadableLoader.cpp:
        (WebCore::workerContextDidReceiveResponse):
        (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse):
        (WebCore::workerContextDidReceiveAuthenticationCancellation):
        (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveAuthenticationCancellation):
        * loader/WorkerThreadableLoader.h:
        * notifications/Notification.cpp:
        (WebCore::Notification::didReceiveResponse):
        (WebCore::Notification::didReceiveAuthenticationCancellation):
        * notifications/Notification.h:
        * page/EventSource.cpp:
        (WebCore::EventSource::didReceiveResponse):
        * page/EventSource.h:
        * workers/WorkerScriptLoader.cpp:
        (WebCore::WorkerScriptLoader::didReceiveResponse):
        (WebCore::WorkerScriptLoader::didReceiveAuthenticationCancellation):
        * workers/WorkerScriptLoader.h:
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::createRequest):
        (WebCore::XMLHttpRequest::didReceiveResponse):
        (WebCore::XMLHttpRequest::didReceiveAuthenticationCancellation):
        * xml/XMLHttpRequest.h:
2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
        https://bugs.webkit.org/show_bug.cgi?id=61205

        Added inspector backend cache for XHR content.

        * src/AssociatedURLLoader.cpp:
        (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):

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

9 years ago2011-06-16 Florian Schneider <fschneider@chromium.org>
antonm@chromium.org [Thu, 16 Jun 2011 12:30:30 +0000 (12:30 +0000)]
2011-06-16  Florian Schneider  <fschneider@chromium.org>

        Unreviewed.

        Remove an outdated chromium test expectation.
        https://bugs.webkit.org/show_bug.cgi?id=62716

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-16 Vitaly Repeshko <vitalyr@chromium.org>
vitalyr@chromium.org [Thu, 16 Jun 2011 11:19:35 +0000 (11:19 +0000)]
2011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>

        Unreviewed.

        [chromium] Updating test expectations after V8 push.

        * platform/chromium-mac/fast/js/function-prototype-descriptor-expected.txt:
        * platform/chromium-win/fast/js/function-prototype-descriptor-expected.txt:

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

9 years ago2011-06-16 Zsolt Fehér <h490267@stud.u-szeged.hu>
ossy@webkit.org [Thu, 16 Jun 2011 11:04:57 +0000 (11:04 +0000)]
2011-06-16  Zsolt Fehér  <h490267@stud.u-szeged.hu>

        Reviewed by Csaba Osztrogonác.

        Unskip passing tests what needs layoutTestController.clearBackForwardList
        https://bugs.webkit.org/show_bug.cgi?id=42333

        * platform/qt-wk2/Skipped:

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

9 years ago2011-06-16 Hayato Ito <hayato@chromium.org>
hayato@chromium.org [Thu, 16 Jun 2011 09:12:14 +0000 (09:12 +0000)]
2011-06-16  Hayato Ito  <hayato@chromium.org>

        Reviewed by Hajime Morita.

        Show child elements of a shadow host in Node::showTreeForThisAcrossFrame.
        https://bugs.webkit.org/show_bug.cgi?id=62782

        To make an implementation simple, get rid of traverseNextNodeAcrossFrame
        and traverse each Node recursively.

        No new tests since the function is only available in debug builds.

        * dom/Node.cpp:
        (WebCore::showSubTreeAcrossFrame):
        (WebCore::Node::showTreeForThisAcrossFrame):

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

9 years ago2011-06-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Thu, 16 Jun 2011 09:09:49 +0000 (09:09 +0000)]
2011-06-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Kent Tamura.

        [EFL] Move Initialization of defaultFontSize to top of file.
        https://bugs.webkit.org/show_bug.cgi?id=62787

        * platform/efl/RenderThemeEfl.cpp: Move Initialize code of defaultFontSize to top.

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

9 years ago2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Thu, 16 Jun 2011 08:50:21 +0000 (08:50 +0000)]
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88796.
        http://trac.webkit.org/changeset/88796
        https://bugs.webkit.org/show_bug.cgi?id=62790

        It made fast/dom/nodesFromRect-basic.html time out on Qt,
        64-bit, debug mode (Requested by Ossy on #webkit).

        * bridge/qt/qt_runtime.cpp:
        (JSC::Bindings::convertValueToQVariant):
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88796.
        http://trac.webkit.org/changeset/88796
        https://bugs.webkit.org/show_bug.cgi?id=62790

        It made fast/dom/nodesFromRect-basic.html time out on Qt,
        64-bit, debug mode (Requested by Ossy on #webkit).

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::plainText):
        (DumpRenderTreeSupportQt::nodesFromRect):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
        * tests/qwebframe/tst_qwebframe.cpp:
        (tst_QWebFrame::overloadedSlots):
        (tst_QWebFrame::domCycles):
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88796.
        http://trac.webkit.org/changeset/88796
        https://bugs.webkit.org/show_bug.cgi?id=62790

        It made fast/dom/nodesFromRect-basic.html time out on Qt,
        64-bit, debug mode (Requested by Ossy on #webkit).

        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::nodesFromRect):
        * DumpRenderTree/qt/LayoutTestControllerQt.h:
        * DumpRenderTree/qt/PlainTextControllerQt.cpp:
        (PlainTextController::plainText):
        * DumpRenderTree/qt/PlainTextControllerQt.h:

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

9 years ago2011-06-16 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 16 Jun 2011 08:49:12 +0000 (08:49 +0000)]
2011-06-16  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove HTMLVideoElement::processingUserGesture
        https://bugs.webkit.org/show_bug.cgi?id=62784

        HTMLMediaElement shouldn't have its own notion of the user gesture
        state.  It should just use the normal user gesture state.  Also,
        there's no point in having the bindings send the user gesture state in
        a boolean parameter.

        * WebCore.exp.in:
        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::removedFromDocument):
        (WebCore::HTMLMediaElement::load):
        (WebCore::HTMLMediaElement::play):
        (WebCore::HTMLMediaElement::pause):
        (WebCore::HTMLMediaElement::beginScrubbing):
        (WebCore::HTMLMediaElement::resume):
        * html/HTMLMediaElement.h:
        * html/HTMLMediaElement.idl:
        * html/HTMLVideoElement.cpp:
        (WebCore::HTMLVideoElement::webkitEnterFullscreen):
        * html/HTMLVideoElement.h:
        (WebCore::HTMLVideoElement::webkitEnterFullScreen):
        * html/HTMLVideoElement.idl:
        * html/MediaDocument.cpp:
        (WebCore::MediaDocument::defaultEventHandler):
        * html/shadow/MediaControlElements.cpp:
        (WebCore::MediaControlSeekButtonElement::defaultEventHandler):
2011-06-16  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove HTMLVideoElement::processingUserGesture
        https://bugs.webkit.org/show_bug.cgi?id=62784

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::performMediaPlayerAction):
2011-06-16  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove HTMLVideoElement::processingUserGesture
        https://bugs.webkit.org/show_bug.cgi?id=62784

        * WebCoreSupport/FullscreenVideoController.cpp:
        (FullscreenVideoController::play):
        (FullscreenVideoController::pause):
2011-06-16  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove HTMLVideoElement::processingUserGesture
        https://bugs.webkit.org/show_bug.cgi?id=62784

        * WebView/WebVideoFullscreenHUDWindowController.mm:
        (-[WebVideoFullscreenHUDWindowController setPlaying:]):
2011-06-16  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove HTMLVideoElement::processingUserGesture
        https://bugs.webkit.org/show_bug.cgi?id=62784

        * FullscreenVideoController.cpp:
        (FullscreenVideoController::play):
        (FullscreenVideoController::pause):

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

9 years ago2011-06-16 Vitaly Repeshko <vitalyr@chromium.org>
vitalyr@chromium.org [Thu, 16 Jun 2011 08:47:55 +0000 (08:47 +0000)]
2011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>

        Unreviewed.

        [chromium] Updating text expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
vitalyr@chromium.org [Thu, 16 Jun 2011 08:31:21 +0000 (08:31 +0000)]
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89011.
        http://trac.webkit.org/changeset/89011
        https://bugs.webkit.org/show_bug.cgi?id=62789

        Broke mac build (Requested by vitalyr_ on #webkit).

        * platform/chromium/ScrollAnimatorChromiumMac.h:
        * platform/chromium/ScrollAnimatorChromiumMac.mm:
        (-[ScrollAnimationHelperDelegate _immediateScrollToPoint:]):
        (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
        (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
        (WebCore::ScrollAnimatorChromiumMac::scroll):
        (WebCore::ScrollAnimatorChromiumMac::handleWheelEvent):
        (WebCore::ScrollAnimatorChromiumMac::smoothScrollWithEvent):
        (WebCore::ScrollAnimatorChromiumMac::beginScrollGesture):
        (WebCore::ScrollAnimatorChromiumMac::snapRubberBand):
        (WebCore::ScrollAnimatorChromiumMac::snapRubberBandTimerFired):
        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:
        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:

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

9 years ago2011-06-16 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 16 Jun 2011 08:28:04 +0000 (08:28 +0000)]
2011-06-16  MORITA Hajime <morrita@google.com>

        Unreviewed expectations update for meter-element.html

        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-expected.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-16 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 16 Jun 2011 08:25:58 +0000 (08:25 +0000)]
2011-06-16  Adam Barth  <abarth@webkit.org>

        Disable a subtest while we investigate.  I'm going to need dglazkov's
        help to understand what's going on in the shadows here.

        * fast/events/shadow-boundary-crossing-expected.txt:
        * fast/events/shadow-boundary-crossing.html:

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

9 years ago[Qt][WK2] fast/frames/flattening tests fail intermittently
ossy@webkit.org [Thu, 16 Jun 2011 08:07:31 +0000 (08:07 +0000)]
[Qt][WK2] fast/frames/flattening tests fail intermittently
https://bugs.webkit.org/show_bug.cgi?id=62785

* platform/qt-wk2/Skipped: Skip flakey tests until fix.
 - fast/frames/flattening/frameset-flattening-advanced.html
 - fast/frames/flattening/frameset-flattening-simple.html
* platform/qt-wk2/fast/dom/prototype-inheritance-2-expected.txt: Added,
because NotificationCenter and NotificationCenterPrototype is missing.

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

9 years ago2011-06-16 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 16 Jun 2011 07:34:52 +0000 (07:34 +0000)]
2011-06-16  MORITA Hajime  <morrita@google.com>

        Unreviewed expectations update.
        - spellcheck-api-pixel.html -> Added expectations
        - spellcheck-api.html -> Removed test_expectations.txt entry because it passes.

        * platform/chromium-linux/editing/spelling/spellcheck-api-pixel-expected.png: Added.
        * platform/chromium-mac-leopard/editing/spelling/spellcheck-api-pixel-expected.png: Added.
        * platform/chromium-mac/editing/spelling/spellcheck-api-pixel-expected.png: Added.
        * platform/chromium-mac/editing/spelling/spellcheck-api-pixel-expected.txt: Added.
        * platform/chromium-win/editing/spelling/spellcheck-api-pixel-expected.png: Added.
        * platform/chromium-win/editing/spelling/spellcheck-api-pixel-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-16 Sailesh Agrawal <sail@chromium.org>
commit-queue@webkit.org [Thu, 16 Jun 2011 07:11:54 +0000 (07:11 +0000)]
2011-06-16  Sailesh Agrawal  <sail@chromium.org>

        Reviewed by James Robinson.

        [Chromium] Update forked ScrollAnimatorChromiumMac.mm/h
        https://bugs.webkit.org/show_bug.cgi?id=62779

        Updated ScrollAnimatorChromiumMac.mm/h with the latest code in WebCore/platform/mac/ScrollAnimatorMac.mm/h

        * platform/chromium/ScrollAnimatorChromiumMac.h:
        (WebCore::ScrollAnimatorChromiumMac::setNeedsScrollerStyleUpdate):
        (WebCore::ScrollAnimatorChromiumMac::needsScrollerStyleUpdate):
        * platform/chromium/ScrollAnimatorChromiumMac.mm:
        (-[ScrollAnimationHelperDelegate _immediateScrollToPoint:]):
        (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
        (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
        (WebCore::ScrollAnimatorChromiumMac::scroll):
        (WebCore::ScrollAnimatorChromiumMac::immediateScrollToPointForScrollAnimation):
        (WebCore::isScrollingLeftAndShouldNotRubberBand):
        (WebCore::isScrollingRightAndShouldNotRubberBand):
        (WebCore::ScrollAnimatorChromiumMac::handleWheelEvent):
        (WebCore::ScrollAnimatorChromiumMac::smoothScrollWithEvent):
        (WebCore::ScrollAnimatorChromiumMac::beginScrollGesture):
        (WebCore::ScrollAnimatorChromiumMac::snapRubberBand):
        (WebCore::ScrollAnimatorChromiumMac::snapRubberBandTimerFired):
        (WebCore::ScrollAnimatorChromiumMac::setIsActive):
        (WebCore::ScrollAnimatorChromiumMac::updateScrollerStyle):
        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:
        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
        (wkScrollbarPainterControllerStyle):

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

9 years ago[Qt] new test introduced in r88958 fail on Qt
ossy@webkit.org [Thu, 16 Jun 2011 06:55:54 +0000 (06:55 +0000)]
[Qt] new test introduced in r88958 fail on Qt

* platform/qt/Skipped: Skip http/tests/appcache/video.html until fix.

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

9 years ago[Chromium] Unreviewed test expectations update: inspector/profiler/cpu-profiler-profi...
mnaganov@chromium.org [Thu, 16 Jun 2011 06:34:14 +0000 (06:34 +0000)]
[Chromium] Unreviewed test expectations update: inspector/profiler/cpu-profiler-profiling.html and cpu-profiler-profiling-without-inspector.html doesn't crash anymore. https://bugs.webkit.org/show_bug.cgi?id=61533

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

9 years ago2011-06-15 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Thu, 16 Jun 2011 06:24:14 +0000 (06:24 +0000)]
2011-06-15  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector [Chromium]: Make heap snapshots UI more responsive.
        https://bugs.webkit.org/show_bug.cgi?id=62360

        Two changes have been made:
          - when we request elements, sort array only partially;
          - when populating children, do it in batches;

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/DetailedHeapshotGridNodes.js:
        (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.callSerialize):
        (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.childrenRetrieved):
        (WebInspector.HeapSnapshotGridNode.prototype.populateChildren):
        * inspector/front-end/HeapSnapshot.js:
        (WebInspector.HeapSnapshotFilteredOrderedIterator):
        (WebInspector.HeapSnapshotFilteredOrderedIterator.prototype.serializeNextItems):
        (WebInspector.HeapSnapshotFilteredOrderedIterator.prototype.sortAndRewind):
        (WebInspector.HeapSnapshotEdgesProvider.prototype.sort):
        (WebInspector.HeapSnapshotNodesProvider.prototype.sort):
        * inspector/front-end/HeapSnapshotWorker.js:
        * inspector/front-end/PartialQuickSort.js: Added.
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:

2011-06-15  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector [Chromium]: Make heap snapshots UI more responsive.
        https://bugs.webkit.org/show_bug.cgi?id=62360

        Two changes have been made:
          - when we request elements, sort array only partially;
          - when populating children, do it in batches;

        * WebKit.gyp:

2011-06-15  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector [Chromium]: Make heap snapshots UI more responsive.
        https://bugs.webkit.org/show_bug.cgi?id=62360

        Two changes have been made:
          - when we request elements, sort array only partially;
          - when populating children, do it in batches;

        * inspector/profiler/heap-snapshot.html:
        * inspector/utilities.html:

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

9 years ago2011-06-15 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 16 Jun 2011 06:15:29 +0000 (06:15 +0000)]
2011-06-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove Event::fromUserGesture
        https://bugs.webkit.org/show_bug.cgi?id=62778

        This function is a remnant from the old user-gesture design.  The list
        of events here is redundant with our selection of call sites for
        setting the user gesture indicator.

        As part of this patch, I've also cleaned up the implementation of
        UserGestureIndicator itself to always be definite about whether we're
        processing a user gesture.  We now start out in a definite state (no
        user gesture) and inductively state in a definite state.

        * WebCore.exp.in:
        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::processingUserGesture):
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::processingUserGesture):
        * dom/Event.cpp:
        * dom/Event.h:
        * dom/UserGestureIndicator.cpp:
        (WebCore::isDefinite):
        (WebCore::UserGestureIndicator::UserGestureIndicator):
        (WebCore::UserGestureIndicator::~UserGestureIndicator):
        * dom/UserGestureIndicator.h:
        (WebCore::UserGestureIndicator::processingUserGesture):
        * html/MediaDocument.cpp:
        (WebCore::MediaDocument::defaultEventHandler):
        * html/shadow/MediaControlElements.cpp:
        (WebCore::MediaControlSeekButtonElement::defaultEventHandler):
        * html/shadow/TextControlInnerElements.cpp:
        (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
2011-06-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove Event::fromUserGesture
        https://bugs.webkit.org/show_bug.cgi?id=62778

        This call site is not definite about there not being a user gesture.

        * src/WebPluginContainerImpl.cpp:
        (WebKit::WebPluginContainerImpl::loadFrameRequest):

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

9 years ago2011-06-08 Keishi Hattori <keishi@webkit.org>
keishi@webkit.org [Thu, 16 Jun 2011 05:12:24 +0000 (05:12 +0000)]
2011-06-08  Keishi Hattori  <keishi@webkit.org>

    Reviewed by Kent Tamura.

    Fix range element not updating when value attribute is set with JS
    https://bugs.webkit.org/show_bug.cgi?id=61857

    Test: fast/forms/range-set-attribute.html

    * html/RangeInputType.cpp:
    (WebCore::RangeInputType::minOrMaxAttributeChanged): Changed to only sanitize the value when the dirty value flag is true.

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

9 years ago2011-06-15 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 16 Jun 2011 04:40:01 +0000 (04:40 +0000)]
2011-06-15  Adam Barth  <abarth@webkit.org>

        Unreviewed.  (Technically I should get this reviewed, but I
        accidentally committed part of this patch in my previous commit,
        causing a build break.)

        Remove ScriptController::m_processingTimerCallback
        https://bugs.webkit.org/show_bug.cgi?id=62776

        This variable is unused.  (It used to be used in a user gesture detection hack.)

        * bindings/js/ScheduledAction.cpp:
        (WebCore::ScheduledAction::execute):
        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::ScriptController):
        * bindings/js/ScriptController.h:
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::ScriptController):
        * bindings/v8/ScriptController.h:

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

9 years ago2011-06-15 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 16 Jun 2011 04:38:26 +0000 (04:38 +0000)]
2011-06-15  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [Chromium][Qt] Some slider clicking tests fail.
        https://bugs.webkit.org/show_bug.cgi?id=62683

        When we pressed a mouse button on a slider thumb,
        SliderThumbElement::startDragging() were called twice.
         - From SliderThumbElement::defaultEventHandler(), and
         - from RangeInputType::handleMouseDownEvent()
        The latter is not needed. We should call setDefaultHandled() correctly.

        * html/RangeInputType.cpp:
        (WebCore::RangeInputType::handleMouseDownEvent): Calls setDefaultHandled()
        * html/shadow/SliderThumbElement.cpp:
        (WebCore::SliderThumbElement::setPositionFromPoint): Remove FIXME comments.
        (WebCore::SliderThumbElement::defaultEventHandler): Calls setDefaultHandled()

2011-06-15  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [Chromium][Qt] Some slider clicking tests fail.
        https://bugs.webkit.org/show_bug.cgi?id=62683

        * fast/forms/slider-mouse-events-expected.txt:
        * fast/forms/slider-mouse-events.html: Add step=5 to ignore small difference of thumb sizes.
        * platform/chromium-win/fast/forms/slider-mouse-events-expected.txt: Removed.
        * platform/chromium/test_expectations.txt:
        * platform/qt/Skipped: slider-onchange-event.html should pass by this change.

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

9 years ago2011-06-15 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 16 Jun 2011 04:37:35 +0000 (04:37 +0000)]
2011-06-15  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, build fix.

        Revert the patches in r88995 and r88999; the http servers don't
        seem to be shutting down reliably.

        * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/http_server.py:
        * Scripts/webkitpy/layout_tests/port/http_server_base.py:
        * Scripts/webkitpy/layout_tests/port/http_server_integrationtest.py: Removed.
        * Scripts/webkitpy/layout_tests/port/port_testcase.py:
        * Scripts/webkitpy/layout_tests/port/websocket_server.py:

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

9 years ago2011-06-15 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 16 Jun 2011 04:25:11 +0000 (04:25 +0000)]
2011-06-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Anders Carlsson.

        Remove ScriptController::isJavaScriptAnchorNavigation
        https://bugs.webkit.org/show_bug.cgi?id=62775

        This function no longer plays a role in the user gesture code now that
        we're not encoding the user gesture state into the ScriptSourceCode
        URL.

        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::processingUserGesture):
        * bindings/js/ScriptController.h:
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::processingUserGesture):

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

9 years ago2011-06-15 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 16 Jun 2011 04:10:36 +0000 (04:10 +0000)]
2011-06-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove ScriptController::setAllowPopupsFromPlugin
        https://bugs.webkit.org/show_bug.cgi?id=62706

        * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
        (WebKit::NetscapePluginInstanceProxy::evaluate):
        * Plugins/WebNetscapePluginView.mm:
        (-[WebNetscapePluginView sendEvent:isDrawRect:]):
2011-06-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove ScriptController::setAllowPopupsFromPlugin
        https://bugs.webkit.org/show_bug.cgi?id=62706

        This API is just a poor man's UserGestureIndicator.  We should use the
        real deal.

        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::ScriptController):
        (WebCore::ScriptController::processingUserGesture):
        * bindings/js/ScriptController.h:
        * bindings/v8/NPV8Object.cpp:
        (_NPN_EvaluateHelper):
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::ScriptController):
        (WebCore::ScriptController::processingUserGesture):
        * bindings/v8/ScriptController.h:
2011-06-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove ScriptController::setAllowPopupsFromPlugin
        https://bugs.webkit.org/show_bug.cgi?id=62706

        * WebProcess/Plugins/PluginView.cpp:
        (WebKit::PluginView::performJavaScriptURLRequest):
        (WebKit::PluginView::evaluate):

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

9 years ago2011-06-15 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 16 Jun 2011 04:09:35 +0000 (04:09 +0000)]
2011-06-15  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, whitespace change to force a build.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-15 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 16 Jun 2011 03:57:15 +0000 (03:57 +0000)]
2011-06-15  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, build fix.

        Add some debugging messages to triage problems introduced in
        r88995.

        * Scripts/webkitpy/layout_tests/port/http_server_base.py:

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

9 years ago2011-06-15 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 16 Jun 2011 03:43:12 +0000 (03:43 +0000)]
2011-06-15  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove forceUserGesture bool in favor of UserGestureIndicator
        https://bugs.webkit.org/show_bug.cgi?id=62702

        This patch is an intermediate step towards removing the
        forceUserGesture bool.  In this patch, we use the user gesture
        indicator to store the gesture state instead of encoding it in the URL
        of the script source code.  In a future patch, we'll push the indicator
        higher up the stack, closer to the reason for setting it.

        * bindings/ScriptControllerBase.cpp:
        (WebCore::ScriptController::executeScript):
        (WebCore::ScriptController::executeIfJavaScriptURL):
        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::executeScriptInWorld):

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

9 years ago2011-06-15 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 16 Jun 2011 03:38:49 +0000 (03:38 +0000)]
2011-06-15  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change.

        Refine expectations to eliminate some unexpected passes.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-15 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 16 Jun 2011 03:10:53 +0000 (03:10 +0000)]
2011-06-15  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change.

        Refine expectations to eliminate some unexpected passes.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-15 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 16 Jun 2011 02:47:49 +0000 (02:47 +0000)]
2011-06-15  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        nrwt: should clean up stale server processes from a previous run
        https://bugs.webkit.org/show_bug.cgi?id=62615

        This change fixes cases where NRWT might start a server and then
        exit, leaving the server still running. Now NRWT should detect
        this case and clean up on the next run, without shutting down
        any processes it didn't start.

        This change also fixes a bug in executive.kill_process on UNIX
        where zombies weren't being handled properly.

        * Scripts/webkitpy/common/system/executive.py:
        * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/http_server.py:
        * Scripts/webkitpy/layout_tests/port/http_server_base.py:
        * Scripts/webkitpy/layout_tests/port/port_testcase.py:
        * Scripts/webkitpy/layout_tests/port/websocket_server.py:

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