WebKit-https.git
7 years agoDon't allow drags to start after a mouse press that creates a context menu
dcheng@chromium.org [Mon, 25 Mar 2013 16:47:02 +0000 (16:47 +0000)]
Don't allow drags to start after a mouse press that creates a context menu
https://bugs.webkit.org/show_bug.cgi?id=112079

Reviewed by Tony Chang.

.:

* ManualTests/context-menu-during-drag-selection.html: Added.

Source/WebCore:

This appears to be the intent of the original code anyway (the comments in the corresponding
context menu handlers indicate that they set m_mousePressed to false in order to suppress
drags from starting). Since exact platform behavior differs quite a bit in this area, this
will also make the behavior more consistent across different WebKit implementations.

Manually testable using context-menu-during-drag-selection.html.

* page/EventHandler.cpp:
(WebCore::EventHandler::handleMouseDraggedEvent):

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

7 years ago[Chromium] Rebaseline svg/custom/marker-orient-auto
pdr@google.com [Mon, 25 Mar 2013 16:36:27 +0000 (16:36 +0000)]
[Chromium] Rebaseline svg/custom/marker-orient-auto

Unreviewed rebaseline of test expectations.

* platform/chromium-linux-x86/svg/custom/marker-orient-auto-expected.png: Added.
* platform/chromium/TestExpectations:

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

7 years agoWeb Inspector: [Regression] Provisional breakpoints are not shown on reload.
vsevik@chromium.org [Mon, 25 Mar 2013 16:29:59 +0000 (16:29 +0000)]
Web Inspector: [Regression] Provisional breakpoints are not shown on reload.
https://bugs.webkit.org/show_bug.cgi?id=113210

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/front-end/BreakpointManager.js:
(WebInspector.BreakpointManager.prototype._restoreBreakpoints):
(WebInspector.BreakpointManager.prototype._projectWillReset.get for):
(WebInspector.BreakpointManager.prototype._projectWillReset):
(WebInspector.BreakpointManager.prototype._breakpointResolved):
* inspector/front-end/utilities.js:

LayoutTests:

* inspector/debugger/breakpoint-manager-expected.txt:
* inspector/debugger/breakpoint-manager.html:

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

7 years agoWeb Inspector: Remove console warnings for *_ prefixed CSS styles
commit-queue@webkit.org [Mon, 25 Mar 2013 16:28:29 +0000 (16:28 +0000)]
Web Inspector: Remove console warnings for *_ prefixed CSS styles
https://bugs.webkit.org/show_bug.cgi?id=113175

Patch by Sergey Ryazanov <serya@chromium.org> on 2013-03-25
Reviewed by Pavel Feldman.

Source/WebCore:

Added separate error message for syntax CSS error in declaration list when no property detected.
Added filter for messages starting with '*'.

* css/CSSGrammar.y.in:

LayoutTests:

* inspector/console/console-css-warnings-expected.txt:
* inspector/console/console-css-warnings.html:

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

7 years agoTriage more test failures on content_shell
jochen@chromium.org [Mon, 25 Mar 2013 16:16:25 +0000 (16:16 +0000)]
Triage more test failures on content_shell

Unreviewed gardening.

* platform/chromium/ContentShellTestExpectations:

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

7 years agoIntegration of the Skia displacement mapping into WebKit
commit-queue@webkit.org [Mon, 25 Mar 2013 16:10:26 +0000 (16:10 +0000)]
Integration of the Skia displacement mapping into WebKit
https://bugs.webkit.org/show_bug.cgi?id=112927

Patch by Alexis Hetu <sugoi@chromium.org> on 2013-03-25
Reviewed by Stephen White.

Added displacement mapping to effect-reference.html and
effect-reference-hw.html

* WebCore.gypi:
* platform/graphics/filters/FEDisplacementMap.h:
(FEDisplacementMap):
Adding Skia specific declarations
* platform/graphics/filters/skia/FEDisplacementMapSkia.cpp: Added.
(WebCore):
(WebCore::toSkiaMode):
Provides conversion between the WebKit displacement mapping mode and
the Skia displacement mapping mode
(WebCore::FEDisplacementMap::platformApplySkia):
Displacement through the Skia API. (Accelerated only for now)
(WebCore::FEDisplacementMap::createImageFilter):
Displacement image filter creation through the Skia API.

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

7 years ago[HarfBuzz] ICU detection fix in HarfBuzz obsoletes our workaround
dominik.rottsches@intel.com [Mon, 25 Mar 2013 16:05:13 +0000 (16:05 +0000)]
[HarfBuzz] ICU detection fix in HarfBuzz obsoletes our workaround
https://bugs.webkit.org/show_bug.cgi?id=112166

HarfBuzz 0.9.14 merged my patch for icu detection without
pkg-config files, as needed by for example Ubuntu 12.04.
This obsoletes our local workaround. Removed it for GTK and EFL.

Reviewed by Martin Robinson.

* efl/jhbuild.modules: Patch reference removed, version bumped to 0.9.14.
* efl/patches/harfbuzz-icu-detection-fix.patch: Removed.
* gtk/jhbuild.modules: Patch reference removed, version bumped to 0.9.14.
* gtk/patches/harfbuzz-icu-detection-fix.patch: Removed.

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

7 years agoWeb Inspector: Graduate some new Inspector APIs to public
commit-queue@webkit.org [Mon, 25 Mar 2013 16:01:21 +0000 (16:01 +0000)]
Web Inspector: Graduate some new Inspector APIs to public
https://bugs.webkit.org/show_bug.cgi?id=113176

Patch by Vladislav Kaznacheev <kaznacheev@chromium.org> on 2013-03-25
Reviewed by Pavel Feldman.

Summary of changes:
    DOM.highlightNode.nodeId: required parameter is now optional
    Input: domain has been added
    Runtime.enable: command has been added
    Runtime.executionContextCreated: event has been added
    Page.clearGeolocationOverride: command has been added
    Page.setGeolocationOverride: command has been added
    Page.captureScreenshot: command has been added
    Debugger.setBreakpointByUrl.locations: optional response parameter is now required

* inspector/Inspector.json:

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

7 years ago[Qt] Unreviewed gardening. Updated expected png results.
kadam@inf.u-szeged.hu [Mon, 25 Mar 2013 15:56:36 +0000 (15:56 +0000)]
[Qt] Unreviewed gardening. Updated expected png results.

* platform/qt/css3/selectors3/xhtml/css3-modsel-146a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-146b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-147a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-147b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-14c-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-14e-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-15-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-150-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-153-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-159-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-15c-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-16-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-161-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-168-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-168a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-169-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-169a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-172a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-172b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-173a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-173b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-18-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-181-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-183-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-18b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-19-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-19b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-20-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-21-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-22-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-23-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-24-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-28-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-28b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-29-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-29b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-3-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-30-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-31-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-32-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-33-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-34-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-35-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-36-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-37-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-38-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-39-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-39a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-39b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-39c-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-3a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-41-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-41a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-42-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-42a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-43-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-43b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-44-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-44b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-45-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-45b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-46-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-46b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-47-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-48-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-49-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-51-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-52-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-53-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-54-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-55-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-56-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-57-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-57b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-59-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-60-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-61-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-62-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-63-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-64-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-65-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-66-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-67-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-68-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-69-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-7-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-72-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-72b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-73-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-73b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-74-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-74b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-75-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-75b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-76-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-76b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-77-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-77b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-78-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-78b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-79-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-8-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-80-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-81-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-81b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-82-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-82b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-87-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-87b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-9-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-90-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-90b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-93-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-94-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-94b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-95-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-96-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-96b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-97-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-97b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-98-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-98b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-99-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-99b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-d4-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-1-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-10-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-100-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-100b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-101-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-101b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-102-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-102b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-103-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-103b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-104-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-104b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-105-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-105b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-106-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-106b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-107-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-107b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-108-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-108b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-109-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-109b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-11-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-110-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-110b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-111-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-111b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-112-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-112b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-113-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-113b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-114-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-114b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-115-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-115b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-116-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-116b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-117-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-117b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-118-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-119-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-120-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-121-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-122-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-123-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-124-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-124b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-125-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-125b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-126-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-126b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-127-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-127b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-128-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-128b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-129-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-129b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-13-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-130-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-130b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-131-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-131b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-132-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-132b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-133-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-133b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-134-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-134b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-135-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-135b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-136-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-136b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-137-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-137b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-138-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-138b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-139-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-139b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-14-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-140-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-140b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-141-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-141b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-142-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-142b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-143-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-143b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-145a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-145b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-146a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-146b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-147a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-147b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-14c-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-14e-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-15-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-150-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-153-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-159-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-15c-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-16-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-161-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-168-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-168a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-169-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-169a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-172a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-172b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-173a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-173b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-18-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-181-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-183-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-18b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-19-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-19b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-20-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-21-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-22-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-23-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-24-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-28-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-28b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-29-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-29b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-3-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-30-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-31-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-32-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-33-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-34-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-35-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-36-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-37-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-38-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-39-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-39a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-39b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-39c-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-3a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-41-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-41a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-42-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-42a-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-43-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-43b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-44-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-44b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-45-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-45b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-46-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-46b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-47-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-48-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-49-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-51-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-52-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-53-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-54-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-55-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-56-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-57-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-57b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-59-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-60-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-61-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-62-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-63-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-64-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-65-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-66-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-67-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-68-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-69-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-7-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-72-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-72b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-73-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-73b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-74-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-74b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-75-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-75b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-76-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-76b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-77-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-77b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-78-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-78b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-79-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-8-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-80-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-81-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-81b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-82-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-82b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-87-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-87b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-9-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-90-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-90b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-93-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-94-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-94b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-95-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-96-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-96b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-97-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-97b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-98-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-98b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-99-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-99b-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-d4-expected.png:
* platform/qt/css3/unicode-bidi-isolate-basic-expected.png:

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

7 years ago[Qt] Unreviewed gardening. Updated expected png resutls after r146206.
kadam@inf.u-szeged.hu [Mon, 25 Mar 2013 15:34:15 +0000 (15:34 +0000)]
[Qt] Unreviewed gardening. Updated expected png resutls after r146206.

* platform/qt/css3/compositing/effect-background-blend-mode-expected.png: Added.
* platform/qt/css3/css3-modsel-33-expected.png:
* platform/qt/css3/css3-modsel-35-expected.png:
* platform/qt/css3/css3-modsel-36-expected.png:
* platform/qt/css3/css3-modsel-37-expected.png:
* platform/qt/css3/filters/custom/custom-filter-color-matrix-expected.png: Added.
* platform/qt/css3/filters/custom/custom-filter-css-keyword-as-parameter-name-expected.png: Added.
* platform/qt/css3/filters/effect-invert-hw-expected.png:
* platform/qt/css3/filters/filter-repaint-child-layers-expected.png: Added.
* platform/qt/css3/filters/nested-filter-expected.png:
* platform/qt/css3/filters/regions-expanding-expected.png:
* platform/qt/css3/flexbox/flexbox-baseline-expected.png:
* platform/qt/css3/images/cross-fade-background-size-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-1-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-10-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-11-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-13-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-14-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-14c-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-14e-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-15-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-150-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-159-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-16-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-161-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-168-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-168a-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-169-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-169a-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-18-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-181-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-183-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-18b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-19-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-19b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-20-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-21-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-22-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-23-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-24-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-28-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-28b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-29-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-29b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-30-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-31-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-32-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-33-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-34-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-35-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-36-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-37-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-38-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-39-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-39a-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-39b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-39c-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-3a-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-41-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-41a-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-42-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-42a-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-43-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-43b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-44-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-44b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-45-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-45b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-46-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-46b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-54-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-55-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-56-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-59-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-60-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-61-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-62-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-63-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-64-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-65-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-66-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-67-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-68-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-69-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-7-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-72-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-72b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-73-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-73b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-74-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-74b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-75-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-75b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-76-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-76b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-77-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-77b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-78-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-78b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-79-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-8-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-80-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-81-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-81b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-82-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-82b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-87-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-87b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-9-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-90-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-90b-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-d4-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-1-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-10-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-100-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-100b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-101-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-101b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-102-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-102b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-103-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-103b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-104-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-104b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-105-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-105b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-106-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-106b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-107-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-107b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-108-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-108b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-109-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-109b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-11-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-110-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-110b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-111-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-111b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-112-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-112b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-113-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-113b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-114-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-114b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-115-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-115b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-116-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-116b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-117-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-117b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-118-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-119-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-120-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-121-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-122-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-123-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-124-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-124b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-125-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-125b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-126-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-126b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-127-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-127b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-128-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-128b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-129-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-129b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-13-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-130-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-130b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-131-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-131b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-132-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-132b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-133-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-133b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-134-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-134b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-135-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-135b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-136-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-136b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-137-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-137b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-138-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-138b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-139-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-139b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-14-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-140-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-140b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-141-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-141b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-142-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-142b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-143-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-143b-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-145a-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-145b-expected.png:

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

7 years agoWTF::binarySearchImpl() should compile with -Wshorten-64-to-32
ddkilzer@apple.com [Mon, 25 Mar 2013 15:25:23 +0000 (15:25 +0000)]
WTF::binarySearchImpl() should compile with -Wshorten-64-to-32
<http://webkit.org/b/113170>

Reviewed by Dan Bernstein.

Fixes the following build failure:

    /usr/local/include/wtf/StdLibExtras.h:190:30: error: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Werror,-Wshorten-64-to-32]
            int pos = (size - 1) >> 1;
                ~~~   ~~~~~~~~~~~^~~~
    1 error generated.

* wtf/StdLibExtras.h:
(WTF::binarySearchImpl): Switch type from int to size_t.

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

7 years ago[Qt] Unreviewed gardening. Updated expected png results r146206.
kadam@inf.u-szeged.hu [Mon, 25 Mar 2013 15:09:20 +0000 (15:09 +0000)]
[Qt] Unreviewed gardening. Updated expected png results r146206.

* platform/qt-5.0-wk2/css2.1/t0905-c414-flt-01-d-g-expected.png: Added.
* platform/qt-5.0-wk2/css2.1/t1004-c5524-width-00-b-g-expected.png: Added.
* platform/qt/css2.1/20110323/absolute-non-replaced-height-001-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-height-002-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-height-008-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-max-height-002-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-max-height-008-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-001-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-002-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-003-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-004-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-005-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-006-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-007-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-008-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-009-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-010-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-011-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-012-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-013-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-014-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-015-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-016-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-017-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-018-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-019-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-020-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-021-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-022-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-023-expected.png:
* platform/qt/css2.1/20110323/absolute-non-replaced-width-024-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-001-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-008-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-009-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-010-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-016-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-017-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-022-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-023-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-024-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-029-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-030-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-height-031-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-001-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-006-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-008-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-013-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-015-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-020-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-022-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-027-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-029-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-034-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-036-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-041-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-043-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-048-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-050-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-055-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-057-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-062-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-064-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-069-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-071-expected.png:
* platform/qt/css2.1/20110323/absolute-replaced-width-076-expected.png:
* platform/qt/css2.1/20110323/block-non-replaced-height-001-expected.png:
* platform/qt/css2.1/20110323/block-non-replaced-height-002-expected.png:
* platform/qt/css2.1/20110323/block-non-replaced-height-005-expected.png:
* platform/qt/css2.1/20110323/block-non-replaced-height-006-expected.png:
* platform/qt/css2.1/20110323/block-non-replaced-width-005-expected.png:
* platform/qt/css2.1/20110323/block-non-replaced-width-006-expected.png:
* platform/qt/css2.1/20110323/block-non-replaced-width-007-expected.png:
* platform/qt/css2.1/20110323/block-replaced-height-001-expected.png:
* platform/qt/css2.1/20110323/block-replaced-width-001-expected.png:
* platform/qt/css2.1/20110323/block-replaced-width-006-expected.png:
* platform/qt/css2.1/20110323/border-conflict-style-079-expected.png:
* platform/qt/css2.1/20110323/border-conflict-style-088-expected.png:
* platform/qt/css2.1/20110323/border-spacing-applies-to-015-expected.png:
* platform/qt/css2.1/20110323/empty-inline-003-expected.png:
* platform/qt/css2.1/20110323/float-non-replaced-width-007-expected.png:
* platform/qt/css2.1/20110323/float-non-replaced-width-008-expected.png:
* platform/qt/css2.1/20110323/float-non-replaced-width-009-expected.png:
* platform/qt/css2.1/20110323/float-non-replaced-width-010-expected.png:
* platform/qt/css2.1/20110323/float-non-replaced-width-011-expected.png:
* platform/qt/css2.1/20110323/float-non-replaced-width-012-expected.png:
* platform/qt/css2.1/20110323/float-replaced-height-001-expected.png:
* platform/qt/css2.1/20110323/float-replaced-width-006-expected.png:
* platform/qt/css2.1/20110323/float-replaced-width-011-expected.png:
* platform/qt/css2.1/20110323/floating-replaced-height-008-expected.png:
* platform/qt/css2.1/20110323/inline-block-non-replaced-width-002-expected.png:
* platform/qt/css2.1/20110323/inline-block-non-replaced-width-003-expected.png:
* platform/qt/css2.1/20110323/inline-block-non-replaced-width-004-expected.png:
* platform/qt/css2.1/20110323/inline-block-replaced-height-001-expected.png:
* platform/qt/css2.1/20110323/inline-block-replaced-height-008-expected.png:
* platform/qt/css2.1/20110323/inline-block-replaced-width-001-expected.png:
* platform/qt/css2.1/20110323/inline-block-replaced-width-006-expected.png:
* platform/qt/css2.1/20110323/inline-replaced-height-001-expected.png:
* platform/qt/css2.1/20110323/inline-replaced-height-008-expected.png:
* platform/qt/css2.1/20110323/inline-replaced-width-001-expected.png:
* platform/qt/css2.1/20110323/inline-replaced-width-006-expected.png:
* platform/qt/css2.1/20110323/inline-replaced-width-014-expected.png:
* platform/qt/css2.1/20110323/inline-replaced-width-015-expected.png:
* platform/qt/css2.1/20110323/margin-applies-to-010-expected.png:
* platform/qt/css2.1/20110323/replaced-intrinsic-001-expected.png:
* platform/qt/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png:
* platform/qt/css2.1/20110323/table-caption-002-expected.png:
* platform/qt/css2.1/20110323/table-caption-optional-001-expected.png:
* platform/qt/css2.1/20110323/table-caption-optional-002-expected.png:
* platform/qt/css2.1/20110323/table-height-algorithm-023-expected.png:
* platform/qt/css2.1/20110323/table-height-algorithm-024-expected.png:
* platform/qt/css2.1/20110323/width-non-replaced-inline-001-expected.png:
* platform/qt/css2.1/t051103-c21-activ-ln-00-e-i-expected.png:
* platform/qt/css2.1/t051103-c21-hover-ln-00-e-i-expected.png:
* platform/qt/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png:
* platform/qt/css2.1/t060403-c21-pseu-id-00-e-i-expected.png:
* platform/qt/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
* platform/qt/css2.1/t1202-counters-08-b-expected.png:
* platform/qt/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png:
* platform/qt/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png:
* platform/qt/css2.1/t1508-c527-font-07-b-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-41-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-42-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-43-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-49-d-expected.png:

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

