AXRoleDescripton for DL is "list"; should be "description list"
https://bugs.webkit.org/show_bug.cgi?id=111665

Patch by James Craig <james@cookiecrook.com> on 2013-04-02
Reviewed by Chris Fleizach.

Source/WebCore:

Defining the role and description strings, and accessors for DL.
This previously relied on getting the role and description from the platform API.

Updated existing test coverage.

* English.lproj/Localizable.strings:
* accessibility/AccessibilityObject.h:
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::determineAccessibilityRole):
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(createAccessibilityRoleMap):
(-[WebAccessibilityObjectWrapper subrole]):
(-[WebAccessibilityObjectWrapper roleDescription]):
* platform/LocalizedStrings.cpp:
(WebCore::AXDescriptionListText):
(WebCore):
* platform/LocalizedStrings.h:
(WebCore):
* platform/blackberry/LocalizedStringsBlackBerry.cpp:
(WebCore::AXDescriptionListText):
(WebCore):
* platform/chromium/LocalizedStringsChromium.cpp:
(WebCore::AXDescriptionListText):
(WebCore):
* platform/efl/LocalizedStringsEfl.cpp:
(WebCore::AXDescriptionListText):
(WebCore):
* platform/gtk/LocalizedStringsGtk.cpp:
(WebCore::AXDescriptionListText):
(WebCore):
* platform/qt/LocalizedStringsQt.cpp:
(WebCore::AXDescriptionListText):
(WebCore):

Source/WebKit/chromium:

Defining the role and description strings.

* public/WebAccessibilityRole.h:
* src/AssertMatchingEnums.cpp:

Tools:

Defining the role and description strings.

* DumpRenderTree/chromium/TestRunner/src/AccessibilityUIElementChromium.cpp:

LayoutTests:

Updating expectation strings for DL role description.

* platform/mac/accessibility/lists-expected.txt:
* platform/mac/accessibility/role-subrole-roledescription-expected.txt:
* platform/mac/accessibility/role-subrole-roledescription.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r147370.
http://trac.webkit.org/changeset/147370
https://bugs.webkit.org/show_bug.cgi?id=113850

This patch is causing crashes in video tests on all Mac bots.
(Requested by jernoble_ on #webkit).

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

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::~HTMLMediaElement):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update expectations for fast/css3-text/css3-text-indent/text-indent-each-line.html
https://bugs.webkit.org/show_bug.cgi?id=113848

Mark as [ Failure ImageOnlyFailure ] for fast/css3-text/css3-text-indent/.

Unreviewed gardening.

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2013-04-02

* platform/mac/TestExpectations:
* platform/qt-mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
clean up static casts in WebAccessibilityObjectWrapperMac.mm to methods like toAccessibilityList()
https://bugs.webkit.org/show_bug.cgi?id=113828

Reviewed by Tim Horton.

static_cast changed to toAccessibilityList().

