Copy test pre and post js files to LayoutTests/resources.
https://bugs.webkit.org/show_bug.cgi?id=120957.

Reviewed by Ryosuke Niwa.

* resources/js-test-post-async.js: Copied from LayoutTests/fast/js/resources/js-test-post-async.js.
* resources/js-test-post.js: Copied from LayoutTests/fast/js/resources/js-test-post.js.
* resources/js-test-pre.js: Copied from LayoutTests/fast/js/resources/js-test-pre.js.
* resources/standalone-post.js: Copied from LayoutTests/fast/js/resources/standalone-post.js.
* resources/standalone-pre.js: Copied from LayoutTests/fast/js/resources/standalone-pre.js.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Get rid of FastAllocBase.h
https://bugs.webkit.org/show_bug.cgi?id=120952

Reviewed by Antti Koivisto.

Source/JavaScriptCore:

Include FastMalloc.h instead of FastAllocBase.h.

* assembler/LinkBuffer.h:
* bytecode/CodeBlock.h:
* bytecode/StructureStubClearingWatchpoint.h:
* dfg/DFGFinalizer.h:
* dfg/DFGLongLivedState.h:
* dfg/DFGSlowPathGenerator.h:
* ftl/FTLAbstractHeap.h:
* heap/JITStubRoutineSet.h:
* jit/CompactJITCodeMap.h:
* profiler/ProfilerDatabase.h:
* profiler/ProfilerExecutionCounter.h:

Source/WebCore:

Include FastMalloc.h instead of FastAllocBase.h.

* Modules/webdatabase/SQLTransactionClient.h:
* bindings/js/GCController.h:
* bridge/Bridge.h:
* bridge/IdentifierRep.h:
* dom/DocumentStyleSheetCollection.h:
* dom/TransformSource.h:
* html/InputType.h:
* inspector/InspectorCounters.h:
* inspector/InstrumentingAgents.h:
* inspector/WorkerInspectorController.h:
* loader/cache/CachedResourceClient.h:
* page/FrameActionScheduler.h:
* platform/Length.h:
* platform/MemoryPressureHandler.h:
* platform/ScrollAnimator.h:
* platform/SharedTimer.h:
* platform/audio/gstreamer/FFTFrameGStreamer.cpp:
* platform/cairo/WidgetBackingStore.h:
* platform/graphics/Color.h:
* platform/graphics/FontData.h:
* platform/graphics/Path.h:
* platform/graphics/qt/FontCustomPlatformData.h:
* platform/graphics/transforms/AffineTransform.h:
* platform/graphics/transforms/TransformationMatrix.h:
* platform/gtk/GtkDragAndDropHelper.h:
* platform/gtk/GtkPopupMenu.h:
* platform/network/NetworkStateNotifier.h:
* platform/sql/SQLiteTransaction.h:
* platform/text/enchant/TextCheckerEnchant.h:
* rendering/RenderArena.h:
* rendering/TableLayout.h:
* rendering/style/StyleCustomFilterProgram.h:
* rendering/style/StyleCustomFilterProgramCache.h:
* svg/SVGPathConsumer.h:
* workers/WorkerScriptLoader.h:

Source/WTF:

FastAllocBase.h now only contains the WTF_MAKE_FAST_ALLOCATED macro.
Move that macro to FastMalloc.h instead and remove FastAllocBase.h.

* WTF.vcxproj/WTF.vcxproj:
* WTF.vcxproj/WTF.vcxproj.filters:
* WTF.xcodeproj/project.pbxproj:
* wtf/DeferrableRefCounted.h:
* wtf/FastAllocBase.h: Removed.
* wtf/FastMalloc.h:
* wtf/HashSet.h:
* wtf/MediaTime.h:
* wtf/PrintStream.h:
* wtf/RefCounted.h:
* wtf/RefPtr.h:
* wtf/ThreadingPrimitives.h:
* wtf/Vector.h:
* wtf/gobject/GMutexLocker.h:
* wtf/unicode/Collator.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Change fast/js/resources files to use pre and post js files in LayoutTests/resources.
https://bugs.webkit.org/show_bug.cgi?id=120958.

Rubber stamped by Filip Pizlo.

* fast/js/resources/Promise-catch-in-workers.js:
* fast/js/resources/Promise-fulfill-in-workers.js:
* fast/js/resources/Promise-init-in-workers.js:
* fast/js/resources/Promise-reject-in-workers.js:
* fast/js/resources/Promise-resolve-in-workers.js:
* fast/js/resources/Promise-simple-in-workers.js:
* fast/js/resources/Promise-then-in-workers.js:
* fast/js/resources/Promise-then-without-callbacks-in-workers.js:
* fast/js/resources/document-all-between-frames-subframe.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unnecessary sibling text renderers after attach
https://bugs.webkit.org/show_bug.cgi?id=120953

