[WIN] Fix build without precompiled header after r144216.

* platform/network/cf/FormDataStreamCFNet.h:
* platform/network/mac/FormDataStreamMac.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix compilation of LocaleWin with !ENABLE(CALENDAR_PICKER) && !ENABLE(DATE_AND_TIME_INPUT_TYPES)

* platform/text/win/LocaleWin.cpp:
(WebCore::LocaleWin::ensureShortMonthLabels):
(WebCore):
(WebCore::LocaleWin::ensureMonthLabels):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WIN] Fix build without precompiled header after r145827.

* platform/ContextMenuItem.h:
* platform/PlatformMenuDescription.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
table element may get larger when its contents are recreated
https://bugs.webkit.org/show_bug.cgi?id=111342

Reviewed by Darin Adler.

Source/WebCore:

Remove anonymous table section wrappers when destroying their children.

Test: fast/table/anonymous-table-section-removed.html

* rendering/RenderObject.cpp:
(WebCore::RenderObject::destroyAndCleanupAnonymousWrappers):

LayoutTests:

* fast/table/anonymous-table-section-removed-expected.txt: Added.
* fast/table/anonymous-table-section-removed.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Inspector should display information about non-object exceptions
https://bugs.webkit.org/show_bug.cgi?id=114123

Reviewed by Adele Peterson.

Source/JavaScriptCore:

Make sure we store the right stack information, even when throwing
a primitive.

* interpreter/CallFrame.h:
(JSC::ExecState::clearSupplementaryExceptionInfo):
(ExecState):
* interpreter/Interpreter.cpp:
(JSC::Interpreter::addStackTraceIfNecessary):
(JSC::Interpreter::throwException):

Source/WebCore:

Make use of the stack trace for line information when we're reporting
an exception

* bindings/js/JSDOMBinding.cpp:
(WebCore::reportException):

LayoutTests:

All these tests throw primitives as exceptions, and now they have source
and line number information

* fast/dom/exception-getting-event-handler-expected.txt:
* fast/dom/javascript-url-exception-isolation-expected.txt:
* fast/dom/nested-script-exceptions-expected.txt:
* fast/events/onerror-no-constructor-expected.txt:
* fast/events/window-onerror13-expected.txt:
* fast/events/window-onerror16-expected.txt:
* fast/events/window-onerror2-expected.txt:
* fast/events/window-onerror8-expected.txt:
* fast/js/uncaught-exception-line-number-expected.txt:
* fast/sub-pixel/inline-block-with-padding-expected.txt:
* platform/mac/fast/AppleScript/001-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL gardening.

Rebaseline several test cases.

* platform/efl-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
* platform/efl-wk2/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
* platform/efl/fast/forms/datalist/input-list-expected.txt:
* platform/efl/fast/forms/search-display-none-cancel-button-expected.png:
* platform/efl/fast/forms/search-display-none-cancel-button-expected.txt:
* platform/efl/fast/js/dom-static-property-for-in-iteration-expected.txt: Added.
* platform/efl/fast/js/global-constructors-expected.txt:
* platform/efl/http/tests/inspector/console-websocket-error-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL gardening.

Generate missing baselines.

* platform/efl/editing/pasteboard/paste-text-004-expected.png: Added.
* platform/efl/svg/filters/feDropShadow-zero-deviation-expected.png: Added.
* platform/efl/svg/filters/feDropShadow-zero-deviation-expected.txt: Added.
* platform/efl/svg/filters/feGaussianBlur-zero-deviation-expected.png: Added.
* platform/efl/svg/filters/feGaussianBlur-zero-deviation-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL gardening.

Mark a few tests as crashing on EFL port.

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL gardening.

Skip a few test failing due to missing Quota API support.

* platform/efl/TestExpectations:

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

Rebaseline several test cases that have line number information after r147872.

* http/tests/inspector-enabled/console-exception-while-no-inspector-expected.txt:
* http/tests/security/window-onerror-exception-in-iframe-expected.txt:
* inspector/console/alert-toString-exception-expected.txt:
* storage/indexeddb/exception-in-event-aborts-expected.txt:
* storage/websql/sql-error-codes-expected.txt:
* storage/websql/statement-error-callback-expected.txt:
* storage/websql/transaction-callback-exception-crash-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove the rest of SVG_DOM_OBJC_BINDINGS
<http://webkit.org/b/114112>

Reviewed by Geoffrey Garen.

.:

* Source/autotools/SetupWebKitFeatures.m4:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:
- Remove references to ENABLE_SVG_DOM_OBJC_BINDINGS.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:
- Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.

Source/WebCore:

* Configurations/WebCore.xcconfig:
- Remove EXCLUDED_SOURCE_FILE_NAMES_SVG_DOM_OBJC_BINDINGS.  Note
  that DOMHTMLIFrameElementPrivate.h should not have been in
  this list because the class contained methods other than just
  -getSVGDocument.