7 years ago[Qt] Unreviewed gardening. Updated png results after r146206.
kadam@inf.u-szeged.hu [Mon, 25 Mar 2013 14:50:02 +0000 (14:50 +0000)]
[Qt] Unreviewed gardening. Updated png results after r146206.

* platform/qt/css1/basic/class_as_selector-expected.png:
* platform/qt/css1/basic/comments-expected.png:
* platform/qt/css1/basic/contextual_selectors-expected.png:
* platform/qt/css1/basic/grouping-expected.png:
* platform/qt/css1/basic/id_as_selector-expected.png:
* platform/qt/css1/box_properties/acid_test-expected.png:
* platform/qt/css1/box_properties/border_bottom_inline-expected.png:
* platform/qt/css1/box_properties/border_bottom_width-expected.png:
* platform/qt/css1/box_properties/border_bottom_width_inline-expected.png:
* platform/qt/css1/box_properties/border_color-expected.png:
* platform/qt/css1/box_properties/border_color_inline-expected.png:
* platform/qt/css1/box_properties/border_inline-expected.png:
* platform/qt/css1/box_properties/border_left_inline-expected.png:
* platform/qt/css1/box_properties/border_left_width_inline-expected.png:
* platform/qt/css1/box_properties/border_right-expected.png:
* platform/qt/css1/box_properties/border_right_width_inline-expected.png:
* platform/qt/css1/box_properties/border_style_inline-expected.png:
* platform/qt/css1/box_properties/border_top_inline-expected.png:
* platform/qt/css1/box_properties/border_top_width-expected.png:
* platform/qt/css1/box_properties/border_top_width_inline-expected.png:
* platform/qt/css1/box_properties/border_width-expected.png:
* platform/qt/css1/box_properties/border_width_inline-expected.png:
* platform/qt/css1/box_properties/clear-expected.png:
* platform/qt/css1/box_properties/float-expected.png:
* platform/qt/css1/box_properties/float_elements_in_series-expected.png:
* platform/qt/css1/box_properties/height-expected.png:
* platform/qt/css1/box_properties/margin-expected.png:
* platform/qt/css1/box_properties/margin_bottom-expected.png:
* platform/qt/css1/box_properties/margin_bottom_inline-expected.png:
* platform/qt/css1/box_properties/margin_left_inline-expected.png:
* platform/qt/css1/box_properties/margin_right_inline-expected.png:
* platform/qt/css1/box_properties/margin_top-expected.png:
* platform/qt/css1/box_properties/margin_top_inline-expected.png:
* platform/qt/css1/box_properties/padding-expected.png:
* platform/qt/css1/box_properties/padding_left_inline-expected.png:
* platform/qt/css1/box_properties/padding_right_inline-expected.png:
* platform/qt/css1/box_properties/padding_top-expected.png:
* platform/qt/css1/box_properties/padding_top_inline-expected.png:
* platform/qt/css1/box_properties/width-expected.png:
* platform/qt/css1/classification/list_style-expected.png:
* platform/qt/css1/classification/list_style_image-expected.png:
* platform/qt/css1/classification/list_style_position-expected.png:
* platform/qt/css1/classification/list_style_type-expected.png:
* platform/qt/css1/classification/white_space-expected.png:
* platform/qt/css1/color_and_background/background-expected.png:
* platform/qt/css1/color_and_background/background_attachment-expected.png:
* platform/qt/css1/color_and_background/background_color-expected.png:
* platform/qt/css1/color_and_background/background_image-expected.png:
* platform/qt/css1/color_and_background/color-expected.png:
* platform/qt/css1/font_properties/font_family-expected.png:
* platform/qt/css1/font_properties/font_size-expected.png:
* platform/qt/css1/font_properties/font_style-expected.png:
* platform/qt/css1/font_properties/font_variant-expected.png:
* platform/qt/css1/font_properties/font_weight-expected.png:
* platform/qt/css1/formatting_model/canvas-expected.png:
* platform/qt/css1/formatting_model/floating_elements-expected.png:
* platform/qt/css1/formatting_model/height_of_lines-expected.png:
* platform/qt/css1/formatting_model/horizontal_formatting-expected.png:
* platform/qt/css1/formatting_model/replaced_elements-expected.png:
* platform/qt/css1/text_properties/letter_spacing-expected.png:
* platform/qt/css1/text_properties/line_height-expected.png:
* platform/qt/css1/text_properties/text_align-expected.png:
* platform/qt/css1/text_properties/vertical_align-expected.png:
* platform/qt/css1/text_properties/word_spacing-expected.png:
* platform/qt/css1/units/color_units-expected.png:
* platform/qt/css1/units/length_units-expected.png:
* platform/qt/css1/units/percentage_units-expected.png:

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

7 years agoWeb Inspector: [Timeline] set glue records mode off by default
caseq@chromium.org [Mon, 25 Mar 2013 14:42:18 +0000 (14:42 +0000)]
Web Inspector: [Timeline] set glue records mode off by default
https://bugs.webkit.org/show_bug.cgi?id=113189

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/front-end/TimelinePanel.js: /glueRecordsSetting/s/true/false/

LayoutTests:

* inspector/timeline/timeline-receive-response-event.html: enable glue records mode for the test.

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

7 years ago[EFL] Fix build break when media source is enabled
gyuyoung.kim@samsung.com [Mon, 25 Mar 2013 14:27:07 +0000 (14:27 +0000)]
[EFL] Fix build break when media source is enabled
https://bugs.webkit.org/show_bug.cgi?id=113143

Unreviewed. Build error needs to be fixed in order to start to implement
media source functionality.

* CMakeLists.txt:
* platform/efl/MIMETypeRegistryEfl.cpp:
(WebCore):
(WebCore::MIMETypeRegistry::isSupportedMediaSourceMIMEType):
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore):
(WebCore::MediaPlayerPrivateGStreamer::load):
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(MediaPlayerPrivateGStreamer):

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

7 years agoWeb Inspector: Toggling breakpoint with shortcut should be freezed as well while...
vsevik@chromium.org [Mon, 25 Mar 2013 14:26:03 +0000 (14:26 +0000)]
Web Inspector: Toggling breakpoint with shortcut should be freezed as well while editing.
https://bugs.webkit.org/show_bug.cgi?id=113188

Reviewed by Pavel Feldman.

* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.toggleBreakpointOnCurrentLine):

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

7 years agoWeb Inspector: Remove unneeded code from JavaScriptSourceFrame.
vsevik@chromium.org [Mon, 25 Mar 2013 14:23:39 +0000 (14:23 +0000)]
Web Inspector: Remove unneeded code from JavaScriptSourceFrame.
https://bugs.webkit.org/show_bug.cgi?id=113182

Reviewed by Pavel Feldman.

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

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

7 years agoWeb Inspector: Fonts refactoring
commit-queue@webkit.org [Mon, 25 Mar 2013 13:56:44 +0000 (13:56 +0000)]
Web Inspector: Fonts refactoring
https://bugs.webkit.org/show_bug.cgi?id=113047

Patch by Alexei Filippov <alph@chromium.org> on 2013-03-25
Reviewed by Pavel Feldman.

Unify fonts usage across inspector.
Make inspector default font depend on platform.

Source/WebCore:

* inspector/front-end/dataGrid.css:
(.data-grid table):
(.data-grid td):
* inspector/front-end/inspector.css:
(.toolbar-label):
(body.show-toolbar-icons .toolbar-label):
(.console-message .bubble):
(li .status .bubble):
(.source-frame-breakpoint-message):
(.soft-context-menu):
* inspector/front-end/inspectorCommon.css:
(body):
* inspector/front-end/networkLogView.css:
(.network-log-grid.data-grid td):
(.network-log-grid.data-grid.small td):
* inspector/front-end/tabbedPane.css:
(.tabbed-pane-header-tab):
(select.tabbed-pane-header-tabs-drop-down-select):
* inspector/front-end/timelinePanel.css:
(.memory-counter-value):

Source/WebKit/chromium:

* src/js/devTools.css:
(body.platform-linux):
(body.platform-mac):
(body.platform-windows):

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

7 years ago[Qt] Qml WebKit needs preferences to change security knobs
commit-queue@webkit.org [Mon, 25 Mar 2013 13:54:12 +0000 (13:54 +0000)]
[Qt] Qml WebKit needs preferences to change security knobs
https://bugs.webkit.org/show_bug.cgi?id=111979

Patch by Maxim Ermilov <maxim.ermilov@canonical.com> on 2013-03-25
Reviewed by Jocelyn Turcotte.

* UIProcess/API/qt/qwebpreferences.cpp:
(QWebPreferencesPrivate::testAttribute):
(QWebPreferencesPrivate::setAttribute):
(QWebPreferences::universalAccessFromFileURLsAllowed):
(QWebPreferences::setUniversalAccessFromFileURLsAllowed):
(QWebPreferences::fileAccessFromFileURLsAllowed):
(QWebPreferences::setFileAccessFromFileURLsAllowed):
* UIProcess/API/qt/qwebpreferences_p.h:
* UIProcess/API/qt/qwebpreferences_p_p.h:

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

7 years agoWeb Inspector: Use generate-inspector-protocol-version to list valid public API changes
commit-queue@webkit.org [Mon, 25 Mar 2013 13:52:41 +0000 (13:52 +0000)]
Web Inspector: Use generate-inspector-protocol-version to list valid public API changes
https://bugs.webkit.org/show_bug.cgi?id=113148

Added --show-changes command line option.
Used existing compare_schemas method to do a reverse compare.
Fixed a number of small problems (missing domain name in the message,
incorrect error messages for command parameters).

Patch by Vladislav Kaznacheev <kaznacheev@chromium.org> on 2013-03-25
Reviewed by Pavel Feldman.

* inspector/generate-inspector-protocol-version:
(named_list_to_map):
(removed):
(required):
(compare_schemas):
(compare_domains):
(compare_commands):
(compare_events):
(compare_params_list):
(compare_types):
(self_test):
(self_test.create_test_schema_1):
(self_test.create_test_schema_2):
(self_test.is_subset):
(self_test.errors_match):
(main):

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

7 years agoSupport Quota API in Workers
alecflett@chromium.org [Mon, 25 Mar 2013 13:42:20 +0000 (13:42 +0000)]
Support Quota API in Workers
https://bugs.webkit.org/show_bug.cgi?id=112972

Reviewed by Adam Barth.

Source/WebCore:

Tests: fast/workers/shared-worker-storagequota-query-usage.html
       fast/workers/worker-storagequota-query-usage.html

* Modules/quota/WorkerNavigatorStorageQuota.cpp: Added.
* Modules/quota/WorkerNavigatorStorageQuota.h: Added.
* Modules/quota/WorkerNavigatorStorageQuota.idl: Added.
* WebCore.gypi: Add entries for WorkerNavigatorStorageQuota.
* page/WorkerNavigator.h: Add a Navigator supplement that extends the worker navigator.

LayoutTests:

* fast/workers/resources/shared-worker-common.js:
(handleMessage): Allow port to be dynamically discovered from self.
* fast/workers/resources/storagequota-query-usage.js: Added.
(worker.onmessage):
* fast/workers/resources/worker-storagequota-query-usage.js: Added.
(requestUsage.errorCallback):
(requestUsage.usageCallback):
(requestUsage):
* fast/workers/shared-worker-storagequota-query-usage-expected.txt: Added.
* fast/workers/shared-worker-storagequota-query-usage.html: Added.
* fast/workers/worker-storagequota-query-usage-expected.txt: Added.
* fast/workers/worker-storagequota-query-usage.html: Added.

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

7 years agoCSP 1.1: Rename SecurityPolicyViolationEvent::sourceURL to ::sourceFile.
mkwst@chromium.org [Mon, 25 Mar 2013 13:39:41 +0000 (13:39 +0000)]
CSP 1.1: Rename SecurityPolicyViolationEvent::sourceURL to ::sourceFile.
https://bugs.webkit.org/show_bug.cgi?id=113033

Reviewed by Jochen Eisinger.

Source/WebCore:

Bringing our experimental implementation into line with the spec, which
has landed on the de facto standard name Gecko has been sending out for
years and years.

Spec: https://dvcs.w3.org/hg/content-security-policy/rev/e44f4003e158
Thread: http://lists.w3.org/Archives/Public/public-webappsec/2013Mar/0087.html

* dom/SecurityPolicyViolationEvent.h:
(SecurityPolicyViolationEventInit):
(WebCore::SecurityPolicyViolationEvent::sourceFile):
(WebCore::SecurityPolicyViolationEvent::SecurityPolicyViolationEvent):
(SecurityPolicyViolationEvent):
* dom/SecurityPolicyViolationEvent.idl:
* page/ContentSecurityPolicy.cpp:
(WebCore::gatherSecurityPolicyViolationEventData):
    s/sourceURL/sourceFile/

LayoutTests:

* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt:
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics.html:
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image-expected.txt:
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image-from-script-expected.txt:
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image-from-script.html:
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image.html:
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image-expected.txt:
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image-from-script-expected.txt:
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image-from-script.html:
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image.html:

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

7 years ago[CSS Filters] Using negative drop-shadow radius values has slow performance
michelangelo@webkit.org [Mon, 25 Mar 2013 13:10:13 +0000 (13:10 +0000)]
[CSS Filters] Using negative drop-shadow radius values has slow performance
https://bugs.webkit.org/show_bug.cgi?id=107848

Source/WebCore:

Setting negative blur radius values in drop-shadow() and box-shadow() led to
significant rendering performance loss. The invalid value overflowed and the
embedder became unresponsive for few seconds.
This impacted SVG too (SVGFEDropShadow and SVGFEGaussianBlur).

Reviewed by Dirk Schulze.

Tests: css3/filters/effect-drop-shadow-negative-radius.html
       fast/box-shadow/box-shadow-parsing-invalid.html
       svg/filters/feDropShadow-negative-deviation-expected.svg
       svg/filters/feDropShadow-negative-deviation.svg
       svg/filters/feDropShadow-zero-deviation.svg
       svg/filters/feGaussianBlur-negative-deviation-expected.svg
       svg/filters/feGaussianBlur-negative-deviation.svg
       svg/filters/feGaussianBlur-zero-deviation.svg

* css/CSSParser.cpp:
(WebCore::CSSParser::parseShadow): Negative values are skipped during parsing: as per
CSS Background and Borders specs, negative values shall not be allowed.
* platform/graphics/filters/FEGaussianBlur.cpp:
(WebCore::FEGaussianBlur::calculateUnscaledKernelSize): Added "non-negative" assertion for
negative deviations.
* svg/SVGFEDropShadowElement.cpp:
(WebCore::SVGFEDropShadowElement::build): If a negative standard deviation is encountered, don't
build the filter and returns earlier, this avoids unnecessary calls: FEGaussianBlur is not being
created with wrong and potentially overflowing values.
* svg/SVGFEGaussianBlurElement.cpp:
(WebCore::SVGFEGaussianBlurElement::build): Ditto.

LayoutTests:

Added a whole set of new tests for both CSS and SVG to assess the correctness of
blur(), drop-shadow() and box-shadow() blur radius values.

Reviewed by Dirk Schulze.

* css3/filters/effect-drop-shadow-negative-radius-expected.html: Added.
* css3/filters/effect-drop-shadow-negative-radius.html: Added.
* css3/filters/filter-property-parsing-invalid-expected.txt:
* css3/filters/script-tests/filter-property-parsing-invalid.js:
* fast/box-shadow/box-shadow-parsing-invalid-expected.txt: Added.
* fast/box-shadow/box-shadow-parsing-invalid.html: Added.
* fast/box-shadow/script-tests/box-shadow-parsing-invalid.js: Added.
(testInvalidFilterRule):
* platform/chromium/svg/filters/feDropShadow-zero-deviation-expected.png: Added.
* platform/chromium/svg/filters/feDropShadow-zero-deviation-expected.txt: Added.
* platform/chromium/svg/filters/feGaussianBlur-zero-deviation-expected.png: Added.
* platform/chromium/svg/filters/feGaussianBlur-zero-deviation-expected.txt: Added.
* platform/mac/svg/filters/feDropShadow-zero-deviation-expected.png: Added.
* platform/mac/svg/filters/feDropShadow-zero-deviation-expected.txt: Added.
* platform/mac/svg/filters/feGaussianBlur-zero-deviation-expected.png: Added.
* platform/mac/svg/filters/feGaussianBlur-zero-deviation-expected.txt: Added.
* svg/filters/feDropShadow-negative-deviation-expected.svg: Added.
* svg/filters/feDropShadow-negative-deviation.svg: Added.
* svg/filters/feDropShadow-zero-deviation.svg: Added.
* svg/filters/feGaussianBlur-negative-deviation-expected.svg: Added.
* svg/filters/feGaussianBlur-negative-deviation.svg: Added.
* svg/filters/feGaussianBlur-zero-deviation.svg: Added.

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

