WebKit.git
10 years agoNot reviewed.
mjs@apple.com [Mon, 7 Feb 2011 17:57:36 +0000 (17:57 +0000)]
Not reviewed.

Fix WebKitTestRunner build on the SL bot.

* WebKitTestRunner/Configurations/Base.xcconfig: Look for the JSC copy
of ICU headers.

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

10 years ago2011-02-03 Zhenyao Mo <zmo@google.com>
zmo@google.com [Mon, 7 Feb 2011 17:29:36 +0000 (17:29 +0000)]
2011-02-03  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Crash in glDrawArrays with NaCl crystal model
        https://bugs.webkit.org/show_bug.cgi?id=52831

        * html/canvas/WebGLRenderingContext.cpp: Allocate large enough buffer for atttrib0 if it's enabled and not used.
        (WebCore::WebGLRenderingContext::initVertexAttrib0):
        (WebCore::WebGLRenderingContext::simulateVertexAttrib0):
        * html/canvas/WebGLRenderingContext.h:
2011-02-03  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Crash in glDrawArrays with NaCl crystal model
        https://bugs.webkit.org/show_bug.cgi?id=52831

        * fast/canvas/webgl/gl-vertex-attrib-zero-issues-expected.txt: Added.
        * fast/canvas/webgl/gl-vertex-attrib-zero-issues.html: Added.

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

10 years agoSource/WebCore: WAI-ARIA @aria-sort not exposed on rowheader and columnheader roles.
cfleizach@apple.com [Mon, 7 Feb 2011 17:24:01 +0000 (17:24 +0000)]
Source/WebCore: WAI-ARIA @aria-sort not exposed on rowheader and columnheader roles.
https://bugs.webkit.org/show_bug.cgi?id=53842

Reviewed by Darin Adler.

Test: platform/mac/accessibility/aria-sort.html

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::sortDirection):
* accessibility/AccessibilityObject.h:
* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
(-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
* html/HTMLAttributeNames.in:

LayoutTests: WAI-ARIA @aria-sort not exposed on rowheader and columnheader roles
https://bugs.webkit.org/show_bug.cgi?id=53842

Reviewed by Darin Adler.

* platform/mac/accessibility/aria-sort-expected.txt: Added.
* platform/mac/accessibility/aria-sort.html: Added.

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

10 years ago2011-02-06 Darin Adler <darin@apple.com>
darin@apple.com [Mon, 7 Feb 2011 16:35:38 +0000 (16:35 +0000)]
2011-02-06  Darin Adler  <darin@apple.com>

        Reviewed by Antti Koivisto.

        Add built-in decoder for UTF-8 for improved performance
        https://bugs.webkit.org/show_bug.cgi?id=53898

        Correct behavior is covered by existing tests.

        * Android.mk: Added TextCodecUTF8.
        * CMakeLists.txt: Ditto.
        * GNUmakefile.am: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.

        * platform/text/TextCodecICU.cpp: Removed registration of UTF-8
        since that's now handled by the built-in UTF-8 codec.
        (WebCore::TextCodecICU::registerEncodingNames): Renamed to remove
        the word "extended" since all codecs from ICU are now extended.
        (WebCore::TextCodecICU::registerCodecs): Ditto.
        * platform/text/TextCodecICU.h: Ditto.

        * platform/text/TextCodecUTF16.cpp:
        (WebCore::TextCodecUTF16::decode): Added a FIXME about missing
        error handling.

        * platform/text/TextCodecUTF8.cpp: Added.
        * platform/text/TextCodecUTF8.h: Added.

        * platform/text/TextEncodingRegistry.cpp:
        (WebCore::buildBaseTextCodecMaps): Added TextCodecUTF8, and
        removed TextCodecICU, TextCodecBrew, and TextCodecWinCE.
        (WebCore::extendTextCodecMaps): Updated names for
        TextCodecICU and TextCodecWinCE.

        * platform/text/brew/TextCodecBrew.cpp:
        (WebCore::TextCodecBrew::registerEncodingNames): Renamed to remove
        the word "extended" since all codecs from Brew are now extended.
        (WebCore::TextCodecBrew::registerCodecs): Ditto.
        * platform/text/brew/TextCodecBrew.h: Ditto.

        * platform/text/gtk/TextCodecGtk.cpp:
        (WebCore::TextCodecGtk::registerBaseEncodingNames): Removed
        registration of UTF-8. It's questionable whether the other codecs
        here are really basic. If we think they qualify, then we should
        register them on other platforms, not just GTK.
        (WebCore::TextCodecGtk::registerBaseCodecs): Ditto.

        * platform/text/wince/TextCodecWinCE.cpp:
        (WebCore::getCodePage): Removed special case for UTF-8 since we
        no longer use this codec for UTF-8.
        (WebCore::TextCodecWinCE::registerEncodingNames): Renamed to remove
        the word "extended" since all codecs from WinCE are now extended.
        (WebCore::TextCodecWinCE::registerCodecs): Ditto.
        * platform/text/wince/TextCodecWinCE.h: Ditto.

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

10 years ago2011-02-07 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 7 Feb 2011 16:35:36 +0000 (16:35 +0000)]
2011-02-07  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Daniel Bates.

        [GTK] fast/history/history-subframe-with-name.html fails with GTK DRT
        https://bugs.webkit.org/show_bug.cgi?id=44784

        * platform/gtk/Skipped: Unskip tests which are now passing.
2011-02-07  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Daniel Bates.

        [GTK] fast/history/history-subframe-with-name.html fails with GTK DRT
        https://bugs.webkit.org/show_bug.cgi?id=44784

        Call FrameLoader::loadURLIntoChildFrame on the parent frame's loader, not the child's.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::createFrame): Fix the call to FrameLoader::loadURLIntoChildFrame.

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

10 years ago2011-02-07 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Mon, 7 Feb 2011 16:23:10 +0000 (16:23 +0000)]
2011-02-07  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] atk_text_get_caret_offset fails for list items
        https://bugs.webkit.org/show_bug.cgi?id=53436

        Consider list item markers when calculating the offset.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (webkit_accessible_text_get_caret_offset): Adjust the offset
        with the item marker's length for list items.
        (webkit_accessible_text_set_caret_offset): Replace usage of
        g_utf8_strlen() by calling to markerText.length().
2011-02-07  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] atk_text_get_caret_offset fails for list items
        https://bugs.webkit.org/show_bug.cgi?id=53436

        Update unit test to check the fix for this bug.

        * tests/testatk.c:
        (testWebkitAtkCaretOffsets): Check that the caret offset returned
        match the value previously set.

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

10 years agoWindows build fix after r77794
aroben@apple.com [Mon, 7 Feb 2011 16:03:06 +0000 (16:03 +0000)]
Windows build fix after r77794

* win/WebKit2.def: Export WebCore symbols used by WebKitTestRunner.

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

10 years agoDelete precompiled headers whenever any .vsprops file changes
aroben@apple.com [Mon, 7 Feb 2011 16:02:02 +0000 (16:02 +0000)]
Delete precompiled headers whenever any .vsprops file changes

Precompiled headers need to be rebuilt if, e.g., an ENABLE_* macro is changed in one of our
.vsprops files. Unfortunately, Visual Studio isn't smart enough to figure this out, so we
give it some assistance by deleting the precompiled headers whenever any .vsprops file
changes.

I also made some drive-by fixes while I was in the area.

Fixes <http://webkit.org/b/53826> react-to-vsprops-changes.py doesn't force precompiled
headers to be rebuilt, but should

Reviewed by David Kilzer.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make: Stop ignoring the
return code from react-to-vsprops-changes.py so we will notice when errors are introduced.
But skip the script entirely in production builds, where it is both unnecessary and can't
function correctly (due to not having the entire source tree available to it).

* JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:
(main): Removed an extra '*' in the glob for finding manifest files. The extra '*' was
leftover from before we rearranged WebKitBuild in r75138. Moved code to delete an old file
to the new delete_if_older_than function. Added code to delete any precompiled headers older
than the newest .vsprops file.
(delete_if_older_than): Added. Code came from main.

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

10 years ago2011-02-07 Yi Shen <yi.4.shen@nokia.com>
yi.4.shen@nokia.com [Mon, 7 Feb 2011 15:57:57 +0000 (15:57 +0000)]
2011-02-07  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Tor Arne Vestbø.

        [Qt] Fix LayoutTests/media/restore-from-page-cache.html
        https://bugs.webkit.org/show_bug.cgi?id=53621

        Unskip media/restore-from-page-cache.html for Qt.

        * platform/qt/Skipped:
2011-02-07  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Tor Arne Vestbø.

        [Qt] Fix LayoutTests/media/restore-from-page-cache.html
        https://bugs.webkit.org/show_bug.cgi?id=53621

        Changed the networkState to MediaPlayer::Loaded when
        MediaPlayerPrivateQt has enough data.

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

        * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
        (WebCore::MediaPlayerPrivateQt::updateStates):

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

10 years ago2011-02-07 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 7 Feb 2011 15:56:34 +0000 (15:56 +0000)]
2011-02-07  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [Haiku] FrameLoaderClient calls loadURLInChildFrame on the child's frame loader
        https://bugs.webkit.org/show_bug.cgi?id=53893

        * WebCoreSupport/FrameLoaderClientHaiku.cpp:
        (WebCore::FrameLoaderClientHaiku::createFrame): Use m_frame instead of childFrame.

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

10 years ago2011-02-07 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Mon, 7 Feb 2011 15:31:55 +0000 (15:31 +0000)]
2011-02-07  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed.

        Chromium: three tests temporary disabled for rebaseline after r77781

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-02-07 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 7 Feb 2011 15:18:26 +0000 (15:18 +0000)]
2011-02-07  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [EFL] FrameLoaderClient calls loadURLInChildFrame on the child's frame loader
        https://bugs.webkit.org/show_bug.cgi?id=53892

        * ewk/ewk_frame.cpp:
        (ewk_frame_child_add): Use the loader of the core frame instead.

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

10 years ago2011-02-04 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Mon, 7 Feb 2011 15:15:37 +0000 (15:15 +0000)]
2011-02-04  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: implement beautification of scripts inlined in html documents.
        https://bugs.webkit.org/show_bug.cgi?id=52706

        * http/tests/inspector/debugger-test2.js:
        (initialize_DebuggerTest.InspectorTest.setBreakpointInVisibleView):
        * inspector/debugger-breakpoints-not-activated-on-reload.html:
        * inspector/debugger-pause-on-breakpoint.html:
