RetainPtr.h should compile with -Wshorten-64-to-32
<http://webkit.org/b/115047>

Reviewed by Anders Carlsson.

Fixes the following warning:

    RetainPtr.h:318:20: error: implicit conversion loses integer precision: 'CFHashCode' (aka 'unsigned long') to 'unsigned int' [-Werror,-Wshorten-64-to-32]
                return CFHash(o.get());
                ~~~~~~ ^~~~~~~~~~~~~~~

* wtf/RetainPtr.h:
(WTF::RetainPtrObjectHash::hash): Cast return value of CFHash()
to unsigned.  This has no effect on 32-bit architectures, but
takes the lower 32-bits of the CFHashCode (unsigned long) on
64-bit architectures, which is what happens implicitly now.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove wxWebKit support from the Tools
https://bugs.webkit.org/show_bug.cgi?id=115005

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
Reviewed by Andreas Kling.

The wxWebKit port is no longer actively maintained by Kevin
on webkit.org. Remove the code until new maintainers resume the work.

* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/config.h:
* DumpRenderTree/wscript: Removed.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp: Removed.
* DumpRenderTree/wx/DumpRenderTreeWx.h: Removed.
* DumpRenderTree/wx/GCControllerWx.cpp: Removed.
* DumpRenderTree/wx/TestRunnerWx.cpp: Removed.
* DumpRenderTree/wx/WorkQueueItemWx.cpp: Removed.
* Scripts/build-dumprendertree:
* Scripts/build-jsc:
(buildMyProject):
* Scripts/build-webkit:
* Scripts/old-run-webkit-tests:
* Scripts/run-launcher:
* Scripts/webkitdirs.pm:
(argumentsForConfiguration):
(determineConfigurationProductDir):
(determinePassedArchitecture):
(builtDylibPathForName):
(determineIsQt):
(isAppleWebKit):
(launcherPath):
(launcherName):
(checkRequiredSystemConfig):
* Scripts/webkitpy/common/config/contributionareas.py:
* waf/build/build_utils.py: Removed.
* waf/build/settings.py: Removed.
* waf/build/waf_extensions.py: Removed.
* waf/build/wxpresets.py: Removed.
* wx/browser/browser.cpp: Removed.
* wx/browser/wscript: Removed.
* wx/install-unix-extras: Removed.
* wx/packaging/build-debian-installer.py: Removed.
* wx/packaging/build-mac-installer.py: Removed.
* wx/packaging/build-win-installer.py: Removed.
* wx/packaging/debian/changelog: Removed.
* wx/packaging/debian/compat: Removed.
* wx/packaging/debian/control: Removed.
* wx/packaging/debian/copyright: Removed.
* wx/packaging/debian/python-webkitwx.install: Removed.
* wx/packaging/debian/rules: Removed.
* wx/packaging/wxWebKitInstaller.iss.in: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unused code of RefCounted after chromium removal
https://bugs.webkit.org/show_bug.cgi?id=115009

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
Reviewed by Ryosuke Niwa.

* wtf/RefCounted.h:
(WTF::RefCountedBase::refCount):
(RefCountedBase):
It looks like addressOfCount() is no longer needed.
Also change the type back to unsigned as it make more sense.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AppleWin VS2010 build fix.

* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove wxWebKit's folders from WebCore
https://bugs.webkit.org/show_bug.cgi?id=115007

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
Reviewed by Andreas Kling.

The wxWebKit port is no longer actively maintained by Kevin
on webkit.org. Remove the code until new maintainers resume the work.

