WebKit-https.git
9 years ago2011-01-06 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 7 Jan 2011 18:19:54 +0000 (18:19 +0000)]
2011-01-06  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        copyTexSubImage2D shouldn't have undefined pixels
        https://bugs.webkit.org/show_bug.cgi?id=51559

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::copyTexImage2D): Refactor to share some code with copyTexSubImage2D through helper function clip2D.
        (WebCore::WebGLRenderingContext::copyTexSubImage2D): Initialize undefined pixels to 0.
        (WebCore::WebGLRenderingContext::validateTexFuncLevel): Seperate the validation of level from validateTexFuncParameters.
        (WebCore::WebGLRenderingContext::validateTexFuncParameters): Ditto.
        * html/canvas/WebGLRenderingContext.h:
        * html/canvas/WebGLTexture.cpp:
        (WebCore::WebGLTexture::getType): Expose the type of a texture.
        * html/canvas/WebGLTexture.h:
2011-01-06  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        copyTexSubImage2D shouldn't have undefined pixels
        https://bugs.webkit.org/show_bug.cgi?id=51559

        * fast/canvas/webgl/uninitialized-test-expected.txt:
        * fast/canvas/webgl/uninitialized-test.html: Add test cases for copyTexSubImage2D.

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

9 years ago2011-01-07 Takashi Toyoshima <toyoshim@google.com>
zmo@google.com [Fri, 7 Jan 2011 17:51:36 +0000 (17:51 +0000)]
2011-01-07  Takashi Toyoshima  <toyoshim@google.com>

        Reviewed by Kenneth Russell.

        cleanupAfterGraphicsCall() is never called in
        WebGLRenderingContext::checkFramebufferStatus()
        https://bugs.webkit.org/show_bug.cgi?id=51668

        No new tests. This is a trivial bug.

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::checkFramebufferStatus):

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

9 years ago2011-01-07 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 7 Jan 2011 17:34:02 +0000 (17:34 +0000)]
2011-01-07  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        GTK: AX: atk tests need to be updated after recent changes
        https://bugs.webkit.org/show_bug.cgi?id=51932

        Make sure we can always get the right accesssible parent for an
        AtkObject when traversing the hierarchy bottom up.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (isRootObject): New function to check whether an
        AccessibilityObject is the root one or not, according to the
        latest changes in the hierarchy.
        (atkParentOfRootObject): Gets the appropriate AtkObject from GTK's
        GAIL as the parent of the root AtkObject from WebCore.
        (webkit_accessible_get_parent): Use atkParentOfRootObject.
        (webkit_accessible_get_index_in_parent): Ditto.
        (atkRole): Expose AccessibilityObjects with ScrollAreaRole as
        AtkObject's of role ATK_ROLE_SCROLLED_PANE.
2011-01-07  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        GTK: AX: atk tests need to be updated after recent changes
        https://bugs.webkit.org/show_bug.cgi?id=51932

        Fix gtk_widget_get_accessible() in WebKitWebView to keep returning
        the AtkObject of role ATK_ROLE_DOCUMENT_FRAME.

        With the change to support WK2 accessibility, the root object of
        the AX hierarchy is different from what GTK expects as the current
        hirarchy right now includes a new accessible object as the parent
        of the accessible web area (AXScrollView).

        * webkit/webkitwebview.cpp:
        (webkit_web_view_get_accessible): Return the first child of the
        wrapper associated to the root accessible object in the document,
        to keep everything in the GTK port working as it used to be.

        Re-enable skipped ATK unit tests now they are passing again.

        * tests/testatk.c:
        (main): Re-enable skipped tests.
        * tests/testatkroles.c:
        (main): Ditto.

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

9 years ago2011-01-07 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 7 Jan 2011 17:32:02 +0000 (17:32 +0000)]
2011-01-07  Zhenyao Mo  <zmo@google.com>

        Unreviewed, Mac 32-bit build fix.
        Use float instead of double in GL function arguments to avoid implicit type down casting.

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::blendColor):
        (WebCore::WebGLRenderingContext::clearColor):
        (WebCore::WebGLRenderingContext::clearDepth):
        (WebCore::WebGLRenderingContext::depthRange):
        (WebCore::WebGLRenderingContext::lineWidth):
        (WebCore::WebGLRenderingContext::polygonOffset):
        (WebCore::WebGLRenderingContext::sampleCoverage):
        * html/canvas/WebGLRenderingContext.h:
        * html/canvas/WebGLRenderingContext.idl:

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

9 years agoSet svn:ignore on Visual Studio .user files inside directories that can contain them.
sfalken@apple.com [Fri, 7 Jan 2011 17:26:16 +0000 (17:26 +0000)]
Set svn:ignore on Visual Studio .user files inside directories that can contain them.

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

9 years ago2011-01-07 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Fri, 7 Jan 2011 17:07:44 +0000 (17:07 +0000)]
2011-01-07  Daniel Bates  <dbates@rim.com>

        Reviewed by Martin Robinson.

        Enable PCRE computed gotos when compiling with RCVT 4.0 or greater in GNU mode
        https://bugs.webkit.org/show_bug.cgi?id=52034

        Derived from a patch by Eli Fidler.

        RVCT 4 or greater in GNU mode supports the computed goto GNU language extension
        as per <http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0348c/ch03s07s12.html>.

        * pcre/pcre_exec.cpp: Modified to check for feature, HAVE(COMPUTED_GOTO), instead
        of hardcoding the GCC compiler.
        * wtf/Platform.h: Define WTF_COMPILER_RVCT4_OR_GREATER if __ARMCC_VERSION >= 400000.

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

9 years ago<rdar://problem/8261624> and https://bugs.webkit.org/show_bug.cgi?id=47355
beidson@apple.com [Fri, 7 Jan 2011 16:56:49 +0000 (16:56 +0000)]
<rdar://problem/8261624> and https://bugs.webkit.org/show_bug.cgi?id=47355
Change WebKit2 session restoring to restore the full back/forward list.

Reviewed by Darin Adler.

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::registerNewWebBackForwardListItem): Let the UIProcess register its own
  WebBackForwardListItems in its ID map upon creation.
* UIProcess/WebProcessProxy.h:

* UIProcess/cf/WebPageProxyCF.cpp:
(WebKit::WebPageProxy::restoreFromSessionStateData): Register each new list entry in the
  UIProcess ID map.

* WebProcess/WebPage/WebBackForwardListProxy.cpp:
(WebKit::WebBackForwardListProxy::addItemFromUIProcess): Add this method to register UIProcess
  created items without doing any of the other work normally associated with adding a new back/forward item
  (such as notifying the UIProcess).
* WebProcess/WebPage/WebBackForwardListProxy.h:

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::restoreSession): Map all of the back/forward list entries from the UIProcess then
  cause a load of the current entry.

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

9 years ago2011-01-07 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 16:44:03 +0000 (16:44 +0000)]
2011-01-07  Stephen White  <senorblanco@chromium.org>

        Unreviewed; new test results and expectations updates.

        Created new results for tests which do not fail on chrome win (failing
        Safari results were recently checked in).  Also assigned bugs to many
        of my recent test_expectations updates.

        * platform/chromium-win/animations/animation-time-expected.txt: Added.
        * platform/chromium-win/fast/css/css3-nth-tokens-script-expected.txt: Added.
        * platform/chromium-win/fast/css/css3-nth-tokens-style-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years agoBuild master fix
aroben@apple.com [Fri, 7 Jan 2011 16:02:46 +0000 (16:02 +0000)]
Build master fix

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunWebKitTests.start): Don't try to concatenate a list and a string.

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

9 years ago2011-01-07 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 15:55:07 +0000 (15:55 +0000)]
2011-01-07  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        A few tests that were flaky before are failing more frequently now.

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

9 years ago2011-01-07 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Fri, 7 Jan 2011 13:59:20 +0000 (13:59 +0000)]
2011-01-07  Andreas Kling  <kling@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Add selectedHtml function to QWebView
        https://bugs.webkit.org/show_bug.cgi?id=35028

        Add QWebView::selectedHtml() and QWebPage::selectedHtml()
        which return the current selection range's HTML representation.

        * Api/qwebpage.cpp:
        (QWebPage::selectedHtml):
        * Api/qwebpage.h:
        * Api/qwebview.cpp:
        (QWebView::selectedText):
        (QWebView::selectedHtml):
        * Api/qwebview.h:
        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::cursorMovements):
        (tst_QWebPage::textSelection):
        (tst_QWebPage::crashTests_LazyInitializationOfMainFrame):
        (tst_QWebPage::findText):

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

9 years ago2011-01-07 Carlos Garcia Campos <cgarcia@igalia.com> and Martin Robinson <mrobinso...
carlosgc@webkit.org [Fri, 7 Jan 2011 13:58:53 +0000 (13:58 +0000)]
2011-01-07  Carlos Garcia Campos  <cgarcia@igalia.com> and Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Port slider painting to GtkStyleContext
        https://bugs.webkit.org/show_bug.cgi?id=51874

        Use GtkStyleContext API to paint sliders when building with GTK+
        3.x. Also move the code to adjust media slider to its own method
        in RenderThemeGtk.cpp since it's common to both gtk 2 and 3.

        No new tests. This should not change functionality.

        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::RenderThemeGtk::adjustMediaSliderThumbSize):
        * platform/gtk/RenderThemeGtk.h:
        * platform/gtk/RenderThemeGtk2.cpp:
        (WebCore::RenderThemeGtk::adjustSliderThumbSize):
        * platform/gtk/RenderThemeGtk3.cpp:
        (WebCore::RenderThemeGtk::paintSliderTrack):
        (WebCore::RenderThemeGtk::paintSliderThumb):
        (WebCore::RenderThemeGtk::adjustSliderThumbSize):

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

9 years ago2011-01-07 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
commit-queue@webkit.org [Fri, 7 Jan 2011 13:07:21 +0000 (13:07 +0000)]
2011-01-07  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Csaba Osztrogon√°c.

        run-qtwebkit-tests should be able to kill a testsuite.

        Add new option in the script that can setup a timeout for a test.
        If the test execution takes more then specified time then the test
        would be terminated.

        [Qt] run-qtwebkit-tests needs timeout
        https://bugs.webkit.org/show_bug.cgi?id=51894

        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
        * Scripts/run-qtwebkit-tests:

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

9 years agoUnreviewed fix after r75233.
ossy@webkit.org [Fri, 7 Jan 2011 12:31:27 +0000 (12:31 +0000)]
Unreviewed fix after r75233.

Based on idea from Eric Seidel.

Add remote zip file handling to webkitpy.
https://bugs.webkit.org/show_bug.cgi?id=50901

* Scripts/webkitpy/common/system/fileset.py: Make python 2.5 happy.

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

9 years ago2011-01-07 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Fri, 7 Jan 2011 11:26:41 +0000 (11:26 +0000)]
2011-01-07  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] [WK2] QtWebKit does not build in debug, FileReader.cpp does not compile
        https://bugs.webkit.org/show_bug.cgi?id=51992

        Add the missing header. CString is used in debug by the calls to LOG().

        * fileapi/FileReader.cpp:

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

9 years ago2011-01-07 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Fri, 7 Jan 2011 10:25:29 +0000 (10:25 +0000)]
2011-01-07  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        Cairo's ContextShadow may mis-render some box shadows
        https://bugs.webkit.org/show_bug.cgi?id=51374

        The space required for the internal shadow of the corners was not
        correctly considered.

        * platform/graphics/cairo/ContextShadowCairo.cpp:
        (WebCore::ContextShadow::drawRectShadow):

2011-01-07  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        Cairo's ContextShadow may mis-render some box shadows
        https://bugs.webkit.org/show_bug.cgi?id=51374

        Added new test to check rectangular tiled shadows.

        * platform/gtk/fast/css/rect-shadow-tiled-expected.checksum: Added.
        * platform/gtk/fast/css/rect-shadow-tiled-expected.png: Added.
        * platform/gtk/fast/css/rect-shadow-tiled-expected.txt: Added.
        * platform/gtk/fast/css/rect-shadow-tiled.html: Added.

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

9 years ago2011-01-07 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Fri, 7 Jan 2011 09:49:35 +0000 (09:49 +0000)]
2011-01-07  Kinuko Yasuda  <kinuko@chromium.org>

        Unreviewed; an attempt to fix chromium bot failures by removing failing test line (they must be failing due to modificationTime accuracy error).

        * fast/filesystem/op-get-metadata-expected.txt:
        * fast/filesystem/resources/op-tests-helper.js:
        (runOperationTest.OperationTestHelper.this.testMetadataSuccessCallback):

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