2011-01-31  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: implement beautification of scripts inlined in html documents.
        https://bugs.webkit.org/show_bug.cgi?id=52706

        To beautify scripts inlined in html, we need to cut individual scripts, beautify them using UglifyJS library, and
        finally paste them back to html.

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/ScriptFormatter.js:
        (WebInspector.ScriptFormatter): Implement formatting of scripts inlined in html.
        (WebInspector.ScriptFormatter.prototype.formatContent.didFormatChunks):
        (WebInspector.ScriptFormatter.prototype.formatContent):
        (WebInspector.ScriptFormatter.prototype._splitContentIntoChunks):
        (WebInspector.ScriptFormatter.prototype._formatChunks.didFormat):
        (WebInspector.ScriptFormatter.prototype._formatChunks):
        (WebInspector.ScriptFormatter.prototype._buildContentFromChunks):
        (WebInspector.ScriptFormatter.prototype._formatScript.messageHandler):
        (WebInspector.ScriptFormatter.prototype._formatScript):
        * inspector/front-end/ScriptFormatterWorker.js:
        (onmessage):
        (buildMapping):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrameContent): Use SourceFrameContent and FormattedSourceFrameContent to perform operations with line numbers.
        * inspector/front-end/SourceFrameContent.js: Added.
        (WebInspector.SourceFrameContent): Helper class, holds resource text and scripts layout
        (WebInspector.SourceFrameContent.prototype.get scriptRanges):
        (WebInspector.SourceFrameContent.prototype.locationToPosition):
        (WebInspector.SourceFrameContent.prototype.positionToLocation):
        (WebInspector.SourceFrameContent.prototype.scriptLocationForLineNumber):
        (WebInspector.SourceFrameContent.prototype.scriptLocationForRange):
        (WebInspector.SourceFrameContent.prototype.lineNumberToRange):
        (WebInspector.SourceFrameContent.prototype._intersectingScriptRange):
        (WebInspector):
        (WebInspector.FormattedSourceFrameContent): Helper class, holds original and formatted versions of resource and mapping between them.
        (WebInspector.FormattedSourceFrameContent.prototype.get text):
        (WebInspector.FormattedSourceFrameContent.prototype.originalLocationToFormattedLocation):
        (WebInspector.FormattedSourceFrameContent.prototype.scriptLocationForFormattedLineNumber):
        (WebInspector.FormattedSourceFrameContent.prototype._convertPosition):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:

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

10 years ago2011-02-07 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 7 Feb 2011 14:55:50 +0000 (14:55 +0000)]
2011-02-07  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [wx] FrameLoaderClient calls loadURLInChildFrame on the child's frame loader
        https://bugs.webkit.org/show_bug.cgi?id=53895

        * WebKitSupport/FrameLoaderClientWx.cpp:
        (WebCore::FrameLoaderClientWx::createFrame): Use m_frame instead of childFrame.

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

10 years ago2011-02-07 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Mon, 7 Feb 2011 14:49:28 +0000 (14:49 +0000)]
2011-02-07  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed.

        Chromium: add explicit "Passed" expectations for the tests which have "failed" expectations in platfrom/mac
        The problem was introduced at r77719.
        I have to do that because platform/mac is in the list of baseline folders.
        See 'Tools/Scripts/webkitpy/layout_tests/port/chromium_linux.py'.

        * platform/chromium/canvas/philip/tests/2d.drawImage.broken-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.drawImage.image.incomplete.omitted-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.fillStyle.parse.invalid.rgba-6-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.fillStyle.parse.rgb-eof-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.fillStyle.parse.rgba-eof-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.fillStyle.parse.system-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.gradient.radial.cone.front-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.gradient.radial.inside2-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.gradient.radial.inside3-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.gradient.radial.outside1-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.imageData.put.wrongtype-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.line.cap.closed-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.line.join.parallel-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.line.miter.lineedge-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.path.rect.winding-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.pattern.image.broken-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.pattern.image.incomplete.empty-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.pattern.image.incomplete.omitted-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.shadow.enable.x-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.shadow.enable.y-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.strokeRect.zero.4-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.draw.baseline.bottom-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.draw.baseline.hanging-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.draw.baseline.middle-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.draw.baseline.top-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.draw.fill.maxWidth.fontface-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.draw.space.collapse.end-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.draw.space.collapse.nonspace-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.draw.space.collapse.other-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.draw.space.collapse.space-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.draw.space.collapse.start-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.font.parse.basic-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.font.parse.complex-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.font.parse.invalid-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.font.parse.size.percentage-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.font.parse.size.percentage.default-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.font.parse.system-expected.txt: Added.
        * platform/chromium/canvas/philip/tests/2d.text.measure.width.space-expected.txt: Added.

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

10 years ago2011-02-07 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Mon, 7 Feb 2011 13:21:22 +0000 (13:21 +0000)]
2011-02-07  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        small text which is scaled to be large renders pixelated
        https://bugs.webkit.org/show_bug.cgi?id=12448

        Update Snow Leopard SVG pixel test baseline after r77485.

        * platform/mac/svg/dom/SVGRectElement/rect-modify-rx-expected.png:
        * platform/mac/svg/dynamic-updates/SVGAElement-dom-href-attr-expected.png:
...

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

10 years ago2011-02-07 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Mon, 7 Feb 2011 13:10:08 +0000 (13:10 +0000)]
2011-02-07  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        small text which is scaled to be large renders pixelated
        https://bugs.webkit.org/show_bug.cgi?id=12448

        Update Snow Leopard SVG pixel test baseline after r77485.

        * platform/mac/svg/custom/js-update-polygon-removal-expected.png:
        * platform/mac/svg/custom/js-update-style-expected.png:
...

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

10 years ago2011-02-07 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Mon, 7 Feb 2011 13:05:36 +0000 (13:05 +0000)]
2011-02-07  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        small text which is scaled to be large renders pixelated
        https://bugs.webkit.org/show_bug.cgi?id=12448

        Update Snow Leopard SVG pixel test baseline after r77485.

        * platform/mac/svg/custom/class-baseValue-expected.png:
        * platform/mac/svg/custom/class-selector-expected.png:
...

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

10 years ago2011-02-07 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Mon, 7 Feb 2011 12:59:18 +0000 (12:59 +0000)]
2011-02-07  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        small text which is scaled to be large renders pixelated
        https://bugs.webkit.org/show_bug.cgi?id=12448

        Update Snow Leopard SVG pixel test baseline after r77485.

        * platform/mac/svg/batik/paints/gradientLimit-expected.png:
        * platform/mac/svg/batik/paints/patternRegionA-expected.png:
...

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

10 years ago2011-02-07 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 7 Feb 2011 11:56:51 +0000 (11:56 +0000)]
2011-02-07  Alejandro G. Castro  <alex@igalia.com>

        Unreviewed, added new results for the slider-thumb-drag-release
        test and removed use-infinite-recursion.svg from skipped, required
        after r77778.

        * platform/gtk/Skipped:
        * platform/gtk/fast/repaint/slider-thumb-drag-release-expected.checksum: Added.
        * platform/gtk/fast/repaint/slider-thumb-drag-release-expected.png: Added.
        * platform/gtk/fast/repaint/slider-thumb-drag-release-expected.txt: Added.

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

10 years ago2011-02-07 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 7 Feb 2011 11:46:29 +0000 (11:46 +0000)]
2011-02-07  Alexander Pavlov  <apavlov@chromium.org>

        Unreviewed. Add Web Inspector warning 10x10 PNG, move files from r77801 into the inspector/ directory.

        * blog-files/inspector/css_as_authored.png: Renamed from Websites/webkit.org/blog-files/inspector-css-as-authored.png.
        * blog-files/inspector/css_autocomplete.png: Renamed from Websites/webkit.org/blog-files/inspector-css-autocomplete.png.
        * blog-files/inspector/css_unknown_properties.png: Renamed from Websites/webkit.org/blog-files/inspector-unknown-css-properties.png.
        * blog-files/inspector/warning_10x10.png: Added.

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

10 years ago2011-02-07 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 7 Feb 2011 11:27:13 +0000 (11:27 +0000)]
2011-02-07  Alexander Pavlov  <apavlov@chromium.org>

        Unreviewed. Add Web Inspector style editing screenshots.

        * blog-files/inspector-css-as-authored.png: Added.
        * blog-files/inspector-css-autocomplete.png: Added.
        * blog-files/inspector-unknown-css-properties.png: Added.

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

10 years ago2011-02-07 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 7 Feb 2011 11:26:25 +0000 (11:26 +0000)]
2011-02-07  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: "Reveal in elements panel" does not always work.
        https://bugs.webkit.org/show_bug.cgi?id=53775

        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView):
        * inspector/front-end/ContextMenu.js:
        (WebInspector.ContextMenu.prototype.show):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype.switchToAndFocus):
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired.focusElement):
        (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired):
        * inspector/front-end/ObjectPropertiesSection.js:
        (WebInspector.ObjectPropertyTreeElement.prototype.update):
        (WebInspector.ObjectPropertyTreeElement.prototype._contextMenuEventFired):
        * inspector/front-end/inspector.js:
        (WebInspector.cancelSearch):

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

10 years ago2011-02-07 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 7 Feb 2011 11:24:31 +0000 (11:24 +0000)]
2011-02-07  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Relative .. in URL paths shouldn't skip adjacent / characters
        https://bugs.webkit.org/show_bug.cgi?id=53907

        Add some more test cases.

        * fast/url/path-expected.txt:
        * fast/url/script-tests/path.js:
2011-02-07  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Relative .. in URL paths shouldn't skip adjacent / characters
        https://bugs.webkit.org/show_bug.cgi?id=53907

        Our new behavior matches Firefox, Chrome, and IE.

        * platform/KURL.cpp:
        (WebCore::copyPathRemovingDots):

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

10 years agoUnreviewed.
ossy@webkit.org [Mon, 7 Feb 2011 11:16:32 +0000 (11:16 +0000)]
Unreviewed.

[Qt][WK2] Buildfix after r77794.

       WebKitTestRunner does not block remote resources or complain about them
       https://bugs.webkit.org/show_bug.cgi?id=42139
       <rdar://problem/8183942>

* WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Add missing includepaths.

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

10 years agoNot reviewed.
mjs@apple.com [Mon, 7 Feb 2011 11:01:11 +0000 (11:01 +0000)]
Not reviewed.

More bot appeasement.

* WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:

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

10 years agoNot reviewed.
mjs@apple.com [Mon, 7 Feb 2011 10:47:21 +0000 (10:47 +0000)]
Not reviewed.

Remove accidental references to directories on my laptop.

* WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:

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

10 years ago2011-02-07 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 7 Feb 2011 09:47:00 +0000 (09:47 +0000)]
2011-02-07  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Antti Koivisto.

        WebKitTestRunner does not block remote resources or complain about them
        https://bugs.webkit.org/show_bug.cgi?id=42139
        <rdar://problem/8183942>

        * Configurations/WebCore.xcconfig: Allow WebKitTestRunner to link
        WebCore.
        * WebCore.exp.in: Export a handful of KURL symbols.
2011-02-07  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Antti Koivisto.

        WebKitTestRunner does not block remote resources or complain about them
        https://bugs.webkit.org/show_bug.cgi?id=42139
        <rdar://problem/8183942>

        * platform/mac-wk2/Skipped: Unskip formerly skipped tests.
2011-02-07  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Antti Koivisto.

        WebKitTestRunner does not block remote resources or complain about them
        https://bugs.webkit.org/show_bug.cgi?id=42139
        <rdar://problem/8183942>

        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::InjectedBundlePage::willSendRequestForFrame): Implement the required
        checks (using KURL, to avoid need to invent a whole URL API).
        * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Link WebCore
        directly to get at KURL symbols.

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

10 years ago2011-02-07 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 7 Feb 2011 09:31:36 +0000 (09:31 +0000)]
2011-02-07  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Antti Koivisto.

        Add WKURLRequestCopyURL API (needed for tests and also generally useful)
        https://bugs.webkit.org/show_bug.cgi?id=53909

        * Shared/API/c/WKURLRequest.cpp:
        (WKURLRequestCopyURL):
        * Shared/API/c/WKURLRequest.h:
        * Shared/WebURLRequest.h:
        (WebKit::WebURLRequest::url):

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

10 years agoNot reviewed.
antti@apple.com [Mon, 7 Feb 2011 08:54:44 +0000 (08:54 +0000)]
Not reviewed.

ASSERTS_DISABLED -> ASSERT_DISABLED

* wtf/BloomFilter.h:

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

10 years ago2011-02-06 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 7 Feb 2011 07:20:52 +0000 (07:20 +0000)]
2011-02-06  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Daniel Bates.

        Add WebKit2 bot to list of expected builders in Python regression test results.
        https://bugs.webkit.org/show_bug.cgi?id=53905

        * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:

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

10 years ago2011-02-06 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 7 Feb 2011 06:49:12 +0000 (06:49 +0000)]
2011-02-06  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Ryosuke Niwa.

        Update test expectations for new core builder
        https://bugs.webkit.org/show_bug.cgi?id=53904

        * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:

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

10 years ago2011-02-06 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 7 Feb 2011 06:20:10 +0000 (06:20 +0000)]
2011-02-06  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by David Levin.

        Add WebKit2 test bot to core builders
        https://bugs.webkit.org/show_bug.cgi?id=53901

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

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

10 years ago2011-02-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 7 Feb 2011 05:47:24 +0000 (05:47 +0000)]
2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>

        Another unreviewed Chromium build fix.

        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::pathToLocalResource):

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

10 years ago2011-02-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 7 Feb 2011 05:29:37 +0000 (05:29 +0000)]
2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Chromium build fix.

        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::pathToLocalResource):
2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed; speculative Qt build fix.

        * WebKit2.pro:

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

10 years ago2011-02-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 7 Feb 2011 05:19:01 +0000 (05:19 +0000)]
2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed; speculative Qt build fix.

        * JavaScriptCore.pro:

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

10 years ago2011-02-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 7 Feb 2011 05:01:30 +0000 (05:01 +0000)]
2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
        https://bugs.webkit.org/show_bug.cgi?id=52867

        * DumpRenderTree/chromium/ImageDiff.cpp:
        (Image::craeteFromStdin): Call adoptArrayPtr.
2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
        https://bugs.webkit.org/show_bug.cgi?id=52867

        Removed LOOSE_OWN_ARRAY_PTR and OwnArrayPtr<T>::set. Replaced all calls to OwnArrayPtr::set
        and loose instantiation of OwnArrayPtr by calls to operator= and adoptArrayPtr. Also removed
        OwnArrayPtrCommon.h since PassOwnArrayPtr.h needs to include OwnArrayPtr.h and there is
        no point in putting deleteOwnedArrayPtr into a separate header.

        Note: if this patch breaks build, the code is either instiantiating OwnArrayPtr
        without calling adoptArrayPtr or calling set on ArrayOwnPtr instead of operator=.

        No tests are added since this is a refactoring.

        * API/JSStringRefCF.cpp:
        (JSStringCreateWithCFString): Calls adoptArrayPtr.
        * GNUmakefile.am: Removed OwnArrayPtrCommon.h
        * JavaScriptCore.vcproj/WTF/WTF.vcproj: Ditto.
        * JavaScriptCore.xcodeproj/project.pbxproj: Ditto.
        * runtime/Arguments.cpp:
        (JSC::Arguments::deleteProperty): Calls adoptArrayPtr.
        * runtime/Arguments.h:
        (JSC::Arguments::copyRegisters): Ditto.
        * runtime/JSPropertyNameIterator.cpp:
        (JSC::JSPropertyNameIterator::JSPropertyNameIterator): Ditto.
        * runtime/JSVariableObject.h:
        (JSC::JSVariableObject::setRegisters): Calls operator= instead of set.
        * runtime/StructureChain.cpp:
        (JSC::StructureChain::StructureChain): Ditto.
        * wtf/CMakeLists.txt:
        * wtf/DateMath.h:
        (JSC::GregorianDateTime::GregorianDateTime): No longer instnatiates OwnArrayPtr
        with a null pointer.
        * wtf/OwnArrayPtr.h:
        * wtf/OwnArrayPtrCommon.h: Removed.
        * wtf/PassOwnArrayPtr.h: No longer includes OwnArrayCommon.h
        (WTF::deleteOwnedArrayPtr): Moved from OwnArrayPtrCommon.h
2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
        https://bugs.webkit.org/show_bug.cgi?id=52867

        * ForwardingHeaders/wtf/OwnArrayPtrCommon.h: Removed.
2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
        https://bugs.webkit.org/show_bug.cgi?id=52867

        * WebHistory.cpp:
        (WebHistory::orderedLastVisitedDays): Calls adoptArrayPtr.
        * WebPreferences.cpp:
        (WebPreferences::copyWebKitPreferencesToCFPreferences): Ditto.
2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
        https://bugs.webkit.org/show_bug.cgi?id=52867

        * ForwardingHeaders/wtf/OwnArrayPtrCommon.h: Removed.
        * bindings/v8/NPV8Object.cpp:
        (WebCore::createValueListFromVariantArgs): Returns PassOwnArrayPtr<v8::Handle<v8::Value>> instead of
        v8::Handle<v8::Value>*.
        (_NPN_Invoke): Calls createValueListFromVariantArgs.
        (_NPN_InvokeDefault): createValueListFromVariantArgs.
        (_NPN_Construct): createValueListFromVariantArgs.
        * bindings/v8/ScriptFunctionCall.cpp:
        (WebCore::ScriptFunctionCall::call): Calls adoptArrayPtr.
        (WebCore::ScriptFunctionCall::construct): Ditto.
        (WebCore::ScriptCallback::call):
        * bindings/v8/V8DOMWindowShell.cpp:
        (WebCore::V8DOMWindowShell::createNewContext): Ditto.
        * bindings/v8/V8NPObject.cpp:
        (WebCore::npObjectInvokeImpl): Ditto
        * bindings/v8/V8NodeFilterCondition.cpp:
        (WebCore::V8NodeFilterCondition::acceptNode): Ditto,
        * html/HTMLAreaElement.cpp:
        (WebCore::HTMLAreaElement::parseMappedAttribute): Calls newCoordsArray.
        * html/HTMLFrameSetElement.cpp:
        (WebCore::HTMLFrameSetElement::parseMappedAttribute): Calls newLengthArray.
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::getAttachedShaders): Calls adoptArraYptr.
        (WebCore::WebGLRenderingContext::simulateVertexAttrib0): Ditto.
        (WebCore::WebGLRenderingContext::LRUImageBufferCache::LRUImageBufferCache): Dito.
        * platform/Length.cpp:
        (WebCore::newCoordsArray): Returns PassOwnArrayPtr<Length> instead of Length*.
        (WebCore::newLengthArray): Returns PassOwnArrayPtr<Length> instead of Length*.
        * platform/Length.h: Prototype changes.
        * platform/graphics/ANGLEWebKitBridge.cpp:
        (WebCore::ANGLEWebKitBridge::validateShaderSource): Calls adoptArrayPtr.
        * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
        (WebCore::getDirtyRects): Ditto.
        * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
        (WebCore::ComplexTextController::getNormalizedTextRun): Ditto.
        * platform/graphics/chromium/HarfbuzzSkia.cpp:
        (WebCore::glyphsToAdvances): Ditto.
        (WebCore::canRender): Ditto.
        * platform/graphics/gpu/Texture.cpp:
        (WebCore::Texture::updateSubRect): Ditto.
        * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
        (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas): Ditto.
        * platform/graphics/skia/PlatformContextSkia.cpp:
        (WebCore::PlatformContextSkia::readbackHardwareToSoftware): Ditto.
        * platform/graphics/wince/SharedBitmap.cpp:
        (WebCore::SharedBitmap::to16bit): Ditto.
        * platform/win/ContextMenuWin.cpp:
        (WebCore::ContextMenu::getContextMenuItems): Ditto.
        * platform/win/LoggingWin.cpp:
        (WebCore::initializeWithUserDefault): Ditto.
        * plugins/win/PluginPackageWin.cpp:
        (WebCore::PluginPackage::fetchInfo): Ditto.
2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
        https://bugs.webkit.org/show_bug.cgi?id=52867

        * Shared/Plugins/Netscape/win/NetscapePluginModuleWin.cpp:
        (WebKit::NetscapePluginModule::getPluginInfo): Calls adoptArrayPtr.

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