* accessibility/AccessibilityList.h:
(WebCore::toAccessibilityList):
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper subrole]):
(-[WebAccessibilityObjectWrapper roleDescription]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rebaseline several tests cases for GTK that have better results
after r147492.

* platform/gtk/TestExpectations:
* platform/gtk/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/gtk/fast/dom/HTMLImageElement/image-alt-text-expected.txt:
* platform/gtk/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/gtk/fast/dom/HTMLInputElement/input-image-alt-text-expected.txt:
* platform/gtk/fast/encoding/utf-16-big-endian-expected.png:
* platform/gtk/fast/encoding/utf-16-big-endian-expected.txt:
* platform/gtk/fast/encoding/utf-16-little-endian-expected.png:
* platform/gtk/fast/encoding/utf-16-little-endian-expected.txt:
* platform/gtk/fast/forms/input-value-expected.png:
* platform/gtk/fast/forms/input-value-expected.txt:
* platform/gtk/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/gtk/tables/mozilla/collapsing_borders/bug41262-3-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove code for Mac 10.5 and earlier from WTF and WebKit2
https://bugs.webkit.org/show_bug.cgi?id=113844

Reviewed by Benjamin Poulain.

Removed the code for 10.5 and removed if-def for 10.6.

Source/WebKit2: 

* Shared/mac/PasteboardTypes.mm:
(WebKit::PasteboardTypes::forEditing):

Source/WTF: 

* wtf/FastMalloc.cpp:
(WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
* wtf/Platform.h:
* wtf/ThreadingPthreads.cpp:
(WTF::initializeCurrentThreadInternal):
* wtf/unicode/icu/CollatorICU.cpp:
(WTF::Collator::userDefault):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Extract URL that doesn't inherit a parent's SecurityOrigin out into a constant.
https://bugs.webkit.org/show_bug.cgi?id=113780

Reviewed by Jochen Eisinger.

We're scheduling navigations to 'data:text/html,' in XSSAuditor in
order to end up on a page that doesn't inherit its parent's
SecurityOrigin. We'll be reusing this mechainsm to solve
http://wkbug.com/112903

This patch makes us more explicit about what we're doing and why.
It doesn't change any behavior: XSSAuditor tests should still pass.

* html/parser/XSSAuditorDelegate.cpp:
(WebCore::XSSAuditorDelegate::didBlockScript):
    Use SecurityOrigin::urlWithUniqueSecurityOrigin rather than a
    literal string to make our intentions clear.
* page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::urlWithUniqueSecurityOrigin):
* page/SecurityOrigin.h:
    Add the new static method.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Rebaseline several tests for Chromium that have better output after
r147492.

* platform/chromium-linux/editing/selection/select-missing-image-expected.png:
* platform/chromium-linux/fast/block/float/002-expected.png:
* platform/chromium-linux/fast/block/float/017-expected.png:
* platform/chromium-linux/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/chromium-linux/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/chromium-linux/fast/encoding/utf-16-big-endian-expected.png:
* platform/chromium-linux/fast/encoding/utf-16-little-endian-expected.png:
* platform/chromium-linux/fast/flexbox/023-expected.png:
* platform/chromium-linux/fast/flexbox/024-expected.png:
* platform/chromium-linux/fast/forms/input-value-expected.png:
* platform/chromium-linux/fast/forms/input-value-expected.txt:
* platform/chromium-linux/fast/invalid/012-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-linux/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-mac-lion/editing/selection/select-missing-image-expected.png:
* platform/chromium-mac-lion/fast/block/float/002-expected.png:
* platform/chromium-mac-lion/fast/block/float/017-expected.png:
* platform/chromium-mac-lion/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/chromium-mac-lion/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/chromium-mac-lion/fast/encoding/utf-16-big-endian-expected.png:
* platform/chromium-mac-lion/fast/encoding/utf-16-little-endian-expected.png:
* platform/chromium-mac-lion/fast/flexbox/023-expected.png:
* platform/chromium-mac-lion/fast/flexbox/024-expected.png:
* platform/chromium-mac-lion/fast/forms/005-expected.png:
* platform/chromium-mac-lion/fast/forms/input-value-expected.png:
* platform/chromium-mac-lion/fast/invalid/012-expected.png:
* platform/chromium-mac-lion/fast/parser/comment-in-script-expected.png:
* platform/chromium-mac-lion/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-mac-lion/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-mac-snowleopard/fast/block/float/002-expected.png:
* platform/chromium-mac-snowleopard/fast/block/float/017-expected.png:
* platform/chromium-mac-snowleopard/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/chromium-mac-snowleopard/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/chromium-mac-snowleopard/fast/encoding/utf-16-big-endian-expected.png:
* platform/chromium-mac-snowleopard/fast/encoding/utf-16-little-endian-expected.png:
* platform/chromium-mac-snowleopard/fast/flexbox/023-expected.png:
* platform/chromium-mac-snowleopard/fast/flexbox/024-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-value-expected.png:
* platform/chromium-mac-snowleopard/fast/invalid/012-expected.png:
* platform/chromium-mac-snowleopard/fast/parser/comment-in-script-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-mac/editing/selection/select-missing-image-expected.png:
* platform/chromium-mac/fast/block/float/002-expected.png:
* platform/chromium-mac/fast/block/float/017-expected.png:
* platform/chromium-mac/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/chromium-mac/fast/dom/HTMLImageElement/image-alt-text-expected.txt: Renamed from LayoutTests/platform/chromium/fast/dom/HTMLImageElement/image-alt-text-expected.txt.
* platform/chromium-mac/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/chromium-mac/fast/dom/HTMLInputElement/input-image-alt-text-expected.txt: Renamed from LayoutTests/platform/chromium/fast/dom/HTMLInputElement/input-image-alt-text-expected.txt.
* platform/chromium-mac/fast/encoding/utf-16-big-endian-expected.png:
* platform/chromium-mac/fast/encoding/utf-16-big-endian-expected.txt:
* platform/chromium-mac/fast/encoding/utf-16-little-endian-expected.png:
* platform/chromium-mac/fast/encoding/utf-16-little-endian-expected.txt:
* platform/chromium-mac/fast/flexbox/023-expected.png:
* platform/chromium-mac/fast/flexbox/024-expected.png:
* platform/chromium-mac/fast/forms/005-expected.png:
* platform/chromium-mac/fast/forms/input-value-expected.png:
* platform/chromium-mac/fast/forms/input-value-expected.txt:
* platform/chromium-mac/fast/invalid/012-expected.png:
* platform/chromium-mac/fast/parser/comment-in-script-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-mac/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-mac/tables/mozilla/collapsing_borders/bug41262-3-expected.txt: Renamed from LayoutTests/platform/chromium/tables/mozilla/collapsing_borders/bug41262-3-expected.txt.
* platform/chromium-win/editing/selection/select-missing-image-expected.png:
* platform/chromium-win/fast/block/float/002-expected.png:
* platform/chromium-win/fast/block/float/017-expected.png:
* platform/chromium-win/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/chromium-win/fast/dom/HTMLImageElement/image-alt-text-expected.txt:
* platform/chromium-win/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/chromium-win/fast/dom/HTMLInputElement/input-image-alt-text-expected.txt:
* platform/chromium-win/fast/encoding/utf-16-big-endian-expected.png:
* platform/chromium-win/fast/encoding/utf-16-big-endian-expected.txt:
* platform/chromium-win/fast/encoding/utf-16-little-endian-expected.png:
* platform/chromium-win/fast/encoding/utf-16-little-endian-expected.txt:
* platform/chromium-win/fast/flexbox/023-expected.png:
* platform/chromium-win/fast/flexbox/024-expected.png:
* platform/chromium-win/fast/forms/input-value-expected.png:
* platform/chromium-win/fast/forms/input-value-expected.txt:
* platform/chromium-win/fast/invalid/012-expected.png:
* platform/chromium-win/fast/parser/comment-in-script-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-win/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-win/tables/mozilla/collapsing_borders/bug41262-3-expected.txt:
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r147409.
http://trac.webkit.org/changeset/147409
https://bugs.webkit.org/show_bug.cgi?id=113856

The baselines should be reverted after r147450. (Requested by
kadam on #webkit).

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

* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt:
* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:
* platform/qt/TestExpectations:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Implement target-densityDpi viewport property emulation
https://bugs.webkit.org/show_bug.cgi?id=110835

The value is only used in the Chromium port, when the corresponding
setting is enabled.

This is needed for supporting existing WebView-based applications
that rely on this property.

Reviewed by Adam Barth.

Source/WebCore:

* dom/ViewportArguments.cpp:
(WebCore::findTargetDensityDPIValue):
(WebCore):
(WebCore::setViewportFeature):
* dom/ViewportArguments.h:
(WebCore::ViewportArguments::ViewportArguments):
(ViewportArguments):
(WebCore::ViewportArguments::operator==):

Source/WebKit/chromium:

* public/WebSettings.h:
(WebSettings):
* src/ChromeClientImpl.cpp:
(WebKit):
(WebKit::calculateTargetDensityDPIFactor):
(WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::WebSettingsImpl):
(WebKit::WebSettingsImpl::setSupportDeprecatedTargetDensityDPI):
(WebKit):
* src/WebSettingsImpl.h:
(WebSettingsImpl):
(WebKit::WebSettingsImpl::supportDeprecatedTargetDensityDPI):
* tests/WebFrameTest.cpp:
* tests/data/viewport-target-densitydpi-high.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
X-Frame-Options: Blocked frames should not inherit their parent's SecurityOrigin.
https://bugs.webkit.org/show_bug.cgi?id=112903

Reviewed by Adam Barth.

Source/WebCore:

This change brings WebKit in line with IE and Gecko's behavior, both of
which treat the blocked frame as being cross-origin for the purposes of
access checks ('[frame].contentWindow.location.href' is inaccessible,
for example).

* dom/Document.cpp:
(WebCore::Document::processHttpEquiv):
    Rather than redirecting to 'about:blank', redirect to a URL which
    does not inherit the SecurityOrigin of the parent.
* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::responseReceived):
    Before calling cancelMainResourceLoad, ensure that the frame's
    document is sandboxed into a unique origin so that it doesn't inherit
    the parent's SecurityOrigin.

LayoutTests:

* http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html:
* http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html:
* http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag.html:
* http/tests/security/XFrameOptions/x-frame-options-deny.html:
* http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny.html:
* http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html:
* platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
* platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
* platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
* platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
* platform/chromium/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt:
* platform/chromium/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[New Multicolumn]Remove assert in RenderMultiColumnFlowThread::createAnonymous
https://bugs.webkit.org/show_bug.cgi?id=113855

Reviewed by Antti Koivisto.

Remove CSSRegions specific assert from new multicolumn implementation.
No change in functionality, no new tests.

* rendering/RenderMultiColumnFlowThread.cpp:
(WebCore::RenderMultiColumnFlowThread::createAnonymous):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Updated platform specific expected files.

* platform/qt/TestExpectations: Skipped failing reftest.
* platform/qt/compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt: Added after r147502.
* platform/qt/compositing/filters/sw-nested-shadow-overlaps-hw-nested-shadow-expected.txt: Added after r147502.
* platform/qt/compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt: Added after r147502.
* platform/qt/compositing/filters/sw-shadow-overlaps-hw-shadow-expected.txt: Added after r147502.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
With borders of differing alpha, the corners become squared off
https://bugs.webkit.org/show_bug.cgi?id=113744

Reviewed by Simon Fraser.

Source/WebCore:

paintTranslucentBorderSides should pick up borders with common color
in order: top, bottom, left and right (not top, right, bottom and
left), because willBeOverdrawn depends on the assumption, borders are
drawn in order: top, bottom, left and right.

Test: fast/borders/border-left-right-same-bottom-different-color.html

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

LayoutTests:

* fast/borders/border-left-right-same-bottom-different-color-expected.txt: Added.
* fast/borders/border-left-right-same-bottom-different-color.html: Added.
* platform/chromium-linux/fast/borders/border-left-right-same-bottom-different-color-expected.png: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] accessibility/ignore-spacer-elements.html is failing
https://bugs.webkit.org/show_bug.cgi?id=112001

Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-04-03
Reviewed by Gyuyoung Kim.