* accessibility/wx/AccessibilityObjectWx.cpp: Removed.
* editing/wx/EditorWx.cpp: Removed.
* page/wx/DragControllerWx.cpp: Removed.
* page/wx/EventHandlerWx.cpp: Removed.
* platform/graphics/wx/ColorWx.cpp: Removed.
* platform/graphics/wx/FloatRectWx.cpp: Removed.
* platform/graphics/wx/FontCacheWx.cpp: Removed.
* platform/graphics/wx/FontCustomPlatformData.cpp: Removed.
* platform/graphics/wx/FontCustomPlatformData.h: Removed.
* platform/graphics/wx/FontPlatformData.h: Removed.
* platform/graphics/wx/FontPlatformDataWx.cpp: Removed.
* platform/graphics/wx/FontPlatformDataWxMac.mm: Removed.
* platform/graphics/wx/FontWx.cpp: Removed.
* platform/graphics/wx/GlyphMapWx.cpp: Removed.
* platform/graphics/wx/GradientWx.cpp: Removed.
* platform/graphics/wx/GraphicsContextWx.cpp: Removed.
* platform/graphics/wx/IconWx.cpp: Removed.
* platform/graphics/wx/ImageBufferDataWx.h: Removed.
* platform/graphics/wx/ImageBufferWx.cpp: Removed.
* platform/graphics/wx/ImageWx.cpp: Removed.
* platform/graphics/wx/IntPointWx.cpp: Removed.
* platform/graphics/wx/IntRectWx.cpp: Removed.
* platform/graphics/wx/IntSizeWx.cpp: Removed.
* platform/graphics/wx/PathWx.cpp: Removed.
* platform/graphics/wx/SimpleFontDataWx.cpp: Removed.
* platform/graphics/wx/TransformationMatrixWx.cpp: Removed.
* platform/image-decoders/wx/ImageDecoderWx.cpp: Removed.
* platform/wx/ClipboardWx.cpp: Removed.
* platform/wx/ClipboardWx.h: Removed.
* platform/wx/ContextMenuItemWx.cpp: Removed.
* platform/wx/ContextMenuWx.cpp: Removed.
* platform/wx/CursorWx.cpp: Removed.
* platform/wx/DragDataWx.cpp: Removed.
* platform/wx/DragImageWx.cpp: Removed.
* platform/wx/EventLoopWx.cpp: Removed.
* platform/wx/FileSystemWx.cpp: Removed.
* platform/wx/KeyEventWin.cpp: Removed.
* platform/wx/KeyboardEventWx.cpp: Removed.
* platform/wx/LanguageWx.cpp: Removed.
* platform/wx/LocalDC.h: Removed.
* platform/wx/LocalizedStringsWx.cpp: Removed.
* platform/wx/LoggingWx.cpp: Removed.
* platform/wx/MimeTypeRegistryWx.cpp: Removed.
* platform/wx/MouseEventWx.cpp: Removed.
* platform/wx/MouseWheelEventWx.cpp: Removed.
* platform/wx/PasteboardWx.cpp: Removed.
* platform/wx/PopupMenuWx.cpp: Removed.
* platform/wx/PopupMenuWx.h: Removed.
* platform/wx/RenderThemeWx.cpp: Removed.
* platform/wx/RunLoopWx.cpp: Removed.
* platform/wx/SSLKeyGeneratorWx.cpp: Removed.
* platform/wx/ScreenWx.cpp: Removed.
* platform/wx/ScrollViewWx.cpp: Removed.
* platform/wx/ScrollbarThemeWx.cpp: Removed.
* platform/wx/ScrollbarThemeWx.h: Removed.
* platform/wx/SearchPopupMenuWx.cpp: Removed.
* platform/wx/SearchPopupMenuWx.h: Removed.
* platform/wx/SharedBufferWx.cpp: Removed.
* platform/wx/SharedTimerWx.cpp: Removed.
* platform/wx/SoundWx.cpp: Removed.
* platform/wx/SystemTimeWx.cpp: Removed.
* platform/wx/TemporaryLinkStubs.cpp: Removed.
* platform/wx/TextBreakIteratorInternalICUWx.cpp: Removed.
* platform/wx/WidgetWx.cpp: Removed.
* platform/wx/wxcode/cairo/non-kerned-drawing.cpp: Removed.
* platform/wx/wxcode/fontprops.cpp: Removed.
* platform/wx/wxcode/fontprops.h: Removed.
* platform/wx/wxcode/gdiplus/non-kerned-drawing.cpp: Removed.
* platform/wx/wxcode/gtk/fontprops.cpp: Removed.
* platform/wx/wxcode/gtk/non-kerned-drawing.cpp: Removed.
* platform/wx/wxcode/gtk/scrollbar_render.cpp: Removed.
* platform/wx/wxcode/mac/carbon/fontprops.mm: Removed.
* platform/wx/wxcode/mac/carbon/non-kerned-drawing.cpp: Removed.
* platform/wx/wxcode/mac/carbon/scrollbar_render.cpp: Removed.
* platform/wx/wxcode/non-kerned-drawing.h: Removed.
* platform/wx/wxcode/scrollbar_render.h: Removed.
* platform/wx/wxcode/win/fontprops.cpp: Removed.
* platform/wx/wxcode/win/non-kerned-drawing.cpp: Removed.
* platform/wx/wxcode/win/scrollbar_render.cpp: Removed.
* plugins/wx/PluginDataWx.cpp: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Inline SelectorQuery::matches, SelectorQuery::queryAll, SelectorQuery::queryFirst
https://bugs.webkit.org/show_bug.cgi?id=115012

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
Reviewed by Andreas Kling.