10 years ago2011-02-06 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 7 Feb 2011 04:54:42 +0000 (04:54 +0000)]
2011-02-06  Kent Tamura  <tkent@chromium.org>

        Unreviewed.

        * WebCore.xcodeproj/project.pbxproj: Run sort-xcode-project-file.

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

10 years ago2011-02-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 7 Feb 2011 04:08:54 +0000 (04:08 +0000)]
2011-02-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Martin Robinson.

        [WINCE] FrameLoaderClient calls loadURLInChildFrame on the child's frame loader
        https://bugs.webkit.org/show_bug.cgi?id=53896

        * WebView.cpp:
        (WebView::createFrame): Use coreFrame instead of childFrame.

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

10 years ago2011-02-06 MORITA Hajime <morrita@google.com>
morrita@google.com [Mon, 7 Feb 2011 02:20:27 +0000 (02:20 +0000)]
2011-02-06  MORITA Hajime  <morrita@google.com>

        Unreviewed, unskip the html5lib test again which fails for another reason. (See Bug 53030)

        * platform/qt/Skipped:

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

10 years ago2011-02-06 Dominic Cooney <dominicc@google.com>
morrita@google.com [Mon, 7 Feb 2011 01:40:17 +0000 (01:40 +0000)]
2011-02-06  Dominic Cooney  <dominicc@google.com>

        Reviewed by Dimitri Glazkov.

        Convert <keygen> option elements to a shadow DOM
        https://bugs.webkit.org/show_bug.cgi?id=51379

        * html5lib/runner-expected.txt: Two more tests pass.
        * platform/mac/fast/html/keygen-expected.txt: Shadow render tree.
        * platform/mac/fast/invalid/residual-style-expected.txt:
2011-02-03  Dominic Cooney  <dominicc@google.com>

        Reviewed by Dimitri Glazkov.

        Convert <keygen> option elements to a shadow DOM
        https://bugs.webkit.org/show_bug.cgi?id=51379

        Covered by existing tests e.g. fast/html/keygen.html,
        html5lib/runner.html, etc.

        * css/html.css:
        (form): Cleanup.
        (keygen, select): Border radii should match so focus ring looks good.
        (keygen::-webkit-keygen-select): No margin on the shadow element.
        (select): Hoisting border radius to keygen, select rule.
        * dom/SelectElement.cpp:
        (WebCore::toSelectElement): keygen is no longer a select element.
        * html/HTMLKeygenElement.cpp: Implements keygen shadow.
        (WebCore::KeygenSelectElement::create):
        (WebCore::KeygenSelectElement::shadowPseudoId):
        (WebCore::KeygenSelectElement::KeygenSelectElement):
        (WebCore::HTMLKeygenElement::HTMLKeygenElement):
        (WebCore::HTMLKeygenElement::parseMappedAttribute):
        (WebCore::HTMLKeygenElement::appendFormData):
        (WebCore::HTMLKeygenElement::formControlType):
        (WebCore::HTMLKeygenElement::reset):
        (WebCore::HTMLKeygenElement::selectShadow):
        * html/HTMLKeygenElement.h: keygen is no longer a select on C++ side.
        (WebCore::HTMLKeygenElement::canStartSelection):
        (WebCore::HTMLKeygenElement::isEnumeratable):
        (WebCore::HTMLKeygenElement::isResettable):
        * html/HTMLOptionElement.cpp:
        (WebCore::HTMLOptionElement::ownerSelectElement): Only owned by selects.
        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::HTMLSelectElement): Only 'select' tag name.

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

10 years ago2011-02-06 James Kozianski <koz@chromium.org>
commit-queue@webkit.org [Mon, 7 Feb 2011 01:00:53 +0000 (01:00 +0000)]
2011-02-06  James Kozianski  <koz@chromium.org>

        Reviewed by Ojan Vafai.

        Add classes for representing test outputs.
        https://bugs.webkit.org/show_bug.cgi?id=52136

        These classes will make it easier to write scripts that deal with test
        outputs such as rebaselining and deduping scripts. The intent is that
        eventually we will be have buildbot return TestOutputs for a
        particular build which can be compared with TestOutputs derived from a
        local LayoutTests directory.

        * Scripts/webkitpy/common/net/testoutput.py: Added.
        * Scripts/webkitpy/common/net/testoutput_unittest.py: Added.
        * Scripts/webkitpy/common/net/testoutputset.py: Added.
        * Scripts/webkitpy/common/net/testoutputset_unittest.py: Added.
        * Scripts/webkitpy/common/system/zip_mock.py: Added.

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

10 years ago2011-02-06 Benjamin Poulain <ikipou@gmail.com>
commit-queue@webkit.org [Sun, 6 Feb 2011 23:48:37 +0000 (23:48 +0000)]
2011-02-06  Benjamin Poulain  <ikipou@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Fix coding style errors in ClipboardQt.h
        https://bugs.webkit.org/show_bug.cgi?id=43520

        Fix coding style: order of header and indentation.

        * platform/qt/ClipboardQt.h:
        (WebCore::ClipboardQt::create):
        (WebCore::ClipboardQt::clipboardData):
        (WebCore::ClipboardQt::invalidateWritableData):

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

10 years ago2011-02-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 6 Feb 2011 22:16:54 +0000 (22:16 +0000)]
2011-02-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Oliver Hunt.

        Remove empty svg test
        https://bugs.webkit.org/show_bug.cgi?id=53887

        This files are empty.  Empty tests are pretty useless.

        * platform/chromium-win/svg/custom/use-infinite-recursion-expected.png: Removed.
        * platform/mac/svg/custom/use-infinite-recursion-expected.checksum: Removed.
        * platform/mac/svg/custom/use-infinite-recursion-expected.png: Removed.
        * platform/mac/svg/custom/use-infinite-recursion-expected.txt: Removed.
        * platform/qt/svg/custom/use-infinite-recursion-expected.txt: Removed.
        * svg/custom/use-infinite-recursion.svg: Removed.

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

10 years agoUse bloom filter for descendant selector filtering
antti@apple.com [Sun, 6 Feb 2011 20:43:41 +0000 (20:43 +0000)]
Use bloom filter for descendant selector filtering
https://bugs.webkit.org/show_bug.cgi?id=53880

Reviewed by Maciej Stachowiak.

Source/JavaScriptCore:

Implement a bloom filter with k=2 and 8 bit counting.

* GNUmakefile.am:
* JavaScriptCore.gypi:
* JavaScriptCore.vcproj/WTF/WTF.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* wtf/BloomFilter.h: Added.
(WTF::BloomFilter::maximumCount):
(WTF::BloomFilter::BloomFilter):
(WTF::BloomFilter::mayContain):
(WTF::BloomFilter::add):
(WTF::BloomFilter::remove):
(WTF::BloomFilter::firstSlot):
(WTF::BloomFilter::secondSlot):
(WTF::::add):
(WTF::::remove):
(WTF::::clear):
(WTF::::likelyEmpty):
(WTF::::isClear):

Source/WebCore:

Bloom filter is faster than a hash set in this kind of use.

Shark thinks this speeds up style matching by ~30% on sites
with lots of descendant selectors.

* ForwardingHeaders/wtf/BloomFilter.h: Added.
* css/CSSStyleSelector.cpp:
(WebCore::collectElementIdentifierHashes):
(WebCore::CSSStyleSelector::pushParent):
(WebCore::CSSStyleSelector::popParent):
(WebCore::CSSStyleSelector::fastRejectSelector):
(WebCore::RuleData::collectDescendantSelectorIdentifierHashes):
* css/CSSStyleSelector.h:

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

10 years ago2011-02-06 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Sun, 6 Feb 2011 20:05:38 +0000 (20:05 +0000)]
2011-02-06  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Antti Koivisto.

        media/video-document-types.html sometimes crashes the WebProcess
        https://bugs.webkit.org/show_bug.cgi?id=53884

        No new tests. Already covered by media/video-document-types.html

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::userCancelledLoad): Stop the load timer
        when cancelling the load.

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

10 years ago2011-02-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 6 Feb 2011 18:52:58 +0000 (18:52 +0000)]
2011-02-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WIN] Use WCHAR instead of TCHAR
        https://bugs.webkit.org/show_bug.cgi?id=53863

        We always use the UNICODE versions of windows functions, so
        the usage of TCHAR makes no sense and mixing them is bad style.

        * platform/graphics/win/IconWin.cpp:
        (WebCore::Icon::createIconForFiles):
        * platform/graphics/win/QTMovie.cpp:
        * platform/graphics/win/QTMovieGWorld.cpp:
        (QTMovieGWorld::fullscreenWndProc):
        (QTMovieGWorld::enterFullscreen):
        * platform/graphics/win/SimpleFontDataCGWin.cpp:
        (WebCore::SimpleFontData::platformInit):
        * platform/graphics/win/SimpleFontDataCairoWin.cpp:
        * platform/graphics/win/SimpleFontDataWin.cpp:
        * platform/graphics/wince/SimpleFontDataWinCE.cpp:
        * platform/win/BString.cpp:
        * platform/win/ClipboardWin.cpp:
        (WebCore::filesystemPathFromUrlOrTitle):
        (WebCore::createGlobalHDropContent):
        (WebCore::createGlobalImageFileDescriptor):
        * platform/win/ContextMenuWin.cpp:
        * platform/win/CursorWin.cpp:
        (WebCore::loadSharedCursor):
        * platform/win/FileChooserWin.cpp:
        (WebCore::FileChooser::basenameForWidth):
        * platform/win/PopupMenuWin.cpp:
        (WebCore::PopupMenuWin::popupClassName):
        (WebCore::PopupMenuWin::show):
        * platform/win/PopupMenuWin.h:

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

10 years ago2011-02-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 6 Feb 2011 18:44:24 +0000 (18:44 +0000)]
2011-02-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        Replace FLT_MAX with std::numeric_limits
        https://bugs.webkit.org/show_bug.cgi?id=53861

        Also move EFL's userIdleTime from TemporaryLinkStubs into SystemTimeEfl.

        * html/NumberInputType.cpp:
        * html/parser/HTMLParserIdioms.cpp:
        (WebCore::parseToDoubleForNumberType):
        * platform/brew/SystemTimeBrew.cpp:
        (WebCore::userIdleTime):
        * platform/efl/SystemTimeEfl.cpp:
        (WebCore::userIdleTime):
        * platform/efl/TemporaryLinkStubs.cpp:
        * platform/graphics/ca/GraphicsLayerCA.cpp:
        (WebCore::GraphicsLayerCA::setupAnimation):
        * platform/win/SystemTimeWin.cpp:
        (WebCore::userIdleTime):
        * platform/wx/SystemTimeWx.cpp:
        (WebCore::userIdleTime):

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