9 years ago2011-01-07 Shane Stephens <shanestephens@google.com>
commit-queue@webkit.org [Fri, 7 Jan 2011 09:46:42 +0000 (09:46 +0000)]
2011-01-07  Shane Stephens  <shanestephens@google.com>

        Reviewed by Eric Seidel.

        svn-apply: should support git binary delta diffs
        https://bugs.webkit.org/show_bug.cgi?id=38864

        * Scripts/VCSUtils.pm:
        * Scripts/svn-apply:

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

9 years ago2011-01-06 Julie Parent <jparent@chromium.org>
jparent@chromium.org [Fri, 7 Jan 2011 07:31:14 +0000 (07:31 +0000)]
2011-01-06  Julie Parent  <jparent@chromium.org>

        Reviewed by Eric Seidel.

        Test Result Server not removing old results.
        https://bugs.webkit.org/show_bug.cgi?id=52012

        * TestResultServer/model/jsonresults.py:
        Fix off-by-one: Truncate if >= num_runs, not just >.
        * TestResultServer/model/jsonresults_unittest.py:
        Add unit test to test that merging in a new result with the same value
        as the last result causes previous result to fall off.

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

9 years ago2011-01-06 James Kozianski <koz@chromium.org>
commit-queue@webkit.org [Fri, 7 Jan 2011 07:13:57 +0000 (07:13 +0000)]
2011-01-06  James Kozianski  <koz@chromium.org>

        Reviewed by Mihai Parparita.

        Add classes to provide a consistent interface to a set of files.
        https://bugs.webkit.org/show_bug.cgi?id=50901

        These classes allow us to write code that is agnostic to whether a
        particular set of files resides in a local directory or in a zip file
        on a remote machine.

        * Scripts/webkitpy/common/system/directoryfileset.py: Added.
        * Scripts/webkitpy/common/system/directoryfileset_unittest.py: Added.
        * Scripts/webkitpy/common/system/fileset.py: Added.
        * Scripts/webkitpy/common/system/filesystem.py:
        * Scripts/webkitpy/common/system/filesystem_mock.py:
        * Scripts/webkitpy/common/system/zipfileset.py: Added.
        * Scripts/webkitpy/common/system/zipfileset_unittest.py: Added.

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

9 years ago2011-01-06 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Fri, 7 Jan 2011 07:07:32 +0000 (07:07 +0000)]
2011-01-06  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by David Levin.

        Add layout tests for Entry.getMetadata (FileSystem API)
        https://bugs.webkit.org/show_bug.cgi?id=47311

        * fast/filesystem/op-get-metadata-expected.txt: Added.
        * fast/filesystem/op-get-metadata.html: Added.
        * fast/filesystem/resources/op-get-metadata.js: Added.
        * fast/filesystem/resources/op-tests-helper.js: Updated getMetadata
        implementation.

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

9 years ago2011-01-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 7 Jan 2011 06:05:14 +0000 (06:05 +0000)]
2011-01-06  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed; chromium test expectations update.

        Remove failing expectations for tests that started to pass after
        rebaselining in r75215.

        Make failing expectations added by r75213 more specific (failures are
        only on Windows and Linux).

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 7 Jan 2011 05:32:26 +0000 (05:32 +0000)]
2011-01-06  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        NetworkTransaction should log the url it is retrying
        https://bugs.webkit.org/show_bug.cgi?id=52043

        * Scripts/webkitpy/common/net/networktransaction.py:
        * Scripts/webkitpy/common/net/networktransaction_unittest.py:

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

9 years agoWindows build fix.
sfalken@apple.com [Fri, 7 Jan 2011 05:24:37 +0000 (05:24 +0000)]
Windows build fix.
Import os before using it.

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

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

9 years ago2011-01-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 7 Jan 2011 05:14:30 +0000 (05:14 +0000)]
2011-01-06  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        REGRESSION (r74663): ASSERTION FAILED: m_tokenizer->lineNumber() == line.zeroBasedInt()
        https://bugs.webkit.org/show_bug.cgi?id=52013

        This test case used to trigger an ASSERT.  It's unclear to me whether
        there's a more direct way to test this fix.

        * fast/parser/line-number-composite-segmented-string-expected.txt: Added.
        * fast/parser/line-number-composite-segmented-string.html: Added.
2011-01-06  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        REGRESSION (r74663): ASSERTION FAILED: m_tokenizer->lineNumber() == line.zeroBasedInt()
        https://bugs.webkit.org/show_bug.cgi?id=52013

        When excluding line numbers for composite strings, we forgot to exclude
        the line number for the current string!

        Test: fast/parser/line-number-composite-segmented-string.html

        * platform/text/SegmentedString.cpp:
        (WebCore::SegmentedString::setExcludeLineNumbers):

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