Each of these function has a single call site:
-SelectorQuery::matches from Element::webkitMatchesSelector.
-SelectorQuery::queryAll from Node::querySelectorAll.
-SelectorQuery::queryFirst from Node::querySelector.

Having a dedicated method to jump to was a little overkill.

* dom/SelectorQuery.cpp:
* dom/SelectorQuery.h:
(WebCore::SelectorQuery::matches):
(WebCore::SelectorQuery::queryAll):
(WebCore::SelectorQuery::queryFirst):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AppleWin build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* WTF.vcproj/WTF.vcproj:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] REGRESSION (r148975) shape-inside-percentage.html and shape-inside-overflow-fixed-dimensions.html are failing after r148975
https://bugs.webkit.org/show_bug.cgi?id=115053

Unreviewed gardening.

* platform/qt/TestExpectations: Skip failing tests.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Ctrl+Shift+Right in Windows should select the spacing after the word
https://bugs.webkit.org/show_bug.cgi?id=110487

Reviewed by Ryosuke Niwa.

Source/WebCore:

Tests: editing/deleting/smart-editing-disabled-win.html
       editing/execCommand/remove-format-multiple-elements-win.html
       editing/execCommand/toggle-link-win.html
       editing/execCommand/toggle-unlink-win.html
       editing/selection/extend-selection-enclosing-block-win.html
       editing/style/make-text-writing-direction-inline-win.html
       editing/style/push-down-font-styles-win.html
       editing/style/push-down-implicit-styles-around-list-win.html

* editing/FrameSelection.cpp:
(WebCore::FrameSelection::nextWordPositionForPlatform): New method
that takes platform-specific editing behaviour in order to decide
what the next word position is, that is, for Windows, skip
spacing, for all other platforms, behave as currently.
(WebCore::FrameSelection::modifyExtendingRight):
(WebCore::FrameSelection::modifyExtendingForward):
(WebCore::FrameSelection::modifyMovingForward):
(WebCore::FrameSelection::modifyExtendingLeft): Use the new method
in all of the above.
* editing/FrameSelection.h: Declare the new method.

LayoutTests:

* editing/deleting/smart-editing-disabled-win-expected.txt: Added.
* editing/deleting/smart-editing-disabled-win.html: Added.
* editing/execCommand/query-command-state-expected.txt:
* editing/execCommand/remove-format-multiple-elements-win-expected.txt: Added.
* editing/execCommand/remove-format-multiple-elements-win.html: Added.
* editing/execCommand/script-tests/query-command-state.js:
(runTests): Update to reflect new editing behavior in Windows.
* editing/execCommand/script-tests/remove-format-multiple-elements-win.js: Added.
* editing/execCommand/script-tests/toggle-link-win.js: Added.
* editing/execCommand/script-tests/toggle-unlink-win.js: Added.
* editing/execCommand/toggle-link-win-expected.txt: Added.
* editing/execCommand/toggle-link-win.html: Added.
* editing/execCommand/toggle-unlink-win-expected.txt: Added.
* editing/execCommand/toggle-unlink-win.html: Added.
* editing/selection/extend-selection-enclosing-block-win-expected.txt: Added.
* editing/selection/extend-selection-enclosing-block-win.html: Added.
* editing/selection/resources/extend-selection.js:
(extendSelectionWithinBlockWin): Method to test behavior in windows.
(extendAndLogSelectionWithinBlock): Add test support for Windows.
* editing/selection/selection-extend-should-not-move-across-caret-on-mac.html:
Add test support for Windows editing behavior.
* editing/style/make-text-writing-direction-inline-win-expected.txt: Added.
* editing/style/make-text-writing-direction-inline-win.html: Added.
* editing/style/push-down-font-styles-win-expected.txt: Added.
* editing/style/push-down-font-styles-win.html: Added.
* editing/style/push-down-implicit-styles-around-list-win-expected.txt: Added.
* editing/style/push-down-implicit-styles-around-list-win.html: Added.
* editing/style/script-tests/make-text-writing-direction-inline-win.js: Added.
* editing/style/script-tests/push-down-font-styles-win.js: Added.
* editing/style/script-tests/push-down-implicit-styles-around-list-win.js: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tiled layers clipped inside nested transform/preserve-3d hierarchies
https://bugs.webkit.org/show_bug.cgi?id=115044