10 years ago2011-02-06 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sun, 6 Feb 2011 18:31:38 +0000 (18:31 +0000)]
2011-02-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] Remove unnecessary QRect assignment
        https://bugs.webkit.org/show_bug.cgi?id=53873

        * Api/qwebframe.cpp:
        (QWebFramePrivate::renderRelativeCoords):

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

10 years ago2011-02-06 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sun, 6 Feb 2011 18:18:35 +0000 (18:18 +0000)]
2011-02-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] Clear page's groupName even when not in DRT
        https://bugs.webkit.org/show_bug.cgi?id=53874

        Matches behaviour of other ports.

        * WebCoreSupport/ChromeClientQt.cpp:
        (WebCore::ChromeClientQt::closeWindowSoon):
2011-02-06  Robert Hogan  <robert@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] Clear page's groupName even when not in DRT
        https://bugs.webkit.org/show_bug.cgi?id=53874

        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
        (WebCore::DumpRenderTree::windowCloseRequested):

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

10 years ago2011-02-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 6 Feb 2011 17:47:14 +0000 (17:47 +0000)]
2011-02-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [CMake] Add dependencies for Visual Studio projects
        https://bugs.webkit.org/show_bug.cgi?id=53773

        Add a JavaScriptCore dependecy to WebCore, so CMake can
        generate the correct build order for the solution.

        * CMakeLists.txt:
2011-02-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [CMake] Add dependencies for Visual Studio projects
        https://bugs.webkit.org/show_bug.cgi?id=53773

        Add a WebCore dependecy to WebKit, so CMake can
        generate the correct build order for the solution.

        Remove JavaScriptCore dependecy, since WebCore already depends on it.

        * CMakeLists.txt:
2011-02-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [CMake] Add dependencies for Visual Studio projects
        https://bugs.webkit.org/show_bug.cgi?id=53773

        Add a WebKit dependecy to WinCELauncher, so CMake can
        generate the correct build order for the solution.

        * CMakeListsWinCE.txt:

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

10 years ago2011-02-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 6 Feb 2011 17:14:22 +0000 (17:14 +0000)]
2011-02-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [CMake] Unify ENABLE_SVG sections
        https://bugs.webkit.org/show_bug.cgi?id=53778

        * CMakeLists.txt:

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

10 years ago2011-02-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sun, 6 Feb 2011 17:08:32 +0000 (17:08 +0000)]
2011-02-06  Martin Robinson  <mrobinson@igalia.com>

        Reclassify a failing test and unskip another which should be passing now.

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

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

10 years ago2011-02-06 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Sun, 6 Feb 2011 16:22:23 +0000 (16:22 +0000)]
2011-02-06  Andreas Kling  <kling@webkit.org>

        Reviewed by Dirk Schulze.

        Refactor Font::normalizeSpaces() to avoid an extra String copy.
        https://bugs.webkit.org/show_bug.cgi?id=53871

        Have normalizeSpaces() take UChar*,length arguments instead of a
        String, since all call sites were creating temporaries from these
        components anyway.

        Font::normalizeSpaces() now always makes 1 String copy,
        instead of 1 in the best case and 2 in the worst case.

        * platform/graphics/Font.cpp:
        (WebCore::Font::normalizeSpaces):
        * platform/graphics/Font.h:
        * platform/graphics/qt/FontQt.cpp:
        (WebCore::drawTextCommon):
        (WebCore::Font::floatWidthForSimpleText):
        (WebCore::Font::floatWidthForComplexText):
        (WebCore::Font::offsetForPositionForSimpleText):
        (WebCore::Font::offsetForPositionForComplexText):
        (WebCore::Font::selectionRectForSimpleText):
        (WebCore::Font::selectionRectForComplexText):
        * svg/SVGFont.cpp:
        (WebCore::SVGTextRunWalker::walk):

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

10 years ago2011-02-06 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Sun, 6 Feb 2011 15:19:26 +0000 (15:19 +0000)]
2011-02-06  Andreas Kling  <kling@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] MiniBrowser: Clean up handling of titleChanged() signal
        https://bugs.webkit.org/show_bug.cgi?id=53869

        * MiniBrowser/qt/BrowserView.cpp:
        (BrowserView::BrowserView): Remove unnecessary titleChanged() handling.
        * MiniBrowser/qt/BrowserWindow.cpp:
        (BrowserWindow::BrowserWindow): Connect titleChanged() directly to setWindowTitle().
        * MiniBrowser/qt/BrowserWindow.h:

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

10 years ago2011-02-06 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Sun, 6 Feb 2011 14:35:42 +0000 (14:35 +0000)]
2011-02-06  Andreas Kling  <kling@webkit.org>

        Reviewed by Dirk Schulze.

        Fix potential buffer overrun in SVGTextRunWalker::walk()
        https://bugs.webkit.org/show_bug.cgi?id=53870

        A new String was created from a UChar* with a 'length' argument
        that could be greater than the number of UChars available.

        * svg/SVGFont.cpp:
        (WebCore::SVGTextRunWalker::walk):

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

10 years ago2011-02-06 Benjamin Poulain <ikipou@gmail.com>
commit-queue@webkit.org [Sun, 6 Feb 2011 13:23:53 +0000 (13:23 +0000)]
2011-02-06  Benjamin Poulain  <ikipou@gmail.com>

        Reviewed by Andreas Kling.

        [Qt] WebKit does not build on Mac with WebKit 2
        https://bugs.webkit.org/show_bug.cgi?id=53380

        * Platform/CoreIPC/qt/ConnectionQt.cpp: Use fcntl() to set close on exec so
        we do not rely on recent kernel.
        (CoreIPC::Connection::readyReadHandler):
        * Platform/qt/SharedMemoryQt.cpp: ditto
        (WebKit::SharedMemory::create):
        (WebKit::SharedMemory::createHandle):
        * UIProcess/Launcher/qt/ProcessLauncherQt.cpp: Guard prctl() since it is
        a Linux specific function.
        (WebKit::QtWebProcess::setupChildProcess):
        * UIProcess/DrawingAreaProxy.h: Differentiate between building on Mac
        and the Mac port.
        * UIProcess/DrawingAreaProxyImpl.cpp: ditto
        * UIProcess/WebPageProxy.cpp: ditto
        (WebKit::WebPageProxy::didReceiveMessage):
        * WebProcess/WebPage/DrawingArea.cpp: ditto
        (WebKit::DrawingArea::create):
        * WebProcess/WebPage/DrawingArea.h:
        * WebProcess/WebPage/DrawingAreaImpl.cpp: ditto
        * WebProcess/WebPage/WebPage.cpp: ditto
        (WebKit::WebPage::didReceiveMessage):

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

10 years ago2011-02-06 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sun, 6 Feb 2011 10:46:45 +0000 (10:46 +0000)]
2011-02-06  Robert Hogan  <robert@webkit.org>

        Unreviewed, skip failing test on Qt bot.

        [Qt]  fast/notifications/notifications-document-close-crash.html fails after r77738
        https://bugs.webkit.org/show_bug.cgi?id=53868

        * platform/qt/Skipped: Skip fast/notifications/notifications-document-close-crash.html

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

10 years ago2011-02-06 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Sun, 6 Feb 2011 10:35:28 +0000 (10:35 +0000)]
2011-02-06  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        WebKitTestRunner needs layoutTestController.setWillSendRequestReturnsNull
        https://bugs.webkit.org/show_bug.cgi?id=42690
        <rdar://problem/8213851>

        * platform/mac-wk2/Skipped: Unskip tests that now pass, except for the ones that
        mysteriously fail.
2011-02-06  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        WebKitTestRunner needs layoutTestController.setWillSendRequestReturnsNull
        https://bugs.webkit.org/show_bug.cgi?id=42690
        <rdar://problem/8213851>

        * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::InjectedBundlePage::willSendRequestForFrame):
        * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
        (WTR::LayoutTestController::LayoutTestController):
        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
        (WTR::LayoutTestController::willSendRequestReturnsNull):
        (WTR::LayoutTestController::setWillSendRequestReturnsNull):

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

10 years ago2011-02-05 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Sun, 6 Feb 2011 05:24:27 +0000 (05:24 +0000)]
2011-02-05  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        REGRESSION: New drawing area is causing some WebProcess crashes in layout tests
        https://bugs.webkit.org/show_bug.cgi?id=53865
        <rdar://problem/8963148>

        * WebProcess/WebPage/DrawingAreaImpl.cpp:
        (WebKit::DrawingAreaImpl::enterAcceleratedCompositingMode): Handle the case
        where this is called repeatedly without exiting accelerated composting mode
        first.
        (WebKit::DrawingAreaImpl::exitAcceleratedCompositingMode): Handle the case
        of being called more than once.

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

10 years ago2011-02-05 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sun, 6 Feb 2011 05:05:45 +0000 (05:05 +0000)]
2011-02-05  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Add baselines for the test added in r77690.

        * platform/chromium-mac/media/video-frame-accurate-seek-expected.checksum: Added.
        * platform/chromium-mac/media/video-frame-accurate-seek-expected.png: Added.

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

10 years ago2011-02-05 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sun, 6 Feb 2011 02:58:46 +0000 (02:58 +0000)]
2011-02-05  Dimitri Glazkov  <dglazkov@chromium.org>

        Remove passing canvas tests from expectations.

        * platform/chromium/test_expectations.txt: Removed passing tests.

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

10 years ago2011-02-05 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sun, 6 Feb 2011 02:44:39 +0000 (02:44 +0000)]
2011-02-05  Dimitri Glazkov  <dglazkov@chromium.org>

        Remove passing tests whose results match mac/ and mac-leopard.

        * platform/chromium/test_expectations.txt: Removed passing tests.

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