9 years ago2011-01-06 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 7 Jan 2011 04:53:08 +0000 (04:53 +0000)]
2011-01-06  Chris Marrin  <cmarrin@apple.com>

        Unreviewed.

        Back out changes in http://trac.webkit.org/changeset/75199
        This breaks the Windows build. Fixing it on that side. Until
        then I'll back this out.

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

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 04:32:59 +0000 (04:32 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        New test fast/frames/iframe-reparenting-plugins.html failing on windows.

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

9 years ago2011-01-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 7 Jan 2011 04:22:35 +0000 (04:22 +0000)]
2011-01-06  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        StyleQueue fails to report errors when patches have many files
        https://bugs.webkit.org/show_bug.cgi?id=52042

        This is one of at least two errors preventing style error reporting at the moment.
        When we moved to passing the list of files to check explicitly,
        we started to exceed the 500 character TEXT field limit for our AppEngine model object.
        We could change the type of the QueueStatus.message type, or we could
        just teach statusserver.py how to clamp values (and warn when it does).
        I chose the latter path.

        * Scripts/webkitpy/common/net/statusserver.py:

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

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 03:37:03 +0000 (03:37 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Add new expected results for GTK+. Skip viewport tests which
        have results differing from Opera.

        * fast/dom/left-overflow-in-ltr-expected.txt: Added.
        * fast/dom/right-overflow-in-rtl-expected.txt: Added.
        * fast/viewport/viewport-126-expected.txt: Added.
        * fast/viewport/viewport-127-expected.txt: Added.
        * fast/viewport/viewport-65-expected.txt: Added.
        * fast/viewport/viewport-82-expected.txt: Added.
        * fast/viewport/viewport-84-expected.txt: Added.
        * fast/viewport/viewport-87-expected.txt: Added.
        * platform/gtk/Skipped:
        * platform/gtk/css2.1/t040105-import-10-b-expected.checksum: Added.
        * platform/gtk/css2.1/t040105-import-10-b-expected.png: Added.
        * platform/gtk/css2.1/t040105-import-10-b-expected.txt: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-expected.checksum: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-expected.png: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-expected.txt: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-inline-block-expected.checksum: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-inline-block-expected.png: Added.
        * platform/gtk/fast/block/positioning/rtl-static-positioning-inline-block-expected.txt: Added.
        * platform/gtk/fast/block/positioning/table-cell-static-position-expected.checksum: Added.
        * platform/gtk/fast/block/positioning/table-cell-static-position-expected.png: Added.
        * platform/gtk/fast/block/positioning/table-cell-static-position-expected.txt: Added.
        * platform/gtk/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Added.
        * platform/gtk/fast/blockflow/Kusa-Makura-background-canvas-expected.png: Added.
        * platform/gtk/fast/blockflow/Kusa-Makura-background-canvas-expected.txt: Added.
        * platform/gtk/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum: Added.
        * platform/gtk/fast/blockflow/japanese-rl-text-with-broken-font-expected.png: Added.
        * platform/gtk/fast/blockflow/japanese-rl-text-with-broken-font-expected.txt: Added.
        * platform/gtk/fast/blockflow/vertical-align-table-baseline-expected.checksum: Added.
        * platform/gtk/fast/blockflow/vertical-align-table-baseline-expected.png: Added.
        * platform/gtk/fast/blockflow/vertical-align-table-baseline-expected.txt: Added.
        * platform/gtk/fast/blockflow/vertical-baseline-alignment-expected.checksum: Added.
        * platform/gtk/fast/blockflow/vertical-baseline-alignment-expected.png: Added.
        * platform/gtk/fast/blockflow/vertical-baseline-alignment-expected.txt: Added.
        * platform/gtk/fast/css-generated-content/table-before-after-child-add-expected.checksum: Added.
        * platform/gtk/fast/css-generated-content/table-before-after-child-add-expected.png: Added.
        * platform/gtk/fast/css-generated-content/table-before-after-child-add-expected.txt: Added.
        * platform/gtk/fast/css-generated-content/table-cell-before-after-child-add-expected.checksum: Added.
        * platform/gtk/fast/css-generated-content/table-cell-before-after-child-add-expected.png: Added.
        * platform/gtk/fast/css-generated-content/table-cell-before-after-child-add-expected.txt: Added.
        * platform/gtk/fast/css-generated-content/table-row-before-after-child-add-expected.checksum: Added.
        * platform/gtk/fast/css-generated-content/table-row-before-after-child-add-expected.png: Added.
        * platform/gtk/fast/css-generated-content/table-row-before-after-child-add-expected.txt: Added.
        * platform/gtk/fast/css-generated-content/table-table-before-after-child-add-expected.checksum: Added.
        * platform/gtk/fast/css-generated-content/table-table-before-after-child-add-expected.png: Added.
        * platform/gtk/fast/css-generated-content/table-table-before-after-child-add-expected.txt: Added.
        * platform/gtk/fast/css/box-shadow-expected.checksum: Added.
        * platform/gtk/fast/css/box-shadow-expected.png: Added.
        * platform/gtk/fast/css/box-shadow-expected.txt: Added.
        * platform/gtk/fast/css/focus-ring-detached-expected.checksum: Added.
        * platform/gtk/fast/css/focus-ring-detached-expected.png: Added.
        * platform/gtk/fast/css/focus-ring-detached-expected.txt: Added.
        * platform/gtk/fast/css/focus-ring-multiline-expected.checksum: Added.
        * platform/gtk/fast/css/focus-ring-multiline-expected.png: Added.
        * platform/gtk/fast/css/focus-ring-multiline-expected.txt: Added.
        * platform/gtk/fast/css/focus-ring-outline-color-expected.checksum: Added.
        * platform/gtk/fast/css/focus-ring-outline-color-expected.png: Added.
        * platform/gtk/fast/css/focus-ring-outline-color-expected.txt: Added.
        * platform/gtk/fast/css/focus-ring-outline-offset-expected.checksum: Added.
        * platform/gtk/fast/css/focus-ring-outline-offset-expected.png: Added.
        * platform/gtk/fast/css/focus-ring-outline-offset-expected.txt: Added.
        * platform/gtk/fast/css/focus-ring-outline-width-expected.checksum: Added.
        * platform/gtk/fast/css/focus-ring-outline-width-expected.png: Added.
        * platform/gtk/fast/css/focus-ring-outline-width-expected.txt: Added.
        * platform/gtk/fast/forms/placeholder-position-expected.checksum: Added.
        * platform/gtk/fast/forms/placeholder-position-expected.png: Added.
        * platform/gtk/fast/forms/placeholder-position-expected.txt: Added.
        * platform/gtk/fast/html/marquee-scrollamount-expected.checksum: Added.
        * platform/gtk/fast/html/marquee-scrollamount-expected.png: Added.
        * platform/gtk/fast/html/marquee-scrollamount-expected.txt: Added.
        * platform/gtk/fast/images/gray-scale-jpeg-with-color-profile-expected.checksum: Added.
        * platform/gtk/fast/images/gray-scale-jpeg-with-color-profile-expected.png: Added.
        * platform/gtk/fast/images/gray-scale-jpeg-with-color-profile-expected.txt: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.checksum: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
        * platform/gtk/fast/images/imagemap-focus-ring-zoom-expected.txt: Added.
        * platform/gtk/fast/multicol/span/anonymous-before-child-parent-crash-expected.checksum: Added.
        * platform/gtk/fast/multicol/span/anonymous-before-child-parent-crash-expected.png: Added.
        * platform/gtk/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt: Added.
        * platform/gtk/fast/multicol/span/anonymous-split-block-crash-expected.checksum: Added.
        * platform/gtk/fast/multicol/span/anonymous-split-block-crash-expected.png: Added.
        * platform/gtk/fast/multicol/span/anonymous-split-block-crash-expected.txt: Added.
        * platform/gtk/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.checksum: Added.
        * platform/gtk/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png: Added.
        * platform/gtk/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt: Added.
        * platform/gtk/fast/overflow/overflow-rtl-vertical-expected.checksum: Added.
        * platform/gtk/fast/overflow/overflow-rtl-vertical-expected.png: Added.
        * platform/gtk/fast/overflow/overflow-rtl-vertical-expected.txt: Added.
        * platform/gtk/fast/overflow/overflow-update-transform-expected.checksum: Added.
        * platform/gtk/fast/overflow/overflow-update-transform-expected.png: Added.
        * platform/gtk/fast/overflow/overflow-update-transform-expected.txt: Added.
        * platform/gtk/fast/ruby/nested-ruby-expected.checksum: Added.
        * platform/gtk/fast/ruby/nested-ruby-expected.png: Added.
        * platform/gtk/fast/ruby/nested-ruby-expected.txt: Added.
        * platform/gtk/fast/text/emphasis-expected.checksum: Added.
        * platform/gtk/fast/text/emphasis-expected.png: Added.
        * platform/gtk/fast/text/emphasis-expected.txt: Added.
        * platform/gtk/fast/text/emphasis-vertical-expected.checksum: Added.
        * platform/gtk/fast/text/emphasis-vertical-expected.png: Added.
        * platform/gtk/fast/text/emphasis-vertical-expected.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.checksum: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.checksum: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: Added.
        * platform/gtk/svg/custom/image-rescale-clip-expected.checksum: Added.
        * platform/gtk/svg/custom/image-rescale-clip-expected.png: Added.
        * platform/gtk/svg/custom/image-rescale-clip-expected.txt: Added.
        * platform/gtk/svg/custom/image-rescale-scroll-expected.checksum: Added.
        * platform/gtk/svg/custom/image-rescale-scroll-expected.png: Added.
        * platform/gtk/svg/custom/image-rescale-scroll-expected.txt: Added.
        * platform/gtk/svg/dom/SVGPathSegList-cloning-expected.checksum: Added.
        * platform/gtk/svg/dom/SVGPathSegList-cloning-expected.png: Added.
        * platform/gtk/svg/dom/SVGPathSegList-cloning-expected.txt: Added.
        * platform/gtk/svg/dom/SVGPathSegList-segment-modification-expected.checksum: Added.
        * platform/gtk/svg/dom/SVGPathSegList-segment-modification-expected.png: Added.
        * platform/gtk/svg/dom/SVGPathSegList-segment-modification-expected.txt: Added.
        * platform/gtk/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.checksum: Added.
        * platform/gtk/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.png: Added.
        * platform/gtk/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.txt: Added.
        * platform/gtk/svg/filters/feColorMatrix-offset-expected.checksum: Added.
        * platform/gtk/svg/filters/feColorMatrix-offset-expected.png: Added.
        * platform/gtk/svg/filters/feColorMatrix-offset-expected.txt: Added.

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

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 02:59:20 +0000 (02:59 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; yet another test expectations update.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-06 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Fri, 7 Jan 2011 02:52:42 +0000 (02:52 +0000)]
2011-01-06  Ojan Vafai  <ojan@chromium.org>

        Fix line context when replying to comments.

        * code-review.js:

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

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 02:35:14 +0000 (02:35 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        Add new results for new tests introduced in r75097.

        * platform/chromium-mac/fast/gradients/css3-repeating-linear-gradients-expected.checksum: Added.
        * platform/chromium-mac/fast/gradients/css3-repeating-linear-gradients-expected.png: Added.
        * platform/chromium-win/fast/gradients/css3-repeating-linear-gradients-expected.checksum: Added.
        * platform/chromium-win/fast/gradients/css3-repeating-linear-gradients-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-06 Robert Hogan <robert@webkit.org>
robert@webkit.org [Fri, 7 Jan 2011 02:25:15 +0000 (02:25 +0000)]
2011-01-06  Robert Hogan  <robert@webkit.org>

        [Qt] Update expected results after r75177

        Unreviewed, update expected results.

        * platform/qt/fast/dom/prototype-inheritance-expected.txt:

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

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 02:11:29 +0000 (02:11 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Adam Barth.

        fast/dom/Window/window-postmessage-clone.html may fail on platforms with larger fonts
        https://bugs.webkit.org/show_bug.cgi?id=52027

        Move the console output div after the file input control in
        fast/dom/Window/window-postmessage-clone.html so that console
        text does not push it outside of the viewport.

        * fast/dom/Window/window-postmessage-clone-expected.txt: Updated results
        to match new text output.
        * fast/dom/Window/window-postmessage-clone.html: Moved console div.

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

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 02:06:32 +0000 (02:06 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Update GTK+-specific results after r75177.

        * platform/gtk/fast/dom/prototype-inheritance-expected.txt: Update results.

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

9 years ago2011-01-06 Jenn Braithwaite <jennb@chromium.org>
commit-queue@webkit.org [Fri, 7 Jan 2011 01:58:47 +0000 (01:58 +0000)]
2011-01-06  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        When a live frame is moved between pages, some plug-in DOM methods cease to function
        https://bugs.webkit.org/show_bug.cgi?id=45770

        * fast/frames/iframe-reparenting-plugins-expected.txt: Added.
        * fast/frames/iframe-reparenting-plugins.html: Added.
        * fast/frames/resources/iframe-reparenting-plugins-iframe-content.html: Added.
        * fast/frames/resources/iframe-reparenting-plugins-new-page.html: Added.
2011-01-06  Jenn Braithwaite  <jennb@chromium.org>

        Reviewed by Dmitry Titov.

        When a live frame is moved between pages, some plug-in DOM methods cease to function
        https://bugs.webkit.org/show_bug.cgi?id=45770

        Test: fast/frames/iframe-reparenting-plugins.html

        * page/Frame.cpp:
        (WebCore::Frame::~Frame):
        (WebCore::Frame::addObserver):
        (WebCore::Frame::removeObserver):
        * page/Frame.h:
        (WebCore::FrameDestructionObserver::~FrameDestructionObserver):
        Added observer to be notified when frame is destroyed.
        * page/Page.cpp:
        (WebCore::Page::~Page):
        (WebCore::Page::refreshPlugins):
        PluginData no longer stores page pointer.
        * plugins/DOMMimeType.cpp:
        (WebCore::DOMMimeType::DOMMimeType):
        (WebCore::DOMMimeType::~DOMMimeType):
        (WebCore::DOMMimeType::enabledPlugin):
        * plugins/DOMMimeType.h:
        (WebCore::DOMMimeType::create):
        (WebCore::DOMMimeType::frameDestroyed):
        Store frame instead of page pointer in DOMMimeType.
        * plugins/DOMMimeTypeArray.cpp:
        (WebCore::DOMMimeTypeArray::item):
        (WebCore::DOMMimeTypeArray::namedItem):
        Provide frame to create DOMMimeType.
        * plugins/DOMPlugin.cpp:
        (WebCore::DOMPlugin::DOMPlugin):
        (WebCore::DOMPlugin::~DOMPlugin):
        (WebCore::DOMPlugin::item):
        (WebCore::DOMPlugin::namedItem):
        * plugins/DOMPlugin.h:
        (WebCore::DOMPlugin::create):
        (WebCore::DOMPlugin::frameDestroyed):
        Store frame instead of page pointer in DOMPlugin.
        * plugins/DOMPluginArray.cpp:
        (WebCore::DOMPluginArray::item):
        (WebCore::DOMPluginArray::namedItem):
        Provide frame to create DOMPlugin.
        * plugins/PluginData.cpp:
        (WebCore::PluginData::PluginData):
        (WebCore::PluginData::initPlugins):
        * plugins/PluginData.h:
        No longer stores a pointer to the page.
        Added page parameter to initPlugins.
        * plugins/PluginDataNone.cpp:
        (WebCore::PluginData::initPlugins):
        * plugins/chromium/PluginDataChromium.cpp:
        (WebCore::PluginData::initPlugins):
        * plugins/gtk/PluginDataGtk.cpp:
        (WebCore::PluginData::initPlugins):
        * plugins/wx/PluginDataWx.cpp:
        (WebCore::PluginData::initPlugins):
        Updated platforms to add (unused) page parameter to initPlugins.

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

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 01:55:27 +0000 (01:55 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        * platform/chromium-gpu/test_expectations.txt:
        Remove duplicate expectations.

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

9 years ago2011-01-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 7 Jan 2011 01:45:53 +0000 (01:45 +0000)]
2011-01-06  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed, test expectation update.

        Add mac-leopard baselines for tests that currently have Snow Leopard
        baselines in platform/mac.

        * platform/mac-leopard/fast/multicol/client-rects-expected.checksum:
        * platform/mac-leopard/fast/multicol/client-rects-expected.png: Added.
        * platform/mac-leopard/fast/multicol/column-break-with-balancing-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/column-break-with-balancing-expected.png: Added.
        * platform/mac-leopard/fast/multicol/float-multicol-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/float-multicol-expected.png: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-complex-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-complex-expected.png: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/float-paginate-expected.png: Added.
        * platform/mac-leopard/fast/multicol/layers-in-multicol-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/layers-in-multicol-expected.png: Added.
        * platform/mac-leopard/fast/multicol/layers-split-across-columns-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/layers-split-across-columns-expected.png: Added.
        * platform/mac-leopard/fast/multicol/paginate-block-replaced-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/paginate-block-replaced-expected.png: Added.
        * platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.png: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/span/span-as-nested-columns-child-expected.png: Added.
        * platform/mac-leopard/fast/multicol/table-vertical-align-expected.checksum: Added.
        * platform/mac-leopard/fast/multicol/table-vertical-align-expected.png: Added.
        * platform/mac-leopard/fast/repaint/overflow-scroll-body-appear-expected.checksum: Added.
        * platform/mac-leopard/fast/repaint/overflow-scroll-body-appear-expected.png: Added.

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

9 years ago2011-01-05 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 7 Jan 2011 01:43:29 +0000 (01:43 +0000)]
2011-01-05  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Define GC3D types to match GL types and use them in GraphicsContext3D
        https://bugs.webkit.org/show_bug.cgi?id=45557

        * src/GraphicsContext3DChromium.cpp:
        (WebCore::GraphicsContext3DInternal::bindAttribLocation):
        (WebCore::GraphicsContext3DInternal::bufferData):
        (WebCore::GraphicsContext3DInternal::bufferSubData):
        (WebCore::GraphicsContext3DInternal::getActiveAttrib):
        (WebCore::GraphicsContext3DInternal::getActiveUniform):
        (WebCore::GraphicsContext3DInternal::getAttribLocation):
        (WebCore::GraphicsContext3DInternal::getString):
        (WebCore::GraphicsContext3DInternal::getUniformLocation):
        (WebCore::GraphicsContext3DInternal::texImage2D):
        (WebCore::GraphicsContext3DInternal::texSubImage2D):
        (WebCore::GraphicsContext3DInternal::uniform1fv):
        (WebCore::GraphicsContext3DInternal::uniform1iv):
        (WebCore::GraphicsContext3DInternal::uniform2fv):
        (WebCore::GraphicsContext3DInternal::uniform2iv):
        (WebCore::GraphicsContext3DInternal::uniform3fv):
        (WebCore::GraphicsContext3DInternal::uniform3iv):
        (WebCore::GraphicsContext3DInternal::uniform4fv):
        (WebCore::GraphicsContext3DInternal::uniform4iv):
        (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
        (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
        (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
        * src/GraphicsContext3DInternal.h:
2011-01-05  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Define GC3D types to match GL types and use them in GraphicsContext3D
        https://bugs.webkit.org/show_bug.cgi?id=45557

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::readPixels):
        (WebCore::WebGLRenderingContext::validateTexFuncData):
        * platform/graphics/GraphicsContext3D.cpp:
        (WebCore::GraphicsContext3D::texImage2DResourceSafe):
        (WebCore::GraphicsContext3D::computeFormatAndTypeParameters):
        (WebCore::GraphicsContext3D::extractImageData):
        (WebCore::GraphicsContext3D::extractTextureData):
        * platform/graphics/GraphicsContext3D.h:
        * platform/graphics/cg/GraphicsContext3DCG.cpp:
        (WebCore::GraphicsContext3D::getImageData):
        * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
        (WebCore::SharedGraphicsContext3D::enable):
        (WebCore::SharedGraphicsContext3D::disable):
        (WebCore::SharedGraphicsContext3D::clear):
        (WebCore::SharedGraphicsContext3D::drawArrays):
        (WebCore::SharedGraphicsContext3D::getError):
        (WebCore::SharedGraphicsContext3D::getIntegerv):
        (WebCore::SharedGraphicsContext3D::createFramebuffer):
        (WebCore::SharedGraphicsContext3D::createTexture):
        (WebCore::SharedGraphicsContext3D::deleteFramebuffer):
        (WebCore::SharedGraphicsContext3D::deleteTexture):
        (WebCore::SharedGraphicsContext3D::framebufferTexture2D):
        (WebCore::SharedGraphicsContext3D::texParameteri):
        (WebCore::SharedGraphicsContext3D::texImage2D):
        (WebCore::SharedGraphicsContext3D::texSubImage2D):
        (WebCore::SharedGraphicsContext3D::readPixels):
        (WebCore::SharedGraphicsContext3D::setActiveTexture):
        (WebCore::SharedGraphicsContext3D::bindTexture):
        (WebCore::SharedGraphicsContext3D::bindFramebuffer):
        * platform/graphics/gpu/SharedGraphicsContext3D.h:
        * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
        (WebCore::GraphicsContext3D::activeTexture):
        (WebCore::GraphicsContext3D::attachShader):
        (WebCore::GraphicsContext3D::bindAttribLocation):
        (WebCore::GraphicsContext3D::bindBuffer):
        (WebCore::GraphicsContext3D::bindFramebuffer):
        (WebCore::GraphicsContext3D::bindRenderbuffer):
        (WebCore::GraphicsContext3D::bindTexture):
        (WebCore::GraphicsContext3D::blendColor):
        (WebCore::GraphicsContext3D::blendEquation):
        (WebCore::GraphicsContext3D::blendEquationSeparate):
        (WebCore::GraphicsContext3D::blendFunc):
        (WebCore::GraphicsContext3D::blendFuncSeparate):
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
        (WebCore::GraphicsContext3D::checkFramebufferStatus):
        (WebCore::GraphicsContext3D::clearColor):
        (WebCore::GraphicsContext3D::clear):
        (WebCore::GraphicsContext3D::clearDepth):
        (WebCore::GraphicsContext3D::clearStencil):
        (WebCore::GraphicsContext3D::colorMask):
        (WebCore::GraphicsContext3D::compileShader):
        (WebCore::GraphicsContext3D::copyTexImage2D):
        (WebCore::GraphicsContext3D::copyTexSubImage2D):
        (WebCore::GraphicsContext3D::cullFace):
        (WebCore::GraphicsContext3D::depthFunc):
        (WebCore::GraphicsContext3D::depthMask):
        (WebCore::GraphicsContext3D::depthRange):
        (WebCore::GraphicsContext3D::detachShader):
        (WebCore::GraphicsContext3D::disable):
        (WebCore::GraphicsContext3D::disableVertexAttribArray):
        (WebCore::GraphicsContext3D::drawArrays):
        (WebCore::GraphicsContext3D::drawElements):
        (WebCore::GraphicsContext3D::enable):
        (WebCore::GraphicsContext3D::enableVertexAttribArray):
        (WebCore::GraphicsContext3D::framebufferRenderbuffer):
        (WebCore::GraphicsContext3D::framebufferTexture2D):
        (WebCore::GraphicsContext3D::frontFace):
        (WebCore::GraphicsContext3D::generateMipmap):
        (WebCore::GraphicsContext3D::getActiveAttrib):
        (WebCore::GraphicsContext3D::getActiveUniform):
        (WebCore::GraphicsContext3D::getAttachedShaders):
        (WebCore::GraphicsContext3D::getAttribLocation):
        (WebCore::GraphicsContext3D::getError):
        (WebCore::GraphicsContext3D::getString):
        (WebCore::GraphicsContext3D::hint):
        (WebCore::GraphicsContext3D::isBuffer):
        (WebCore::GraphicsContext3D::isEnabled):
        (WebCore::GraphicsContext3D::isFramebuffer):
        (WebCore::GraphicsContext3D::isProgram):
        (WebCore::GraphicsContext3D::isRenderbuffer):
        (WebCore::GraphicsContext3D::isShader):
        (WebCore::GraphicsContext3D::isTexture):
        (WebCore::GraphicsContext3D::lineWidth):
        (WebCore::GraphicsContext3D::linkProgram):
        (WebCore::GraphicsContext3D::pixelStorei):
        (WebCore::GraphicsContext3D::polygonOffset):
        (WebCore::GraphicsContext3D::readPixels):
        (WebCore::GraphicsContext3D::renderbufferStorage):
        (WebCore::GraphicsContext3D::sampleCoverage):
        (WebCore::GraphicsContext3D::scissor):
        (WebCore::GraphicsContext3D::stencilFunc):
        (WebCore::GraphicsContext3D::stencilFuncSeparate):
        (WebCore::GraphicsContext3D::stencilMask):
        (WebCore::GraphicsContext3D::stencilMaskSeparate):
        (WebCore::GraphicsContext3D::stencilOp):
        (WebCore::GraphicsContext3D::stencilOpSeparate):
        (WebCore::GraphicsContext3D::texParameterf):
        (WebCore::GraphicsContext3D::texParameteri):
        (WebCore::GraphicsContext3D::uniform1f):
        (WebCore::GraphicsContext3D::uniform1fv):
        (WebCore::GraphicsContext3D::uniform2f):
        (WebCore::GraphicsContext3D::uniform2fv):
        (WebCore::GraphicsContext3D::uniform3f):
        (WebCore::GraphicsContext3D::uniform3fv):
        (WebCore::GraphicsContext3D::uniform4f):
        (WebCore::GraphicsContext3D::uniform4fv):
        (WebCore::GraphicsContext3D::uniform1i):
        (WebCore::GraphicsContext3D::uniform1iv):
        (WebCore::GraphicsContext3D::uniform2i):
        (WebCore::GraphicsContext3D::uniform2iv):
        (WebCore::GraphicsContext3D::uniform3i):
        (WebCore::GraphicsContext3D::uniform3iv):
        (WebCore::GraphicsContext3D::uniform4i):
        (WebCore::GraphicsContext3D::uniform4iv):
        (WebCore::GraphicsContext3D::uniformMatrix2fv):
        (WebCore::GraphicsContext3D::uniformMatrix3fv):
        (WebCore::GraphicsContext3D::uniformMatrix4fv):
        (WebCore::GraphicsContext3D::useProgram):
        (WebCore::GraphicsContext3D::validateProgram):
        (WebCore::GraphicsContext3D::vertexAttrib1f):
        (WebCore::GraphicsContext3D::vertexAttrib1fv):
        (WebCore::GraphicsContext3D::vertexAttrib2f):
        (WebCore::GraphicsContext3D::vertexAttrib2fv):
        (WebCore::GraphicsContext3D::vertexAttrib3f):
        (WebCore::GraphicsContext3D::vertexAttrib3fv):
        (WebCore::GraphicsContext3D::vertexAttrib4f):
        (WebCore::GraphicsContext3D::vertexAttrib4fv):
        (WebCore::GraphicsContext3D::vertexAttribPointer):
        (WebCore::GraphicsContext3D::viewport):
        (WebCore::GraphicsContext3D::getBooleanv):
        (WebCore::GraphicsContext3D::getBufferParameteriv):
        (WebCore::GraphicsContext3D::getFloatv):
        (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
        (WebCore::GraphicsContext3D::getIntegerv):
        (WebCore::GraphicsContext3D::getProgramiv):
        (WebCore::GraphicsContext3D::getProgramInfoLog):
        (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
        (WebCore::GraphicsContext3D::getShaderiv):
        (WebCore::GraphicsContext3D::getShaderInfoLog):
        (WebCore::GraphicsContext3D::getTexParameterfv):
        (WebCore::GraphicsContext3D::getTexParameteriv):
        (WebCore::GraphicsContext3D::getUniformfv):
        (WebCore::GraphicsContext3D::getUniformiv):
        (WebCore::GraphicsContext3D::getUniformLocation):
        (WebCore::GraphicsContext3D::getVertexAttribfv):
        (WebCore::GraphicsContext3D::getVertexAttribiv):
        (WebCore::GraphicsContext3D::getVertexAttribOffset):
        (WebCore::GraphicsContext3D::texImage2D):
        (WebCore::GraphicsContext3D::texSubImage2D):
        (WebCore::GraphicsContext3D::createBuffer):
        (WebCore::GraphicsContext3D::createFramebuffer):
        (WebCore::GraphicsContext3D::createProgram):
        (WebCore::GraphicsContext3D::createRenderbuffer):
        (WebCore::GraphicsContext3D::createShader):
        (WebCore::GraphicsContext3D::createTexture):
        (WebCore::GraphicsContext3D::deleteBuffer):
        (WebCore::GraphicsContext3D::deleteFramebuffer):
        (WebCore::GraphicsContext3D::deleteProgram):
        (WebCore::GraphicsContext3D::deleteRenderbuffer):
        (WebCore::GraphicsContext3D::deleteShader):
        (WebCore::GraphicsContext3D::deleteTexture):
        (WebCore::GraphicsContext3D::sizeInBytes):
        (WebCore::GraphicsContext3D::synthesizeGLError):
        * platform/graphics/qt/GraphicsContext3DQt.cpp:
        (WebCore::GraphicsContext3D::activeTexture):
        (WebCore::GraphicsContext3D::attachShader):
        (WebCore::GraphicsContext3D::getAttachedShaders):
        (WebCore::GraphicsContext3D::bindAttribLocation):
        (WebCore::GraphicsContext3D::bindBuffer):
        (WebCore::GraphicsContext3D::bindFramebuffer):
        (WebCore::GraphicsContext3D::bindRenderbuffer):
        (WebCore::GraphicsContext3D::bindTexture):
        (WebCore::GraphicsContext3D::blendColor):
        (WebCore::GraphicsContext3D::blendEquation):
        (WebCore::GraphicsContext3D::blendEquationSeparate):
        (WebCore::GraphicsContext3D::blendFunc):
        (WebCore::GraphicsContext3D::blendFuncSeparate):
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
        (WebCore::GraphicsContext3D::checkFramebufferStatus):
        (WebCore::GraphicsContext3D::clearColor):
        (WebCore::GraphicsContext3D::clear):
        (WebCore::GraphicsContext3D::clearDepth):
        (WebCore::GraphicsContext3D::clearStencil):
        (WebCore::GraphicsContext3D::colorMask):
        (WebCore::GraphicsContext3D::compileShader):
        (WebCore::GraphicsContext3D::copyTexImage2D):
        (WebCore::GraphicsContext3D::copyTexSubImage2D):
        (WebCore::GraphicsContext3D::cullFace):
        (WebCore::GraphicsContext3D::depthFunc):
        (WebCore::GraphicsContext3D::depthMask):
        (WebCore::GraphicsContext3D::depthRange):
        (WebCore::GraphicsContext3D::detachShader):
        (WebCore::GraphicsContext3D::disable):
        (WebCore::GraphicsContext3D::disableVertexAttribArray):
        (WebCore::GraphicsContext3D::drawArrays):
        (WebCore::GraphicsContext3D::drawElements):
        (WebCore::GraphicsContext3D::enable):
        (WebCore::GraphicsContext3D::enableVertexAttribArray):
        (WebCore::GraphicsContext3D::framebufferRenderbuffer):
        (WebCore::GraphicsContext3D::framebufferTexture2D):
        (WebCore::GraphicsContext3D::frontFace):
        (WebCore::GraphicsContext3D::generateMipmap):
        (WebCore::GraphicsContext3D::getActiveAttrib):
        (WebCore::GraphicsContext3D::getActiveUniform):
        (WebCore::GraphicsContext3D::getAttribLocation):
        (WebCore::GraphicsContext3D::getError):
        (WebCore::GraphicsContext3D::getString):
        (WebCore::GraphicsContext3D::hint):
        (WebCore::GraphicsContext3D::isBuffer):
        (WebCore::GraphicsContext3D::isEnabled):
        (WebCore::GraphicsContext3D::isFramebuffer):
        (WebCore::GraphicsContext3D::isProgram):
        (WebCore::GraphicsContext3D::isRenderbuffer):
        (WebCore::GraphicsContext3D::isShader):
        (WebCore::GraphicsContext3D::isTexture):
        (WebCore::GraphicsContext3D::linkProgram):
        (WebCore::GraphicsContext3D::pixelStorei):
        (WebCore::GraphicsContext3D::polygonOffset):
        (WebCore::GraphicsContext3D::readPixels):
        (WebCore::GraphicsContext3D::renderbufferStorage):
        (WebCore::GraphicsContext3D::sampleCoverage):
        (WebCore::GraphicsContext3D::scissor):
        (WebCore::GraphicsContext3D::stencilFunc):
        (WebCore::GraphicsContext3D::stencilFuncSeparate):
        (WebCore::GraphicsContext3D::stencilMask):
        (WebCore::GraphicsContext3D::stencilMaskSeparate):
        (WebCore::GraphicsContext3D::stencilOp):
        (WebCore::GraphicsContext3D::stencilOpSeparate):
        (WebCore::GraphicsContext3D::texParameterf):
        (WebCore::GraphicsContext3D::texParameteri):
        (WebCore::GraphicsContext3D::uniform1f):
        (WebCore::GraphicsContext3D::uniform1fv):
        (WebCore::GraphicsContext3D::uniform2f):
        (WebCore::GraphicsContext3D::uniform2fv):
        (WebCore::GraphicsContext3D::uniform3f):
        (WebCore::GraphicsContext3D::uniform3fv):
        (WebCore::GraphicsContext3D::uniform4f):
        (WebCore::GraphicsContext3D::uniform4fv):
        (WebCore::GraphicsContext3D::uniform1i):
        (WebCore::GraphicsContext3D::uniform1iv):
        (WebCore::GraphicsContext3D::uniform2i):
        (WebCore::GraphicsContext3D::uniform2iv):
        (WebCore::GraphicsContext3D::uniform3i):
        (WebCore::GraphicsContext3D::uniform3iv):
        (WebCore::GraphicsContext3D::uniform4i):
        (WebCore::GraphicsContext3D::uniform4iv):
        (WebCore::GraphicsContext3D::uniformMatrix2fv):
        (WebCore::GraphicsContext3D::uniformMatrix3fv):
        (WebCore::GraphicsContext3D::uniformMatrix4fv):
        (WebCore::GraphicsContext3D::useProgram):
        (WebCore::GraphicsContext3D::validateProgram):
        (WebCore::GraphicsContext3D::vertexAttrib1f):
        (WebCore::GraphicsContext3D::vertexAttrib1fv):
        (WebCore::GraphicsContext3D::vertexAttrib2f):
        (WebCore::GraphicsContext3D::vertexAttrib2fv):
        (WebCore::GraphicsContext3D::vertexAttrib3f):
        (WebCore::GraphicsContext3D::vertexAttrib3fv):
        (WebCore::GraphicsContext3D::vertexAttrib4f):
        (WebCore::GraphicsContext3D::vertexAttrib4fv):
        (WebCore::GraphicsContext3D::vertexAttribPointer):
        (WebCore::GraphicsContext3D::viewport):
        (WebCore::GraphicsContext3D::getBooleanv):
        (WebCore::GraphicsContext3D::getBufferParameteriv):
        (WebCore::GraphicsContext3D::getFloatv):
        (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
        (WebCore::GraphicsContext3D::getIntegerv):
        (WebCore::GraphicsContext3D::getProgramiv):
        (WebCore::GraphicsContext3D::getProgramInfoLog):
        (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
        (WebCore::GraphicsContext3D::getShaderiv):
        (WebCore::GraphicsContext3D::getShaderInfoLog):
        (WebCore::GraphicsContext3D::getShaderSource):
        (WebCore::GraphicsContext3D::getTexParameterfv):
        (WebCore::GraphicsContext3D::getTexParameteriv):
        (WebCore::GraphicsContext3D::getUniformfv):
        (WebCore::GraphicsContext3D::getUniformiv):
        (WebCore::GraphicsContext3D::getUniformLocation):
        (WebCore::GraphicsContext3D::getVertexAttribfv):
        (WebCore::GraphicsContext3D::getVertexAttribiv):
        (WebCore::GraphicsContext3D::getVertexAttribOffset):
        (WebCore::GraphicsContext3D::texImage2D):
        (WebCore::GraphicsContext3D::texSubImage2D):
        (WebCore::GraphicsContext3D::createBuffer):
        (WebCore::GraphicsContext3D::createFramebuffer):
        (WebCore::GraphicsContext3D::createProgram):
        (WebCore::GraphicsContext3D::createRenderbuffer):
        (WebCore::GraphicsContext3D::createShader):
        (WebCore::GraphicsContext3D::createTexture):
        (WebCore::GraphicsContext3D::deleteBuffer):
        (WebCore::GraphicsContext3D::deleteFramebuffer):
        (WebCore::GraphicsContext3D::deleteProgram):
        (WebCore::GraphicsContext3D::deleteRenderbuffer):
        (WebCore::GraphicsContext3D::deleteShader):
        (WebCore::GraphicsContext3D::deleteTexture):
        (WebCore::GraphicsContext3D::sizeInBytes):
        (WebCore::GraphicsContext3D::synthesizeGLError):
        (WebCore::GraphicsContext3D::getImageData):
        * platform/graphics/skia/GraphicsContext3DSkia.cpp:
        (WebCore::GraphicsContext3D::getImageData):

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

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 01:03:18 +0000 (01:03 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        Add some expected "failing" tests post-r75205.

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

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Fri, 7 Jan 2011 00:47:25 +0000 (00:47 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        Remove duplicate expectations.

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

9 years ago2011-01-06 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Fri, 7 Jan 2011 00:39:04 +0000 (00:39 +0000)]
2011-01-06  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Stephanie Lewis.

        Fix syntax error in script.

        Windows bots need to archive/unarchive builds to/from configuration-specific directories
        https://bugs.webkit.org/show_bug.cgi?id=51996

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

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

9 years agoBug 52021 - zeroDouble broken on ARMv7
barraclough@apple.com [Fri, 7 Jan 2011 00:38:37 +0000 (00:38 +0000)]
Bug 52021 - zeroDouble broken on ARMv7

Reviewed by Darin Adler.

The bug here is that zeroDouble was working incorrectly,
leading to op_loop_if_true failing - specifically in the
case where the value being checked is 0.0 encoded as a
double (rather than an integer immediate).

Additionally this patch removes a redundant duplicate compare
in some (many) case.

* assembler/ARMv7Assembler.h:
(JSC::ARMv7Assembler::vcmp_F64):
(JSC::ARMv7Assembler::vcmpz_F64):
* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::branchDoubleNonZero):
(JSC::MacroAssemblerARM::branchDoubleZeroOrNaN):
* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::branchDouble):
(JSC::MacroAssemblerARMv7::branchDoubleNonZero):
(JSC::MacroAssemblerARMv7::branchDoubleZeroOrNaN):
(JSC::MacroAssemblerARMv7::compare32):
* assembler/MacroAssemblerMIPS.h:
(JSC::MacroAssemblerMIPS::branchDoubleNonZero):
(JSC::MacroAssemblerMIPS::branchDoubleZeroOrNaN):
* assembler/MacroAssemblerX86Common.h:
(JSC::MacroAssemblerX86Common::branchDoubleNonZero):
(JSC::MacroAssemblerX86Common::branchDoubleZeroOrNaN):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_jfalse):
(JSC::JIT::emit_op_jtrue):

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

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 7 Jan 2011 00:24:05 +0000 (00:24 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Initial build support for WebGL
        https://bugs.webkit.org/show_bug.cgi?id=51716

        * configure.ac: Add a configure option for WebGL.
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Initial build support for WebGL
        https://bugs.webkit.org/show_bug.cgi?id=51716

        Add initial build support for WebGL and insert bits of implementation
        necessary for clean compilation into GraphicsContext3D.

        No new tests. This is just a build change.

        * GNUmakefile.am: Add missing files to the source lists.
        * platform/graphics/GraphicsContext3D.h: Include IntSize.h as it's used below.
        Include typedefs necessary for WebGL on GTK+ and consolidate typdefs which are the
        same across different platforms. X11 headers define the VERSION symbol, so it's
        necessary to undefine it, since it's used as an enum value.

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

9 years ago2011-01-06 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Fri, 7 Jan 2011 00:17:23 +0000 (00:17 +0000)]
2011-01-06  Michael Saboff  <msaboff@apple.com>

        Reviewed by Gavin Barraclough.

        Enhancement: Add Regexp Debug Compare between JIT and Interpreter
        https://bugs.webkit.org/show_bug.cgi?id=51834

        * JavaScriptCore: Copied from JavaScriptCore.
2011-01-06  Michael Saboff  <msaboff@apple.com>

        Reviewed by Gavin Barraclough.

        Added debug code to compare the results of JIT regexp with
        interpreted regexp and displays discrepencies.  This debug code is
        controlled by the ENABLE_YARR_JIT_DEBUG macro in wtf/Platform.h and
        is only valid if ENABLE_YARR_JIT is enabled.

        Fixed a discovered problem in RegExp::printTraceData, changing
        m_pattern to the getter pattern().
        Also deleted an extraneous semicolon.

        Enhancement: Add Regexp Debug Compare between JIT and Interpreter
        https://bugs.webkit.org/show_bug.cgi?id=51834

        * runtime/RegExp.cpp:
        (JSC::RegExp::compile):
        (JSC::RegExp::match):
        (JSC::RegExp::printTraceData):
        * wtf/Platform.h:

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

9 years ago2011-01-06 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Fri, 7 Jan 2011 00:08:32 +0000 (00:08 +0000)]
2011-01-06  Helder Correia  <helder@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] GraphicsContext::drawConvexPolygon() has unnecessary code for shadow
        https://bugs.webkit.org/show_bug.cgi?id=52014

        The function is only used by RenderObject to draw box sides.
        The shadow branch is never used and thus can be removed.

        No new tests are necessary.

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::drawConvexPolygon):

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

9 years ago2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 6 Jan 2011 23:39:50 +0000 (23:39 +0000)]
2011-01-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Make sure touch is disabled in the minimal configuration
        https://bugs.webkit.org/show_bug.cgi?id=51316

        No new tests as there is no new functionality.

        * features.pri:

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

9 years agoAdd/update Windows-specific test results for recent regressions
aroben@apple.com [Thu, 6 Jan 2011 23:29:50 +0000 (23:29 +0000)]
Add/update Windows-specific test results for recent regressions

Bugs:
    http://webkit.org/b/52026
    http://webkit.org/b/52028
    http://webkit.org/b/52029

* platform/win/animations/animation-time-expected.txt: Added.
* platform/win/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Added.
* platform/win/fast/css/css3-nth-tokens-script-expected.txt: Added.
* platform/win/fast/css/css3-nth-tokens-style-expected.txt: Added.
* platform/win/fast/dom/Window/window-property-descriptors-expected.txt:

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

9 years agoUpdate Windows results after r75177
aroben@apple.com [Thu, 6 Jan 2011 23:29:09 +0000 (23:29 +0000)]
Update Windows results after r75177

* platform/win/fast/dom/prototype-inheritance-expected.txt:

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

9 years ago2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 6 Jan 2011 23:07:47 +0000 (23:07 +0000)]
2011-01-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Unreviewed, fixing WinCE build after r75196.

        WinCE port does not (yet) support NPAPI.

        * Scripts/build-webkit:

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

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 6 Jan 2011 22:55:56 +0000 (22:55 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Freetype backend does not support WOFF
        https://bugs.webkit.org/show_bug.cgi?id=51904

        * platform/gtk/Skipped: Unskip passing WOFF test. Add results.
        * platform/gtk/fast/css/font-face-woff-expected.checksum: Added.
        * platform/gtk/fast/css/font-face-woff-expected.png: Added.
        * platform/gtk/fast/css/font-face-woff-expected.txt: Added.
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Freetype backend does not support WOFF
        https://bugs.webkit.org/show_bug.cgi?id=51904

        * CMakeListsEfl.txt: Add WOFF support to the sources list.
        * GNUmakefile.am: Add WOFF support to the sources list.
        * platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp:
        (WebCore::createFontCustomPlatformData): Call the WOFF decoder when appropriate.
        (WebCore::FontCustomPlatformData::supportsFormat): Advertise support for WOFF.

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

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 6 Jan 2011 22:51:10 +0000 (22:51 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        GTK: AX: atk tests need to be updated after recent changes
        https://bugs.webkit.org/show_bug.cgi?id=51932

        Skip ATK unit tests until we can look into what is causing these failures.

        * tests/testatk.c:
        (main): Skip all tests.
        * tests/testatkroles.c:
        (main): Ditto.

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

9 years ago2011-01-06 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Thu, 6 Jan 2011 22:39:29 +0000 (22:39 +0000)]
2011-01-06  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Fisher.

        [Web Timing] Remove vendor prefix
        https://bugs.webkit.org/show_bug.cgi?id=48922

        * fast/dom/Window/window-properties-performance-expected.txt: Test replaceability.
        * fast/dom/Window/window-properties-performance.html: Ditto.
        * fast/dom/Window/window-properties.html: Rename to performance.
        * fast/dom/resources/navigation-type-matches-querystring.html: Ditto.
        * fast/dom/script-tests/prototype-inheritance.js: Ditto.
        * fast/dom/script-tests/webtiming-document-open.js: Ditto.
        * fast/dom/script-tests/webtiming-navigate-within-document.js: Ditto.
        * fast/dom/script-tests/webtiming.js: Ditto.
        * http/tests/misc/resources/webtiming-one-redirect.html: Ditto.
        * http/tests/misc/resources/webtiming-two-redirects.html: Ditto.
2011-01-06  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Fisher.

        [Web Timing] Remove vendor prefix
        https://bugs.webkit.org/show_bug.cgi?id=48922

        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::performance): Rename to performance.
        * page/DOMWindow.h:
        * page/DOMWindow.idl: Rename to performance and make replaceable.
2011-01-06  James Simonsen  <simonjam@chromium.org>

        Reviewed by Darin Fisher.

        [Web Timing] Remove vendor prefix
        https://bugs.webkit.org/show_bug.cgi?id=48922

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::performance): Rename to performance.

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

9 years ago2011-01-06 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Thu, 6 Jan 2011 22:26:35 +0000 (22:26 +0000)]
2011-01-06  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
        https://bugs.webkit.org/show_bug.cgi?id=49388

        Changed PlatformCALayer API. Added PlatformCALayerClient abstract class which is
        used to communicate from PlatformCALayer to the owner. This replaces passing
        GraphicsLayerCA pointer when creating PlatformCALayer. It also includes the
        API that used to be in PlatformCALayerLayout. GraphicsLayerCA now implements
        the PlatformCALayerClient API.

        This change has little impact on the Mac side but makes the Windows
        interface simpler, especially when handling video layers on Windows.

        * WebCore.xcodeproj/project.pbxproj:
        * config.h:
        * platform/graphics/GraphicsLayer.h:
        (WebCore::GraphicsLayer::layerDidDisplay):
        (WebCore::GraphicsLayer::showDebugBorders):
        (WebCore::GraphicsLayer::showRepaintCounter):
        * platform/graphics/ca/GraphicsLayerCA.cpp:
        (WebCore::GraphicsLayerCA::platformCALayerAnimationStarted):
        (WebCore::GraphicsLayerCA::setContentsToImage):
        (WebCore::GraphicsLayerCA::setContentsToMedia):
        (WebCore::GraphicsLayerCA::layerDidDisplay):
        (WebCore::GraphicsLayerCA::updateSublayerList):
        * platform/graphics/ca/GraphicsLayerCA.h:
        (WebCore::GraphicsLayerCA::platformCALayerLayoutSublayersOfLayer):
        (WebCore::GraphicsLayerCA::platformCALayerRespondsToLayoutChanges):
        (WebCore::GraphicsLayerCA::platformCALayerContentsOrientation):
        (WebCore::GraphicsLayerCA::platformCALayerPaintContents):
        (WebCore::GraphicsLayerCA::platformCALayerShowDebugBorders):
        (WebCore::GraphicsLayerCA::platformCALayerShowRepaintCounter):
        (WebCore::GraphicsLayerCA::platformCALayerIncrementRepaintCount):
        (WebCore::GraphicsLayerCA::platformCALayerContentsOpaque):
        (WebCore::GraphicsLayerCA::platformCALayerDrawsContent):
        (WebCore::GraphicsLayerCA::platformCALayerLayerDidDisplay):
        (WebCore::GraphicsLayerCA::platformCALayer):
        * platform/graphics/ca/PlatformCALayer.h:
        (WebCore::PlatformCALayer::owner):
        (WebCore::PlatformCALayer::animationStarted):
        * platform/graphics/ca/PlatformCALayerClient.h: Added.
        (WebCore::PlatformCALayerClient::~PlatformCALayerClient):
        * platform/graphics/ca/mac/PlatformCALayerMac.mm:
        (PlatformCALayer::setOwner):
        (PlatformCALayer::create):
        (PlatformCALayer::PlatformCALayer):
        (PlatformCALayer::contents):
        (PlatformCALayer::setContents):
        * platform/graphics/mac/WebGLLayer.mm:
        (-[WebGLLayer display]):
        * platform/graphics/mac/WebLayer.h:
        * platform/graphics/mac/WebLayer.mm:
        (drawLayerContents):
        (setLayerNeedsDisplayInRect):
        (-[WebLayer setNeedsDisplay]):
        (-[WebLayer display]):
        * platform/graphics/mac/WebTiledLayer.mm:
        (-[WebTiledLayer setNeedsDisplay]):
        (-[WebTiledLayer display]):
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::showDebugBorders):
        (WebCore::RenderLayerBacking::showRepaintCounter):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::ensureRootPlatformLayer):
        * rendering/RenderLayerCompositor.h:
        (WebCore::RenderLayerCompositor::compositorShowDebugBorders):
        (WebCore::RenderLayerCompositor::compositorShowRepaintCounter):
        (WebCore::RenderLayerCompositor::notifyAnimationStarted):
        (WebCore::RenderLayerCompositor::notifySyncRequired):
        (WebCore::RenderLayerCompositor::paintContents):
        (WebCore::RenderLayerCompositor::showDebugBorders):
        (WebCore::RenderLayerCompositor::showRepaintCounter):

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