Source/WebCore: 

Reviewed by the Swedish Review Team: Anders Carlsson and Andreas Kling.

The current createTextRenderersForSiblingsAfterAttachIfNeeded code only adds text renderers, never removes them. 
Style changes can go either way.
        
The patch causes no visible changes in rendered output. The whitespace nodes that it affects are leftovers that
have no rendering effect. However it does change results of many dumpAsText and render tree dump based layout
tests as unnecessary text nodes disappear.
        
The main goal is to make results of dynamic attach and parsing time attach produce more similar results. As
an added bonus we get slightly simpler rendering trees.
        
Rendering tree dumps show us still leaving behind empty anonymous blocks when removing whitespace text nodes.
Those should collapse away too.

* style/StyleResolveTree.cpp:
(WebCore::Style::reattachTextRenderersForWhitespaceOnlySiblingsAfterAttachIfNeeded):
        
    Allow the code both create and remove text renderers.
    Tighten to bail out faster if case is not the exact one that matters.
    Use NodeRenderingTraversal to mirror textRendererIsNeeded.
    Renamed for clarity.

(WebCore::Style::updateTextRendererAfterContentChange):
(WebCore::Style::resolveLocal):
(WebCore::Style::updateTextStyle):
(WebCore::Style::attachRenderTree):

LayoutTests: 

Reviewed by Anders Carlsson and Andreas Kling.

A bunch of spaces and empty lines disappear from dumpAsText test results.
Empty RenderTexts disapper from render tree dumps.

* css3/flexbox/flex-flow-auto-margins-expected.txt:
* css3/flexbox/flex-flow-auto-margins-no-available-space-expected.txt:
* css3/flexbox/flex-flow-border-expected.txt:
* css3/flexbox/flex-flow-margins-auto-size-expected.txt:
* css3/flexbox/flex-flow-margins-expected.txt:
* css3/flexbox/flex-flow-orientations-expected.txt:
* css3/flexbox/flex-flow-overflow-expected.txt:
* css3/flexbox/flex-flow-padding-expected.txt:
* css3/flexbox/flexbox-ignore-firstLetter-expected.txt:
* css3/flexbox/inline-flexbox-ignore-firstLine-expected.txt:
* css3/flexbox/intrinsic-min-width-applies-with-fixed-width-expected.txt:
* editing/selection/focus-crash-expected.txt:
        
    A few frame based tests also gain an extra space from alrgorithm fixes in creation direction.

* editing/style/toggle-style-bold-italic-expected.txt:
* editing/style/toggle-style-bold-italic-mixed-editability-expected.txt:
* fast/block/float/intruding-float-not-removed-writing-mode-expected.txt:
* fast/css/getComputedStyle/getComputedStyle-resolved-values-expected.txt:
* fast/css/import-style-update-expected.txt:
* fast/css/positioned-overflow-scroll-expected.txt:
* fast/dom/HTMLLinkElement/resolve-url-on-insertion-expected.txt:
* fast/dom/search-shadow-host-crash-expected.txt:
* fast/dynamic/inline-to-block-crash-expected.txt:
* fast/events/input-element-display-none-in-dragleave-crash-expected.txt:
* fast/flexbox/intrinsic-min-width-applies-with-fixed-width-expected.txt:
* fast/forms/select-listbox-focus-displaynone-expected.txt:
* fast/frames/repaint-display-none-crash-expected.txt:
* fast/inline/inline-with-empty-inline-children-expected.txt:
* fast/inline/out-of-flow-objects-and-whitespace-after-empty-inline-expected.txt:
* fast/repaint/text-in-relative-positioned-inline-expected.txt:
* fast/replaced/computed-image-width-with-percent-height-and-fixed-ancestor-expected.txt:
* fast/replaced/computed-image-width-with-percent-height-and-fixed-ancestor-vertical-lr-expected.txt:
* fast/replaced/preferred-widths-expected.txt:
* fast/spatial-navigation/snav-tiny-table-traversal-expected.txt:
* fast/table/min-max-width-preferred-size-expected.txt:
* fast/xsl/import-non-document-node-expected.txt:
* fullscreen/full-screen-fixed-pos-parent-expected.txt:
* http/tests/appcache/auth-expected.txt:
* http/tests/cache/subresource-expiration-1-expected.txt:
* http/tests/cache/subresource-expiration-2-expected.txt:
* http/tests/xmlhttprequest/send-array-buffer-expected.txt:
* http/tests/xmlhttprequest/send-data-view-expected.txt:
* http/tests/xmlhttprequest/send-undefined-and-null-expected.txt:
* platform/mac/editing/input/firstrectforcharacterrange-plain-expected.txt:
* platform/mac/editing/input/firstrectforcharacterrange-styled-expected.txt:
* platform/mac/editing/pasteboard/4989774-expected.txt:
* platform/mac/editing/pasteboard/paste-match-style-001-expected.txt:
* platform/mac/editing/selection/caret-ltr-2-expected.txt:
* platform/mac/editing/selection/caret-ltr-2-left-expected.txt:
* platform/mac/editing/selection/caret-ltr-expected.txt:
* platform/mac/editing/selection/caret-ltr-right-expected.txt:
* platform/mac/editing/selection/caret-rtl-2-expected.txt:
* platform/mac/editing/selection/caret-rtl-2-left-expected.txt:
* platform/mac/editing/selection/caret-rtl-expected.txt:
* platform/mac/editing/selection/caret-rtl-right-expected.txt:
* platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
* platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
* platform/mac/editing/spelling/autocorrection-in-textarea-expected.txt:
* platform/mac/editing/style/style-boundary-005-expected.txt:
* platform/mac/fast/AppleScript/001-expected.txt:
* platform/mac/fast/AppleScript/date-expected.txt:
* platform/mac/fast/forms/formmove3-expected.txt:
* platform/mac/fast/forms/input-align-image-expected.txt:
* platform/mac/fast/forms/preserveFormDuringResidualStyle-expected.txt:
* platform/mac/fast/invalid/003-expected.txt:
* platform/mac/fast/text/attributed-substring-from-range-002-expected.txt:
* platform/mac/tables/mozilla/bugs/bug647-expected.txt:
* userscripts/user-script-all-frames-expected.txt:
* userscripts/user-script-top-frame-only-expected.txt:
        
    Here too.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