10 years ago2011-02-05 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 6 Feb 2011 02:07:27 +0000 (02:07 +0000)]
2011-02-05  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove unused parameter related to XSSAuditor
        https://bugs.webkit.org/show_bug.cgi?id=53862

        * WebCore.exp.in:
        * bindings/ScriptControllerBase.cpp:
        (WebCore::ScriptController::executeScript):
        (WebCore::ScriptController::executeIfJavaScriptURL):
        * bindings/ScriptControllerBase.h:
        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::evaluateInWorld):
        (WebCore::ScriptController::evaluate):
        (WebCore::ScriptController::executeScriptInWorld):
        * bindings/js/ScriptController.h:
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::evaluate):
        * bindings/v8/ScriptController.h:

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

10 years ago2011-02-05 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sun, 6 Feb 2011 00:54:57 +0000 (00:54 +0000)]
2011-02-05  Dimitri Glazkov  <dglazkov@chromium.org>

        Remove results for failing SVG tests. I will add the new ones after the
        bots tell me which ones aren't matching mac/ or mac-leopard/.

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

10 years ago2011-02-05 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 5 Feb 2011 23:02:00 +0000 (23:02 +0000)]
2011-02-05  Adam Barth  <abarth@webkit.org>

        Fix Qt build.

        * WebCore.pro:

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

10 years ago2011-02-05 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 5 Feb 2011 22:55:14 +0000 (22:55 +0000)]
2011-02-05  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Delete XSSAuditor
        https://bugs.webkit.org/show_bug.cgi?id=53859

        The job of the XSSAuditor is now done by the XSSFilter.  In the future,
        we might rename XSSFilter to XSSAuditor.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/ScriptControllerBase.cpp:
        (WebCore::ScriptController::executeIfJavaScriptURL):
        * bindings/ScriptControllerBase.h:
        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::ScriptController):
        (WebCore::ScriptController::evaluateInWorld):
        * bindings/js/ScriptController.h:
        * bindings/js/ScriptEventListener.cpp:
        (WebCore::createAttributeEventListener):
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::ScriptController):
        (WebCore::ScriptController::evaluate):
        * bindings/v8/ScriptController.h:
        * bindings/v8/ScriptEventListener.cpp:
        (WebCore::createAttributeEventListener):
        * dom/Document.cpp:
        (WebCore::Document::implicitOpen):
        (WebCore::Document::processBaseElement):
        * dom/ScriptableDocumentParser.cpp:
        (WebCore::ScriptableDocumentParser::ScriptableDocumentParser):
        * dom/ScriptableDocumentParser.h:
        * html/parser/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::shouldLoadExternalScriptFromSrc):
        * loader/SubframeLoader.cpp:
        (WebCore::SubframeLoader::requestObject):
        (WebCore::SubframeLoader::loadMediaPlayerProxyPlugin):
        * page/XSSAuditor.cpp: Removed.
        * page/XSSAuditor.h: Removed.

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

10 years ago2011-02-05 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Sat, 5 Feb 2011 22:28:02 +0000 (22:28 +0000)]
2011-02-05  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin Adler.

        Need a way to resize and scroll the page at the same time
        https://bugs.webkit.org/show_bug.cgi?id=53814
        <rdar://problem/8498008>

        Export a function needed by WebKit2.

        * WebCore.exp.in:
2011-02-05  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin Adler.

        Need a way to resize and scroll the page at the same time
        https://bugs.webkit.org/show_bug.cgi?id=53814
        <rdar://problem/8498008>

        Add -[WKView setFrame:andScrollBy:].

        * UIProcess/API/mac/WKView.h:
        * UIProcess/API/mac/WKView.mm:
        (-[WKView setFrame:andScrollBy:]):
        Stash away the scroll offset and call setFrame:.

        (-[WKView _switchToDrawingAreaTypeIfNecessary:DrawingAreaInfo::]):
        (-[WKView _setDrawingAreaSize:]):
        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPage::setViewportSize):
        DrawingAreaProxy::setSize now takes a scroll offset.

        * UIProcess/DrawingAreaProxy.cpp:
        (WebKit::DrawingAreaProxy::setSize):
        This now takes a scroll offset and stores it in m_scrollOffset.

        * UIProcess/DrawingAreaProxy.h:
        * UIProcess/DrawingAreaProxyImpl.cpp:
        (WebKit::DrawingAreaProxyImpl::sendSetSize):
        Send along the scroll offset and set it back to zero.

        * UIProcess/LayerBackedDrawingAreaProxy.cpp:
        (WebKit::LayerBackedDrawingAreaProxy::didSetSize):
        * UIProcess/TiledDrawingAreaProxy.cpp:
        (WebKit::TiledDrawingAreaProxy::didSetSize):
        * UIProcess/win/WebView.cpp:
        (WebKit::WebView::onSizeEvent):
        (WebKit::WebView::switchToDrawingAreaTypeIfNecessary):
        DrawingAreaProxy::setSize now takes a scroll offset.

        * WebProcess/WebPage/DrawingArea.h:
        (WebKit::DrawingArea::setSize):
        Add a scrollOffset parameter.

        * WebProcess/WebPage/DrawingArea.messages.in:
        Add a scroll offset parameter to the SetSize message.

        * WebProcess/WebPage/DrawingAreaImpl.cpp:
        (WebKit::DrawingAreaImpl::setSize):
        Call WebPage::scrollMainFrameIfNotAtMaxScrollPosition.

        * WebProcess/WebPage/DrawingAreaImpl.h:
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::scrollMainFrameIfNotAtMaxScrollPosition):
        Compute a scroll offset and call setScrollPosition on the main frame view.

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

10 years ago2011-02-05 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 5 Feb 2011 20:34:19 +0000 (20:34 +0000)]
2011-02-05  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Alexey Proskuryakov.

        Use Document::encoding() instead of DocumentWriter::encoding()
        https://bugs.webkit.org/show_bug.cgi?id=53398

        This change makes the code more readable, when a subresource
        inherits the character encoding of the document.

        * dom/ProcessingInstruction.cpp:
        (WebCore::ProcessingInstruction::checkStyleSheet):
        * dom/ScriptElement.cpp:
        (WebCore::ScriptElement::scriptCharset):
        * html/HTMLLinkElement.cpp:
        (WebCore::HTMLLinkElement::process):
        * loader/cache/CachedResourceLoader.cpp:
        (WebCore::CachedResourceLoader::requestPreload):
        * platform/network/FormDataBuilder.cpp:
        (WebCore::FormDataBuilder::encodingFromAcceptCharset):

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

10 years ago2011-02-05 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 5 Feb 2011 20:30:15 +0000 (20:30 +0000)]
2011-02-05  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Alexey Proskuryakov.

        Add addition test for inherited encoding
        https://bugs.webkit.org/show_bug.cgi?id=53398

        Check if the right encoding is used, after document.charset was set.

        * fast/dom/Document/document-charset.html: Added doctype to make it pass in IE9 out of the box.
        * fast/encoding/css-charset-default-expected.txt:
        * fast/encoding/css-charset-default.xhtml:
        * fast/encoding/external-script-charset-expected.txt:
        * fast/encoding/external-script-charset-koi-8.js: Added.
        * fast/encoding/external-script-charset.js:
        * fast/encoding/external-script-charset.xhtml:

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

10 years ago2011-02-05 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 5 Feb 2011 20:21:58 +0000 (20:21 +0000)]
2011-02-05  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Introduce URLString to represent a canonicalized URL represented by a string
        https://bugs.webkit.org/show_bug.cgi?id=53847

        Instead of using String all over the codebase to represent a URL,
        instead we should have a type to represent a canonicalized URL in the
        form of a string.  This patch introduces that type.

        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.xcodeproj/project.pbxproj:
        * platform/KURL.cpp:
        (WebCore::KURL::KURL):
        * platform/KURL.h:
        (WebCore::KURL::urlString):

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

10 years ago2011-02-05 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sat, 5 Feb 2011 18:26:30 +0000 (18:26 +0000)]
2011-02-05  Martin Robinson  <mrobinson@igalia.com>

        JSC::Bindings m_rootObject->isValid() assert fails when running layout tests
        https://bugs.webkit.org/show_bug.cgi?id=53716

        * platform/gtk/Skipped: Skip a test hitting this assertion.

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

10 years ago2011-02-05 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sat, 5 Feb 2011 17:55:41 +0000 (17:55 +0000)]
2011-02-05  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Style widgets not rendering
        https://bugs.webkit.org/show_bug.cgi?id=53849

        * platform/qt/Skipped: Unskip plugins/application-plugins-plugins-disabled.html
2011-02-05  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] Style widgets not rendering
        https://bugs.webkit.org/show_bug.cgi?id=53849

        * html/HTMLObjectElement.cpp:
        (WebCore::HTMLObjectElement::hasValidClassId): x-qt-styled-widget is a valid class id too

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

10 years ago2011-02-05 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Sat, 5 Feb 2011 17:19:53 +0000 (17:19 +0000)]
2011-02-05  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r77720.
        http://trac.webkit.org/changeset/77720
        https://bugs.webkit.org/show_bug.cgi?id=53854

        "Broke nrwt on Chromium win." (Requested by dglazkov|away on
        #webkit).

        * Scripts/webkitpy/common/system/executive.py:

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

10 years ago2011-02-04 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 5 Feb 2011 13:00:30 +0000 (13:00 +0000)]
2011-02-04  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        small text which is scaled to be large renders pixelated
        https://bugs.webkit.org/show_bug.cgi?id=12448

        Update Snow Leopard SVG pixel test baseline after r77485.

        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png:
...

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

10 years ago2011-02-05 Eric Seidel <eric@webkit.org>
eric@webkit.org [Sat, 5 Feb 2011 12:48:37 +0000 (12:48 +0000)]
2011-02-05  Eric Seidel  <eric@webkit.org>

        Unreviewed.

        Safari should lowercase schemes in cannonicalized urls to match every other browser
        https://bugs.webkit.org/show_bug.cgi?id=53848

        Checkin results I forgot to update in my previous commit. All progressions.

        * fast/dom/anchor-origin-expected.txt:
        * http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt:

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