Fixed failing test. The reason of failure is different expectation of childrenCount.

* accessibility/ignore-spacer-elements.html:
* platform/efl-wk1/TestExpectations:
* platform/efl-wk2/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [REGRESSION(r147117)][Elements] Copy/paste keyboard shortcuts broken in "Edit as HTML"
https://bugs.webkit.org/show_bug.cgi?id=113798

Reviewed by Yury Semikhatsky.

Stop propagation of "copy" event from the multiline editor's
CodeMirror host element so that it is not handled by
WebInspector.documentCopy().

* inspector/front-end/UIUtils.js:
(.consumeCopy):
(.cleanUpAfterEditing):
* inspector/front-end/inspector.js:
(WebInspector.addMainEventListeners):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Rebaselining after r147530.

* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt:
* platform/qt-5.0-wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Decouple layout viewport from visual viewport
https://bugs.webkit.org/show_bug.cgi?id=113829

Reviewed by Carlos Garcia Campos.

Setting the visual viewport would force the layout viewport equal to
the visual viewport. Decouple the viewports by allowing the user to
specify a layout viewport when setting the viewport(s). The layout
viewport could be the exact same value passed for visual viewport, if
the old behavior is desired.

Also reevaluate any viewport arguments when (only) the layout viewport
changes in WebPage::setDefaultLayoutSize() since the layout viewport is
used as input to the calculation.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setScreenOrientation):
(BlackBerry::WebKit::WebPagePrivate::setViewportSize):
(BlackBerry::WebKit::WebPage::setViewportSize):
(WebKit):
(BlackBerry::WebKit::WebPagePrivate::setDefaultLayoutSize):
(BlackBerry::WebKit::WebPage::defaultLayoutSize):
* Api/WebPage.h:
* Api/WebPage_p.h:
(WebPagePrivate):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: crash in WebCore::InspectorLayerTreeAgent::buildObjectForLayer if a layer is created for an anonymous RenderObject (:first-letter)
https://bugs.webkit.org/show_bug.cgi?id=113768