9 years ago2011-01-06 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Thu, 6 Jan 2011 22:07:41 +0000 (22:07 +0000)]
2011-01-06  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Allow framesets after hidden inputs
        https://bugs.webkit.org/show_bug.cgi?id=51998

        * html5lib/resources/webkit01.dat: Demonstrate that the value of the type attribute matters. An input with no type is tested in tests19.dat.
2011-01-06  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Allow framesets after hidden inputs
        https://bugs.webkit.org/show_bug.cgi?id=51998

        This implements the HTML5 spec update in response to:
        http://www.w3.org/Bugs/Public/show_bug.cgi?id=11156

        * html/parser/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processStartTagForInBody):

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

9 years ago2011-01-06 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 6 Jan 2011 22:01:35 +0000 (22:01 +0000)]
2011-01-06  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Darin Adler.

        File::Spec->rel2abs in sunspider-compare-results mangles parameters
        https://bugs.webkit.org/show_bug.cgi?id=52015

        * Scripts/sunspider-compare-results: call rel2abs on our arguments
        after the platform has been detected, otherwise the script will
        mangle things like '--gtk' into '/a/path/--gtk', breaking the
        detection.

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

9 years ago2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 6 Jan 2011 21:49:39 +0000 (21:49 +0000)]
2011-01-06  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Eric Seidel.

        Add ENABLE_NETSCAPE_PLUGIN_API, ENABLE_ORIENTATION_EVENTS and ENABLE_TOUCH_EVENTS flags to build-webkit
        https://bugs.webkit.org/show_bug.cgi?id=51346

        * Scripts/build-webkit:

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