Source/WebCore:

Reviewed by Dean Jackson.

The optimization added in r139479 to call move() for integral translation
transforms hit a bug in TransformState::move(). If m_accumulatedTransform is
not null, we have to apply it.

Test: compositing/visible-rect/flipped-preserve-3d.html

* platform/graphics/transforms/TransformState.cpp:
(WebCore::TransformState::move):

LayoutTests:

Reviewed by Dean Jackson.

Testcase that dumps visible rects for tiled layers inside nested
transformed/preserve-3d hierarchies.

* compositing/visible-rect/flipped-preserve-3d-expected.txt: Added.
* compositing/visible-rect/flipped-preserve-3d.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Simplify the baseline JIT loop hint call site.
https://bugs.webkit.org/show_bug.cgi?id=115052.

Reviewed by Geoffrey Garen.

Moved the watchdog timer check after the JIT optimization check. This
ensures that the JIT opimization counter is incremented on every loop
hint even if the watchdog timer fires.

Removed the code that allows the JIT OSR to happen if the watchdog
timer fires but does not result in a termination. It is extremely rare
that the JIT optimization counter would trigger an OSR on the same pass
as when the watchdog timer fire. If it does happen, we'll simply hold
off on servicing the watchdog timer until the next pass (because it's
not time critical).

* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_loop_hint):
(JSC::JIT::emitSlow_op_loop_hint):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove redundant code in ViewportArguments::resolve
https://bugs.webkit.org/show_bug.cgi?id=115054

Patch by Jacky Jiang <zhajiang@blackberry.com>.
Reviewed by Kenneth Rohde Christiansen.

Remove redundant code "result.orientation = orientation;".

* dom/ViewportArguments.cpp:
(WebCore::ViewportArguments::resolve):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web process crashes at WebPage::determinePrimarySnapshottedPlugInTimerFired + 8
https://bugs.webkit.org/show_bug.cgi?id=115056
<rdar://problem/13719543>

Reviewed by Simon Fraser.

Stop the primary plugin detection timer if the WebPage is torn down.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::close):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Pick up color and mat values in custom shaders
https://bugs.webkit.org/show_bug.cgi?id=115046

Reviewed by Dean Jackson.

Source/WebCore:

The custom filter functions accept color values and mat2-4 functions
as parameter types. These were implemented in CSS already.
This patch picks up the values and applies them as uniforms to the
custom shader program.

Tests: css3/filters/custom/custom-filter-color.html
       css3/filters/custom/custom-filter-matN.html

* platform/graphics/filters/CustomFilterRenderer.cpp:
(WebCore::CustomFilterRenderer::bindProgramColorParameters): Set uniform for color values.
(WebCore):
(WebCore::CustomFilterRenderer::bindProgramMatrixParameters): Set uniform for mat2-4 values.
(WebCore::CustomFilterRenderer::bindProgramParameters): Call color and matrix functions.
* platform/graphics/filters/CustomFilterRenderer.h:
(WebCore):
(CustomFilterRenderer):

LayoutTests:

Test that the CSS defined color values and mat2-4 functions get
set as uniforms in shader programs.

* css3/filters/custom/custom-filter-color-expected.html: Added.
* css3/filters/custom/custom-filter-color.html: Added.
* css3/filters/custom/custom-filter-matN-expected.html: Added.
* css3/filters/custom/custom-filter-matN.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Minor String usage fixes in WebCore/platform
https://bugs.webkit.org/show_bug.cgi?id=115021

Reviewed by Andreas Kling.

Use ASCIILiteral when possible + minor fixes.