10 years ago2011-02-05 Jochen Eisinger <jochen@chromium.org>
jochen@chromium.org [Sat, 5 Feb 2011 11:52:15 +0000 (11:52 +0000)]
2011-02-05  Jochen Eisinger  <jochen@chromium.org>

        Reviewed by Adam Barth.

        Add ContentSecurityPolicy object to Document and pass the X-WebKit-CSP header from the MainResourceLoader.
        https://bugs.webkit.org/show_bug.cgi?id=53685

        * WebCore.xcodeproj/project.pbxproj:
        * dom/Document.h:
        (WebCore::Document::contentSecurityPolicy):
        * loader/MainResourceLoader.cpp:
        (WebCore::MainResourceLoader::didReceiveResponse):
        * page/ContentSecurityPolicy.cpp:
        (WebCore::ContentSecurityPolicy::didReceiveHeader):
        * page/ContentSecurityPolicy.h:

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

10 years ago2011-02-05 Eric Seidel <eric@webkit.org>
eric@webkit.org [Sat, 5 Feb 2011 11:43:48 +0000 (11:43 +0000)]
2011-02-05  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Safari should lowercase schemes in cannonicalized urls to match every other browser
        https://bugs.webkit.org/show_bug.cgi?id=53848

        Update our results now that we pass more tests.

        * fast/url/file-expected.txt:
        * fast/url/file-http-base-expected.txt:
        * fast/url/path-url-expected.txt:
        * fast/url/relative-expected.txt:
        * fast/url/scheme-expected.txt:
2011-02-05  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Safari should lowercase schemes in cannonicalized urls to match every other browser
        https://bugs.webkit.org/show_bug.cgi?id=53848

        We're clearly the odd man out here.  See results from every browser at:
        https://github.com/abarth/url-spec/blob/master/tests/gurl-results/by-browser.txt

        * platform/KURL.cpp:
        (WebCore::KURL::parse):
         - Just lowercase the scheme when copying.

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

10 years agoOptimize matching of descendant selectors
antti@apple.com [Sat, 5 Feb 2011 11:23:43 +0000 (11:23 +0000)]
Optimize matching of descendant selectors
https://bugs.webkit.org/show_bug.cgi?id=49876
<rdar://problem/8772822>

Reviewed by Dave Hyatt.

During style recalculation, maintain a filter of tags, ids and classes seen in ancestor elements.
Use the filter to quickly reject descendant and child selectors when doing style matching.

This speeds up style recalculations 3-6x on many major web sites.

* css/CSSStyleSelector.cpp:
(WebCore::RuleData::RuleData):
(WebCore::RuleData::descendantSelectorIdentifierHashes):
(WebCore::collectElementIdentifiers):
(WebCore::CSSStyleSelector::pushParent):
(WebCore::CSSStyleSelector::popParent):
(WebCore::CSSStyleSelector::fastRejectSelector):
(WebCore::CSSStyleSelector::matchRulesForList):
(WebCore::RuleData::collectDescendantSelectorIdentifierHashes):
* css/CSSStyleSelector.h:
(WebCore::CSSStyleSelector::ParentStackFrame::ParentStackFrame):
* dom/Element.cpp:
(WebCore::StyleSelectorParentPusher::StyleSelectorParentPusher):
(WebCore::StyleSelectorParentPusher::push):
(WebCore::StyleSelectorParentPusher::~StyleSelectorParentPusher):
(WebCore::Element::attach):
(WebCore::Element::recalcStyle):

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

10 years ago2011-02-05 Eric Seidel <eric@webkit.org>
eric@webkit.org [Sat, 5 Feb 2011 11:12:04 +0000 (11:12 +0000)]
2011-02-05  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Add performance tests for URL parsing
        https://bugs.webkit.org/show_bug.cgi?id=53845

        The final-url-en URL corpus is from:
        http://corpus.leeds.ac.uk/internet.html

        There are also other language corpuses which we may want to use in the future.

        The usage instructions were as follows:
        "URL lists and other resources: you can freely use them in your research
        provided that you supply a link to this website: http://corpus.leeds.ac.uk/."
        Done.

        * Parser/simple-url.html: Added.
         On my machine:
         Firefox: 255ms
         TOT WebKit: 378ms
         Chrome: 286ms
         Opera: 2830ms (no, that is not a typo)
        * Parser/url-parser.html: Added.
         Firefox: 381ms
         TOT WebKit: 216ms
         Chrome: 131ms
         Opera: 1383ms (again, not a typo)
        * Parser/resources/final-url-en: Added.

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

10 years ago2011-02-05 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Sat, 5 Feb 2011 10:37:15 +0000 (10:37 +0000)]
2011-02-05  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Refactor: NotificationCenter shouldn't hold its own copy of the ScriptExecutionContext*
        when it inherits one from ActiveDOMObject.
        https://bugs.webkit.org/show_bug.cgi?id=53815

        * bindings/js/JSDesktopNotificationsCustom.cpp:
        (WebCore::JSNotificationCenter::requestPermission):
        * bindings/v8/custom/V8NotificationCenterCustom.cpp:
        (WebCore::V8NotificationCenter::requestPermissionCallback):
        * notifications/NotificationCenter.cpp:
        (WebCore::NotificationCenter::NotificationCenter):
        (WebCore::NotificationCenter::checkPermission):
        (WebCore::NotificationCenter::requestPermission):
        (WebCore::NotificationCenter::disconnectFrame):
        * notifications/NotificationCenter.h:
        (WebCore::NotificationCenter::createHTMLNotification):
        (WebCore::NotificationCenter::createNotification):

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

10 years ago2011-02-05 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Sat, 5 Feb 2011 08:02:23 +0000 (08:02 +0000)]
2011-02-05  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r77725.
        http://trac.webkit.org/changeset/77725
        https://bugs.webkit.org/show_bug.cgi?id=53844

        It broke Qt minimal build (Requested by Ossy_ on #webkit).

        * QtTestBrowser/launcherwindow.cpp:
        (LauncherWindow::createChrome):
        * QtTestBrowser/launcherwindow.h:
        (WindowOptions::WindowOptions):
        * QtTestBrowser/main.cpp:
        (LauncherApplication::handleUserOptions):

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

10 years ago2011-02-04 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Sat, 5 Feb 2011 07:35:54 +0000 (07:35 +0000)]
2011-02-04  Jer Noble  <jer.noble@apple.com>

        Adding test to Qt Skipped list.

        [Qt] media/video-frame-accurate-seek.html fails
        https://bugs.webkit.org/show_bug.cgi?id=53843

        * platform/qt/Skipped:

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

10 years ago2011-02-04 Joone Hur <joone.hur@collabora.co.uk>
joone.hur@collabora.co.uk [Sat, 5 Feb 2011 06:25:43 +0000 (06:25 +0000)]
2011-02-04  Joone Hur  <joone.hur@collabora.co.uk>

        Unreviewed, Fix compilation warning.

        Constructor initialization list should follow the declaration order.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::FrameLoaderClient): m_hasRepresentation is moved to
        the last position in the initialization list.

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

10 years agoVersioning.
mrowe@apple.com [Sat, 5 Feb 2011 06:03:44 +0000 (06:03 +0000)]
Versioning.

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

10 years ago2011-02-04 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 5 Feb 2011 05:17:30 +0000 (05:17 +0000)]
2011-02-04  Adam Barth  <abarth@webkit.org>

        Reviewed by Maciej Stachowiak.

        Crash in WebCore::TextEncoding::decode below XSSFilter::init
        https://bugs.webkit.org/show_bug.cgi?id=53837

        Test that we can successfully execute a JavaScript URL when it isn't
        blocked by the filter.

        * http/tests/security/xssAuditor/non-block-javascript-url-frame-expected.txt: Added.
        * http/tests/security/xssAuditor/non-block-javascript-url-frame.html: Added.
2011-02-04  Adam Barth  <abarth@webkit.org>

        Reviewed by Maciej Stachowiak.

        Crash in WebCore::TextEncoding::decode below XSSFilter::init
        https://bugs.webkit.org/show_bug.cgi?id=53837

        Add missing null check.

        Test: http/tests/security/xssAuditor/non-block-javascript-url-frame.html

        * html/parser/XSSFilter.cpp:
        (WebCore::XSSFilter::init):

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

10 years ago2011-02-04 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 5 Feb 2011 04:56:59 +0000 (04:56 +0000)]
2011-02-04  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Crashes in ShadowBlur via WebKit2 FindController
        https://bugs.webkit.org/show_bug.cgi?id=53830

        Fix a crash cause by re-entering ShadowBlur, and add assertions to
        detect when it happens.

        The re-entrancy occurred when drawRectShadowWithTiling() filled
        the interior of the shadow with fillRect() on the context
        which still had the shadow state set. This would make another ShadowBlur
        on the stack and call into the code again, potentially blowing away
        the image buffer.

        Fix by turning off shadows in the destination context while we're
        drawing the tiled shadow. The non-tiled code path already did this.

        Not testable because CSS shadows clip out the inside of the rect
        being shadowed, and SVG uses fillPath, even for rects.

        * platform/graphics/ShadowBlur.cpp:
        (WebCore::ScratchBuffer::ScratchBuffer):
        (WebCore::ScratchBuffer::getScratchBuffer):
        (WebCore::ScratchBuffer::scheduleScratchBufferPurge):
        (WebCore::ShadowBlur::ShadowBlur):
        (WebCore::ShadowBlur::drawRectShadowWithTiling):

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

10 years ago2011-02-04 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Sat, 5 Feb 2011 04:54:17 +0000 (04:54 +0000)]
2011-02-04  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Adam Barth.

        Skip a new test that uses EventSender
        https://bugs.webkit.org/show_bug.cgi?id=53841

        * platform/mac-wk2/Skipped:

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

10 years ago2011-02-04 Martin Robinson <mrobinson@igalia.com>
commit-queue@webkit.org [Sat, 5 Feb 2011 04:17:32 +0000 (04:17 +0000)]
2011-02-04  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Adam Barth.

        [GTK] plugins/plugin-document-back-forward.html fails
        https://bugs.webkit.org/show_bug.cgi?id=53833

        * platform/gtk/Skipped: Unskip test which is now passing.
2011-02-04  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Adam Barth.

        [GTK] plugins/plugin-document-back-forward.html fails
        https://bugs.webkit.org/show_bug.cgi?id=53833

        Add the new "alert on load" functionality for the Unix version of the
        test plugin. This functionality was originally introduced in r77706.

        * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
        (webkit_test_plugin_new_instance): Add new plugin fuctionality.

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