9 years ago2010-12-29 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 6 Jan 2011 21:49:11 +0000 (21:49 +0000)]
2010-12-29  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        vertexAttribPointer should raise INVALID_OPERATION if stride/offset is not multiple of the type size
        https://bugs.webkit.org/show_bug.cgi?id=51725

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::vertexAttribPointer):
2010-12-29  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        vertexAttribPointer should raise INVALID_OPERATION if stride/offset is not multiple of the type size
        https://bugs.webkit.org/show_bug.cgi?id=51725

        * fast/canvas/webgl/gl-vertexattribpointer-expected.txt:
        * fast/canvas/webgl/gl-vertexattribpointer.html: Sync with khronos.

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

9 years ago2011-01-06 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 6 Jan 2011 21:42:16 +0000 (21:42 +0000)]
2011-01-06  Zhenyao Mo  <zmo@google.com>

        Unreviewed, add glsl-conformance.html to test_expectations.txt temporarily.

        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-06 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Thu, 6 Jan 2011 21:32:44 +0000 (21:32 +0000)]
2011-01-06  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Windows bots need to archive/unarchive builds to/from configuration-specific directories
        https://bugs.webkit.org/show_bug.cgi?id=51996

        After the configuration directory change, we were archiving the incorrect directory for
        build product, so we were running tests on the wrong binaries.

        This change archives the correct directory, and also unarchives it into a configuration-
        specific directory.

        * BuildSlaveSupport/build.webkit.org-config/master.cfg: Use a configuration-specific directory on Windows.
        * BuildSlaveSupport/built-product-archive: Unarchive/archive to/from proper directory.

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