7 years ago[Qt] REGRESSION(r146630): 8 text related test asserts on debug builds
allan.jensen@digia.com [Mon, 25 Mar 2013 13:06:57 +0000 (13:06 +0000)]
[Qt] REGRESSION(r146630): 8 text related test asserts on debug builds
https://bugs.webkit.org/show_bug.cgi?id=113179

Reviewed by Jocelyn Turcotte.

Test if range.start is within the valid range before testing the value at that point.

* platform/graphics/qt/FontQt.cpp:
(WebCore::Font::initFormatForTextLayout):

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

7 years agoWeb Inspector: Properly handle the rule addition to an XML or SVG document.
apavlov@chromium.org [Mon, 25 Mar 2013 12:55:30 +0000 (12:55 +0000)]
Web Inspector: Properly handle the rule addition to an XML or SVG document.
https://bugs.webkit.org/show_bug.cgi?id=113185

Reviewed by Pavel Feldman.

* inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::viaInspectorStyleSheet):

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

7 years agoWeb Inspector: support changing local variables in frontend
commit-queue@webkit.org [Mon, 25 Mar 2013 12:38:46 +0000 (12:38 +0000)]
Web Inspector: support changing local variables in frontend
https://bugs.webkit.org/show_bug.cgi?id=112470

Patch by Peter Rybin <prybin@chromium.org> on 2013-03-25
Reviewed by Yury Semikhatsky.

Source/WebCore:

ScopeRef type is added to RemoteObject and setPropertyValue is patched accordingly.

Test: inspector/debugger/debugger-change-variable.html

* inspector/front-end/DebuggerModel.js:
(WebInspector.DebuggerModel.CallFrame.prototype.get id):
* inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.FunctionScopeMainTreeElement.prototype.onpopulate.didGetDetails):
(WebInspector.FunctionScopeMainTreeElement.prototype.onpopulate):
* inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject):
(WebInspector.RemoteObject.fromScopePayload):
(WebInspector.RemoteObject.prototype.):
(WebInspector.RemoteObject.prototype.setPropertyValue):
(WebInspector.RemoteObject.prototype.setVariableValueCallback):
(WebInspector.RemoteObject.prototype._setDeclarativeVariableValue):
(WebInspector.ScopeRef):
* inspector/front-end/ScopeChainSidebarPane.js:
(WebInspector.ScopeChainSidebarPane.prototype.update):

LayoutTests:

* inspector/debugger/debugger-change-variable-expected.txt: Added.
* inspector/debugger/debugger-change-variable.html: Added.
* platform/chromium/inspector/debugger/debugger-change-variable-expected.txt: Added.

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

7 years agoCSP 1.1: Strip URLs in SecurityPolicyViolationEvents, just as we do for POSTed violat...
mkwst@chromium.org [Mon, 25 Mar 2013 12:20:23 +0000 (12:20 +0000)]
CSP 1.1: Strip URLs in SecurityPolicyViolationEvents, just as we do for POSTed violation reports.
https://bugs.webkit.org/show_bug.cgi?id=113039

Reviewed by Jochen Eisinger.

Source/WebCore:

I'd originally assumed that we didn't need to be quite so careful when
handing URLs to JavaScript via SecurityPolicyViolationEvents. This was
a mistake. Cross-origin URLs aren't accessible to JavaScript currently
and there's no reason that we should begin exposing them via an event.

This patch extracts the stripping logic from the existing reports into
stripURLForUseInReport(), and uses that new method when populating the
event and report objects.

Relatedly, we were doing the wrong thing with 'file:' URLs, which this
patch made clear. Now they're treated the same as 'data:' et al.

Spec: https://dvcs.w3.org/hg/content-security-policy/rev/45f6ccaba0ef

Tests: http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image-from-script.html
       http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image.html
       http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image-from-script.html
       http/tests/security/contentSecurityPolicy/report-blocked-file-uri.html

* page/ContentSecurityPolicy.cpp:
(WebCore::stripURLForUseInReport):
    Extract the logic from blockedURI out into a reusable method:
    cross-origin URLs are stripped down to the ASCII serialization of
    their origin, and non-heirarchical (and 'file:') URLs are stripped
    down to the ASCII serialization of their protocol.
(WebCore::gatherSecurityPolicyViolationEventData):
(WebCore::ContentSecurityPolicy::reportViolation):
    Use ::stripURLForUseInReport for blockedURL and sourceFile
    attributes in these two methods.

LayoutTests:

* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image-expected.txt.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image-from-script-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image-expected.txt.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image-from-script.html: Added.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-cross-origin-image.html: Added.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image-expected.txt:
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image-from-script-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image-expected.txt.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image-from-script.html: Added.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-block-image.html:
* http/tests/security/contentSecurityPolicy/resources/securitypolicyviolation-test.js: Added.
    Updating tests to cover cross-origin scenarios: load cross-origin
    images, and cross-origin scripts that inject images. The former
    should strip the image URL down to the origin, the latter the
    script URL.
* http/tests/security/contentSecurityPolicy/report-blocked-file-uri-expected.txt: Added.
* http/tests/security/contentSecurityPolicy/report-blocked-file-uri.html: Added.
* platform/chromium/http/tests/security/contentSecurityPolicy/report-blocked-file-uri-expected.txt: Added.
* platform/gtk/http/tests/security/contentSecurityPolicy/report-blocked-file-uri-expected.txt: Added.
    This patch changes the behavior of 'file:' URLs to behave similarly
    to 'data:'/'blob:', etc. We weren't previously testing this, now we
    are. We need platform-specific results for Chromium and GTK, since
    those ports have enabled CSP_NEXT, which adds a field to the report.

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

7 years agoWeb Inspector: Fix JSDocs.
eustas@chromium.org [Mon, 25 Mar 2013 11:35:11 +0000 (11:35 +0000)]
Web Inspector: Fix JSDocs.
https://bugs.webkit.org/show_bug.cgi?id=113025

Reviewed by Pavel Feldman.

Next version of JS compiler finds more inconsistencies
and ambiguous declarations.
Some of them are resolved in this patch.

* inspector/InjectedScriptSource.js: Fix JSDocs.
* inspector/front-end/ConsoleModel.js: Ditto.
* inspector/front-end/CookieParser.js: Ditto.
* inspector/front-end/FileContentView.js: Ditto.
* inspector/front-end/HeapSnapshotView.js: Ditto.
* inspector/front-end/IndexedDBModel.js: Ditto.
* inspector/front-end/ProfilesPanelDescriptor.js: Ditto.
* inspector/front-end/utilities.js: Ditto.

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

7 years ago[Qt] Unreviewed gardening. Making pixel test bot happier after r146206.
zarvai@inf.u-szeged.hu [Mon, 25 Mar 2013 11:30:34 +0000 (11:30 +0000)]
[Qt] Unreviewed gardening. Making pixel test bot happier after r146206.

* platform/qt/fast/frames/flattening/frameset-flattening-grid-expected.png:
* platform/qt/fast/frames/flattening/frameset-flattening-simple-expected.png:
* platform/qt/fast/frames/flattening/frameset-flattening-subframe-resize-expected.png:
* platform/qt/fast/frames/flattening/iframe-flattening-fixed-height-expected.png:
* platform/qt/fast/frames/flattening/iframe-flattening-fixed-width-and-height-expected.png:
* platform/qt/fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling-expected.png:
* platform/qt/fast/frames/flattening/iframe-flattening-fixed-width-expected.png:
* platform/qt/fast/frames/flattening/iframe-flattening-offscreen-expected.png:
* platform/qt/fast/frames/flattening/iframe-flattening-out-of-view-expected.png:
* platform/qt/fast/frames/flattening/iframe-flattening-simple-expected.png:
* platform/qt/fast/frames/frame-scrolling-attribute-expected.png:
* platform/qt/fast/frames/frameset-style-recalc-expected.png:
* platform/qt/fast/frames/iframe-scrolling-attribute-expected.png:
* platform/qt/fast/frames/iframe-with-frameborder-expected.png:
* platform/qt/fast/frames/viewsource-attribute-expected.png:
* platform/qt/fast/gradients/background-clipped-expected.png:
* platform/qt/fast/gradients/border-image-gradient-sides-and-corners-expected.png:
* platform/qt/fast/gradients/crash-on-zero-radius-expected.png:
* platform/qt/fast/gradients/radial-centered-expected.png:
* platform/qt/fast/html/details-nested-1-expected.png:
* platform/qt/fast/html/details-nested-2-expected.png:
* platform/qt/fast/html/details-writing-mode-expected.png:
* platform/qt/fast/html/font-weight-bold-for-b-and-strong-expected.png:
* platform/qt/fast/html/link-rel-stylesheet-expected.png:
* platform/qt/fast/html/listing-expected.png:
* platform/qt/fast/html/marquee-scroll-expected.png:
* platform/qt/fast/html/marquee-scrollamount-expected.png:
* platform/qt/fast/images/image-map-anchor-children-expected.png:
* platform/qt/fast/images/imagemap-circle-focus-ring-expected.png:
* platform/qt/fast/images/imagemap-focus-ring-expected.png:
* platform/qt/fast/images/imagemap-focus-ring-outline-color-expected.png:
* platform/qt/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png:
* platform/qt/fast/images/imagemap-focus-ring-zoom-expected.png:
* platform/qt/fast/images/imagemap-polygon-focus-ring-expected.png:
* platform/qt/fast/inline-block/001-expected.png:
* platform/qt/fast/inline-block/002-expected.png:
* platform/qt/fast/inline-block/003-expected.png:
* platform/qt/fast/inline-block/006-expected.png:
* platform/qt/fast/inline-block/14498-positionForCoordinates-expected.png:
* platform/qt/fast/inline-block/contenteditable-baseline-expected.png:
* platform/qt/fast/inline-block/tricky-baseline-expected.png:
* platform/qt/fast/inline/25277-2-expected.png:
* platform/qt/fast/inline/25277-expected.png:
* platform/qt/fast/inline/continuation-outlines-with-layers-2-expected.png:
* platform/qt/fast/inline/drawStyledEmptyInlines-expected.png:
* platform/qt/fast/inline/drawStyledEmptyInlinesWithWS-expected.png:
* platform/qt/fast/inline/emptyInlinesWithinLists-expected.png:
* platform/qt/fast/inline/inline-continuation-borders-expected.png:
* platform/qt/fast/inline/inline-focus-ring-expected.png:
* platform/qt/fast/inline/inline-text-quirk-bpm-expected.png:
* platform/qt/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.png:
* platform/qt/fast/inline/long-wrapped-line-expected.png:
* platform/qt/fast/inline/nested-top-alignment-expected.png:
* platform/qt/fast/inline/vertical-align-text-bottom-expected.png:
* platform/qt/fast/invalid/003-expected.png:
* platform/qt/fast/invalid/004-expected.png:
* platform/qt/fast/invalid/010-expected.png:
* platform/qt/fast/invalid/014-expected.png:
* platform/qt/fast/invalid/016-expected.png:
* platform/qt/fast/invalid/019-expected.png:
* platform/qt/fast/invalid/021-expected.png:
* platform/qt/fast/invalid/missing-address-end-tag-expected.png:
* platform/qt/fast/invalid/missing-dl-end-tag-expected.png:
* platform/qt/fast/invalid/missing-dt-end-tag-expected.png:
* platform/qt/fast/invalid/missing-font-end-tag-expected.png:
* platform/qt/fast/invalid/nestedh3s-expected.png:
* platform/qt/fast/invalid/td-inside-object-expected.png:
* platform/qt/fast/layers/inline-dirty-z-order-lists-expected.png:
* platform/qt/fast/layers/opacity-transforms-expected.png:
* platform/qt/fast/layers/remove-only-this-layer-update-expected.png:
* platform/qt/fast/line-grid/line-align-left-edges-expected.png:
* platform/qt/fast/line-grid/line-align-right-edges-expected.png:
* platform/qt/fast/line-grid/line-grid-floating-expected.png:
* platform/qt/fast/line-grid/line-grid-into-floats-expected.png:
* platform/qt/fast/line-grid/line-grid-positioned-expected.png:
* platform/qt/fast/lists/001-expected.png:
* platform/qt/fast/lists/001-vertical-expected.png:
* platform/qt/fast/lists/002-expected.png:
* platform/qt/fast/lists/002-vertical-expected.png:
* platform/qt/fast/lists/007-expected.png:
* platform/qt/fast/lists/007-vertical-expected.png:
* platform/qt/fast/lists/008-expected.png:
* platform/qt/fast/lists/008-vertical-expected.png:
* platform/qt/fast/lists/anonymous-items-expected.png:
* platform/qt/fast/lists/big-list-marker-expected.png:
* platform/qt/fast/lists/li-br-expected.png:
* platform/qt/fast/lists/li-style-alpha-huge-value-crash-expected.png:
* platform/qt/fast/lists/list-item-line-height-expected.png:
* platform/qt/fast/lists/list-style-none-crash-expected.png:
* platform/qt/fast/lists/ol-display-types-expected.png:
* platform/qt/fast/lists/ol-start-parsing-expected.png:
* platform/qt/fast/lists/olstart-expected.png:
* platform/qt/fast/multicol/block-axis-horizontal-bt-expected.png:
* platform/qt/fast/multicol/block-axis-horizontal-tb-expected.png:
* platform/qt/fast/multicol/block-axis-vertical-lr-expected.png:
* platform/qt/fast/multicol/block-axis-vertical-rl-expected.png:
* platform/qt/fast/multicol/client-rects-expected.png:
* platform/qt/fast/multicol/column-break-with-balancing-expected.png:
* platform/qt/fast/multicol/column-count-with-rules-expected.png:
* platform/qt/fast/multicol/float-avoidance-expected.png:
* platform/qt/fast/multicol/float-paginate-complex-expected.png:
* platform/qt/fast/multicol/float-paginate-expected.png:
* platform/qt/fast/multicol/layers-in-multicol-expected.png:
* platform/qt/fast/multicol/margin-collapse-expected.png:
* platform/qt/fast/multicol/max-height-columns-block-expected.png:
* platform/qt/fast/multicol/overflow-across-columns-expected.png:
* platform/qt/fast/multicol/overflow-unsplittable-expected.png:
* platform/qt/fast/multicol/paginate-block-replaced-expected.png:
* platform/qt/fast/multicol/positioned-split-expected.png:
* platform/qt/fast/multicol/positive-leading-expected.png:
* platform/qt/fast/multicol/progression-reverse-expected.png:
* platform/qt/fast/multicol/shadow-breaking-expected.png:
* platform/qt/fast/multicol/span/anonymous-before-child-parent-crash-expected.png:
* platform/qt/fast/multicol/span/anonymous-split-block-crash-expected.png:
* platform/qt/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png:
* platform/qt/fast/multicol/span/span-as-nested-inline-block-child-expected.png:
* platform/qt/fast/multicol/table-margin-collapse-expected.png:
* platform/qt/fast/multicol/table-vertical-align-expected.png:
* platform/qt/fast/multicol/unsplittable-inline-block-expected.png:
* platform/qt/fast/multicol/vertical-lr/column-break-with-balancing-expected.png:
* platform/qt/fast/multicol/vertical-lr/column-count-with-rules-expected.png:
* platform/qt/fast/multicol/vertical-lr/float-multicol-expected.png:
* platform/qt/fast/multicol/vertical-lr/float-paginate-expected.png:
* platform/qt/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png:
* platform/qt/fast/multicol/vertical-rl/column-break-with-balancing-expected.png:
* platform/qt/fast/multicol/vertical-rl/column-count-with-rules-expected.png:
* platform/qt/fast/multicol/vertical-rl/float-multicol-expected.png:
* platform/qt/fast/multicol/vertical-rl/float-paginate-expected.png:
* platform/qt/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png:
* platform/qt/fast/overflow/001-expected.png:
* platform/qt/fast/overflow/002-expected.png:
* platform/qt/fast/overflow/003-expected.png:
* platform/qt/fast/overflow/004-expected.png:
* platform/qt/fast/overflow/007-expected.png:
* platform/qt/fast/overflow/008-expected.png:
* platform/qt/fast/overflow/dynamic-hidden-expected.png:
* platform/qt/fast/overflow/float-in-relpositioned-expected.png:
* platform/qt/fast/overflow/hidden-scrollbar-resize-expected.png:
* platform/qt/fast/overflow/line-clamp-expected.png:
* platform/qt/fast/overflow/overflow-auto-table-expected.png:
* platform/qt/fast/overflow/overflow-float-stacking-expected.png:
* platform/qt/fast/overflow/overflow-focus-ring-expected.png:
* platform/qt/fast/overflow/overflow-rtl-vertical-expected.png:
* platform/qt/fast/overflow/overflow-stacking-expected.png:
* platform/qt/fast/overflow/paged-x-div-with-column-gap-expected.png:
* platform/qt/fast/overflow/position-fixed-transform-clipping-expected.png:
* platform/qt/fast/overflow/scrollbar-position-update-expected.png:
* platform/qt/fast/overflow/table-overflow-float-expected.png:
* platform/qt/fast/overflow/trailing-float-linebox-expected.png:
* platform/qt/fast/parser/001-expected.png:
* platform/qt/fast/parser/broken-comments-vs-parsing-mode-expected.png:
* platform/qt/fast/parser/entity-comment-in-style-expected.png:
* platform/qt/fast/parser/nofoo-tags-inside-paragraph-expected.png:
* platform/qt/fast/parser/open-comment-in-style-expected.png:
* platform/qt/fast/reflections/inline-crash-expected.png:
* platform/qt/fast/reflections/opacity-reflection-transform-expected.png:
* platform/qt/fast/reflections/reflection-masks-expected.png:
* platform/qt/fast/reflections/reflection-masks-opacity-expected.png:
* platform/qt/fast/reflections/reflection-masks-outset-expected.png:
* platform/qt/fast/reflections/reflection-nesting-expected.png:
* platform/qt/fast/reflections/reflection-overflow-hidden-expected.png:
* platform/qt/fast/regions/flow-content-basic-expected.png:
* platform/qt/fast/regions/flow-content-basic-vertical-expected.png:
* platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.png:
* platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png:
* platform/qt/fast/regions/overflow-in-uniform-regions-dynamic-expected.png:
* platform/qt/fast/regions/overflow-in-variable-width-regions-expected.png:
* platform/qt/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png:
* platform/qt/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.png:
* platform/qt/fast/regions/overflow-rtl-in-variable-width-regions-expected.png:
* platform/qt/fast/regions/overflow-size-change-in-variable-width-regions-expected.png:
* platform/qt/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.png:
* platform/qt/fast/regions/region-style-block-background-color-expected.png:
* platform/qt/fast/regions/region-style-block-background-color2-expected.png:
* platform/qt/fast/regions/text-region-split-small-pagination-expected.png:
* platform/qt/fast/regions/top-overflow-out-of-second-region-expected.png:
* platform/qt/fast/regions/webkit-flow-double-pagination-float-push-expected.png:
* platform/qt/fast/regions/webkit-flow-float-pushed-to-last-region-expected.png:
* platform/qt/fast/regions/webkit-flow-float-unable-to-push-expected.png:
* platform/qt/fast/regions/webkit-flow-floats-inside-regions-bounds-expected.png:
* platform/qt/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.png:
* platform/qt/fast/repaint/background-misaligned-expected.png:
* platform/qt/fast/repaint/block-layout-inline-children-replaced-expected.png:
* platform/qt/fast/repaint/focus-layers-expected.png:
* platform/qt/fast/repaint/scale-page-shrink-expected.png:
* platform/qt/fast/repaint/transform-absolute-child-expected.png:
* platform/qt/fast/repaint/transform-absolute-in-positioned-container-expected.png:
* platform/qt/fast/repaint/transform-relative-position-expected.png:
* platform/qt/fast/repaint/transform-replaced-shadows-expected.png:
* platform/qt/fast/replaced/004-expected.png:
* platform/qt/fast/replaced/absolute-position-percentage-height-expected.png:
* platform/qt/fast/replaced/absolute-position-with-auto-height-and-top-and-bottom-expected.png:
* platform/qt/fast/replaced/absolute-position-with-auto-width-and-left-and-right-expected.png:
* platform/qt/fast/replaced/applet-display-none-expected.png:
* platform/qt/fast/replaced/image-resize-width-expected.png:

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

