Change LayoutTests' c* files to use pre and post js files in LayoutTests/resources.
https://bugs.webkit.org/show_bug.cgi?id=120986.

Rubber stamped by Filip Pizlo.

* canvas/philip/tests/2d.composite.globalComposite.html:
* compositing/repaint/shrink-layer.html:
* css1/units/rounding.html:
* css3/calc/color-hsl.html:
* css3/calc/color-rgb.html:
* css3/calc/font-size-fractional.html:
* css3/calc/font-size.html:
* css3/calc/font.html:
* css3/calc/getComputedStyle-margin-percentage.html:
* css3/calc/line-height.html:
* css3/calc/margin.html:
* css3/calc/table-border-spacing.html:
* css3/calc/table-calcs.html:
* css3/calc/zoom-with-em.html:
* css3/compositing/background-blend-mode-property-parsing.html:
* css3/compositing/background-blend-mode-property.html:
* css3/compositing/blend-mode-property-parsing-invalid.html:
* css3/compositing/blend-mode-property-parsing.html:
* css3/compositing/blend-mode-property.html:
* css3/compositing/should-have-compositing-layer.html:
* css3/filters/custom-with-at-rule-syntax/parsing-at-rule-invalid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-at-rule-valid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-custom-function-invalid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-custom-function-valid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-geometry-property-invalid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-geometry-property-valid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-mix-property-invalid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-mix-property-valid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-parameters-property-invalid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-parameters-property-valid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-src-property-invalid.html:
* css3/filters/custom-with-at-rule-syntax/parsing-src-property-valid.html:
* css3/filters/custom/custom-filter-crash-inline-computed-style.html:
* css3/filters/custom/custom-filter-mix-bindings.html:
* css3/filters/custom/custom-filter-property-computed-style.html:
* css3/filters/custom/custom-filter-property-parsing-invalid.html:
* css3/filters/custom/custom-filter-property-parsing.html:
* css3/filters/custom/effect-custom-disabled.html:
* css3/filters/effect-reference-delete-crash.html:
* css3/filters/effect-reference-reset-style-delete-crash.html:
* css3/filters/filter-property-computed-style.html:
* css3/filters/filter-property-parsing-invalid.html:
* css3/filters/filter-property-parsing.html:
* css3/filters/filter-property.html:
* css3/filters/script-tests/TEMPLATE.html:
* css3/filters/should-not-have-compositing-layer.html:
* css3/flexbox/align-absolute-child.html:
* css3/flexbox/css-properties.html:
* css3/flexbox/display-flexbox-set-get.html:
* css3/flexbox/flex-align-baseline.html:
* css3/flexbox/flex-flow-initial.html:
* css3/flexbox/flex-longhand-parsing.html:
* css3/flexbox/flex-property-parsing.html:
* css3/flexbox/flexitem-no-margin-collapsing.html:
* css3/flexbox/overflow-keep-scrollpos.html:
* css3/font-feature-settings-parsing.html:
* css3/supports-cssom.html:
* css3/supports-dom-api.html:
* css3/supports.html:
* css3/unicode-bidi-insolate-parse.html:
* css3/viewport-percentage-lengths/css3-viewport-percentage-lengths-getStyle.html:
* css3/zoom-coords.xhtml:



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

Rubber stamped by Filip Pizlo.