* platform/ContentType.cpp:
(WebCore::ContentType::codecs):
* platform/ContentType.h:
(ContentType):
* platform/Decimal.cpp:
(WebCore::Decimal::toString):
* platform/KURL.cpp:
(WebCore::KURL::setProtocol):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove the WebKit layer of wxWebKit
https://bugs.webkit.org/show_bug.cgi?id=115006

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
Reviewed by Anders Carlsson.

The wxWebKit port is no longer actively maintained by Kevin
on webkit.org. Remove the code until new maintainers resume the work.

* wx/WebBrowserShell.cpp: Removed.
* wx/WebBrowserShell.h: Removed.
* wx/WebDOMSelection.cpp: Removed.
* wx/WebDOMSelection.h: Removed.
* wx/WebEdit.cpp: Removed.
* wx/WebEdit.h: Removed.
* wx/WebFrame.cpp: Removed.
* wx/WebFrame.h: Removed.
* wx/WebFramePrivate.h: Removed.
* wx/WebKitDefines.h: Removed.
* wx/WebKitSupport/ChromeClientWx.cpp: Removed.
* wx/WebKitSupport/ChromeClientWx.h: Removed.
* wx/WebKitSupport/ContextMenuClientWx.cpp: Removed.
* wx/WebKitSupport/ContextMenuClientWx.h: Removed.
* wx/WebKitSupport/DragClientWx.cpp: Removed.
* wx/WebKitSupport/DragClientWx.h: Removed.
* wx/WebKitSupport/EditCommandWx.h: Removed.
* wx/WebKitSupport/EditorClientWx.cpp: Removed.
* wx/WebKitSupport/EditorClientWx.h: Removed.
* wx/WebKitSupport/FrameLoaderClientWx.cpp: Removed.
* wx/WebKitSupport/FrameLoaderClientWx.h: Removed.
* wx/WebKitSupport/FrameNetworkingContextWx.h: Removed.
* wx/WebKitSupport/InspectorClientWx.cpp: Removed.
* wx/WebKitSupport/InspectorClientWx.h: Removed.
* wx/WebSettings.cpp: Removed.
* wx/WebSettings.h: Removed.
* wx/WebView.cpp: Removed.
* wx/WebView.h: Removed.
* wx/WebViewPrivate.h: Removed.
* wx/bindings/python/samples/simple.py: Removed.
* wx/bindings/python/webview.i: Removed.
* wx/bindings/python/wscript: Removed.
* wx/wscript: Removed.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r148922): Crash opening web archives or loading web pages
https://bugs.webkit.org/show_bug.cgi?id=115061
<rdar://problem/13714228>

Reviewed by Sam Weinig.

* WebProcess/Network/WebResourceLoader.cpp:
(WebKit::WebResourceLoader::didReceiveResponseWithCertificateInfo):
Calling ResourceLoader::didReceiveResponse can cause the WebResourceLoader object to go away,
so protect it here and guard against a null core loader.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
NRWT: confusing warning about a line being in a Skipped file when it is really just listed
in _missing_symbol_to_skipped_tests in base.py
https://bugs.webkit.org/show_bug.cgi?id=108884

Patch by Jessie Berlin <jberlin@apple.com> on 2013-04-23
Reviewed by Tim Horton.

Tools:

Remove symbol-based skipped list detection.

* Scripts/webkitpy/port/base.py:
(Port._missing_feature_to_skipped_tests):
(Port._skipped_tests_for_unsupported_features):
* Scripts/webkitpy/port/port_testcase.py:
(PortTestCase.test_path_to_test_expectations_file):

LayoutTests:

Explicitly skip the mhtml tests on the Mac and Win ports.

* platform/mac/TestExpectations:
* platform/win/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
'length' property of DOM bindings functions returns wrong value
https://bugs.webkit.org/show_bug.cgi?id=110569

Reviewed by Geoffrey Garen.

Source/WebCore:

Make the 'length' property of Function objects and Interface
objects behave according to the latest Web IDL specification
editor draft:
http://dev.w3.org/2006/webapi/WebIDL/#es-interface-call
http://dev.w3.org/2006/webapi/WebIDL/#es-operations

As a result, only mandatory arguments are taken into account
when computing the value for the 'length' property. This
behavior is consistent with Firefox and Blink.