7 years agoCleanup: Tiny nits in ContentSecurityPolicy::reportViolation.
mkwst@chromium.org [Mon, 25 Mar 2013 11:05:08 +0000 (11:05 +0000)]
Cleanup: Tiny nits in ContentSecurityPolicy::reportViolation.
https://bugs.webkit.org/show_bug.cgi?id=112784

Reviewed by Jochen Eisinger.

Just cleanup of three tiny nits I ran across in
ContentSecurityPolicy::reportViolation while doing other work.

- 'directiveText' and 'effectiveDirective' can't be empty; we pass in
  values at every callsite. We can safely remove the 'isEmpty()' checks.
  Moreover, even if they could possibly somehow be empty, we should
  still include those empty strings in the report, rather than
  dropping the values entirely.

- We don't need to hold 'document->referrer()' in a temp variable.

* page/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::reportViolation):

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

7 years agoWeb Inspector: [Overview] Make "drag-to-move" feature more discoverable.
eustas@chromium.org [Mon, 25 Mar 2013 09:50:44 +0000 (09:50 +0000)]
Web Inspector: [Overview] Make "drag-to-move" feature more discoverable.
https://bugs.webkit.org/show_bug.cgi?id=113032

Reviewed by Pavel Feldman.

To move overview window user could drag-n-drop over
time "ribbon" on OverviewGrid.

This feature is hard to discover.

Setting "move" cursor will make this feature more discoverable.

* inspector/front-end/inspectorCommon.css:
Set "move" cursor to draggable area.
* inspector/front-end/OverviewGrid.js: Ditto.

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

7 years agoWeb Inspector: [Profiles] Remove unused private member.
eustas@chromium.org [Mon, 25 Mar 2013 09:33:30 +0000 (09:33 +0000)]
Web Inspector: [Profiles] Remove unused private member.
https://bugs.webkit.org/show_bug.cgi?id=113015

Reviewed by Pavel Feldman.

_profileGroupsForLinks is not used anymore.

* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel.prototype._reset): Removed unused member.

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

7 years ago[Qt] Unreviewed gardneing. Skip two tests, because they are failing with timed out.
kadam@inf.u-szeged.hu [Mon, 25 Mar 2013 09:33:14 +0000 (09:33 +0000)]
[Qt] Unreviewed gardneing. Skip two tests, because they are failing with timed out.

* platform/qt/TestExpectations:

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

7 years agoMark fast/css/font-family-pictograph.html as flaky on Linux
yurys@chromium.org [Mon, 25 Mar 2013 09:01:03 +0000 (09:01 +0000)]
Mark fast/css/font-family-pictograph.html as flaky on Linux

* platform/chromium/TestExpectations:

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

7 years agoWeb Inspector: Exception when turning on pretty print without any displayed source...
commit-queue@webkit.org [Mon, 25 Mar 2013 08:55:24 +0000 (08:55 +0000)]
Web Inspector: Exception when turning on pretty print without any displayed source in the editor
https://bugs.webkit.org/show_bug.cgi?id=113136

Patch by PhistucK <phistuck@chromium.org> on 2013-03-25
Reviewed by Vsevolod Vlasov.

No new tests.
Added a check for the existence of currently edited document.

* inspector/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._toggleFormatSource):

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

7 years ago[CSSRegions] Remove RenderRegion::printRegionObjectsStyles
mihnea@adobe.com [Mon, 25 Mar 2013 08:47:20 +0000 (08:47 +0000)]
[CSSRegions] Remove RenderRegion::printRegionObjectsStyles
https://bugs.webkit.org/show_bug.cgi?id=113081

Reviewed by Tony Chang.

No change in functionality, remove unused function..

* rendering/RenderRegion.h:

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

7 years ago[Texmap] Memory leak when closing a tab
commit-queue@webkit.org [Mon, 25 Mar 2013 08:45:30 +0000 (08:45 +0000)]
[Texmap] Memory leak when closing a tab
https://bugs.webkit.org/show_bug.cgi?id=112127

Patch by Hurnjoo Lee <hurnjoo.lee@samsung.com> on 2013-03-25
Reviewed by Noam Rosenthal.

When closing a tab, if there are any updates pending in CoordinatedGraphicsScene's
render queue, the scene is not freed because reference count of m_scene is not zero.

No new tests.

* platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
(WebCore::CoordinatedGraphicsScene::detach): When bind updates in CoordinatedGraphicsScene,
the reference count of m_scene is increasing, if m_renderQueue is not empty
before closing tab, then m_scene is never freed.
Hence, when closing tab, need to clear m_renderQueue explicitly in order to
destroy m_scene.

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

7 years agoClear button visibility is not updated when restoring form state
keishi@webkit.org [Mon, 25 Mar 2013 08:21:34 +0000 (08:21 +0000)]
Clear button visibility is not updated when restoring form state
https://bugs.webkit.org/show_bug.cgi?id=113172

Source/WebCore:

Clear button wasn't showing up when restoring form state.

Reviewed by Kent Tamura.

Tests: fast/forms/date-multiple-fields/date-multiple-fields-clearbutton-visibility-after-restore.html
       fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-clearbutton-visibility-after-restore.html
       fast/forms/month-multiple-fields/month-multiple-fields-clearbutton-visibility-after-restore.html
       fast/forms/time-multiple-fields/time-multiple-fields-clearbutton-visibility-after-restore.html
       fast/forms/week-multiple-fields/week-multiple-fields-clearbutton-visibility-after-restore.html

* html/BaseMultipleFieldsDateAndTimeInputType.cpp:
(WebCore::BaseMultipleFieldsDateAndTimeInputType::restoreFormControlState):

LayoutTests:

Reviewed by Kent Tamura.

* fast/forms/date-multiple-fields/date-multiple-fields-clearbutton-visibility-after-restore-expected.html: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-clearbutton-visibility-after-restore.html: Added.
* fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-clearbutton-visibility-after-restore-expected.html: Added.
* fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-clearbutton-visibility-after-restore.html: Added.
* fast/forms/month-multiple-fields/month-multiple-fields-clearbutton-visibility-after-restore-expected.html: Added.
* fast/forms/month-multiple-fields/month-multiple-fields-clearbutton-visibility-after-restore.html: Added.
* fast/forms/time-multiple-fields/time-multiple-fields-clearbutton-visibility-after-restore-expected.html: Added.
* fast/forms/time-multiple-fields/time-multiple-fields-clearbutton-visibility-after-restore.html: Added.
* fast/forms/week-multiple-fields/week-multiple-fields-clearbutton-visibility-after-restore-expected.html: Added.
* fast/forms/week-multiple-fields/week-multiple-fields-clearbutton-visibility-after-restore.html: Added.

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

7 years agoWeb Inspector: [Settings] Use registry to track settings objects.
eustas@chromium.org [Mon, 25 Mar 2013 07:45:45 +0000 (07:45 +0000)]
Web Inspector: [Settings] Use registry to track settings objects.
https://bugs.webkit.org/show_bug.cgi?id=113008

Reviewed by Pavel Feldman.

Currently .createSetting creates new instance any time it is invoked.
When one instance saves value, the other instance do not know about it.

To resolve this issue we can use registry to make .createSetting return
same object for specific key.

* inspector/front-end/Settings.js:
(WebInspector.Settings.prototype.createSetting): Use registry.

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

7 years agoRefactoring: Pull Node::disabled() and Node::isInert() down to Element.
falken@chromium.org [Mon, 25 Mar 2013 04:58:36 +0000 (04:58 +0000)]
Refactoring: Pull Node::disabled() and Node::isInert() down to Element.
https://bugs.webkit.org/show_bug.cgi?id=112085

Reviewed by Hajime Morrita.

Node is too low a level for these methods. The plan is to rename
Element::disabled to isDisabledFormControl and to remove
Element::isEnabledFormControl.

No new tests, just refactoring.

* dom/Element.cpp:
(WebCore::Element::disabled):
(WebCore):
(WebCore::Element::isInert):
* dom/Element.h:
(Element):
* dom/EventDispatcher.cpp:
(WebCore::EventDispatcher::dispatchSimulatedClick):
* dom/GestureEvent.cpp:
(WebCore::GestureEventDispatchMediator::dispatchEvent):
* dom/MouseEvent.cpp:
(WebCore::MouseEventDispatchMediator::dispatchEvent):
* dom/Node.cpp:
(WebCore::Node::handleLocalEvents):
(WebCore::Node::willRespondToMouseMoveEvents):
(WebCore::Node::willRespondToMouseClickEvents):
(WebCore::Node::willRespondToTouchEvents):
* dom/Node.h:
(Node):

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

7 years ago[chromium] Mark canvas-toDataURL-webp.html imageOnlyFailure
noel.gordon@gmail.com [Mon, 25 Mar 2013 04:27:54 +0000 (04:27 +0000)]
[chromium] Mark canvas-toDataURL-webp.html imageOnlyFailure
https://bugs.webkit.org/show_bug.cgi?id=113169

Unreviewed test expectations update.

Start generating test images on the bots now that libwebp 0.3.0
has landed in chromium webkit.

* platform/chromium/TestExpectations:

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

7 years ago[chromium] fast/text/international/danda-space.html is failing
noel.gordon@gmail.com [Mon, 25 Mar 2013 03:55:04 +0000 (03:55 +0000)]
[chromium] fast/text/international/danda-space.html is failing
https://bugs.webkit.org/show_bug.cgi?id=113169

Unreviewed test expectations update.

* platform/chromium/TestExpectations:

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

7 years ago[l10n] Updated Polish translation of WebKitGTK+
kov@webkit.org [Mon, 25 Mar 2013 02:14:02 +0000 (02:14 +0000)]
[l10n] Updated Polish translation of WebKitGTK+
https://bugs.webkit.org/show_bug.cgi?id=113113

Patch by Piotr Drąg <piotrdrag@gmail.com> on 2013-03-24
Reviewed by Gustavo Noronha Silva (kov).

* pl.po: updated translation.

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

7 years ago[chromium] Roll chromium deps to 190311.
danakj@chromium.org [Mon, 25 Mar 2013 01:57:48 +0000 (01:57 +0000)]
[chromium] Roll chromium deps to 190311.
https://bugs.webkit.org/show_bug.cgi?id=113161

Unreviewed, rolling deps.

* DEPS:

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

7 years ago[Shadow] Add a test of insertionParent for <shadow> element.
hayato@chromium.org [Mon, 25 Mar 2013 00:38:32 +0000 (00:38 +0000)]
[Shadow] Add a test of insertionParent for <shadow> element.
https://bugs.webkit.org/show_bug.cgi?id=113021

Reviewed by Dimitri Glazkov.

* fast/dom/shadow/insertion-parent-shadow-expected.txt: Added.
* fast/dom/shadow/insertion-parent-shadow.html: Added.

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

7 years agoGIFImageReader should reports parsing error to client
hclam@chromium.org [Mon, 25 Mar 2013 00:36:12 +0000 (00:36 +0000)]
GIFImageReader should reports parsing error to client
https://bugs.webkit.org/show_bug.cgi?id=113141

Reviewed by Stephen White.

Source/WebCore:

GIFImageReader nows reports parsing error to client (GIFImageDecoder) such that errors can be handled.
In the case of corrupted GIF images GIFImageReader will be deleted and decoding will fail.

Unit test is updated to reflect change in behavior.
Tested with a local corpus which showed better handling of corrupted GIF images.

* platform/image-decoders/gif/GIFImageReader.cpp:
(GIFImageReader::decode):

Source/WebKit/chromium:

Updated unit test that runs on a broken GIF image file, decoding should fail.

* tests/GIFImageDecoderTest.cpp:
(WebKit::TEST):

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

7 years ago[chromium] Wire windows scrollByPage enum up to compositor thread input handling
jamesr@google.com [Sun, 24 Mar 2013 23:37:24 +0000 (23:37 +0000)]
[chromium] Wire windows scrollByPage enum up to compositor thread input handling
https://bugs.webkit.org/show_bug.cgi?id=113117

Reviewed by Adrienne Walker.

Source/Platform:

* chromium/public/WebInputHandlerClient.h:

Source/WebKit/chromium:

* src/WebCompositorInputHandlerImpl.cpp:
(WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
* tests/WebCompositorInputHandlerImplTest.cpp:
(MockWebInputHandlerClient):

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

7 years agoUnreviewed. Rolled Chromium DEPS to r190276. Requested by
commit-queue@webkit.org [Sun, 24 Mar 2013 23:15:56 +0000 (23:15 +0000)]
Unreviewed.  Rolled Chromium DEPS to r190276.  Requested by
"Dana Jansens" <danakj@chromium.org> via sheriffbot.

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-24

* DEPS:

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

7 years agoHandleSet should use HeapBlocks for storing handles
mhahnenberg@apple.com [Sun, 24 Mar 2013 22:45:36 +0000 (22:45 +0000)]
HandleSet should use HeapBlocks for storing handles
https://bugs.webkit.org/show_bug.cgi?id=113145

Reviewed by Geoffrey Garen.

* GNUmakefile.list.am: Build project changes.
* JavaScriptCore.gypi: Ditto.
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Ditto.
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: Ditto.
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters: Ditto.
* JavaScriptCore.xcodeproj/project.pbxproj: Ditto.
* heap/BlockAllocator.cpp: Rename the RegionSet to m_fourKBBlockRegionSet because there are
too many block types to include them all in the name now.
(JSC::BlockAllocator::BlockAllocator):
* heap/BlockAllocator.h:
(BlockAllocator): Add the appropriate override for regionSetFor.
(JSC::WeakBlock):
(JSC::MarkStackSegment):
(JSC::HandleBlock):
* heap/HandleBlock.h: Added.
(HandleBlock): New class for HandleBlocks.
(JSC::HandleBlock::blockFor): Static method to get the block of the given HandleNode pointer. Allows
us to quickly figure out which HandleSet the HandleNode belongs to without storing the pointer to it
in the HandleNode.
(JSC::HandleBlock::handleSet): Getter.
* heap/HandleBlockInlines.h: Added.
(JSC::HandleBlock::create):
(JSC::HandleBlock::HandleBlock):
(JSC::HandleBlock::payloadEnd):
(JSC::HandleBlock::payload):
(JSC::HandleBlock::nodes):
(JSC::HandleBlock::nodeAtIndex):
(JSC::HandleBlock::nodeCapacity):
* heap/HandleSet.cpp:
(JSC::HandleSet::~HandleSet):
(JSC::HandleSet::grow):
* heap/HandleSet.h:
(HandleNode): Move the internal Node class from HandleSet to be its own public class so it can be
used by HandleBlock.
(HandleSet): Add a typedef so that Node refers to the new HandleNode class.
(JSC::HandleSet::toHandle):
(JSC::HandleSet::toNode):
(JSC::HandleSet::allocate):
(JSC::HandleSet::deallocate):
(JSC::HandleNode::HandleNode):
(JSC::HandleNode::slot):
(JSC::HandleNode::handleSet): Use the new blockFor static function to get the right HandleBlock and lookup
the HandleSet.
(JSC::HandleNode::setPrev):
(JSC::HandleNode::prev):
(JSC::HandleNode::setNext):
(JSC::HandleNode::next):
(JSC::HandleSet::forEachStrongHandle):
* heap/Heap.h: Friend HandleSet so that it can access the BlockAllocator when allocating HandleBlocks.

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

7 years ago[EFL] Add support to check for current Drawable.
commit-queue@webkit.org [Sun, 24 Mar 2013 15:57:42 +0000 (15:57 +0000)]
[EFL] Add support to check for current Drawable.
https://bugs.webkit.org/show_bug.cgi?id=113103

Patch by KondapallyKalyan <kalyan.kondapally@intel.com> on 2013-03-24
Reviewed by Kenneth Rohde Christiansen.

Covered by existing WebGL tests.

In MakeCurrent we do an early return if it is
the current GL context but ignore Surface. This
patch fixes the issue, we now check for both
context and surface before doing an early return
in MakeCurrent.

* platform/graphics/opengl/GLPlatformContext.cpp:
(WebCore::GLPlatformContext::makeCurrent):
(WebCore::GLPlatformContext::releaseCurrent):
(WebCore::GLPlatformContext::destroy):
* platform/graphics/opengl/GLPlatformSurface.cpp:
(WebCore):
(WebCore::GLPlatformSurface::isCurrentDrawable):
(WebCore::GLPlatformSurface::onMakeCurrent):
* platform/graphics/opengl/GLPlatformSurface.h:

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

7 years agoBUILD FIX (r146704): Settings::setHiddenPageDOMTimerThrottlingEnabled() isn't always...
ddkilzer@apple.com [Sun, 24 Mar 2013 15:47:46 +0000 (15:47 +0000)]
BUILD FIX (r146704): Settings::setHiddenPageDOMTimerThrottlingEnabled() isn't always built
<http://webkit.org/b/112308>

* WebCore.exp.in: Export
Settings::setHiddenPageDOMTimerThrottlingEnabled()
conditionally based on ENABLE(HIDDEN_PAGE_DOM_TIMER_THROTTLING).

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

7 years ago[EFL] NetworkStateNotifier::updateState() is called too often
ch.dumez@sisa.samsung.com [Sun, 24 Mar 2013 14:43:34 +0000 (14:43 +0000)]
[EFL] NetworkStateNotifier::updateState() is called too often
https://bugs.webkit.org/show_bug.cgi?id=113152

Reviewed by Kenneth Rohde Christiansen.

Wait until we have read all the data on the Netlink socket before
reporting a possible network interface change. This way, we make
sure we don't call NetworkStateNotifier::updateState() several
times in a row for no reason.

We also call NetworkStateNotifier::updateState() only if we get a
RTM_NEWADDR event and we are currently offline, or if we get a
RTM_DELADDR and we are currently online. This avoids calling
NetworkStateNotifier::updateState() uselessly as there is no way
the online state can change otherwise.

No new tests, no behavior change for layout tests.

* platform/network/efl/NetworkStateNotifierEfl.cpp:
(WebCore::NetworkStateNotifier::readSocketCallback):

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

7 years agoAX: Crash in WebCore::AccessibilitySpinButton::incrementButton()
cfleizach@apple.com [Sun, 24 Mar 2013 09:20:01 +0000 (09:20 +0000)]
AX: Crash in WebCore::AccessibilitySpinButton::incrementButton()
https://bugs.webkit.org/show_bug.cgi?id=111582

Reviewed by Tim Horton.

Source/WebCore:

There are two ways to create a spin button: from a textfield counter or from ARIA.
If an ARIA spin button is created, it was returning true for isSpinButton, so we were
casting to the other kind of spin button, leading to a crash.

We need to be more specific about our class types.

Test: platform/mac/accessibility/aria-spinbutton-crash.html

* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::isNativeSpinButton):
* accessibility/AccessibilitySpinButton.h:
(WebCore::AccessibilitySpinButton::isNativeSpinButton):
(WebCore::toAccessibilitySpinButton):
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):