* compositing/repaint/shrink-layer.html:
* editing/deleting/delete-and-cleanup.html:
* editing/deleting/delete-inline-br.html:
* editing/deleting/password-delete-contents.html:
* editing/execCommand/break-out-of-empty-list-item.html:
* editing/execCommand/clipboard-access.html:
* editing/execCommand/convert-style-elements-to-spans.html:
* editing/execCommand/default-paragraph-separator.html:
* editing/execCommand/empty-span-removal.html:
* editing/execCommand/enabling-and-selection-2.html:
* editing/execCommand/enabling-and-selection.html:
* editing/execCommand/inline-style-after-indentoutdent.html:
* editing/execCommand/insert-lists-inside-another-list.html:
* editing/execCommand/insert-remove-block-list-inside-presentational-inline.html:
* editing/execCommand/justify.html:
* editing/execCommand/move-up-down-should-skip-hidden-elements.html:
* editing/execCommand/overtype-support.html:
* editing/execCommand/query-command-state.html:
* editing/execCommand/query-format-block.html:
* editing/execCommand/query-text-alignment.html:
* editing/execCommand/queryCommandValue-unsupported-commands.html:
* editing/execCommand/remove-format-multiple-elements-mac.html:
* editing/execCommand/remove-format-multiple-elements-win.html:
* editing/execCommand/reset-values-after-navigation.html:
* editing/execCommand/script-tests/TEMPLATE.html:
* editing/execCommand/strikethrough-uses-strike-tag.html:
* editing/execCommand/style-with-css.html:
* editing/execCommand/toggle-compound-styles.html:
* editing/execCommand/toggle-link-mac.html:
* editing/execCommand/toggle-link-win.html:
* editing/execCommand/toggle-style-2.html:
* editing/execCommand/toggle-style-3.html:
* editing/execCommand/toggle-styles.html:
* editing/execCommand/toggle-text-decorations.html:
* editing/execCommand/toggle-unlink-mac.html:
* editing/execCommand/toggle-unlink-win.html:
* editing/execCommand/use-css.html:
* editing/input/editable-container-with-word-wrap-normal.html:
* editing/input/style-change-during-input.html:
* editing/inserting/insert-composition-whitespace.html:
* editing/inserting/insert-empty-html.html:
* editing/inserting/insert-html-crash.html:
* editing/inserting/inserting-slash-inside-url-with-smart-link.html:
* editing/inserting/smart-link-when-caret-is-moved-before-URL.html:
* editing/pasteboard/copy-in-password-field.html:
* editing/pasteboard/copy-paste-first-line-in-textarea.html:
* editing/pasteboard/copy-paste-ruby-text-with-block.html:
* editing/pasteboard/copy-paste-ruby-text.html:
* editing/pasteboard/dataTransfer-setData-getData.html:
* editing/pasteboard/drag-and-drop-image-contenteditable.html:
* editing/pasteboard/drag-and-drop-inputimage-contenteditable.html:
* editing/pasteboard/drag-and-drop-objectimage-contenteditable.html:
* editing/pasteboard/drag-files-to-editable-element.html:
* editing/pasteboard/drop-text-events-sideeffect-crash.html:
* editing/pasteboard/drop-text-events-sideeffect.html:
* editing/pasteboard/drop-text-events.html:
* editing/pasteboard/file-drag-to-editable.html:
* editing/pasteboard/file-input-files-access.html:
* editing/pasteboard/files-during-page-drags.html:
* editing/pasteboard/get-data-text-plain-paste.html:
* editing/pasteboard/paste-and-sanitize.html:
* editing/pasteboard/paste-global-selection.html:
* editing/pasteboard/paste-into-textarea-with-new-line.html:
* editing/pasteboard/paste-placeholder-input.html:
* editing/pasteboard/paste-text-events.html:
* editing/pasteboard/paste-without-nesting.html:
* editing/pasteboard/script-tests/TEMPLATE.html:
* editing/secure-input/password-input-changed-type.html:
* editing/secure-input/password-input-focusing-to-different-frame.html:
* editing/secure-input/password-input-focusing.html:
* editing/secure-input/removed-password-input.html:
* editing/secure-input/resources/reset-state-on-navigation-target.html:
* editing/selection/DOMSelection-DocumentType.html:
* editing/selection/DOMSelection-crossing-document.html:
* editing/selection/block-cursor-overtype-mode.html:
* editing/selection/caret-after-keypress.html:
* editing/selection/caret-alignment-for-vertical-text.html:
* editing/selection/caret-at-bidi-boundary.html:
* editing/selection/caret-at-end-of-text-line-followed-by-block-in-vertical-mode.html:
* editing/selection/caret-at-end-of-text-line-followed-by-empty-block-in-vertical-mode.html:
* editing/selection/caret-in-div-containing-br-in-vertical-mode.html:
* editing/selection/caret-in-div-containing-empty-block.html:
* editing/selection/caret-in-empty-inline-1.html:
* editing/selection/caret-in-empty-inline-2.html:
* editing/selection/caret-mode-paragraph-keys-navigation.html:
* editing/selection/click-in-focusable-link-should-not-clear-selection.html:
* editing/selection/click-in-margins-inside-editable-div.html:
* editing/selection/click-in-padding-with-multiple-line-boxes.html:
* editing/selection/click-outside-editable-div.html:
* editing/selection/collapse-selection-in-bidi.html:
* editing/selection/css-pseudo-element-hang.html:
* editing/selection/css-pseudo-element.html:
* editing/selection/delete-word-granularity-text-control.html:
* editing/selection/doubleclick-inline-first-last-contenteditable.html:
* editing/selection/extend-after-mouse-selection.html:
* editing/selection/hit-test-on-text-with-line-height.html:
* editing/selection/internal-caret-rect.html:
* editing/selection/leak-document-with-selection-inside.html:
* editing/selection/modify-by-lineboundary-in-inline-editable-contexts.html:
* editing/selection/move-by-character-brute-force.html:
* editing/selection/move-by-word-visually-null-box.html:
* editing/selection/move-by-word-visually-textarea.html:
* editing/selection/move-vertically-with-paddings-borders.html:
* editing/selection/previous-word-boundary-across-text-nodes.html:
* editing/selection/programmatic-selection-on-mac-is-directionless.html:
* editing/selection/regional-indicators.html:
* editing/selection/rtl-move-selection-right-left.html:
* editing/selection/script-tests/TEMPLATE.html:
* editing/selection/select-bidi-run.html:
* editing/selection/shift-click.html:
* editing/selection/user-select-all-parsing.html:
* editing/selection/user-select-all-selection.html:
* editing/selection/verify-editing-behavior-for-line-granularity.html:
* editing/shadow/breaking-editing-boundaries.html:
* editing/shadow/breaking-editing-boundary-with-table.html:
* editing/shadow/compare-positions-in-nested-shadow.html:
* editing/shadow/contenteditable-propagation-at-shadow-boundary.html:
* editing/shadow/delete-list-in-shadow.html:
* editing/shadow/execcommand-indent-in-shadow.html:
* editing/shadow/insertorderedlist-crash.html:
* editing/shadow/select-contenteditable-shadowhost.html:
* editing/shadow/selection-of-orphan-shadowroot.html:
* editing/shadow/selection-of-shadowroot.html:
* editing/shadow/shadow-selection-not-exported.html:
* editing/spelling/grammar-edit-word.html:
* editing/spelling/grammar-markers-hidpi.html:
* editing/spelling/grammar-markers.html:
* editing/spelling/grammar-paste.html:
* editing/spelling/markers.html:
* editing/spelling/script-tests/TEMPLATE.html:
* editing/spelling/spellcheck-async-mutation.html:
* editing/spelling/spellcheck-async.html:
* editing/spelling/spellcheck-attribute.html:
* editing/spelling/spellcheck-input-search-crash.html:
* editing/spelling/spellcheck-paste-continuous-disabled.html:
* editing/spelling/spellcheck-paste-disabled.html:
* editing/spelling/spellcheck-paste.html:
* editing/spelling/spellcheck-queue.html:
* editing/spelling/spellcheck-sequencenum.html:
* editing/spelling/spelling-attribute-at-child.html:
* editing/spelling/spelling-attribute-change.html:
* editing/spelling/spelling-backspace-between-lines.html:
* editing/spelling/spelling-changed-text.html:
* editing/spelling/spelling-double-clicked-word.html:
* editing/spelling/spelling-exactly-selected-multiple-words.html:
* editing/spelling/spelling-exactly-selected-word.html:
* editing/spelling/spelling-hasspellingmarker.html:
* editing/spelling/spelling-insert-html.html:
* editing/spelling/spelling-marker-description.html:
* editing/spelling/spelling-multiword-selection.html:
* editing/spelling/spelling-should-select-multiple-words.html:
* editing/spelling/spelling-subword-selection.html:
* editing/spelling/spelling-unified-emulation.html:
* editing/spelling/spelling-with-punctuation-selection.html:
* editing/spelling/spelling-with-whitespace-selection.html:
* editing/style/apply-style-join-child-text-nodes-crash.html:
* editing/style/font-face-unquote.html:
* editing/style/inline-style-container.html:
* editing/style/inline-style-extend-run.html:
* editing/style/make-text-writing-direction-inline-mac.html:
* editing/style/make-text-writing-direction-inline-win.html:
* editing/style/preserve-selection-direction.html:
* editing/style/push-down-font-styles-mac.html:
* editing/style/push-down-font-styles-win.html:
* editing/style/push-down-implicit-styles-around-list-mac.html:
* editing/style/push-down-implicit-styles-around-list-win.html:
* editing/style/push-down-implicit-styles-mac.html:
* editing/style/push-down-inline-styles.html:
* editing/style/remove-nested-inline-styles.html:
* editing/style/script-tests/TEMPLATE.html:
* editing/style/text-decoration-state.html:
* editing/text-iterator/basic-iteration-shadowdom.html:
* editing/text-iterator/basic-iteration.html:
* editing/text-iterator/findString-selection-disabled.html:
* editing/text-iterator/range-to-from-location-and-length.html:
* editing/text-iterator/script-tests/TEMPLATE.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove NonCopyableSort.h from WTF
https://bugs.webkit.org/show_bug.cgi?id=120984