9 years ago2011-01-06 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 6 Jan 2011 21:30:15 +0000 (21:30 +0000)]
2011-01-06  Eric Seidel  <eric@webkit.org>

        Reviewed by Mihai Parparita.

        commit-queue mentions "Text diff mismatch" 4 times instead of once per failure
        https://bugs.webkit.org/show_bug.cgi?id=52002

        See an example of this here:
        https://bugs.webkit.org/show_bug.cgi?id=51314#c2

        It's due to the fact that we pass around TestFailure() instance
        objects and yet expect them to all compare to be the same.

        This is bad.  We should either have shared instances of these values
        or we should just pass around the class names.  There are already hacks
        in place to make TestFailure objects pass equality tests, I just added
        a __hash__ implementation so they can be used in sets as expected.

        * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:

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

9 years ago2011-01-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 6 Jan 2011 21:19:24 +0000 (21:19 +0000)]
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        [WINCE] Remove JSC::g_stackBase
        https://bugs.webkit.org/show_bug.cgi?id=51779

        * wtf/StackBounds.cpp:
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        [WINCE] Remove JSC::g_stackBase
        https://bugs.webkit.org/show_bug.cgi?id=51779

        * platform/wince/SharedTimerWinCE.cpp:
        (WebCore::TimerWindowWndProc):

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

9 years ago2011-01-06 Robert Hogan <robert@webkit.org>
robert@webkit.org [Thu, 6 Jan 2011 20:54:44 +0000 (20:54 +0000)]
2011-01-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge

        This allows LayoutTestController to pass WebCore::Node back to
        layout tests.

        Also amend nodesFromRect-links-and-text.html and
        nodesFromRect-inner-documents.html so that they do not produce
        platform-specific results.

        Unskip:
        fast/dom/nodesFromRect-links-and-text.html
        fast/dom/nodesFromRect-inner-documents.html

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

        * fast/dom/nodesFromRect-inner-documents-expected.txt:
        * fast/dom/nodesFromRect-inner-documents.html:
        * fast/dom/nodesFromRect-links-and-text-expected.txt:
        * fast/dom/nodesFromRect-links-and-text.html:
        * fast/dom/resources/nodesFromRect.js:
        (check):
        (getTopFor):
        (getBottomFor):
        * platform/qt/Skipped:
2011-01-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge

        This allows LayoutTestController to pass WebCore::Node back to
        layout tests.

        Also amend nodesFromRect-links-and-text.html and
        nodesFromRect-inner-documents.html so that they do not produce
        platform-specific results.

        Unskip:
        fast/dom/nodesFromRect-links-and-text.html
        fast/dom/nodesFromRect-inner-documents.html

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

        * bridge/qt/qt_runtime.cpp:
        (JSC::Bindings::QtDRTNodeRuntime::create):
        (JSC::Bindings::QtDRTNodeRuntime::get):
        (JSC::Bindings::convertValueToQVariant):
        (JSC::Bindings::convertQVariantToValue):
2011-01-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge

        This allows LayoutTestController to pass WebCore::Node back to
        layout tests.

        Also amend nodesFromRect-links-and-text.html and
        nodesFromRect-inner-documents.html so that they do not produce
        platform-specific results.

        Unskip:
        fast/dom/nodesFromRect-links-and-text.html
        fast/dom/nodesFromRect-inner-documents.html

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

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (QDRTNode::QDRTNode):
        (QDRTNode::~QDRTNode):
        (DumpRenderTreeSupportQt::nodesFromRect):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:

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

9 years ago2011-01-06 Joone Hur <joone.hur@collabora.co.uk>
commit-queue@webkit.org [Thu, 6 Jan 2011 20:53:25 +0000 (20:53 +0000)]
2011-01-06  Joone Hur  <joone.hur@collabora.co.uk>

        Reviewed by Eric Seidel.

        WML Parser should treat line/column number in a consistent way
        https://bugs.webkit.org/show_bug.cgi?id=51601

        Add the equality operators to TextPosition class.

        * wtf/text/TextPosition.h:
        (WTF::TextPosition::operator==): Added.
        (WTF::TextPosition::operator!=): Added.
        (WTF::TextPosition::belowRangePosition): Use belowBase() instead of base().
        (WTF::ZeroBasedNumber::operator==): Added.
        (WTF::ZeroBasedNumber::operator!=): Added.
        (WTF::OneBasedNumber::operator==): Added.
        (WTF::OneBasedNumber::operator!=): Added.
2011-01-06  Joone Hur  <joone.hur@collabora.co.uk>

        Reviewed by Eric Seidel.

        WML Parser should treat line/column number in a consistent way
        https://bugs.webkit.org/show_bug.cgi?id=51601

        XML Parser treats line/column number as 1-based values, but WML ErrorHandler treat them as 0-based.
        Therefore, this patch allows WML ErrorHandler to use 1-based values.

        * dom/XMLDocumentParser.cpp:
        (WebCore::XMLDocumentParser::handleError): Treat line/column number as 1 based values.
        * dom/XMLDocumentParser.h: Make textPositionOneBased public and Add TextPosition1(m_lastErrorPosition) to keep error line/column number.
        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::XMLDocumentParser::XMLDocumentParser): Initialize m_lastErrorPosition.
        * dom/XMLDocumentParserQt.cpp:
        (WebCore::XMLDocumentParser::XMLDocumentParser): Initialize m_lastErrorPosition.
        * wml/WMLErrorHandling.cpp:
        (WebCore::reportWMLError): Use 1 based value instead of 0 based value to report error line/column number.

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

9 years agoAlways show the arrow cursor when the web process has crashed
aroben@apple.com [Thu, 6 Jan 2011 20:49:30 +0000 (20:49 +0000)]
Always show the arrow cursor when the web process has crashed