LayoutTests:

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

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

7 years agoAXObjectCache gets recreated during document tear-down.
cfleizach@apple.com [Sun, 24 Mar 2013 07:37:37 +0000 (07:37 +0000)]
AXObjectCache gets recreated during document tear-down.
https://bugs.webkit.org/show_bug.cgi?id=112525

Reviewed by Simon Fraser.

In many cases, a document's AXObjectCache was being created after the
document had detached, which is wasteful and could potentially lead to
crashes because the AXObjectCache has a timer and relies on its document
to exist.

This patch provides a way to get the existing AX object cache, instead of
always creating a new one.
It moves the accessibilityEnabled() checks into the axObjectCache retrieval
for easier readability.
It adds a number of ASSERTs to vieryf that only the correct (top) document is used
for cache manipulation.

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::stopCachingComputedObjectAttributes):
* dom/ContainerNode.cpp:
(WebCore::ContainerNode::~ContainerNode):
* dom/Document.cpp:
(WebCore::Document::~Document):
(WebCore::Document::clearAXObjectCache):
(WebCore::Document::existingAXObjectCache):
(WebCore::Document::axObjectCache):
(WebCore::Document::setFocusedNode):
* dom/Document.h:
(Document):
* dom/Element.cpp:
(WebCore::Element::attributeChanged):
* dom/Node.cpp:
(WebCore::Node::~Node):
(WebCore::Node::isEditableToAccessibility):
(WebCore::Node::attach):
(WebCore::Node::rootEditableElement):
(WebCore::Node::didMoveToNewDocument):
* editing/AppendNodeCommand.cpp:
(WebCore::sendAXTextChangedIgnoringLineBreaks):
* editing/DeleteFromTextNodeCommand.cpp:
(WebCore::DeleteFromTextNodeCommand::doApply):
(WebCore::DeleteFromTextNodeCommand::doUnapply):
* editing/Editor.cpp:
(WebCore::Editor::respondToChangedContents):
(WebCore::Editor::markAndReplaceFor):
* editing/InsertIntoTextNodeCommand.cpp:
(WebCore::InsertIntoTextNodeCommand::doApply):
(WebCore::InsertIntoTextNodeCommand::doUnapply):
* editing/InsertNodeBeforeCommand.cpp:
(WebCore::InsertNodeBeforeCommand::doApply):
(WebCore::InsertNodeBeforeCommand::doUnapply):
* editing/atk/FrameSelectionAtk.cpp:
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
* editing/chromium/FrameSelectionChromium.cpp:
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
* editing/mac/FrameSelectionMac.mm:
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::setChecked):
* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::optionElementChildrenChanged):
(WebCore::HTMLSelectElement::setRecalcListItems):
* html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::setInnerTextValue):
* html/InputType.cpp:
(WebCore::InputType::applyStep):
* html/RangeInputType.cpp:
(WebCore::RangeInputType::handleKeydownEvent):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::prepareForLoadStart):
(WebCore::FrameLoader::checkLoadCompleteForThisFrame):
* page/FocusController.cpp:
(WebCore::FocusController::setInitialFocus):
* page/Frame.cpp:
(WebCore::Frame::disconnectOwnerElement):
* page/FrameView.cpp:
(WebCore::FrameView::removeFromAXObjectCache):
(WebCore::FrameView::layout):
(WebCore::FrameView::scrollToAnchor):
(WebCore::FrameView::axObjectCache):
* platform/ScrollView.cpp:
(WebCore::ScrollView::setHasHorizontalScrollbar):
(WebCore::ScrollView::setHasVerticalScrollbar):
* platform/Scrollbar.cpp:
(WebCore::Scrollbar::~Scrollbar):
(WebCore):
(WebCore::Scrollbar::existingAXObjectCache):
* platform/Scrollbar.h:
(Scrollbar):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::deleteLineBoxTree):
(WebCore::RenderBlock::createRootInlineBox):
(WebCore::RenderBlock::createAndAppendRootInlineBox):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::selectionChanged):
* rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::addChild):
(WebCore::RenderMenuList::didUpdateActiveOption):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::styleWillChange):
(WebCore::RenderObject::willBeDestroyed):
* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::removeChildNode):
(WebCore::RenderObjectChildList::insertChildNode):
* rendering/RenderText.cpp:
(WebCore::RenderText::setText):
* rendering/RenderWidget.cpp:
(WebCore::RenderWidget::willBeDestroyed):

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

7 years agoDrop full URLs from cross-origin access errors caused by sandboxing.
mkwst@chromium.org [Sun, 24 Mar 2013 05:50:43 +0000 (05:50 +0000)]
Drop full URLs from cross-origin access errors caused by sandboxing.
https://bugs.webkit.org/show_bug.cgi?id=113029

Reviewed by Timothy Hatcher.

Source/WebCore:

Following up on http://wkbug.com/112042, this patch brings cross-origin
access error messages into line with the newly origin-only default
message, and changes the error message text to explicitly refer to the
missing 'allow-same-origin' sandbox flag that's the root cause of the
error.

* page/DOMWindow.cpp:
(WebCore::DOMWindow::crossDomainAccessErrorMessage):
    Note that we're using the origin of the frames' URLs rather than
    their actual origin in these messages. This seems like a reasonable
    thing to do, since we know that at least one of the two origins will
    be "null" in this scenario.

LayoutTests:

* http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header-expected.txt:
* http/tests/security/contentSecurityPolicy/sandbox-in-http-header-expected.txt:
* http/tests/security/sandboxed-iframe-blocks-access-from-parent-expected.txt:
* http/tests/security/sandboxed-iframe-origin-add-expected.txt:
* http/tests/security/sandboxed-iframe-origin-remove-expected.txt:
* http/tests/security/xss-DENIED-sandboxed-iframe-expected.txt:
* platform/chromium/http/tests/security/sandboxed-iframe-modify-self-expected.txt:
* platform/chromium/http/tests/security/srcdoc-in-sandbox-cannot-access-parent-expected.txt:

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

7 years agoImplement Web Speech Synthesis for Chromium
dmazzoni@google.com [Sun, 24 Mar 2013 04:48:50 +0000 (04:48 +0000)]
Implement Web Speech Synthesis for Chromium
https://bugs.webkit.org/show_bug.cgi?id=111695

Reviewed by Adam Barth.

Source/Platform:

Exposes a platform API that the embedder can implement to
provide speech synthesis for the Chromium port.

* Platform.gypi:
* chromium/public/Platform.h:
(WebKit):
(Platform):
(WebKit::Platform::speechSynthesizer):
* chromium/public/WebSpeechSynthesisUtterance.h: Added.
(WebKit):
(WebSpeechSynthesisUtterance):
(WebKit::WebSpeechSynthesisUtterance::WebSpeechSynthesisUtterance):
(WebKit::WebSpeechSynthesisUtterance::~WebSpeechSynthesisUtterance):
(WebKit::WebSpeechSynthesisUtterance::operator=):
(WebKit::WebSpeechSynthesisUtterance::isNull):
* chromium/public/WebSpeechSynthesisVoice.h: Added.
(WebCore):
(WebKit):
(WebSpeechSynthesisVoice):
(WebKit::WebSpeechSynthesisVoice::WebSpeechSynthesisVoice):
(WebKit::WebSpeechSynthesisVoice::~WebSpeechSynthesisVoice):
(WebKit::WebSpeechSynthesisVoice::operator=):
* chromium/public/WebSpeechSynthesizer.h: Added.
(WebKit):
(WebSpeechSynthesizer):
(WebKit::WebSpeechSynthesizer::~WebSpeechSynthesizer):
* chromium/public/WebSpeechSynthesizerClient.h: Added.
(WebKit):
(WebSpeechSynthesizerClient):
(WebKit::WebSpeechSynthesizerClient::~WebSpeechSynthesizerClient):

Source/WebCore:

Straightforward implementation of speech synthesis
for Chromium by exposing interfaces for the platform
to implement.

* Modules/speech/SpeechSynthesis.cpp:
(WebCore::SpeechSynthesis::boundaryEventOccurred):
(WebCore::SpeechSynthesis::didStartSpeaking):
(WebCore::SpeechSynthesis::didPauseSpeaking):
(WebCore::SpeechSynthesis::didResumeSpeaking):
(WebCore::SpeechSynthesis::didFinishSpeaking):
(WebCore::SpeechSynthesis::speakingErrorOccurred):
(WebCore):
* Modules/speech/SpeechSynthesis.h:
(SpeechSynthesis):
* Modules/speech/SpeechSynthesisUtterance.cpp:
(WebCore::SpeechSynthesisUtterance::SpeechSynthesisUtterance):
(WebCore):
(WebCore::SpeechSynthesisUtterance::~SpeechSynthesisUtterance):
(WebCore::SpeechSynthesisUtterance::setVoice):
* Modules/speech/SpeechSynthesisUtterance.h:
(SpeechSynthesisUtterance):
(WebCore::SpeechSynthesisUtterance::text):
(WebCore::SpeechSynthesisUtterance::setText):
(WebCore::SpeechSynthesisUtterance::lang):
(WebCore::SpeechSynthesisUtterance::setLang):
(WebCore::SpeechSynthesisUtterance::volume):
(WebCore::SpeechSynthesisUtterance::setVolume):
(WebCore::SpeechSynthesisUtterance::rate):
(WebCore::SpeechSynthesisUtterance::setRate):
(WebCore::SpeechSynthesisUtterance::pitch):
(WebCore::SpeechSynthesisUtterance::setPitch):
(WebCore::SpeechSynthesisUtterance::startTime):
(WebCore::SpeechSynthesisUtterance::setStartTime):
(WebCore::SpeechSynthesisUtterance::platformUtterance):
* Modules/speech/SpeechSynthesisVoice.h:
(WebCore::SpeechSynthesisVoice::~SpeechSynthesisVoice):
* WebCore.exp.in:
* WebCore.gypi:
* platform/PlatformSpeechSynthesis.h:
(PlatformSpeechSynthesis):
* platform/PlatformSpeechSynthesisUtterance.cpp:
(WebCore):
(WebCore::PlatformSpeechSynthesisUtterance::create):
* platform/PlatformSpeechSynthesisUtterance.h:
(PlatformSpeechSynthesisUtterance):
(WebCore::PlatformSpeechSynthesisUtterance::setClient):
* platform/PlatformSpeechSynthesisVoice.cpp:
(WebCore):
(WebCore::PlatformSpeechSynthesisVoice::create):
(WebCore::PlatformSpeechSynthesisVoice::PlatformSpeechSynthesisVoice):
* platform/PlatformSpeechSynthesisVoice.h:
(PlatformSpeechSynthesisVoice):
(WebCore::PlatformSpeechSynthesisVoice::setVoiceURI):
(WebCore::PlatformSpeechSynthesisVoice::setName):
(WebCore::PlatformSpeechSynthesisVoice::setLang):
(WebCore::PlatformSpeechSynthesisVoice::setLocalService):
(WebCore::PlatformSpeechSynthesisVoice::setIsDefault):
* platform/PlatformSpeechSynthesizer.cpp:
(WebCore::PlatformSpeechSynthesizer::create):
(WebCore::PlatformSpeechSynthesizer::setVoiceList):
(WebCore):
* platform/PlatformSpeechSynthesizer.h:
(WebKit):
(PlatformSpeechSynthesizerClient):
(PlatformSpeechSynthesizer):
* platform/chromium/PlatformSpeechSynthesizerChromium.cpp: Added.
(WebCore):
(WebCore::PlatformSpeechSynthesizer::PlatformSpeechSynthesizer):
(WebCore::PlatformSpeechSynthesizer::~PlatformSpeechSynthesizer):
(WebCore::PlatformSpeechSynthesizer::initializeVoiceList):
(WebCore::PlatformSpeechSynthesizer::speak):
(WebCore::PlatformSpeechSynthesizer::pause):
(WebCore::PlatformSpeechSynthesizer::resume):
(WebCore::PlatformSpeechSynthesizer::cancel):
* platform/chromium/support/WebSpeechSynthesisUtterance.cpp: Added.
(WebKit):
(WebKit::WebSpeechSynthesisUtterance::WebSpeechSynthesisUtterance):
(WebKit::WebSpeechSynthesisUtterance::operator=):
(WebKit::WebSpeechSynthesisUtterance::assign):
(WebKit::WebSpeechSynthesisUtterance::reset):
(WebKit::WebSpeechSynthesisUtterance::operator PassRefPtr<PlatformSpeechSynthesisUtterance>):
(WebKit::WebSpeechSynthesisUtterance::operator PlatformSpeechSynthesisUtterance*):
(WebKit::WebSpeechSynthesisUtterance::text):
(WebKit::WebSpeechSynthesisUtterance::lang):
(WebKit::WebSpeechSynthesisUtterance::voice):
(WebKit::WebSpeechSynthesisUtterance::volume):
(WebKit::WebSpeechSynthesisUtterance::rate):
(WebKit::WebSpeechSynthesisUtterance::pitch):
(WebKit::WebSpeechSynthesisUtterance::startTime):
* platform/chromium/support/WebSpeechSynthesisVoice.cpp: Added.
(WebKit):
(WebKit::WebSpeechSynthesisVoice::assign):
(WebKit::WebSpeechSynthesisVoice::reset):
(WebKit::WebSpeechSynthesisVoice::setVoiceURI):
(WebKit::WebSpeechSynthesisVoice::setName):
(WebKit::WebSpeechSynthesisVoice::setLanguage):
(WebKit::WebSpeechSynthesisVoice::setIsLocalService):
(WebKit::WebSpeechSynthesisVoice::setIsDefault):
(WebKit::WebSpeechSynthesisVoice::operator PassRefPtr<WebCore::PlatformSpeechSynthesisVoice>):
* platform/chromium/support/WebSpeechSynthesizerClientImpl.cpp: Added.
(WebCore):
(WebCore::WebSpeechSynthesizerClientImpl::WebSpeechSynthesizerClientImpl):
(WebCore::WebSpeechSynthesizerClientImpl::~WebSpeechSynthesizerClientImpl):
(WebCore::WebSpeechSynthesizerClientImpl::setVoiceList):
(WebCore::WebSpeechSynthesizerClientImpl::didStartSpeaking):
(WebCore::WebSpeechSynthesizerClientImpl::didFinishSpeaking):
(WebCore::WebSpeechSynthesizerClientImpl::didPauseSpeaking):
(WebCore::WebSpeechSynthesizerClientImpl::didResumeSpeaking):
(WebCore::WebSpeechSynthesizerClientImpl::speakingErrorOccurred):
(WebCore::WebSpeechSynthesizerClientImpl::wordBoundaryEventOccurred):
(WebCore::WebSpeechSynthesizerClientImpl::sentenceBoundaryEventOccurred):
* platform/chromium/support/WebSpeechSynthesizerClientImpl.h: Added.
(WebCore):
(WebSpeechSynthesizerClientImpl):
* platform/mac/PlatformSpeechSynthesizerMac.mm:
(-[WebSpeechSynthesisWrapper speakUtterance:WebCore::]):
(-[WebSpeechSynthesisWrapper speechSynthesizer:didFinishSpeaking:]):
(WebCore::PlatformSpeechSynthesizer::PlatformSpeechSynthesizer):
(WebCore):
(WebCore::PlatformSpeechSynthesizer::~PlatformSpeechSynthesizer):
(WebCore::PlatformSpeechSynthesizer::speak):
* platform/mock/PlatformSpeechSynthesizerMock.cpp:
(WebCore::PlatformSpeechSynthesizerMock::PlatformSpeechSynthesizerMock):
(WebCore::PlatformSpeechSynthesizerMock::speakingFinished):
(WebCore::PlatformSpeechSynthesizerMock::speak):
* platform/mock/PlatformSpeechSynthesizerMock.h:
(PlatformSpeechSynthesizerMock):

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