Tests: fast/js/constructor-length.html
       fast/js/function-length.html

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
(GenerateConstructorHelperMethods):
Update the JSC code generator to only account for mandatory parameters
when computing the value for the 'length' property of Function objects
and constructors.

* bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
(WebCore::JSTestActiveDOMObjectConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
(WebCore::JSTestCustomNamedGetterConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestEventConstructor.cpp:
(WebCore::JSTestEventConstructorConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::JSTestEventTargetConstructor::finishCreation):
(WebCore):
* bindings/scripts/test/JS/JSTestException.cpp:
(WebCore::JSTestExceptionConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore::JSTestInterfaceConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
(WebCore::JSTestMediaQueryListListenerConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
(WebCore::JSTestNamedConstructorConstructor::finishCreation):
(WebCore::JSTestNamedConstructorNamedConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
(WebCore::JSTestSerializedScriptValueInterfaceConstructor::finishCreation):
(WebCore):
* bindings/scripts/test/JS/JSTestTypedefs.cpp:
(WebCore):
Rebaseline bindings tests results.

* fileapi/Blob.idl:
Remove 'ConstructorParameters=2' extended attribute as the correct value
is 0, given that a Blob can be constructed without parameter.

* html/canvas/DataView.idl:
Update ConstructorParameters extended attribute value from 3 to 1 as only
one of the 3 parameters is mandatory.

* html/canvas/Float32Array.idl:
* html/canvas/Float64Array.idl:
* html/canvas/Int16Array.idl:
* html/canvas/Int32Array.idl:
* html/canvas/Int8Array.idl:
* html/canvas/Uint16Array.idl:
* html/canvas/Uint32Array.idl:
* html/canvas/Uint8Array.idl:
* html/canvas/Uint8ClampedArray.idl:
Remove 'ConstructorParameters=1' extended attribute from interfaces using
'ConstructorTemplate=TypedArray' as the bindings generator now properly
compute the number of constructor parameters for such interfaces.

* page/WebKitPoint.idl:
Remove 'ConstructorParameters=2' extended attribute as the correct value
should be 0, given that a WebKitPoint can be constructed without parameters.

LayoutTests:

Update fast/js/constructor-length.html test case now that only
mandatory arguments are considered for the constructor length.

Also add a new fast/js/function-length.html test to make sure
that the 'length' property of Function objects from DOM
bindings behaves according to the Web IDL specification as
this was not covered by existing tests.

* fast/files/blob-constructor-expected.txt: Rebaseline.
* fast/files/script-tests/blob-constructor.js: Update test now that Blob constructor
length is 0 instead of 2.
* fast/js/constructor-length.html:
* fast/js/function-length-expected.txt: Added.
* fast/js/function-length.html: Added.
* platform/blackberry/fast/js/constructor-length-expected.txt: Rebaseline.
* platform/efl/TestExpectations: Unskip fast/js/constructor-length.html for EFL port.
* platform/efl/fast/js/constructor-length-expected.txt: Copied from LayoutTests/platform/mac/fast/js/constructor-length-expected.txt.
* platform/gtk/fast/js/constructor-length-expected.txt: Rebaseline.
* platform/mac/fast/js/constructor-length-expected.txt: Rebaseline.
* platform/qt/fast/js/constructor-length-expected.txt: Rebaseline.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Don't create compositing layers for sticky position unless using the ScrollingCoordinator
https://bugs.webkit.org/show_bug.cgi?id=115060

Source/WebCore:

Reviewed by Tim Horton.

Creating compositing layers for sticky position elements is only useful
when we're using a ScrollingCoordinator, so don't create them if
we're not in a frame that uses a scrolling coordinator.

Tests: compositing/layer-creation/no-compositing-for-sticky.html
       platform/mac-wk2/tiled-drawing/sticky/sticky-layers.html

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::requiresCompositingForPosition):

LayoutTests:

Reviewed by Tim Horton.

Tests that we create layers for sticky position when in tiled drawing mode,
and that we have no layers when not.

* compositing/layer-creation/no-compositing-for-sticky-expected.txt: Added.
* compositing/layer-creation/no-compositing-for-sticky.html: Added.
* platform/mac-wk2/tiled-drawing/sticky/sticky-layers-expected.txt: Added.
* platform/mac-wk2/tiled-drawing/sticky/sticky-layers.html: Added.

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