10 years ago2011-02-04 Carlos Garcia Campos <cgarcia@igalia.com>
mrobinson@webkit.org [Sat, 5 Feb 2011 03:37:22 +0000 (03:37 +0000)]
2011-02-04  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        Update expected results reflecting the change to search icon rendering.

        * platform/gtk/fast/css/input-search-padding-expected.checksum:
        * platform/gtk/fast/css/input-search-padding-expected.png:
        * platform/gtk/fast/css/input-search-padding-expected.txt:
        * platform/gtk/fast/forms/search-styled-expected.checksum:
        * platform/gtk/fast/forms/search-styled-expected.png:
        * platform/gtk/fast/forms/search-styled-expected.txt:
        * platform/gtk/fast/forms/search-vertical-alignment-expected.checksum:
        * platform/gtk/fast/forms/search-vertical-alignment-expected.png:
        * platform/gtk/fast/forms/search-zoomed-expected.checksum:
        * platform/gtk/fast/forms/search-zoomed-expected.png:
        * platform/gtk/fast/forms/search-zoomed-expected.txt:
        * platform/gtk/fast/forms/searchfield-heights-expected.checksum:
        * platform/gtk/fast/forms/searchfield-heights-expected.png:
        * platform/gtk/fast/forms/searchfield-heights-expected.txt:
2011-02-04  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Don't use a fixed size for search field icons
        https://bugs.webkit.org/show_bug.cgi?id=50624

        Use the parent input content box to make sure the icon fits in the
        search field, scaling it down when needed.

        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::paintGdkPixbuf):
        (WebCore::getIconSizeForPixelSize):
        (WebCore::adjustSearchFieldIconStyle):
        (WebCore::RenderThemeGtk::adjustSearchFieldResultsDecorationStyle):
        (WebCore::centerRectVerticallyInParentInputElement):
        (WebCore::RenderThemeGtk::paintSearchFieldResultsDecoration):
        (WebCore::RenderThemeGtk::adjustSearchFieldCancelButtonStyle):
        (WebCore::RenderThemeGtk::paintSearchFieldCancelButton):
        (WebCore::RenderThemeGtk::paintCapsLockIndicator):
        (WebCore::RenderThemeGtk::paintMediaButton):

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

10 years ago2011-02-04 Kundu Suchismita <suchi.kundu@nokia.com>
commit-queue@webkit.org [Sat, 5 Feb 2011 03:11:50 +0000 (03:11 +0000)]
2011-02-04  Kundu Suchismita  <suchi.kundu@nokia.com>

        Reviewed by Andreas Kling.

        Local Storage settings can be enable/disable from "Develop" menu
        https://bugs.webkit.org/show_bug.cgi?id=52296

        * QtTestBrowser/launcherwindow.cpp:
        (LauncherWindow::createChrome):
        (LauncherWindow::toggleLocalStorage):
        (LauncherWindow::toggleOfflineStorageDatabase):
        (LauncherWindow::toggleOfflineWebApplicationCache):
        (LauncherWindow::setOfflineStorageDefaultQuota):
        * QtTestBrowser/launcherwindow.h:
        (WindowOptions::WindowOptions):
        * QtTestBrowser/main.cpp:
        (LauncherApplication::handleUserOptions):

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

10 years ago2011-02-04 Hironori Bono <hbono@chromium.org>
commit-queue@webkit.org [Sat, 5 Feb 2011 03:05:47 +0000 (03:05 +0000)]
2011-02-04  Hironori Bono  <hbono@chromium.org>

        Reviewed by Adam Barth.

        [chromium] JPEG corruption
        https://bugs.webkit.org/show_bug.cgi?id=53250

        This change adds a new script test that we can render a CMYK JPEG with a
        color profile correctly, i.e. we can render it without color corruption.

        * fast/images/cmyk-jpeg-with-color-profile-expected.txt: Added.
        * fast/images/cmyk-jpeg-with-color-profile.html: Added.
        * fast/images/resources/cmyk-jpeg.jpg: Added.
        * fast/images/script-tests/cmyk-jpeg-with-color-profile.js: Added.
        (image.onload):
2011-02-04  Hironori Bono  <hbono@chromium.org>

        Reviewed by Adam Barth.

        [chromium] JPEG corruption
        https://bugs.webkit.org/show_bug.cgi?id=53250

        Same as gray-scale JPEGs, we convert the colors of CMYK JPEGs with color
        profiles from CMYK to RGB twice and it causes color corruption. This
        change suppresses the color profiles for CMYK JPEGs same as gray-scale
        ones.

        Test: fast/images/cmyk-jpeg-with-color-profile.html

        * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
        (WebCore::JPEGImageReader::decode):

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

10 years ago2011-02-04 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sat, 5 Feb 2011 02:57:30 +0000 (02:57 +0000)]
2011-02-04  Martin Robinson  <mrobinson@igalia.com>

        Update pixel results for the fast/forms directory in preparation for landing
        fixes to input type=search icon sizing. Also add some missing results. These
        results are out of date because of changes to font hinting some time ago.

        * platform/gtk/fast/forms/
        * platform/gtk/fast/forms/input-placeholder-visibility-1-expected.checksum: Added.
        * platform/gtk/fast/forms/input-placeholder-visibility-1-expected.png: Added.
        * platform/gtk/fast/forms/input-placeholder-visibility-1-expected.txt: Added.
        * platform/gtk/fast/forms/input-placeholder-visibility-2-expected.checksum: Added.
        * platform/gtk/fast/forms/input-placeholder-visibility-2-expected.png: Added.
        * platform/gtk/fast/forms/input-placeholder-visibility-2-expected.txt: Added.
        * platform/gtk/fast/forms/input-placeholder-visibility-3-expected.checksum: Added.
        * platform/gtk/fast/forms/input-placeholder-visibility-3-expected.png: Added.
        * platform/gtk/fast/forms/input-placeholder-visibility-3-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-placeholder-visibility-1-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-placeholder-visibility-1-expected.png: Added.
        * platform/gtk/fast/forms/textarea-placeholder-visibility-1-expected.txt: Added.
        * platform/gtk/fast/forms/textarea-placeholder-visibility-2-expected.checksum: Added.
        * platform/gtk/fast/forms/textarea-placeholder-visibility-2-expected.png: Added.
        * platform/gtk/fast/forms/textarea-placeholder-visibility-2-expected.txt: Added.

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

10 years ago2011-02-04 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 5 Feb 2011 02:55:21 +0000 (02:55 +0000)]
2011-02-04  Adam Barth  <abarth@webkit.org>

        [Windows 7 Release Tests] plugins/plugin-document-back-forward.html failing since introduction in r77706
        https://bugs.webkit.org/show_bug.cgi?id=53831

        Stop dumping the child frames because that's not needed for this test
        and cause extra output on Windows.

        * plugins/plugin-document-back-forward.html:

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

10 years ago2011-02-04 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 5 Feb 2011 02:50:37 +0000 (02:50 +0000)]
2011-02-04  Adam Barth  <abarth@webkit.org>

        [GTK] plugins/plugin-document-back-forward.html fails
        https://bugs.webkit.org/show_bug.cgi?id=53833

        Add plugins/plugin-document-back-forward.html to skipped list while we
        investigate the issue.

        * platform/gtk/Skipped:

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

10 years ago2011-02-04 Tony Chang <tony@chromium.org>
tony@chromium.org [Sat, 5 Feb 2011 02:39:01 +0000 (02:39 +0000)]
2011-02-04  Tony Chang  <tony@chromium.org>

        Reviewed by Eric Seidel.

        get test-webkitpy running on win32 python
        https://bugs.webkit.org/show_bug.cgi?id=53822

        The test harness crashes with a WindowsError because it can't find
        'svn' when using subprocess.Popen.  This gets us past the error
        so we can see the failing tests on the Chromium Win Release Tests
        bot.

        * Scripts/webkitpy/common/system/executive.py:

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

10 years ago2011-02-04 Matthew Delaney <mdelaney@apple.com>
mdelaney@apple.com [Sat, 5 Feb 2011 02:37:09 +0000 (02:37 +0000)]
2011-02-04  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Dan Bernstein.

        Move canvas layout test expectations into more appropriate locations
        https://bugs.webkit.org/show_bug.cgi?id=53145

        * platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.broken-expected.txt: Removed.
        * ...
        * platform/mac-snowleopard/canvas/philip/tests/type.prototype-expected.txt: Removed.
        * platform/mac/canvas: Added.
        * platform/mac/canvas/philip: Added.
        * platform/mac/canvas/philip/tests: Added.
        * platform/mac/canvas/philip/tests/2d.drawImage.broken-expected.txt: Copied from platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.broken-expected.txt.
        * ...
        * platform/mac/canvas/philip/tests/type.prototype-expected.txt: Copied from platform/mac-snowleopard/canvas/philip/tests/type.prototype-expected.txt.

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

10 years ago[Windows 7 Release Tests] plugins/plugin-document-back-forward.html failing since
jberlin@webkit.org [Sat, 5 Feb 2011 02:30:08 +0000 (02:30 +0000)]
[Windows 7 Release Tests] plugins/plugin-document-back-forward.html failing since
introduction in r77706.
https://bugs.webkit.org/show_bug.cgi?id=53831

Unreviewed. Add expected (failing?) results to get the Windows 7 Release Test bots green.

* platform/win/plugins/plugin-document-back-forward-expected.txt: Added.

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

10 years ago2011-02-04 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sat, 5 Feb 2011 02:26:00 +0000 (02:26 +0000)]
2011-02-04  Martin Robinson  <mrobinson@igalia.com>

        Unskip some tests which should now be passing.

        * platform/gtk/Skipped: Unskip tests.

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

10 years ago2011-02-04 Xiyuan Xia <xiyuan@chromium.org>
commit-queue@webkit.org [Sat, 5 Feb 2011 02:19:43 +0000 (02:19 +0000)]
2011-02-04  Xiyuan Xia  <xiyuan@chromium.org>

        Reviewed by Tony Chang.

        [Chromium] Option text in select popup does not align with menulist button text
        https://bugs.webkit.org/show_bug.cgi?id=53632

        This makes clientPaddingLeft and  clientPaddingRight return
        the additional m_innerBlock's padding so that the popup item text
        aligns with the menulist button text.

        * rendering/RenderMenuList.cpp:
        (WebCore::RenderMenuList::clientPaddingLeft):
        (WebCore::RenderMenuList::clientPaddingRight):

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