7 years ago[Qt] editing/pasteboard/can-read-in-dragstart-event.html and /can-read-in-copy-and...
dcheng@chromium.org [Sun, 24 Mar 2013 01:24:42 +0000 (01:24 +0000)]
[Qt] editing/pasteboard/can-read-in-dragstart-event.html and /can-read-in-copy-and-cut-events.html are crashing
https://bugs.webkit.org/show_bug.cgi?id=113126

Reviewed by Ryosuke Niwa.

Source/WebCore:

The ClipboardQt implementation only allows reading or writing, not both. Attempting to read
when the clipboard is only writable will lead to a crash since the corresponding member will
be null. To prevent crashes, change the asserts to early returns. In the long term, the
correct fix is to unify the m_readableData and m_writableData members.

No new tests since no functionality in Qt port should change.

* platform/qt/ClipboardQt.cpp:
(WebCore::ClipboardQt::getData):
(WebCore::ClipboardQt::types):
(WebCore::ClipboardQt::files):

LayoutTests:

* platform/qt/TestExpectations:

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

7 years agoAdded a setting for whether JavaScript markup is enabled
ggaren@apple.com [Sat, 23 Mar 2013 20:18:39 +0000 (20:18 +0000)]
Added a setting for whether JavaScript markup is enabled
https://bugs.webkit.org/show_bug.cgi?id=112999

Rolled out a line from r146664 that was left over from before I adopted
the Settings.in way of adding a new setting.

Reviewed by Ryosuke Niwa.

* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): No need
to initialize / override -- Settings.in settings do this automatically.

Also, dydx noticed that this line of code had a typo, and was totaly wrong.

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

7 years ago[GTK][Regression] webkit_dom_html_table_element_insert_row returns value that doesn...
commit-queue@webkit.org [Sat, 23 Mar 2013 17:47:36 +0000 (17:47 +0000)]
[GTK][Regression] webkit_dom_html_table_element_insert_row returns value that doesn't pass WEBKIT_DOM_IS_HTML_TABLE_ROW_ELEMENT macro
https://bugs.webkit.org/show_bug.cgi?id=111714

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-03-23
Reviewed by Martin Robinson.

Source/WebCore:

Add custom kit implementation for HTMLElements so that the HTML
wrappers are used in that case instead of wrapHTMLElement.

* bindings/gobject/WebKitDOMBinding.cpp:
(WebKit::kit):
(WebKit):
* bindings/gobject/WebKitDOMBinding.h:
(WebCore):
(WebKit):
* bindings/scripts/CodeGeneratorGObject.pm:
(UsesManualKitImplementation):

Source/WebKit/gtk:

Add test that checks webkit_dom_html_table_element_insert_row() to
also preproduce this issue.

* tests/testdomdocument.c:
(test_dom_document_insert_row):
(main):

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

7 years agoRevert "BUILD FIX (r146667): ResourceRequest constructor in SynchronousLoaderClient...
ddkilzer@apple.com [Sat, 23 Mar 2013 14:44:44 +0000 (14:44 +0000)]
Revert "BUILD FIX (r146667): ResourceRequest constructor in SynchronousLoaderClient.cpp is ambiguous on iOS"

This is platform-agnositic code, so the previous solution won't work.

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

7 years agoBUILD FIX (r146667): ResourceRequest constructor in SynchronousLoaderClient.cpp is...
ddkilzer@apple.com [Sat, 23 Mar 2013 14:41:10 +0000 (14:41 +0000)]
BUILD FIX (r146667): ResourceRequest constructor in SynchronousLoaderClient.cpp is ambiguous on iOS

Fixes the following build failure:

    Source/WebCore/platform/network/SynchronousLoaderClient.cpp:52:15: error: conversion from 'int' to 'const WebCore::ResourceRequest' is ambiguous
        request = 0;
                  ^
    In file included from Source/WebCore/platform/network/SynchronousLoaderClient.cpp:30:
    In file included from Source/WebCore/platform/network/ResourceHandle.h:37:
    In file included from Source/WebCore/platform/network/ios/QuickLook.h:13:
    Source/WebCore/platform/network/cf/ResourceRequest.h:79:9: note: candidate constructor
            ResourceRequest(NSURLRequest *);
            ^
    Source/WebCore/platform/network/cf/ResourceRequest.h:83:9: note: candidate constructor
            ResourceRequest(CFURLRequestRef cfRequest)
            ^
    1 error generated.

* platform/network/SynchronousLoaderClient.cpp:
(WebCore::SynchronousLoaderClient::willSendRequest): If
USE(CFNETWORK) is defined, use static_cast<CFURLRequestRef>(0),
otherwise use static_cast<NSURLRequest *>(0).

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

7 years agoBUILD FIX (r146687): setDefaultMIMEType() is unused in ResourceHandleCFNet.cpp on iOS
ddkilzer@apple.com [Sat, 23 Mar 2013 14:16:56 +0000 (14:16 +0000)]
BUILD FIX (r146687): setDefaultMIMEType() is unused in ResourceHandleCFNet.cpp on iOS

Fixes the following build failure:

    Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp:98:13: error: unused function 'setDefaultMIMEType' [-Werror,-Wunused-function]
    static void setDefaultMIMEType(CFURLResponseRef response)
                ^
    1 error generated.

* platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::setDefaultMIMEType): Add #if !PLATFORM(MAC)/#endif
guard.

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

7 years ago[chromium] Stupid picky bug syntax...
pkasting@chromium.org [Sat, 23 Mar 2013 06:36:19 +0000 (06:36 +0000)]
[chromium] Stupid picky bug syntax...

Unreviewed, test expectations updates.

* platform/chromium/TestExpectations:

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

7 years ago[chromium] Mark flaky test.
pkasting@chromium.org [Sat, 23 Mar 2013 05:58:27 +0000 (05:58 +0000)]
[chromium] Mark flaky test.
https://bugs.webkit.org/show_bug.cgi?id=113129

Unreviewed, test expectations updates.

* platform/chromium/TestExpectations:

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

7 years ago[chromium] Last bits of post-Skia-change fallout, plus other bits.
pkasting@chromium.org [Sat, 23 Mar 2013 05:47:49 +0000 (05:47 +0000)]
[chromium] Last bits of post-Skia-change fallout, plus other bits.
https://bugs.webkit.org/show_bug.cgi?id=109507
https://bugs.webkit.org/show_bug.cgi?id=113067
https://bugs.webkit.org/show_bug.cgi?id=113128
https://code.google.com/p/chromium/issues/detail?id=67442

Unreviewed, test expectations updates.

Deleted a few new baselines added during Skia rebaselining that were
existing expected failures from bug 109507 whose failure lines were
left in TestExpectations.

Added a flaky test and a failing test (which for some reason has no new
baselines so I can't rebaseline), and removed a passing test.

Re-added some "Pass" expectations I'd previously removed, as they're
necessary after all.

* platform/chromium-linux/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.png: Removed.
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/tiling/huge-layer-add-remove-child-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/tiling/huge-layer-with-layer-children-expected.txt:
* platform/chromium/TestExpectations:
* platform/chromium/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt: Removed.

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

7 years agoAdd a timeout expectation to media/track/track-prefer-captions.html after
rniwa@webkit.org [Sat, 23 Mar 2013 04:59:57 +0000 (04:59 +0000)]
Add a timeout expectation to media/track/track-prefer-captions.html after
r146380 on GTK+. The failure is tracked by http://webkit.org/b/113127

* platform/gtk/TestExpectations:

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

7 years agoAdd crash test expectations to tests added in r146644.
rniwa@webkit.org [Sat, 23 Mar 2013 04:54:59 +0000 (04:54 +0000)]
Add crash test expectations to tests added in r146644.
The failures are tracked by http://webkit.org/b/113126

* platform/qt/TestExpectations:

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

7 years agoBUILD FIX (r145119): Make JSValue* properties default to (assign)
ddkilzer@apple.com [Sat, 23 Mar 2013 04:51:22 +0000 (04:51 +0000)]
BUILD FIX (r145119): Make JSValue* properties default to (assign)
<rdar://problem/13380794>

Reviewed by Mark Hahnenberg.

Fixes the following build failures:

    Source/JavaScriptCore/API/tests/testapi.mm:106:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute]
    @property JSValue *onclick;
    ^
    Source/JavaScriptCore/API/tests/testapi.mm:106:1: error: default property attrib ute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute]
    Source/JavaScriptCore/API/tests/testapi.mm:107:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute]
    @property JSValue *weakOnclick;
    ^
    Source/JavaScriptCore/API/tests/testapi.mm:107:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute]
    4 errors generated.

* API/tests/testapi.mm: Default to (assign) for JSValue*
properties.

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

7 years agotestLeakingPrototypesAcrossContexts added in r146682 doesn't compile on Win and fails...
rniwa@webkit.org [Sat, 23 Mar 2013 04:20:21 +0000 (04:20 +0000)]
testLeakingPrototypesAcrossContexts added in r146682 doesn't compile on Win and fails on Mac
https://bugs.webkit.org/show_bug.cgi?id=113125

Reviewed by Mark Hahnenberg

Remove the test added in r146682 as it's now failing on Mac.
This is the test that was causing a compilation failure on Windows.

* API/tests/testapi.c:
(main):

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

7 years agoThe second part of the build fix for r146702. This should do it.
rniwa@webkit.org [Sat, 23 Mar 2013 03:35:29 +0000 (03:35 +0000)]
The second part of the build fix for r146702. This should do it.
I had to see the mangled name for the new signature.

Source/WebKit:

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/win:

* WebKit.vcproj/WebKitExports.def.in:

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

7 years ago[chromium] Mark canvas-toDataURL-webp.html imageOnlyFailure Pass
noel.gordon@gmail.com [Sat, 23 Mar 2013 03:34:16 +0000 (03:34 +0000)]
[chromium] Mark canvas-toDataURL-webp.html imageOnlyFailure Pass
https://bugs.webkit.org/show_bug.cgi?id=93310

Unreviewed test expectations update.

libwebp will be updated to 0.3.0 in chrome, changing the encoder
output, after which these test results will need to be updated.

* platform/chromium/TestExpectations:

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

7 years agoFix the typo: WIN -> WINDOWS.
rniwa@webkit.org [Sat, 23 Mar 2013 03:24:23 +0000 (03:24 +0000)]
Fix the typo: WIN -> WINDOWS.

* API/tests/testapi.c:
(main):

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

7 years agoI really can't figure out what's wrong with this one.
rniwa@webkit.org [Sat, 23 Mar 2013 03:12:51 +0000 (03:12 +0000)]
I really can't figure out what's wrong with this one.
Temporarily disable the test added by r146682 on Windows since it doesn't compile.

* API/tests/testapi.c:
(main):

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

7 years ago[chromium] Mark more tests as crashing.
pkasting@chromium.org [Sat, 23 Mar 2013 03:09:49 +0000 (03:09 +0000)]
[chromium] Mark more tests as crashing.
https://bugs.webkit.org/show_bug.cgi?id=113067

Unreviewed, test expectations update.

* platform/chromium/TestExpectations:

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

7 years agoBuild fix attempt after r146702.
rniwa@webkit.org [Sat, 23 Mar 2013 02:50:05 +0000 (02:50 +0000)]
Build fix attempt after r146702.

Source/WebKit:

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/win:

* WebKit.vcproj/WebKitExports.def.in:

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

7 years agoAdd runtime setting for hidden page DOM timer throttling and CSS animation suspension
cmuppala@apple.com [Sat, 23 Mar 2013 02:15:36 +0000 (02:15 +0000)]
Add runtime setting for hidden page DOM timer throttling and CSS animation suspension
https://bugs.webkit.org/show_bug.cgi?id=112308

Reviewed by Gavin Barraclough.

Source/WebCore:

No new tests.  Only adding settings to enable/disable existing features
and hence existing tests suffice.

* WebCore.exp.in:
* page/Page.cpp:
(WebCore::Page::setVisibilityState): Check if DOM timer throttling
and CSS animation suspension are enabled before turning them on.
(WebCore::Page::hiddenPageDOMTimerThrottlingStateChanged): Start or stop
DOM timer throttling based on page visibility and the new setting state.
(WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged): Ditto
for CSS animation suspension.
* page/Page.h:
* page/Settings.cpp:
(WebCore::Settings::Settings): Initialize the flags for enabling hidden
page DOM timer throttling and CSS animation suspension to false.
(WebCore::Settings::setHiddenPageDOMTimerThrottlingEnabled): Update flag
and notify page that the state of the setting has changed.
(WebCore::Settings::setHiddenPageCSSAnimationSuspensionEnabled): Ditto.
* page/Settings.h:
(WebCore::Settings::hiddenPageDOMTimerThrottlingEnabled):
(WebCore::Settings::hiddenPageCSSAnimationSuspensionEnabled):

Source/WebKit/mac:

Add private preference for enabling/disabling hidden page DOM timer
throttling and CSS animation suspension.  The preference should be
disabled by default to avoid compatibility issues.

* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences hiddenPageDOMTimerThrottlingEnabled]):
(-[WebPreferences setHiddenPageDOMTimerThrottlingEnabled:]):
(-[WebPreferences hiddenPageCSSAnimationSuspensionEnabled]):
(-[WebPreferences setHiddenPageCSSAnimationSuspensionEnabled:]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

Source/WebKit2:

Add private preference for enabling/disabling hidden page DOM timer
throttling and CSS animation suspension.  The preference should be
enabled by default only on Mac, where WebKit2 is a private API and
hence compatibility is less of a issue.

* Shared/WebPreferencesStore.h:
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetHiddenPageDOMTimerThrottlingEnabled):
(WKPreferencesGetHiddenPageDOMTimerThrottlingEnabled):
(WKPreferencesSetHiddenPageCSSAnimationSuspensionEnabled):
(WKPreferencesGetHiddenPageCSSAnimationSuspensionEnabled):
* UIProcess/API/C/WKPreferencesPrivate.h:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): Allow
WebKitTestRunner to override hiddenPageDOMTimerThrottlingEnabled.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):

LayoutTests:

Hidden page DOM timer throttling is disabled by default in WebKit1 and
in WebKit2 for platforms other than Mac.  Override the preference to
enable it during the test.

* fast/dom/timer-throttling-hidden-page.html:

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

7 years agoUnreviewed. Move self from contributor to committer list.
cmuppala@apple.com [Sat, 23 Mar 2013 02:01:11 +0000 (02:01 +0000)]
Unreviewed.  Move self from contributor to committer list.

* Scripts/webkitpy/common/config/committers.py:

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

7 years agoRemove 2 bad branches from StringHash::equal() and CaseFoldingHash::equal()
benjamin@webkit.org [Sat, 23 Mar 2013 01:35:34 +0000 (01:35 +0000)]
Remove 2 bad branches from StringHash::equal() and CaseFoldingHash::equal()
https://bugs.webkit.org/show_bug.cgi?id=113003

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-03-22
Reviewed by Eric Seidel.

Source/WebCore:

Fix two unfortunate use of StringHash and use the correct StringImpl function.

* html/parser/HTMLParserIdioms.cpp:
(WebCore::threadSafeEqual):
* html/parser/HTMLTreeBuilderSimulator.cpp:
(WebCore::tokenExitsSVG):

Source/WTF:

StringHash::equal() and CaseFoldingHash::equal() were both testing for
the nullity of the two input pointers. The catch is: neither traits handle
null pointers, and any client code would have crashed on hash(), before equal()
is called.
Consequently, the two branches had a pass rate of zero when called from a HashMap code.

The function is also never inlined because it is too big (the code of equal() for characters
is always inlined, causing the function to be quite big).

This patch introduces two new functions in the StringImpl API: equalNonNull() and
equalIgnoringCaseNonNull(). Those functions are similar to their equal() equivalent
but make the assumtion the input is never null.

The functions are used for StringHash to avoid the useless branches.

* wtf/text/StringHash.h:
(WTF::StringHash::equal):
(WTF::CaseFoldingHash::equal):
* wtf/text/StringImpl.cpp:
(WTF::stringImplContentEqual):
(WTF::equal):
(WTF::equalNonNull):
(WTF::equalIgnoringCase):
(WTF::equalIgnoringCaseNonNull):
(WTF::equalIgnoringNullity):
* wtf/text/StringImpl.h:
(WTF::equalIgnoringCase):

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

7 years agoSet the cache partition property on CFURLRequests
aestes@apple.com [Sat, 23 Mar 2013 01:19:35 +0000 (01:19 +0000)]
Set the cache partition property on CFURLRequests
https://bugs.webkit.org/show_bug.cgi?id=113116

Patch by Jeffrey Pfau
Reviewed by David Kilzer.

* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::doUpdatePlatformRequest):
(WebCore::ResourceRequest::doUpdateResourceRequest):

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

7 years ago[Chromium] Test expectations after Skia changes
schenney@chromium.org [Sat, 23 Mar 2013 01:17:43 +0000 (01:17 +0000)]
[Chromium] Test expectations after Skia changes

Unreviewed expectations update.

Adding bug numbers for two failing tests.

* platform/chromium/TestExpectations:

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

7 years ago[Chromium] Test expectations after Skia changes
schenney@chromium.org [Sat, 23 Mar 2013 01:10:35 +0000 (01:10 +0000)]
[Chromium] Test expectations after Skia changes