Source/WebCore:

The InspectorLayerTreeAgent now knows how to deal with anonymous RenderObjects
for the :first-letter and :first-line pseudo-elements.

Reviewed by Timothy Hatcher.

Test: inspector-protocol/layers/layers-anonymous.html

* inspector/Inspector.json:
Change the Layer type in the LayerTree domain to have more accurate terminology
(pseudo-element vs. pseudo-class) and a new optional isAnonymous flag for layers
associated to anonymous RenderObjects.

* inspector/InspectorLayerTreeAgent.cpp:
(WebCore::InspectorLayerTreeAgent::buildObjectForLayer):
Check for anonymous RenderObjects and set the parent renderer's node as the node
for this layer since anonymous renderers have the Document as their node and this
would not be satisfactory to show in a front-end. We also check for anonymous
RenderObjects for the :first-letter and :first-line pseudo-elements and set them
in the pseudoElement property of the Layer object created such that a front-end
could correctly identify what type of pseudo-element for the associated node
yielded this layer.

(WebCore::InspectorLayerTreeAgent::idForNode):
Here we fix the actual crash by first checking if the node provided is null and
returning 0 if there's no such node. This ensures that any scenario where there
is no node associated with the RenderObject simply informs of the front-end that
no such node exists and we do not crash.

LayoutTests:

Reviewed by Timothy Hatcher.

* inspector-protocol/layers/layers-anonymous-expected.txt: Added.
* inspector-protocol/layers/layers-anonymous.html: Added.
New test for layers created for CSS anonymous boxes or blocks.

* inspector-protocol/layers/layers-generated-content.html:
Update test to use the "pseudoElement" property instead of "pseudoClass"
which was the previous, less accurate name.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] assignToHTMLImageElement no longer exists in Qt5
https://bugs.webkit.org/show_bug.cgi?id=113639

Patch by Kristof Provost <kristof@codepro.be> on 2013-04-03
Reviewed by Simon Hausmann.

No new tests: covered by ./Source/WebKit/qt/tests/hybridPixmap/test.html

* bridge/qt/qt_pixmapruntime.cpp:
(JSC::Bindings::QtPixmapRuntime::getClassRef):

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