It should be possible to run-javascriptcore-tests with only a subset of the test suites
https://bugs.webkit.org/show_bug.cgi?id=120918

Reviewed by Dan Bernstein.

* Scripts/run-javascriptcore-tests:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Change fast/js/kde files to use pre and post js files in LayoutTests/resources.
https://bugs.webkit.org/show_bug.cgi?id=120960.

Rubber stamped by Filip Pizlo.

* fast/js/kde/Array.html:
* fast/js/kde/Boolean.html:
* fast/js/kde/Date-setYear.html:
* fast/js/kde/Error.html:
* fast/js/kde/GlobalObject.html:
* fast/js/kde/Number.html:
* fast/js/kde/Object.html:
* fast/js/kde/Prototype.html:
* fast/js/kde/RegExp.html:
* fast/js/kde/StringObject.html:
* fast/js/kde/arguments-scope.html:
* fast/js/kde/assignments.html:
* fast/js/kde/cast.html:
* fast/js/kde/comment-1.html:
* fast/js/kde/comment-2.html:
* fast/js/kde/completion.html:
* fast/js/kde/conditional.html:
* fast/js/kde/const.html:
* fast/js/kde/constructor_length.html:
* fast/js/kde/crash-1.html:
* fast/js/kde/crash-2.html:
* fast/js/kde/delete.html:
* fast/js/kde/empty.html:
* fast/js/kde/encode_decode_uri.html:
* fast/js/kde/eval.html:
* fast/js/kde/evil-n.html:
* fast/js/kde/exception_propagation.html:
* fast/js/kde/exceptions.html:
* fast/js/kde/func-decl.html:
* fast/js/kde/function.html:
* fast/js/kde/function_arguments.html:
* fast/js/kde/function_constructor.html:
* fast/js/kde/function_length.html:
* fast/js/kde/garbage-n.html:
* fast/js/kde/inbuilt_function_proto.html:
* fast/js/kde/inbuilt_function_tostring.html:
* fast/js/kde/iteration.html:
* fast/js/kde/j-comment-3.html:
* fast/js/kde/j-comment-4.html:
* fast/js/kde/literals.html:
* fast/js/kde/lval-exceptions.html:
* fast/js/kde/math.html:
* fast/js/kde/md5-1.html:
* fast/js/kde/md5-2.html:
* fast/js/kde/object_prototype.html:
* fast/js/kde/object_prototype_tostring.html:
* fast/js/kde/operators.html:
* fast/js/kde/parse.html:
* fast/js/kde/prototype_length.html:
* fast/js/kde/prototype_proto.html:
* fast/js/kde/scope.html:
* fast/js/kde/statements.html:
* fast/js/kde/string-1-n.html:
* fast/js/kde/string-2-n.html:
* fast/js/kde/var_decl_init.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
removing --dialog-element from build-webkit --help option message
https://bugs.webkit.org/show_bug.cgi?id=120955

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-09-07
Reviewed by Daniel Bates.

--dialog-element option is useless while building as
Dialog Element support has been removed in following changeset.
http://trac.webkit.org/changeset/154835
http://trac.webkit.org/changeset/154870

* Scripts/webkitperl/FeatureList.pm:
Removed --dialog-element option message.

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