Unreviewed expectations update.

The rest.

* platform/chromium-linux/fast/borders/border-radius-split-inline-expected.png:
* platform/chromium-linux/fast/borders/border-radius-with-box-shadow-01-expected.png:
* platform/chromium-linux/fast/borders/border-radius-with-box-shadow-expected.png:
* platform/chromium-linux/fast/box-shadow/basic-shadows-expected.png:
* platform/chromium-linux/fast/box-shadow/box-shadow-clipped-slices-expected.png:
* platform/chromium-linux/fast/box-shadow/box-shadow-transformed-expected.png:
* platform/chromium-linux/fast/box-shadow/inset-box-shadows-expected.png:
* platform/chromium-linux/fast/box-shadow/inset-expected.png:
* platform/chromium-linux/fast/box-shadow/scaled-box-shadow-expected.png: Added.
* platform/chromium-linux/fast/box-shadow/shadow-tiling-artifact-expected.png:
* platform/chromium-mac-lion/css2.1/t100801-c544-valgn-00-a-ag-expected.png:
* platform/chromium-mac-lion/css2.1/t100801-c544-valgn-02-d-agi-expected.png:
* platform/chromium-mac-lion/css2.1/t100801-c544-valgn-03-d-agi-expected.png:
* platform/chromium-mac-lion/css2.1/t100801-c544-valgn-04-d-agi-expected.png:
* platform/chromium-mac-lion/editing/selection/select-text-overflow-ellipsis-expected.png:
* platform/chromium-mac-lion/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.png:
* platform/chromium-mac-lion/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.png:
* platform/chromium-mac-lion/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.png:
* platform/chromium-mac-lion/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.png:
* platform/chromium-mac-lion/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.png:
* platform/chromium-mac-lion/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.png:
* platform/chromium-mac-lion/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.png:
* platform/chromium-mac-lion/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.png:
* platform/chromium-mac-lion/fast/backgrounds/animated-svg-as-mask-expected.png:
* platform/chromium-mac-lion/fast/borders/border-antialiasing-expected.png:
* platform/chromium-mac-lion/fast/borders/border-radius-split-inline-expected.png:
* platform/chromium-mac-lion/fast/box-shadow/basic-shadows-expected.png:
* platform/chromium-mac-lion/fast/box-shadow/box-shadow-transformed-expected.png:
* platform/chromium-mac-lion/fast/box-shadow/inset-expected.png:
* platform/chromium-mac-snowleopard/css2.1/t100801-c544-valgn-00-a-ag-expected.png:
* platform/chromium-mac-snowleopard/css2.1/t100801-c544-valgn-02-d-agi-expected.png:
* platform/chromium-mac-snowleopard/css2.1/t100801-c544-valgn-03-d-agi-expected.png:
* platform/chromium-mac-snowleopard/css2.1/t100801-c544-valgn-04-d-agi-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/select-text-overflow-ellipsis-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.png:
* platform/chromium-mac-snowleopard/fast/borders/border-radius-split-inline-expected.png:
* platform/chromium-mac-snowleopard/fast/box-shadow/basic-shadows-expected.png:
* platform/chromium-mac-snowleopard/fast/box-shadow/box-shadow-transformed-expected.png:
* platform/chromium-mac/css2.1/t100801-c544-valgn-00-a-ag-expected.png:
* platform/chromium-mac/css2.1/t100801-c544-valgn-02-d-agi-expected.png:
* platform/chromium-mac/css2.1/t100801-c544-valgn-03-d-agi-expected.png:
* platform/chromium-mac/css2.1/t100801-c544-valgn-04-d-agi-expected.png:
* platform/chromium-mac/editing/selection/select-text-overflow-ellipsis-expected.png:
* platform/chromium-mac/fast/backgrounds/animated-svg-as-mask-expected.png:
* platform/chromium-mac/fast/borders/border-antialiasing-expected.png:
* platform/chromium-mac/fast/borders/border-radius-split-inline-expected.png:
* platform/chromium-mac/fast/borders/border-radius-with-box-shadow-01-expected.png:
* platform/chromium-mac/fast/borders/border-radius-with-box-shadow-expected.png:
* platform/chromium-mac/fast/box-shadow/basic-shadows-expected.png:
* platform/chromium-mac/fast/box-shadow/box-shadow-clipped-slices-expected.png:
* platform/chromium-mac/fast/box-shadow/box-shadow-radius-expected.png:
* platform/chromium-mac/fast/box-shadow/box-shadow-transformed-expected.png:
* platform/chromium-mac/fast/box-shadow/inset-box-shadow-radius-expected.png:
* platform/chromium-mac/fast/box-shadow/inset-box-shadows-expected.png:
* platform/chromium-mac/fast/box-shadow/inset-expected.png:
* platform/chromium-mac/fast/box-shadow/scaled-box-shadow-expected.png:
* platform/chromium-mac/fast/box-shadow/shadow-buffer-partial-expected.png:
* platform/chromium-mac/fast/box-shadow/shadow-tiling-artifact-expected.png:
* platform/chromium-mac/fast/box-shadow/single-pixel-shadow-expected.png:
* platform/chromium-win/fast/borders/border-radius-split-inline-expected.png:
* platform/chromium-win/fast/borders/border-radius-with-box-shadow-01-expected.png:
* platform/chromium-win/fast/borders/border-radius-with-box-shadow-expected.png:
* platform/chromium-win/fast/box-shadow/basic-shadows-expected.png:
* platform/chromium-win/fast/box-shadow/box-shadow-clipped-slices-expected.png:
* platform/chromium-win/fast/box-shadow/box-shadow-radius-expected.png:
* platform/chromium-win/fast/box-shadow/box-shadow-transformed-expected.png:
* platform/chromium-win/fast/box-shadow/inset-box-shadow-radius-expected.png:
* platform/chromium-win/fast/box-shadow/inset-box-shadows-expected.png:
* platform/chromium-win/fast/box-shadow/inset-expected.png:
* platform/chromium-win/fast/box-shadow/scaled-box-shadow-expected.png:
* platform/chromium-win/fast/box-shadow/shadow-buffer-partial-expected.png:
* platform/chromium-win/fast/box-shadow/shadow-tiling-artifact-expected.png:
* platform/chromium-win/fast/box-shadow/single-pixel-shadow-expected.png:
* platform/chromium/TestExpectations:
* platform/efl-wk2/fast/borders/border-radius-split-inline-expected.png: Added.
* platform/efl-wk2/fast/box-shadow/basic-shadows-expected.png: Added.
* platform/efl-wk2/fast/box-shadow/box-shadow-transformed-expected.png: Added.
* platform/efl-wk2/fast/box-shadow/inset-expected.png: Added.
* platform/efl-wk2/fast/box-shadow/scaled-box-shadow-expected.png: Added.
* platform/efl/fast/borders/border-radius-split-inline-expected.png: Removed.
* platform/efl/fast/box-shadow/basic-shadows-expected.png: Removed.
* platform/efl/fast/box-shadow/box-shadow-transformed-expected.png: Removed.
* platform/efl/fast/box-shadow/inset-expected.png: Removed.
* platform/efl/fast/box-shadow/scaled-box-shadow-expected.png: Removed.

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

7 years agoAnother build fix (after r146693) for r146682.
rniwa@webkit.org [Sat, 23 Mar 2013 01:09:22 +0000 (01:09 +0000)]
Another build fix (after r146693) for r146682.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def:
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExports.def.in:

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

7 years ago[CSS Grid Layout] content-sized row tracks with percentage logical height grid items...
jchaffraix@webkit.org [Sat, 23 Mar 2013 01:07:17 +0000 (01:07 +0000)]
[CSS Grid Layout] content-sized row tracks with percentage logical height grid items don't resolve properly
https://bugs.webkit.org/show_bug.cgi?id=113085

Reviewed by Tony Chang.

Source/WebCore:

The core issue is that because overrideContainingBlockLogicalHeight() is unset in
logicalContentHeightForChild, RenderBox::computePercentageLogicalHeight would try to
resolve percentage logical height against the grid element (wrong containing block
as a grid item's containing block is the grid area).

Tests: fast/css-grid-layout/grid-item-multiple-minmax-content-resolution.html
       fast/css-grid-layout/grid-item-with-percent-height-in-auto-height-grid-resolution.html

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::logicalContentHeightForChild):
Set our override logical height to -1, so that we don't try to constrain a grid item's logical height
based on resolving (badly) its percentage.

LayoutTests:

* fast/css-grid-layout/grid-auto-columns-rows-auto-flow-resolution-expected.txt:
Updated the result to pass.

* fast/css-grid-layout/grid-item-multiple-minmax-content-resolution-expected.txt: Added.
* fast/css-grid-layout/grid-item-multiple-minmax-content-resolution.html: Added.
* fast/css-grid-layout/grid-item-with-percent-height-in-auto-height-grid-resolution-expected.txt: Added.
* fast/css-grid-layout/grid-item-with-percent-height-in-auto-height-grid-resolution.html: Added.
Added more testing to ensure that we properly do the resolution.

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

7 years ago[Chromium] Test expectations after Skia changes
schenney@chromium.org [Sat, 23 Mar 2013 01:03:26 +0000 (01:03 +0000)]
[Chromium] Test expectations after Skia changes

Unreviewed expectations update.

fast/canvas/...
fast/css/...
fast/forms/...
fast/multicol/...

* platform/chromium-linux/fast/canvas/canvas-incremental-repaint-expected.png:
* platform/chromium-linux/fast/css/box-shadow-and-border-radius-expected.png:
* platform/chromium-linux/fast/css/color-correction-on-box-shadow-expected.png:
* platform/chromium-linux/fast/css/color-correction-on-text-shadow-expected.png:
* platform/chromium-linux/fast/css/font-family-pictograph-expected.png:
* platform/chromium-linux/fast/css/font-family-pictograph-expected.txt:
* platform/chromium-linux/fast/css/shadow-multiple-expected.png:
* platform/chromium-linux/fast/forms/validation-message-appearance-expected.png:
* platform/chromium-linux/fast/multicol/shadow-breaking-expected.png:
* platform/chromium-mac-lion/fast/canvas/canvas-incremental-repaint-expected.png:
* platform/chromium-mac-lion/fast/css/color-correction-on-box-shadow-expected.png:
* platform/chromium-mac-lion/fast/css/color-correction-on-text-shadow-expected.png:
* platform/chromium-mac-lion/fast/css/empty-pseudo-class-expected.png:
* platform/chromium-mac-lion/fast/css/first-child-pseudo-class-expected.png:
* platform/chromium-mac-lion/fast/css/first-of-type-pseudo-class-expected.png:
* platform/chromium-mac-lion/fast/css/last-child-pseudo-class-expected.png:
* platform/chromium-mac-lion/fast/css/last-of-type-pseudo-class-expected.png:
* platform/chromium-mac-lion/fast/css/only-child-pseudo-class-expected.png:
* platform/chromium-mac-lion/fast/css/only-of-type-pseudo-class-expected.png:
* platform/chromium-mac-lion/fast/css/shadow-multiple-expected.png:
* platform/chromium-mac-lion/fast/dynamic/text-combine-expected.png:
* platform/chromium-mac-lion/fast/forms/validation-message-appearance-expected.png:
* platform/chromium-mac-lion/fast/line-grid/line-grid-contains-value-expected.png:
* platform/chromium-mac-lion/fast/multicol/nested-columns-expected.png:
* platform/chromium-mac-lion/fast/multicol/shadow-breaking-expected.png:
* platform/chromium-mac-snowleopard/fast/css/color-correction-on-box-shadow-expected.png:
* platform/chromium-mac-snowleopard/fast/css/color-correction-on-text-shadow-expected.png:
* platform/chromium-mac-snowleopard/fast/css/empty-pseudo-class-expected.png:
* platform/chromium-mac-snowleopard/fast/css/first-child-pseudo-class-expected.png:
* platform/chromium-mac-snowleopard/fast/css/first-of-type-pseudo-class-expected.png:
* platform/chromium-mac-snowleopard/fast/css/last-child-pseudo-class-expected.png:
* platform/chromium-mac-snowleopard/fast/css/last-of-type-pseudo-class-expected.png:
* platform/chromium-mac-snowleopard/fast/css/only-child-pseudo-class-expected.png:
* platform/chromium-mac-snowleopard/fast/css/only-of-type-pseudo-class-expected.png:
* platform/chromium-mac-snowleopard/fast/css/shadow-multiple-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/validation-message-appearance-expected.png:
* platform/chromium-mac-snowleopard/fast/line-grid/line-grid-contains-value-expected.png:
* platform/chromium-mac-snowleopard/fast/multicol/nested-columns-expected.png:
* platform/chromium-mac-snowleopard/fast/multicol/shadow-breaking-expected.png:
* platform/chromium-mac/fast/canvas/canvas-incremental-repaint-expected.png:
* platform/chromium-mac/fast/css/box-shadow-and-border-radius-expected.png:
* platform/chromium-mac/fast/css/color-correction-on-box-shadow-expected.png:
* platform/chromium-mac/fast/css/color-correction-on-text-shadow-expected.png:
* platform/chromium-mac/fast/css/empty-pseudo-class-expected.png:
* platform/chromium-mac/fast/css/first-child-pseudo-class-expected.png:
* platform/chromium-mac/fast/css/first-of-type-pseudo-class-expected.png:
* platform/chromium-mac/fast/css/last-child-pseudo-class-expected.png:
* platform/chromium-mac/fast/css/last-of-type-pseudo-class-expected.png:
* platform/chromium-mac/fast/css/only-child-pseudo-class-expected.png:
* platform/chromium-mac/fast/css/only-of-type-pseudo-class-expected.png:
* platform/chromium-mac/fast/css/shadow-multiple-expected.png:
* platform/chromium-mac/fast/dynamic/text-combine-expected.png:
* platform/chromium-mac/fast/forms/validation-message-appearance-expected.png:
* platform/chromium-mac/fast/line-grid/line-grid-contains-value-expected.png:
* platform/chromium-mac/fast/multicol/nested-columns-expected.png:
* platform/chromium-mac/fast/multicol/shadow-breaking-expected.png:
* platform/chromium-win/fast/canvas/canvas-incremental-repaint-expected.png:
* platform/chromium-win/fast/css/box-shadow-and-border-radius-expected.png:
* platform/chromium-win/fast/css/color-correction-on-box-shadow-expected.png:
* platform/chromium-win/fast/css/color-correction-on-text-shadow-expected.png:
* platform/chromium-win/fast/css/shadow-multiple-expected.png:
* platform/chromium-win/fast/forms/validation-message-appearance-expected.png:
* platform/chromium-win/fast/multicol/shadow-breaking-expected.png:
* platform/chromium/TestExpectations:
* platform/efl-wk2/fast/multicol: Added.
* platform/efl-wk2/fast/multicol/shadow-breaking-expected.png: Added.
* platform/efl/fast/multicol/shadow-breaking-expected.png: Removed.

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

7 years ago[Chromium] Test expectations after Skia changes
schenney@chromium.org [Sat, 23 Mar 2013 00:52:22 +0000 (00:52 +0000)]
[Chromium] Test expectations after Skia changes

Unreviewed expectations update.

fast/repaint/...
fast/ruby/...

* fast/repaint/moving-shadow-on-container-expected.png: Added.
* fast/repaint/search-field-cancel-expected.txt: Added.
* platform/chromium-linux-x86/fast/repaint/moving-shadow-on-container-expected.png: Removed.
* platform/chromium-linux/fast/repaint/box-shadow-h-expected.png:
* platform/chromium-linux/fast/repaint/box-shadow-v-expected.png:
* platform/chromium-linux/fast/repaint/moving-shadow-on-container-expected.png:
* platform/chromium-linux/fast/repaint/moving-shadow-on-path-expected.png:
* platform/chromium-linux/fast/repaint/shadow-multiple-horizontal-expected.png:
* platform/chromium-linux/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
* platform/chromium-linux/fast/repaint/shadow-multiple-strict-vertical-expected.png:
* platform/chromium-linux/fast/repaint/shadow-multiple-vertical-expected.png:
* platform/chromium-mac-lion/fast/repaint/box-shadow-h-expected.png:
* platform/chromium-mac-lion/fast/repaint/box-shadow-v-expected.png:
* platform/chromium-mac-lion/fast/repaint/moving-shadow-on-container-expected.png:
* platform/chromium-mac-lion/fast/repaint/moving-shadow-on-path-expected.png:
* platform/chromium-mac-lion/fast/repaint/scale-page-shrink-expected.png: Added.
* platform/chromium-mac-lion/fast/repaint/search-field-cancel-expected.png: Added.
* platform/chromium-mac-lion/fast/repaint/shadow-multiple-horizontal-expected.png:
* platform/chromium-mac-lion/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
* platform/chromium-mac-lion/fast/repaint/shadow-multiple-strict-vertical-expected.png:
* platform/chromium-mac-lion/fast/repaint/shadow-multiple-vertical-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/box-shadow-h-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/box-shadow-v-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/moving-shadow-on-container-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/moving-shadow-on-path-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/scale-page-shrink-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/repaint/search-field-cancel-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/search-field-cancel-expected.txt: Removed.
* platform/chromium-mac-snowleopard/fast/ruby/base-shorter-than-text-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/ruby/base-shorter-than-text-expected.txt: Removed.
* platform/chromium-mac-snowleopard/fast/ruby/position-after-expected.png:
* platform/chromium-mac/fast/repaint/box-shadow-h-expected.png:
* platform/chromium-mac/fast/repaint/box-shadow-v-expected.png:
* platform/chromium-mac/fast/repaint/moving-shadow-on-container-expected.png:
* platform/chromium-mac/fast/repaint/moving-shadow-on-path-expected.png:
* platform/chromium-mac/fast/repaint/scale-page-shrink-expected.png: Added.
* platform/chromium-mac/fast/repaint/search-field-cancel-expected.png: Added.
* platform/chromium-mac/fast/repaint/shadow-multiple-horizontal-expected.png:
* platform/chromium-mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
* platform/chromium-mac/fast/repaint/shadow-multiple-strict-vertical-expected.png:
* platform/chromium-mac/fast/repaint/shadow-multiple-vertical-expected.png:
* platform/chromium-mac/fast/repaint/transform-replaced-shadows-expected.png:
* platform/chromium-mac/fast/ruby/position-after-expected.png:
* platform/chromium-win-xp/fast/repaint/box-shadow-h-expected.png: Removed.
* platform/chromium-win-xp/fast/repaint/box-shadow-v-expected.png: Removed.
* platform/chromium-win-xp/fast/repaint/moving-shadow-on-container-expected.png: Removed.
* platform/chromium-win-xp/fast/ruby/base-shorter-than-text-expected.txt: Removed.
* platform/chromium-win/fast/repaint/box-shadow-h-expected.png:
* platform/chromium-win/fast/repaint/box-shadow-v-expected.png:
* platform/chromium-win/fast/repaint/moving-shadow-on-container-expected.png:
* platform/chromium-win/fast/repaint/moving-shadow-on-path-expected.png:
* platform/chromium-win/fast/repaint/search-field-cancel-expected.png:
* platform/chromium-win/fast/repaint/shadow-multiple-horizontal-expected.png:
* platform/chromium-win/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
* platform/chromium-win/fast/repaint/shadow-multiple-strict-vertical-expected.png:
* platform/chromium-win/fast/repaint/shadow-multiple-vertical-expected.png:
* platform/chromium-win/fast/repaint/transform-replaced-shadows-expected.png:
* platform/chromium/TestExpectations:
* platform/chromium/fast/repaint/search-field-cancel-expected.png: Removed.
* platform/chromium/fast/repaint/search-field-cancel-expected.txt: Removed.
* platform/efl-wk2/fast/repaint/moving-shadow-on-container-expected.png: Added.
* platform/efl-wk2/fast/repaint/moving-shadow-on-path-expected.png: Added.
* platform/efl-wk2/fast/repaint/transform-replaced-shadows-expected.png: Added.
* platform/efl/fast/repaint/moving-shadow-on-container-expected.png: Removed.
* platform/efl/fast/repaint/moving-shadow-on-path-expected.png: Removed.
* platform/efl/fast/repaint/transform-replaced-shadows-expected.png: Removed.
* platform/gtk/fast/repaint/moving-shadow-on-container-expected.png: Removed.
* platform/mac/fast/repaint/moving-shadow-on-container-expected.png: Removed.
* platform/mac/fast/repaint/search-field-cancel-expected.txt: Removed.

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