Fixes <http://webkit.org/b/52006> WKView shows a stale cursor when the
web process crashes

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::processDidCrash):
(WebKit::WebView::didRelaunchProcess):
Update the cursor to reflect the new state.

(WebKit::WebView::cursorToShow): Always show the arrow cursor when the
web process has crashed.

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

9 years agoReduce code duplication in WebView::updateNativeCursor
aroben@apple.com [Thu, 6 Jan 2011 20:49:02 +0000 (20:49 +0000)]
Reduce code duplication in WebView::updateNativeCursor

Fixes <http://webkit.org/b/52005> It's not easy to add new behavior to
WebView::updateNativeCursor

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::cursorToShow): Moved code to choose a cursor here...
(WebKit::WebView::updateNativeCursor): ...from here.

* UIProcess/win/WebView.h: Added cursorToShow.

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

9 years agoMake WKView fill with white when the web process has crashed
aroben@apple.com [Thu, 6 Jan 2011 20:48:33 +0000 (20:48 +0000)]
Make WKView fill with white when the web process has crashed

Previously we would just draw whatever we had last drawn into the
WKView (i.e., a stale picture of the web page), which was confusing
(because the web page would mysteriously not respond to input) and ugly
(because it wouldn't behave properly if the window was resized).

Fixes <http://webkit.org/b/52004> WKView keeps painting a stale
picture of the web page when the web process crashes

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::onPaintEvent): Ported code from -[WKView drawRect:]
to fill with white if the page is invalid or has no DrawingArea. As a
bonus, also ported the call to WebPageProxy::didDraw from that method.

(WebKit::WebView::processDidCrash):
(WebKit::WebView::didRelaunchProcess):
Invalidate our window so that we'll redraw with white or the new page.

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

9 years agoMake WKViews work on Windows after a crashed web process gets relaunched
aroben@apple.com [Thu, 6 Jan 2011 20:48:06 +0000 (20:48 +0000)]
Make WKViews work on Windows after a crashed web process gets relaunched

Fixes <http://webkit.org/b/52001> Relaunching the web process fails to
revivify WKViews on Windows

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::didRelaunchProcess): Implemented by porting code from
-[WKView _didRelaunchProcess].

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

9 years agoRemove WebView::m_rect
aroben@apple.com [Thu, 6 Jan 2011 20:47:38 +0000 (20:47 +0000)]
Remove WebView::m_rect

It was only used in the constructor, and wasn't even kept up-to-date as
the WebView's size changed.

Fixes <http://webkit.org/b/52000> WebView::m_rect is unnecessary

Reviewed by Ada Chan.

* UIProcess/win/WebView.cpp:
* UIProcess/win/WebView.h:

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

9 years agoRemove some dead code from WKCACFLayerRenderer
aroben@apple.com [Thu, 6 Jan 2011 20:46:49 +0000 (20:46 +0000)]
Remove some dead code from WKCACFLayerRenderer

Fixes <http://webkit.org/b/51954> WKCACFLayerRenderer has dead and
redundant code for reacting to changes to the layer tree

Reviewed by Sam Weinig.

* platform/graphics/win/WKCACFLayerRenderer.cpp:
* platform/graphics/win/WKCACFLayerRenderer.h:
Removed didFlushContext and the HashMap it depended on. We react to
changes to the layer tree in layerTreeDidChange instead.

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

9 years ago2011-01-06 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Thu, 6 Jan 2011 20:44:24 +0000 (20:44 +0000)]
2011-01-06  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations update.

        Update test_expectations.txt files to reflect reality on the canaries.

        * platform/chromium-gpu/test_expectations.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 6 Jan 2011 20:39:55 +0000 (20:39 +0000)]
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Gavin Barraclough.

        [WINCE] Determine stack extent
        https://bugs.webkit.org/show_bug.cgi?id=26276

        Scan the stack for writeable pages and use the limits.

        * wtf/StackBounds.cpp:
        (WTF::detectGrowingDownward):
        (WTF::isPageWritable):
        (WTF::getLowerStackBound):
        (WTF::getUpperStackBound):
        (WTF::StackBounds::initialize):

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

9 years agoAX: "AXExpanded" not exposed on most ARIA roles that use aria-expanded
cfleizach@apple.com [Thu, 6 Jan 2011 20:39:27 +0000 (20:39 +0000)]
AX: "AXExpanded" not exposed on most ARIA roles that use aria-expanded
https://bugs.webkit.org/show_bug.cgi?id=51995

Reviewed by Beth Dakin.

WebCore:

Test: platform/mac/accessibility/aria-expanded-standard-items.html

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::supportsARIAExpanded):
(WebCore::AccessibilityObject::isExpanded):
* accessibility/AccessibilityObject.h:
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::isVisited):
* accessibility/AccessibilityRenderObject.h:
* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper additionalAccessibilityAttributeNames]):

LayoutTests:

* platform/mac/accessibility/aria-expanded-standard-items-expected.txt: Added.
* platform/mac/accessibility/aria-expanded-standard-items.html: Added.

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

9 years ago2011-01-06 Evan Martin <evan@chromium.org>
evan@chromium.org [Thu, 6 Jan 2011 20:34:01 +0000 (20:34 +0000)]
2011-01-06  Evan Martin  <evan@chromium.org>

        Reviewed by Tony Chang.

        [gdb] handle inaccessible memory and UChar*
        https://bugs.webkit.org/show_bug.cgi?id=52003

        To pretty-print a UChar*, we just grope around in the memory
        looking for a terminating NUL.  We need to handle the exception
        that can occur when we poke into an invalid location.

        Additionally, the logic for choosing which pretty-printer would
        early return before hitting the point where we'd use the UChar*
        printer.  (Did this ever work?  How did it regress?)

        * gdb/webkit.py:

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

9 years ago2011-01-06 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 6 Jan 2011 20:28:58 +0000 (20:28 +0000)]
2011-01-06  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        prototype-inheritance prints FAIL when it shouldn't
        https://bugs.webkit.org/show_bug.cgi?id=52007

        Before this patch, we were testing the prototypes of primitive values,
        but the rules for primitive values are different than the rules for
        objects.  Primitive values get their prototypes from the current
        lexical scope when they get boxed.  This test is designed to test that
        objects get their prototypes from their original holder.

        In this patch, we skip testing non-object/non-functions.  We can add
        another test for primitives if we think that would be valuable.

        * fast/dom/prototype-inheritance-expected.txt:
        * fast/dom/script-tests/prototype-inheritance.js:

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

9 years ago2011-01-06 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 6 Jan 2011 20:20:30 +0000 (20:20 +0000)]
2011-01-06  James Robinson  <jamesr@chromium.org>

        Update expectations for tests that enumerate properties on the window to reflect newly added property.

        * fast/dom/Window/window-properties-expected.txt:
        * fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/gtk/fast/dom/Window/window-properties-expected.txt:
        * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/qt/fast/dom/Window/window-properties-expected.txt:
        * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:

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

9 years ago2010-12-28 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 6 Jan 2011 19:33:58 +0000 (19:33 +0000)]
2010-12-28  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Must generate INVALID_VALUE errors for strings containing out-of-range characters
        https://bugs.webkit.org/show_bug.cgi?id=50929

        * html/canvas/WebGLRenderingContext.cpp: Validate characters according to GLSL ES 1.0 spec section 3.1.
        (WebCore::WebGLRenderingContext::bindAttribLocation):
        (WebCore::WebGLRenderingContext::getAttribLocation):
        (WebCore::WebGLRenderingContext::getUniformLocation):
        (WebCore::WebGLRenderingContext::shaderSource):
        (WebCore::WebGLRenderingContext::validateString): Helper function to perform the character validation.
        * html/canvas/WebGLRenderingContext.h: Declare validateString().
2010-12-28  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Must generate INVALID_VALUE errors for strings containing out-of-range characters
        https://bugs.webkit.org/show_bug.cgi?id=50929

        * fast/canvas/webgl/invalid-passed-params-expected.txt: Add test cases for invalid characters.
        * fast/canvas/webgl/invalid-passed-params.html: Ditto.

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

9 years agoWebKit2: Should be able to call into injected bundle to ask if we should allow resour...
bweinstein@apple.com [Thu, 6 Jan 2011 19:27:23 +0000 (19:27 +0000)]
WebKit2: Should be able to call into injected bundle to ask if we should allow resource loads
https://bugs.webkit.org/show_bug.cgi?id=51969

Reviewed by Ada Chan.

Tools:

Add shouldLoadResourceForFrame to WTR::InjectedBundlePage.

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::InjectedBundlePage):
(WTR::InjectedBundlePage::shouldLoadResourceForFrame): Stub implementation.
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:

WebKit2:

Add the ability to call into the injected bundle to ask if we should allow resource loads.
If the injected bundle says we should cancel, we clear out the ResourceRequest that was
passed into willSendRequest, which cancels the resource load.

* WebProcess/InjectedBundle/API/c/WKBundlePage.h: Add the new callback for allowing/cancelling
    resource loads.
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
(WebKit::InjectedBundlePageLoaderClient::shouldLoadResourceForFrame): Calls through to the client.
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchWillSendRequest): Ask the InjectedBundlePageLoaderClient if we
    should load the resource or not.

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

9 years ago2011-01-06 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Thu, 6 Jan 2011 19:23:58 +0000 (19:23 +0000)]
2011-01-06  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Improve the layouttests from r75168 and make sure that the parent stylesheet value is null
        before showing test passed.

        * fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html:
        * fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html:

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

9 years ago2011-01-06 Yong Li <yoli@rim.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 19:14:07 +0000 (19:14 +0000)]
2011-01-06  Yong Li  <yoli@rim.com>

        Reviewed by Adam Barth.
        Add the test case that is missed in r75066.
        https://bugs.webkit.org/show_bug.cgi?id=48077

        Test case: WebCore/manual-tests/bugzilla-48077.html.

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

9 years ago2011-01-06 Jeff Miller <jeffm@apple.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 19:08:43 +0000 (19:08 +0000)]
2011-01-06  Jeff Miller  <jeffm@apple.com>

        Reviewed by Darin Adler.

        WebKit2: Add APIs to WKBundleFrame to get content bounds and scroll offset
        https://bugs.webkit.org/show_bug.cgi?id=51968

        * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
        (WKBundleFrameGetContentBounds):
        (WKBundleFrameGetScrollOffset):
        * WebProcess/InjectedBundle/API/c/WKBundleFrame.h:
        Add WKBundleFrameGetContentBounds() and WKBundleFrameGetScrollOffset().

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

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 6 Jan 2011 19:07:36 +0000 (19:07 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        Include a new header in the static headers list. This is necessary
        so that "make install" installs the header.

        * GNUmakefile.am: Include webkitglobals.h in the header list.

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

9 years ago2011-01-06 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 6 Jan 2011 19:07:25 +0000 (19:07 +0000)]
2011-01-06  James Robinson  <jamesr@chromium.org>

        Reviewed by Simon Fraser.

        Implement mozilla's animationTime property
        https://bugs.webkit.org/show_bug.cgi?id=51952

        Tests for window.webkitAnimationTime.

        * animations/animation-time-expected.txt: Added.
        * animations/animation-time.html: Added.
        * animations/script-tests/animation-time.js: Added.
2011-01-06  James Robinson  <jamesr@chromium.org>

        Reviewed by Simon Fraser.

        Implement mozilla's animationTime property
        https://bugs.webkit.org/show_bug.cgi?id=51952

        Chromium DRT support for webkitAnimationTime.

        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::paintInvalidatedRegion):
2011-01-06  James Robinson  <jamesr@chromium.org>

        Reviewed by Simon Fraser.

        Implement mozilla's animationTime property
        https://bugs.webkit.org/show_bug.cgi?id=51952

        Implements mozilla's animationTime property as described here:
        https://developer.mozilla.org/en/DOM/window.mozAnimationStartTime
        and http://hacks.mozilla.org/2010/08/more-efficient-javascript-animations-with-mozrequestanimationframe/
        The property is called webkitAnimationTime as calling it the 'Start' time is not very informative.
        This property exposes a notion of a 'current' time to use for declarative animations and allows
        scripts to synchronize imperative animations with declarative ones if they choose to.  Once queried
        this time is saved and used for all declarative animation updates until the embedder paints/composites
        the next frame and clears it, or 15ms elapse (in case the embedder isn't producing frames, for example
        if the page is in a background tab).

        This patch also ensures that all declarative animations started in the same script execution block
        are synchronized even if some time elapses while script is running.

        Test: fast/animation/animation-time.html

        * WebCore.gypi:
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::webkitAnimationTime):
        * page/DOMWindow.h:
        * page/DOMWindow.idl:
        * page/Frame.cpp:
        (WebCore::Frame::currentAnimationTime):
        * page/Frame.h:
        * page/Page.cpp:
        (WebCore::Page::Page):
        * page/Page.h:
        (WebCore::Page::animationTime):
        * page/animation/AnimationController.cpp:
        (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
        * page/animation/AnimationTimeController.cpp: Added.
        (WebCore::AnimationTimeController::AnimationTimeController):
        (WebCore::AnimationTimeController::~AnimationTimeController):
        (WebCore::AnimationTimeController::currentAnimationTime):
        (WebCore::AnimationTimeController::clearCurrentAnimationTime):
        (WebCore::AnimationTimeController::clearCurrentAnimationTimeTimerFired):
        * page/animation/AnimationTimeController.h: Added.
        (WebCore::AnimationTimeController::create):
2011-01-06  James Robinson  <jamesr@chromium.org>

        Reviewed by Simon Fraser.

        Implement mozilla's animationTime property
        https://bugs.webkit.org/show_bug.cgi?id=51952

        WebKit API support for webkitAnimationTime.

        * public/WebWidget.h:
        * src/WebPopupMenuImpl.cpp:
        (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime):
        * src/WebPopupMenuImpl.h:
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::clearCurrentAnimationTime):
        * src/WebViewImpl.h:
2011-01-06  James Robinson  <jamesr@chromium.org>

        Reviewed by Simon Fraser.

        Implement mozilla's animationTime property
        https://bugs.webkit.org/show_bug.cgi?id=51952

        Tells the page to clear the current animation time after producing a frame.

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::drawRect):
        * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
        (WebKit::ChunkedUpdateDrawingArea::display):
        (WebKit::ChunkedUpdateDrawingArea::setSize):
        * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
        (WebKit::LayerBackedDrawingArea::syncCompositingLayers):

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

9 years ago2011-01-06 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Thu, 6 Jan 2011 18:52:51 +0000 (18:52 +0000)]
2011-01-06  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Simon Fraser.

        Null out the parent stylesheet pointer when a css rule is removed.
        https://bugs.webkit.org/show_bug.cgi?id=51993

        Tests: fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html
               fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html

        * css/CSSRuleList.cpp:
        (WebCore::CSSRuleList::deleteRule):
        * css/CSSStyleSheet.cpp:
        (WebCore::CSSStyleSheet::deleteRule):
2011-01-06  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Simon Fraser.

        Tests that we do not crash when accessing a deleted parent stylesheet
        from a removed css rule.
        https://bugs.webkit.org/show_bug.cgi?id=51993

        * fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash-expected.txt: Added.
        * fast/dom/StyleSheet/removed-media-rule-deleted-parent-crash.html: Added.
        * fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash-expected.txt: Added.
        * fast/dom/StyleSheet/removed-stylesheet-rule-deleted-parent-crash.html: Added.

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

9 years ago2011-01-04 Adrienne Walker <enne@google.com>
enne@google.com [Thu, 6 Jan 2011 18:47:50 +0000 (18:47 +0000)]
2011-01-04  Adrienne Walker  <enne@google.com>

        Reviewed by Kenneth Russell.

        Add test cases for storing NaN in typed arrays.
        https://bugs.webkit.org/show_bug.cgi?id=46990

        * fast/canvas/webgl/array-unit-tests-expected.txt:
        * fast/canvas/webgl/array-unit-tests.html:
2011-01-04  Adrienne Walker  <enne@google.com>

        Reviewed by Kenneth Russell.

        NaN in a TypedArray should be converted to zero only for Float32Array.
        https://bugs.webkit.org/show_bug.cgi?id=46990

        Test: LayoutTests/fast/canvas/webgl/array-unit-tests.html

        * bindings/js/JSArrayBufferViewHelper.h:
        (WebCore::convertArrayValue):
        (WebCore::constructArrayBufferView):
        * html/canvas/Float32Array.h:
        (WebCore::Float32Array::set):
        (WebCore::Float32Array::item):

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

9 years ago2011-01-06 Julie Parent <jparent@chromium.org>
jparent@chromium.org [Thu, 6 Jan 2011 18:42:44 +0000 (18:42 +0000)]
2011-01-06  Julie Parent  <jparent@chromium.org>

        Reviewed by Tony Chang.

        Test Result Server always truncates number of results to JSON_RESULTS_MAX_BUILDS
        https://bugs.webkit.org/show_bug.cgi?id=51217

        * TestResultServer/model/jsonresults.py:
        Pass num_runs through to _remove_items_over_max_number_of_builds, and use the value.
        Adds missing documentation.
        * TestResultServer/model/jsonresults_unittest.py:
        Add unit test to test that truncation happens at smaller value than JSON_RESULTS_MAX_BUILDS.
        Update test_merge to take a number of builds to truncate at.

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

9 years ago2011-01-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 6 Jan 2011 18:21:27 +0000 (18:21 +0000)]
2011-01-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Enable blob support by default
        https://bugs.webkit.org/show_bug.cgi?id=51994

        * configure.ac: Enable Blob support by default.

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

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 18:19:29 +0000 (18:19 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [Chromium] Add elliptical gradient support to GradientSkia
        https://bugs.webkit.org/show_bug.cgi?id=51841

        Marks fast/gradients/css3-radial-gradients3.html as expected to fail.
        Also marks
        canvas/philip/tests/2d.shadow.gradient.alpha.html
        canvas/philip/tests/2d.shadow.gradient.basic.html
        canvas/philip/tests/2d.shadow.gradient.transparent.2.html
        as passing on Chromium-mac as a result of r75139.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 6 Jan 2011 18:16:05 +0000 (18:16 +0000)]
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed Windows build fix for r75161.

        * platform/graphics/cg/GraphicsContextCG.cpp: Missing include added.

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

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 17:57:50 +0000 (17:57 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, rolling out r75152.

        [Chromium] fast/gradients/css3-radial-gradients3.html needs Chromium-specific results
        https://bugs.webkit.org/show_bug.cgi?id=51988

        Rolling out since, on closer inspection, the expectations are wrong and the corresponding test really fails.

        * platform/chromium-mac/fast/gradients/css3-radial-gradients3-expected.checksum: Removed.
        * platform/chromium-mac/fast/gradients/css3-radial-gradients3-expected.png: Removed.
        * platform/chromium-win/fast/gradients/css3-radial-gradients3-expected.checksum: Removed.
        * platform/chromium-win/fast/gradients/css3-radial-gradients3-expected.png: Removed.

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

9 years ago2011-01-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 6 Jan 2011 17:36:49 +0000 (17:36 +0000)]
2011-01-06  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed WinCE build fix for r75139.

        Try to remove include after adding forward-declaration in r75145.

        * platform/graphics/Gradient.h:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=51811
reni@webkit.org [Thu, 6 Jan 2011 16:50:45 +0000 (16:50 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=51811
Merge m_height and m_width members of ImageData into the new m_size member.

Patch by Renata Hodovan <reni@webkit.org> on 2011-01-06
Reviewed by Andreas Kling.

Image (BitmapImage, ImageSource) types in WebKit use IntSize to store their
width and height argument, except ImageData. This patch refactors ImageData
to follow the style of other Image types in WebKit.
Using of PassRefPtrs other than argument passing is not allowed in WebKit anymore.
This patch also refactors the PassRefPtr usages of ImageData.

It's just a refactoring, so we don't need any new tests.

* bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::write):
(WebCore::CloneDeserializer::readTerminal):
* bindings/v8/SerializedScriptValue.cpp:
(WebCore::ZigZag::Reader::readImageData):
* html/ImageData.cpp:
(WebCore::ImageData::create):
(WebCore::ImageData::ImageData):
* html/ImageData.h:
(WebCore::ImageData::size):
(WebCore::ImageData::width):
(WebCore::ImageData::height):
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::createEmptyImageData):
(WebCore::CanvasRenderingContext2D::createImageData):
(WebCore::CanvasRenderingContext2D::getImageData):
* html/canvas/CanvasRenderingContext2D.h:
* platform/graphics/haiku/ImageBufferHaiku.cpp:
(WebCore::getImageData):

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

9 years agoWebCore: document.querySelector(':nth-child(foo)') should throw a syntax error
yael.aharon@nokia.com [Thu, 6 Jan 2011 16:46:36 +0000 (16:46 +0000)]
WebCore: document.querySelector(':nth-child(foo)') should throw a syntax error
https://bugs.webkit.org/show_bug.cgi?id=51231

Reviewed by Darin Adler.

Also fixes
CSSNthSelector parsing code is illegible and buggy (allows "n3" as a valid selector)
https://bugs.webkit.org/show_bug.cgi?id=21815

Add a check in the parser that other than an+b, only "odd" or "even" would be allowed
as parameters to nth selector.

Tests: fast/css/css3-nth-tokens-script.html
       fast/css/css3-nth-tokens-style.html

* css/CSSGrammar.y:
* css/CSSParser.cpp:
(WebCore::isValidNthToken):
* css/CSSParser.h:

LayoutTests: document.querySelector(':nth-child(foo)') should throw a syntax error
https://bugs.webkit.org/show_bug.cgi?id=51231
CSSNthSelector parsing code is illegible and buggy (allows "n3" as a valid selector)
https://bugs.webkit.org/show_bug.cgi?id=21815

Reviewed by Darin Adler.

* fast/css/css3-nth-tokens-script-expected.txt: Added.
* fast/css/css3-nth-tokens-script.html: Added.
* fast/css/css3-nth-tokens-style-expected.txt: Added.
* fast/css/css3-nth-tokens-style.html: Added.

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

9 years ago2011-01-06 Jan Erik Hanssen <jhanssen@sencha.com>
commit-queue@webkit.org [Thu, 6 Jan 2011 16:31:47 +0000 (16:31 +0000)]
2011-01-06  Jan Erik Hanssen  <jhanssen@sencha.com>

        Reviewed by Andreas Kling.

        [Qt] crash in QNetworkReplyHandler::sendResponseIfNeeded()
        https://bugs.webkit.org/show_bug.cgi?id=51453

        Check if m_reply is NULL before accessing.

        * manual-tests/load-deferrer-resume-crash.html: Added.
        * platform/network/qt/QNetworkReplyHandler.cpp:
        (WebCore::QNetworkReplyHandler::setLoadMode):
        (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):

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

9 years agoRedo the half-done rename from the last check-in.
darin@apple.com [Thu, 6 Jan 2011 16:24:42 +0000 (16:24 +0000)]
Redo the half-done rename from the last check-in.
Sorry for the broken build last night.

* WebProcess/WebPage/WebBackForwardListProxy.cpp:
(WebKit::WebBackForwardListProxy::removeItem): Renamed.
* WebProcess/WebPage/WebBackForwardListProxy.h: Updated
for new name.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didRemoveBackForwardItem): Updated to
use the new name.

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

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 16:16:17 +0000 (16:16 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [Chromium] canvas/canvas-fillRect-gradient-shadow.html fails on Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=51989

        Updating the test expectations for the chromium-gpu platform.

        * platform/chromium-gpu/test_expectations.txt:

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

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 15:31:26 +0000 (15:31 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [Chromium] canvas/canvas-fillRect-gradient-shadow.html fails on Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=51989

        Added suppressions for
        svg/batik/text/textEffect.svg
        svg/batik/text/textEffect3.svg
        svg/css/composite-shadow-text.svg
        svg/custom/js-late-gradient-and-object-creation.svg
        svg/custom/js-late-gradient-creation.svg
        svg/text/selection-background-color.xhtml
        svg/text/selection-styles.xhtml
        svg/text/text-gradient-positioning.svg

        These tests are all failing as a result of the same change: r75153.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 14:32:15 +0000 (14:32 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [Chromium] canvas/canvas-fillRect-gradient-shadow.html fails on Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=51989

        Updating Chromium expectations until we find a fix.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-06 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 6 Jan 2011 14:13:29 +0000 (14:13 +0000)]
2011-01-06  Andrei Popescu  <andreip@google.com>

        Unreviewed, build fix.

        [Chromium] fast/gradients/css3-radial-gradients3.html needs Chromium-specific results
        https://bugs.webkit.org/show_bug.cgi?id=51988

        * platform/chromium-mac/fast/gradients/css3-radial-gradients3-expected.checksum: Added.
        * platform/chromium-mac/fast/gradients/css3-radial-gradients3-expected.png: Added.
        * platform/chromium-win/fast/gradients/css3-radial-gradients3-expected.checksum: Added.
        * platform/chromium-win/fast/gradients/css3-radial-gradients3-expected.png: Added.

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

9 years ago2011-01-06 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Thu, 6 Jan 2011 14:04:42 +0000 (14:04 +0000)]
2011-01-06  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Csaba Osztrogon√°c.

        [Qt][V8] Fix the build when DEVICE_ORIENTATION is enabled.

        No new tests needed.

        * WebCore.pro: remove duplications and globally add RuntimeEnabledFeatures.

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