* WebCore.xcodeproj/project.pbxproj:
- Remove DOMHTMLFrameElementPrivate.h since the only method it
  contained was -[DOMHTMLFrameElement getSVGDocument], which was
  part of the SVG DOM Objective-C bindings.

* bindings/objc/DOM.mm:
(kitClass):
* bindings/objc/DOMEvents.mm:
(kitClass):
* bindings/objc/ExceptionHandlers.mm:
(WebCore::raiseDOMException):
- Remove code in ENABLE(SVG_DOM_OBJC_BINDINGS).

Source/WebKit/blackberry:

* WebCoreSupport/AboutDataEnableFeatures.in:
- Remove reference to SVG_DOM_OBJC_BINDINGS.

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:
- Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.

Source/WTF:

* wtf/FeatureDefines.h:
- Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.

Tools:

* Scripts/webkitperl/FeatureList.pm:
- Remove --svg-dom-objc-bindings switch.
* qmake/mkspecs/features/features.pri:
- Remove reference to ENABLE_SVG_DOM_OBJC_BINDINGS.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove references to Skia and V8 from CMake files
https://bugs.webkit.org/show_bug.cgi?id=114130

Reviewed by Geoffrey Garen.

.:

* Source/cmake/OptionsBlackBerry.cmake:
* Source/cmake/WebKitPackaging.cmake:

Source/JavaScriptCore:

* shell/PlatformBlackBerry.cmake:

Source/WebCore:

* PlatformBlackBerry.cmake:

Source/WebKit:

* PlatformBlackBerry.cmake:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL gardening.

Marked another webaudio test as flaky.

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Do not check if WTF_ARM_ARCH_VERSION is defined in WTF_ARM_ARCH_AT_LEAST macro
https://bugs.webkit.org/show_bug.cgi?id=114127

Reviewed by Benjamin Poulain.

Platform.h defines WTF_ARM_ARCH_VERSION for CPU(ARM) always and removing
the check works around a bug in older Microsoft compiler versions.

* wtf/Platform.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WinCE] Add workaround for UNUSED_PARAM()
https://bugs.webkit.org/show_bug.cgi?id=113440

Reviewed by Benjamin Poulain.

The MSVC compiler for Windwos CE throws an error when
an function parameter is passed to UNUSED_PARAM() and
its type is only forward declared.

* wtf/UnusedParam.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add default implementation for KURL::fileSystemPath()
https://bugs.webkit.org/show_bug.cgi?id=108326

Reviewed by Benjamin Poulain.

The code for KURL::fileSystemPath() has been duplicated in different ports.
Add an implementation of this function to KURL.cpp for this ports and
get rid of the very similar port specific implementation files.

* PlatformBlackBerry.cmake:
* PlatformEfl.cmake:
* PlatformWinCE.cmake:
* platform/KURL.cpp:
(WebCore):
(WebCore::KURL::fileSystemPath):
* platform/blackberry/KURLBlackBerry.cpp: Removed.
* platform/efl/KURLEfl.cpp: Removed.
* platform/wince/KURLWinCE.cpp: Removed.
* platform/wx/KURLWx.cpp: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WIN] Fix problems with export macros of AutodrainedPool
https://bugs.webkit.org/show_bug.cgi?id=114132

Reviewed by Geoffrey Garen.

Exporting an inline function results in an error with the MS compiler.

* wtf/AutodrainedPool.h:
(AutodrainedPool):
(WTF::AutodrainedPool::AutodrainedPool):
(WTF::AutodrainedPool::~AutodrainedPool):
(WTF::AutodrainedPool::cycle):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] --minimal build fails with error: expected `;' before `return'
https://bugs.webkit.org/show_bug.cgi?id=113953

Unreviewed.

Patch by Ed Bartosh <bartosh@gmail.com> on 2013-04-07

* ewk/ewk_security_origin.cpp:
(ewk_security_origin_web_database_quota_get): Added missing semicolon.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] --minimal build fails because of incorrect usage of GENERATE_THEME in CMakeLists.txt
https://bugs.webkit.org/show_bug.cgi?id=113902

Unreviewed.

Patch by Ed Bartosh <bartosh@gmail.com> on 2013-04-07

* platform/efl/DefaultTheme/CMakeLists.txt:
Put possibly empty variable after non-empty to avoid space
at the beginning of string parameter

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use Vector::reserveInitialCapacity() when possible in JavaScriptCore runtime
https://bugs.webkit.org/show_bug.cgi?id=114111

Reviewed by Andreas Kling.

Almost all the code was already using Vector::reserveInitialCapacity()
and Vector::uncheckedAppend(). Fix the remaining parts.

* runtime/ArgList.h:
(MarkedArgumentBuffer): The type VectorType is unused.

* runtime/ArrayPrototype.cpp:
(JSC::arrayProtoFuncSort):
Move the variable closer to where it is needed.

* runtime/JSArray.cpp:
(JSC::JSArray::setLengthWithArrayStorage):
* runtime/JSObject.cpp:
(JSC::JSObject::getOwnPropertyNames):


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