7 years agoCheck WEBGL_draw_buffers requirements before exposing the extension
zmo@google.com [Sat, 23 Mar 2013 00:45:21 +0000 (00:45 +0000)]
Check WEBGL_draw_buffers requirements before exposing the extension
https://bugs.webkit.org/show_bug.cgi?id=112359

Reviewed by Kenneth Russell.

* html/canvas/EXTDrawBuffers.cpp:
(WebCore::EXTDrawBuffers::supported): call satisfies*().
(WebCore::EXTDrawBuffers::drawBuffersEXT):
(WebCore):
(WebCore::EXTDrawBuffers::satisfiesWebGLRequirements): check WebGL requirements.
* html/canvas/EXTDrawBuffers.h:
(EXTDrawBuffers):
* html/canvas/WebGLFramebuffer.cpp:
(WebCore::WebGLFramebuffer::getDrawBuffer):
(WebCore):
* html/canvas/WebGLFramebuffer.h:
(WebGLFramebuffer):
* html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::initializeNewContext):
(WebCore::WebGLRenderingContext::getExtension):
(WebCore::WebGLRenderingContext::getParameter):
(WebCore::WebGLRenderingContext::getSupportedExtensions):
(WebCore::WebGLRenderingContext::validateFramebufferFuncParameters):
(WebCore::WebGLRenderingContext::getMaxDrawBuffers):
(WebCore::WebGLRenderingContext::getMaxColorAttachments):
(WebCore::WebGLRenderingContext::setBackDrawBuffer):
(WebCore::WebGLRenderingContext::restoreCurrentFramebuffer):
(WebCore::WebGLRenderingContext::restoreCurrentTexture2D):
(WebCore::WebGLRenderingContext::supportsDrawBuffers): a cached version of EXTDrawBuffers::supports()
* html/canvas/WebGLRenderingContext.h:
(WebGLRenderingContext):

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

7 years agoUnreviewed. AppleWin build fix.
roger_fong@apple.com [Sat, 23 Mar 2013 00:44:31 +0000 (00:44 +0000)]
Unreviewed. AppleWin build fix.

* JavaScriptCore.vcproj/JavaScriptCore/copy-files.cmd:
* JavaScriptCore.vcxproj/copy-files.cmd:

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

7 years ago[Chromium] Test expectations after Skia changes
schenney@chromium.org [Sat, 23 Mar 2013 00:37:15 +0000 (00:37 +0000)]
[Chromium] Test expectations after Skia changes

Unreviewed expectations update.

fast/text/...

* platform/chromium-linux/fast/text/emphasis-avoid-ruby-expected.png: Added.
* platform/chromium-linux/fast/text/shadow-translucent-fill-expected.png:
* platform/chromium-linux/fast/text/stroking-decorations-expected.png:
* platform/chromium-linux/fast/text/stroking-expected.png:
* platform/chromium-linux/fast/transforms/shadows-expected.png:
* platform/chromium-mac-lion/fast/text/decorations-with-text-combine-expected.png:
* platform/chromium-mac-lion/fast/text/international/bold-bengali-expected.png:
* platform/chromium-mac-lion/fast/text/international/text-spliced-font-expected.png:
* platform/chromium-mac-lion/fast/text/international/vertical-text-glyph-test-expected.png:
* platform/chromium-mac-lion/fast/text/justify-ideograph-vertical-expected.png:
* platform/chromium-mac-lion/fast/text/orientation-sideways-expected.png:
* platform/chromium-mac-lion/fast/text/shadow-translucent-fill-expected.png:
* platform/chromium-mac-lion/fast/text/stroking-decorations-expected.png:
* platform/chromium-mac-lion/fast/text/stroking-expected.png:
* platform/chromium-mac-lion/fast/text/whitespace/024-expected.png:
* platform/chromium-mac-lion/fast/transforms/shadows-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/bidi-linebreak-001-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/bidi-linebreak-002-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/bidi-linebreak-003-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/bold-bengali-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/text-spliced-font-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/vertical-text-glyph-test-expected.png:
* platform/chromium-mac-snowleopard/fast/text/justify-ideograph-vertical-expected.png:
* platform/chromium-mac-snowleopard/fast/text/shadow-translucent-fill-expected.png:
* platform/chromium-mac-snowleopard/fast/text/whitespace/024-expected.png:
* platform/chromium-mac/fast/text/decorations-with-text-combine-expected.png:
* platform/chromium-mac/fast/text/justify-ideograph-vertical-expected.png:
* platform/chromium-mac/fast/text/shadow-translucent-fill-expected.png:
* platform/chromium-mac/fast/text/stroking-decorations-expected.png:
* platform/chromium-mac/fast/text/stroking-expected.png:
* platform/chromium-mac/fast/text/whitespace/024-expected.png:
* platform/chromium-mac/fast/transforms/shadows-expected.png:
* platform/chromium-win-xp/fast/text/stroking-decorations-expected.png:
* platform/chromium-win-xp/fast/text/stroking-expected.png:
* platform/chromium-win/fast/text/international/bold-bengali-expected.png:
* platform/chromium-win/fast/text/international/bold-bengali-expected.txt:
* platform/chromium-win/fast/text/shadow-translucent-fill-expected.png:
* platform/chromium-win/fast/text/stroking-decorations-expected.png:
* platform/chromium-win/fast/text/stroking-expected.png:
* platform/chromium-win/fast/transforms/shadows-expected.png:
* platform/chromium/TestExpectations:
* platform/chromium/fast/text/international/bold-bengali-expected.png: Removed.
* platform/efl-wk2/fast/text/shadow-translucent-fill-expected.png: Added.
* platform/efl/fast/text/shadow-translucent-fill-expected.png: Removed.
* platform/qt-unknown/fast: Added.
* platform/qt-unknown/fast/text: Added.
* platform/qt-unknown/fast/text/international: Added.
* platform/qt-unknown/fast/text/international/text-spliced-font-expected.png: Added.
* platform/qt/fast/text/international/text-spliced-font-expected.png: Removed.

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

7 years agoEWS should use a human readable port name when uploading layout test archives
rniwa@webkit.org [Sat, 23 Mar 2013 00:31:14 +0000 (00:31 +0000)]
EWS should use a human readable port name when uploading layout test archives
https://bugs.webkit.org/show_bug.cgi?id=113099

Reviewed by Dirk Pranke.

Use new port's object's name() method to report human readable port names.
This will also help us resolving the bug to apply layout test results posted by EWS.

* Scripts/webkitpy/tool/bot/botinfo.py:
(BotInfo.__init__): Take port's name.
(BotInfo.summary_text):

* Scripts/webkitpy/tool/bot/botinfo_unittest.py:
(BotInfoTest.test_summary_text):

* Scripts/webkitpy/tool/bot/flakytestreporter.py:
(FlakyTestReporter.__init__): Preserve the old behavior since we don't have a real port object here.

* Scripts/webkitpy/tool/commands/queues.py:
(PatchProcessingQueue.__init__): Initialize self._port.
(PatchProcessingQueue._upload_results_archive_for_patch): Intansitate a real port object if needed,
and use that for the attachment filename and the comment posted.

* Scripts/webkitpy/tool/commands/queues_unittest.py:
(PatchProcessingQueueTest.test_upload_results_archive_for_patch): Port name is updated to be
"mac-snowleopard" as expected for TestPort.

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

7 years ago[Chromium] Test expectations after Skia changes
schenney@chromium.org [Sat, 23 Mar 2013 00:26:19 +0000 (00:26 +0000)]
[Chromium] Test expectations after Skia changes

Unreviewed expectations update.

One I missed.

* platform/chromium-mac-lion/svg/custom/preserve-aspect-ratio-syntax-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/preserve-aspect-ratio-syntax-expected.png:
* platform/chromium-mac/svg/custom/preserve-aspect-ratio-syntax-expected.png:

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

7 years agoUnreviewed. Fix AppleWin port following https://bugs.webkit.org/show_bug.cgi?id=113100.
roger_fong@apple.com [Sat, 23 Mar 2013 00:24:10 +0000 (00:24 +0000)]
Unreviewed. Fix AppleWin port following https://bugs.webkit.org/show_bug.cgi?id=113100.
Patch by Alexey Proskuryakov.

* platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::ResourceHandle::platformLoadResourceSynchronously):

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

7 years ago-[TinyDOMNode dealloc] should call [super dealloc] when ARC is not enabled
mhahnenberg@apple.com [Sat, 23 Mar 2013 00:21:22 +0000 (00:21 +0000)]
-[TinyDOMNode dealloc] should call [super dealloc] when ARC is not enabled
https://bugs.webkit.org/show_bug.cgi?id=113054

Reviewed by Geoffrey Garen.

* API/tests/testapi.mm:
(-[TinyDOMNode dealloc]):

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

7 years agoUnreviewed. Fix AppleWin port following https://bugs.webkit.org/show_bug.cgi?id=113100.
roger_fong@apple.com [Sat, 23 Mar 2013 00:14:36 +0000 (00:14 +0000)]
Unreviewed. Fix AppleWin port following https://bugs.webkit.org/show_bug.cgi?id=113100.
Patch by Alexey Proskuryakov.

* platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::ResourceHandle::platformLoadResourceSynchronously):

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

7 years agoTrivial fixes to the gyp-build autogen.sh script.
kov@webkit.org [Sat, 23 Mar 2013 00:10:39 +0000 (00:10 +0000)]
Trivial fixes to the gyp-build autogen.sh script.

Reviewed by Martin Robinson (mrobinson).

* gyp/autogen.sh: add /bin/sh -e as hashbang, so stricter shells will be happy to
run the script; deal with automake exiting with an error code because there is no
Makefile.am for it to work on.

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

7 years agoPlugin Snapshotting: Auto-start dominant plugins
timothy_horton@apple.com [Sat, 23 Mar 2013 00:00:28 +0000 (00:00 +0000)]
Plugin Snapshotting: Auto-start dominant plugins
​https://bugs.webkit.org/show_bug.cgi?id=113111
<rdar://problem/13475726>

Reviewed by Dean Jackson.

Add a test for http://trac.webkit.org/changeset/146679.

* platform/mac-wk2/plugins/snapshotting/autoplay-dominant-expected.txt: Added.
* plugins/snapshotting/autoplay-dominant.html: Added.

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

7 years agoREGRESSION (r146272): layout issues for flex boxes that have -webkit-flex-wrap: wrap
tony@chromium.org [Fri, 22 Mar 2013 23:58:42 +0000 (23:58 +0000)]
REGRESSION (r146272): layout issues for flex boxes that have -webkit-flex-wrap: wrap
https://bugs.webkit.org/show_bug.cgi?id=113071

Reviewed by Ojan Vafai.

Source/WebCore:

The refactor in r139535 introduced this bug, where a variable name wasn't updated properly.
In combination with r146272, this bug became more visible when nesting multiline flexboxen.

Test: css3/flexbox/multiline-min-preferred-width.html

* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::computeIntrinsicLogicalWidths): We want the width of the widest
flexitem, the value in m_minPreferredWidth isn't relevant. Also update the comment for max
preferred width.

LayoutTests:

* css3/flexbox/multiline-min-preferred-width-expected.txt: Added.
* css3/flexbox/multiline-min-preferred-width.html: Added.

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

7 years ago[CSS Shaders] Clamp css_MixColor before the blending and compositing steps
mvujovic@adobe.com [Fri, 22 Mar 2013 23:56:04 +0000 (23:56 +0000)]
[CSS Shaders] Clamp css_MixColor before the blending and compositing steps
https://bugs.webkit.org/show_bug.cgi?id=113088

Reviewed by Dean Jackson.

Source/WebCore:

The blending and compositing operations from the spec [1] expect that they are operating on
valid color inputs, in the range [0.0, 1.0]. Thus, we should clamp the css_MixColor input to
this range to avoid implementation-dependent behavior for invalid color inputs.

[1]: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blending

Tests: css3/filters/custom/custom-filter-clamp-css-mix-color-negative.html
       css3/filters/custom/custom-filter-clamp-css-mix-color.html

* platform/graphics/filters/CustomFilterValidatedProgram.cpp:
(WebCore::CustomFilterValidatedProgram::rewriteMixFragmentShader):
    Clamp css_MixColor as clampedMixColor before using it in the blending and compositing
    steps.

LayoutTests:

* css3/filters/custom/custom-filter-clamp-css-mix-color-expected.html: Added.
* css3/filters/custom/custom-filter-clamp-css-mix-color-negative-expected.html: Added.
* css3/filters/custom/custom-filter-clamp-css-mix-color-negative.html: Added.
* css3/filters/custom/custom-filter-clamp-css-mix-color.html: Added.

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

7 years agoopaqueJSClassData should be cached on JSGlobalObject, not the JSGlobalData
mhahnenberg@apple.com [Fri, 22 Mar 2013 23:49:52 +0000 (23:49 +0000)]
opaqueJSClassData should be cached on JSGlobalObject, not the JSGlobalData
https://bugs.webkit.org/show_bug.cgi?id=113086

Reviewed by Geoffrey Garen.

opaqueJSClassData stores cached prototypes for JSClassRefs in the C API. It doesn't make sense to
share these prototypes within a JSGlobalData across JSGlobalObjects, and in fact doing so will cause
a leak of the original JSGlobalObject that these prototypes were created in. Therefore we should move
this cache to JSGlobalObject where it belongs and where it won't cause memory leaks.

* API/JSBase.cpp: Needed to add an extern "C" so that testapi.c can use the super secret GC function.
* API/JSClassRef.cpp: We now grab the cached context data from the global object rather than the global data.
(OpaqueJSClass::contextData):
* API/JSClassRef.h: Remove this header because it's unnecessary and causes circular dependencies.
* API/tests/testapi.c: Added a new test that makes sure that using the same JSClassRef in two different contexts
doesn't cause leaks of the original global object.
(leakFinalize):
(nestedAllocateObject): This is a hack to bypass the conservative scan of the GC, which was unnecessarily marking
objects and keeping them alive, ruining the test result.
(testLeakingPrototypesAcrossContexts):
(main):
* API/tests/testapi.mm: extern "C" this so we can continue using it here.
* runtime/JSGlobalData.cpp: Remove JSClassRef related stuff.
(JSC::JSGlobalData::~JSGlobalData):
* runtime/JSGlobalData.h:
(JSGlobalData):
* runtime/JSGlobalObject.h: Add the stuff that JSGlobalData had. We add it to JSGlobalObjectRareData so that
clients who don't use the C API don't have to pay the memory cost of this extra HashMap.
(JSGlobalObject):
(JSGlobalObjectRareData):
(JSC::JSGlobalObject::opaqueJSClassData):

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

7 years ago[GTK] Add WebCoreDOM to the gyp build
mrobinson@webkit.org [Fri, 22 Mar 2013 23:48:40 +0000 (23:48 +0000)]
[GTK] Add WebCoreDOM to the gyp build
https://bugs.webkit.org/show_bug.cgi?id=112737

Reviewed by Nico Weber.

* WebCore.gyp/WebCoreGTK.gyp: Add WebCoreDOM to the gyp build.

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

7 years ago[GTK] Add WebCoreHTML to the gyp build
mrobinson@webkit.org [Fri, 22 Mar 2013 23:47:27 +0000 (23:47 +0000)]
[GTK] Add WebCoreHTML to the gyp build
https://bugs.webkit.org/show_bug.cgi?id=112727

Reviewed by Nico Weber.

* WebCore.gyp/WebCoreGTK.gyp: Add support for building all files under
the HTML directory. This includes splitting off common WebCore dependencies
into an aggregate target and adding a top-level WebCore target.

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