Reviewed by Andreas Kling.

Source/WebCore:

* css/MediaQuery.cpp:
(WebCore::MediaQuery::MediaQuery):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::updateActiveTextTrackCues):
* html/RangeInputType.cpp:
(WebCore::RangeInputType::updateTickMarkValues):
* inspector/InspectorMemoryAgent.cpp:
* page/CaptionUserPreferences.cpp:
(WebCore::CaptionUserPreferences::sortedTrackListForMenu):
* page/CaptionUserPreferences.h:
* page/CaptionUserPreferencesMediaAF.cpp:
(WebCore::CaptionUserPreferencesMediaAF::sortedTrackListForMenu):
* platform/graphics/texmap/TextureMapper.cpp:
(WebCore::BitmapTexturePool::releaseUnusedTexturesTimerFired):

Source/WebKit/blackberry:

* WebKitSupport/RenderQueue.cpp:
(BlackBerry::WebKit::RenderQueue::quickSort):

Source/WTF:

std::sort as defined by C++11 moves elements when possible, so there's no need for nonCopyableSort anymore.

* GNUmakefile.list.am:
* WTF.pro:
* WTF.vcxproj/WTF.vcxproj:
* WTF.vcxproj/WTF.vcxproj.filters:
* WTF.xcodeproj/project.pbxproj:
* wtf/NonCopyingSort.h: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
FTL should support basic closure operations
https://bugs.webkit.org/show_bug.cgi?id=120987

Reviewed by Oliver Hunt.

* ftl/FTLAbstractHeapRepository.cpp:
* ftl/FTLAbstractHeapRepository.h:
* ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileGetMyScope):
(JSC::FTL::LowerDFGToLLVM::compileSkipScope):
(JSC::FTL::LowerDFGToLLVM::compileGetClosureRegisters):
(JSC::FTL::LowerDFGToLLVM::compileGetClosureVar):
(JSC::FTL::LowerDFGToLLVM::compilePutClosureVar):



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