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

Rubber stamped by Filip Pizlo.

* touchadjustment/big-div.html:
* touchadjustment/block-testing.html:
* touchadjustment/context-menu-select-text.html:
* touchadjustment/context-menu-shadow-node.html:
* touchadjustment/context-menu-text-subtargets.html:
* touchadjustment/context-menu.html:
* touchadjustment/disabled-formelements.html:
* touchadjustment/editable-content.html:
* touchadjustment/event-triggered-widgets.html:
* touchadjustment/html-label.html:
* touchadjustment/iframe.html:
* touchadjustment/nested-shadow-node.html:
* touchadjustment/nested-touch.html:
* touchadjustment/plugin.html:
* touchadjustment/rotated-node.html:
* touchadjustment/scroll-delegation/iframe-with-mainframe-scroll-offset.html:
* touchadjustment/scroll-offset.html:
* touchadjustment/search-cancel.html:
* touchadjustment/small-target-test.html:
* touchadjustment/touch-inlines.html:
* touchadjustment/touch-links-active.html:
* touchadjustment/touch-links-longpress.html:
* touchadjustment/touch-links-two-finger-tap.html:
* touchadjustment/zoom-basic.html:
* touchadjustment/zoom-fatfinger.html:
* transforms/2d/computed-style-origin.html:
* transforms/2d/transform-value-types.html:
* transforms/cssmatrix-2d-interface.xhtml:
* transforms/cssmatrix-3d-interface.xhtml:
* transitions/transition-end-event-create.html:
* transitions/transition-end-event-prefixed-01.html:
* transitions/transition-end-event-prefixed-02.html:
* transitions/transition-end-event-prefixed-03.html:
* transitions/transitions-parsing.html:
* traversal/acid3-test-2.html:
* traversal/exception-forwarding.html:
* traversal/script-tests/TEMPLATE.html:



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

Rubber stamped by Filip Pizlo.

* userscripts/insert-stylesheets.html:
* vibration/cancelVibration-after-pagevisibility-changed-to-hidden.html:
* vibration/cancelVibration-during-pattern-vibrating.html:
* vibration/navigator-vibration.html:
* webaudio/analyser-exception.html:
* webaudio/audiobuffer-neuter.html:
* webaudio/audiobuffer.html:
* webaudio/audiobuffersource-channels.html:
* webaudio/audiobuffersource-ended.html:
* webaudio/audiobuffersource-exception.html:
* webaudio/audiobuffersource-loop-comprehensive.html:
* webaudio/audiobuffersource-playbackState.html:
* webaudio/audiobuffersource-start.html:
* webaudio/audiochannelmerger-basic.html:
* webaudio/audiochannelmerger-stereo.html:
* webaudio/audiochannelsplitter.html:
* webaudio/audionode-channel-rules.html:
* webaudio/audionode-connect-order.html:
* webaudio/audionode.html:
* webaudio/audioparam-connect-audioratesignal.html:
* webaudio/audioparam-exponentialRampToValueAtTime.html:
* webaudio/audioparam-linearRampToValueAtTime.html:
* webaudio/audioparam-setTargetAtTime.html:
* webaudio/audioparam-setValueAtTime.html:
* webaudio/audioparam-setValueCurveAtTime.html:
* webaudio/audioparam-summingjunction.html:
* webaudio/automatic-pull-node.html:
* webaudio/biquad-allpass.html:
* webaudio/biquad-bandpass.html:
* webaudio/biquad-getFrequencyResponse.html:
* webaudio/biquad-highpass.html:
* webaudio/biquad-highshelf.html:
* webaudio/biquad-lowpass.html:
* webaudio/biquad-lowshelf.html:
* webaudio/biquad-notch.html:
* webaudio/biquad-peaking.html:
* webaudio/biquadfilternode-basic.html:
* webaudio/convolution-mono-mono.html:
* webaudio/convolver-setBuffer-null.html:
* webaudio/decode-audio-data-basic.html:
* webaudio/delaynode-max-default-delay.html:
* webaudio/delaynode-max-nondefault-delay.html:
* webaudio/delaynode-maxdelay.html:
* webaudio/delaynode-maxdelaylimit.html:
* webaudio/delaynode-scheduling.html:
* webaudio/delaynode.html:
* webaudio/distance-exponential.html:
* webaudio/distance-inverse.html:
* webaudio/distance-linear.html:
* webaudio/dynamicscompressor-basic.html:
* webaudio/gain-basic.html:
* webaudio/javascriptaudionode-downmix8-2channel-input.html:
* webaudio/javascriptaudionode-upmix2-8channel-input.html:
* webaudio/javascriptaudionode-zero-input-channels.html:
* webaudio/javascriptaudionode.html:
* webaudio/mediaelementaudiosourcenode-gc.html:
* webaudio/mediaelementaudiosourcenode.html:
* webaudio/mediastreamaudiodestinationnode.html:
* webaudio/mediastreamaudiosourcenode.html:
* webaudio/note-grain-on-play.html:
* webaudio/note-grain-on-timing.html:
* webaudio/oscillator-basic.html:
* webaudio/oscillator-ended.html:
* webaudio/panner-equalpower-stereo.html:
* webaudio/panner-equalpower.html:
* webaudio/pannernode-basic.html:
* webaudio/realtimeanalyser-fft-sizing.html:
* webaudio/sample-accurate-scheduling.html:
* webaudio/stereo2mono-down-mixing.html:
* webaudio/test-basic.html:
* webaudio/waveshaper-oversample-2x.html:
* webaudio/waveshaper-oversample-4x.html:
* webaudio/waveshaper.html:
* webgl/conformance/attribs/gl-disabled-vertex-attrib.html:
* webgl/conformance/attribs/gl-enable-vertex-attrib.html:
* webgl/conformance/attribs/gl-vertex-attrib-render.html:
* webgl/conformance/attribs/gl-vertex-attrib-zero-issues.html:
* webgl/conformance/attribs/gl-vertex-attrib.html:
* webgl/conformance/attribs/gl-vertexattribpointer-offsets.html:
* webgl/conformance/attribs/gl-vertexattribpointer.html:
* webgl/conformance/buffers/buffer-bind-test.html:
* webgl/conformance/buffers/buffer-data-array-buffer.html:
* webgl/conformance/buffers/element-array-buffer-delete-recreate.html:
* webgl/conformance/buffers/index-validation-copies-indices.html:
* webgl/conformance/buffers/index-validation-crash-with-buffer-sub-data.html:
* webgl/conformance/buffers/index-validation-large-buffer.html:
* webgl/conformance/buffers/index-validation-verifies-too-many-indices.html:
* webgl/conformance/buffers/index-validation-with-resized-buffer.html:
* webgl/conformance/buffers/index-validation.html:
* webgl/conformance/canvas/buffer-offscreen-test.html:
* webgl/conformance/canvas/buffer-preserve-test.html:
* webgl/conformance/canvas/canvas-test.html:
* webgl/conformance/canvas/canvas-zero-size.html:
* webgl/conformance/canvas/drawingbuffer-hd-dpi-test.html:
* webgl/conformance/canvas/drawingbuffer-static-canvas-test.html:
* webgl/conformance/canvas/drawingbuffer-test.html:
* webgl/conformance/canvas/framebuffer-bindings-unaffected-on-resize.html:
* webgl/conformance/canvas/texture-bindings-unaffected-on-resize.html:
* webgl/conformance/canvas/to-data-url-test.html:
* webgl/conformance/canvas/viewport-unchanged-upon-resize.html:
* webgl/conformance/context/constants.html:
* webgl/conformance/context/context-attribute-preserve-drawing-buffer.html:
* webgl/conformance/context/context-attributes-alpha-depth-stencil-antialias.html:
* webgl/conformance/context/context-creation-and-destruction.html:
* webgl/conformance/context/context-lost-restored.html:
* webgl/conformance/context/context-lost.html:
* webgl/conformance/context/context-release-upon-reload.html:
* webgl/conformance/context/context-release-with-workers.html:
* webgl/conformance/context/context-type-test.html:
* webgl/conformance/context/incorrect-context-object-behaviour.html:
* webgl/conformance/context/methods.html:
* webgl/conformance/context/premultiplyalpha-test.html:
* webgl/conformance/context/resource-sharing-test.html:
* webgl/conformance/extensions/ext-texture-filter-anisotropic.html:
* webgl/conformance/extensions/get-extension.html:
* webgl/conformance/extensions/oes-element-index-uint.html:
* webgl/conformance/extensions/oes-standard-derivatives.html:
* webgl/conformance/extensions/oes-texture-float-with-canvas.html:
* webgl/conformance/extensions/oes-texture-float-with-image-data.html:
* webgl/conformance/extensions/oes-texture-float-with-image.html:
* webgl/conformance/extensions/oes-texture-float-with-video.html:
* webgl/conformance/extensions/oes-texture-float.html:
* webgl/conformance/extensions/oes-vertex-array-object.html:
* webgl/conformance/extensions/webgl-compressed-texture-atc.html:
* webgl/conformance/extensions/webgl-compressed-texture-pvrtc.html:
* webgl/conformance/extensions/webgl-compressed-texture-s3tc.html:
* webgl/conformance/extensions/webgl-debug-renderer-info.html:
* webgl/conformance/extensions/webgl-debug-shaders.html:
* webgl/conformance/extensions/webgl-depth-texture.html:
* webgl/conformance/glsl/functions/glsl-function-abs.html:
* webgl/conformance/glsl/functions/glsl-function-acos.html:
* webgl/conformance/glsl/functions/glsl-function-asin.html:
* webgl/conformance/glsl/functions/glsl-function-atan-xy.html:
* webgl/conformance/glsl/functions/glsl-function-atan.html:
* webgl/conformance/glsl/functions/glsl-function-ceil.html:
* webgl/conformance/glsl/functions/glsl-function-clamp-float.html:
* webgl/conformance/glsl/functions/glsl-function-clamp-gentype.html:
* webgl/conformance/glsl/functions/glsl-function-cos.html:
* webgl/conformance/glsl/functions/glsl-function-cross.html:
* webgl/conformance/glsl/functions/glsl-function-distance.html:
* webgl/conformance/glsl/functions/glsl-function-dot.html:
* webgl/conformance/glsl/functions/glsl-function-faceforward.html:
* webgl/conformance/glsl/functions/glsl-function-floor.html:
* webgl/conformance/glsl/functions/glsl-function-fract.html:
* webgl/conformance/glsl/functions/glsl-function-length.html:
* webgl/conformance/glsl/functions/glsl-function-max-float.html:
* webgl/conformance/glsl/functions/glsl-function-max-gentype.html:
* webgl/conformance/glsl/functions/glsl-function-min-float.html:
* webgl/conformance/glsl/functions/glsl-function-min-gentype.html:
* webgl/conformance/glsl/functions/glsl-function-mix-float.html:
* webgl/conformance/glsl/functions/glsl-function-mix-gentype.html:
* webgl/conformance/glsl/functions/glsl-function-mod-float.html:
* webgl/conformance/glsl/functions/glsl-function-mod-gentype.html:
* webgl/conformance/glsl/functions/glsl-function-normalize.html:
* webgl/conformance/glsl/functions/glsl-function-reflect.html:
* webgl/conformance/glsl/functions/glsl-function-sign.html:
* webgl/conformance/glsl/functions/glsl-function-sin.html:
* webgl/conformance/glsl/functions/glsl-function-smoothstep-float.html:
* webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype.html:
* webgl/conformance/glsl/functions/glsl-function-step-float.html:
* webgl/conformance/glsl/functions/glsl-function-step-gentype.html:
* webgl/conformance/glsl/functions/glsl-function.html:
* webgl/conformance/glsl/implicit/add_int_float.vert.html:
* webgl/conformance/glsl/implicit/add_int_mat2.vert.html:
* webgl/conformance/glsl/implicit/add_int_mat3.vert.html:
* webgl/conformance/glsl/implicit/add_int_mat4.vert.html:
* webgl/conformance/glsl/implicit/add_int_vec2.vert.html:
* webgl/conformance/glsl/implicit/add_int_vec3.vert.html:
* webgl/conformance/glsl/implicit/add_int_vec4.vert.html:
* webgl/conformance/glsl/implicit/add_ivec2_vec2.vert.html:
* webgl/conformance/glsl/implicit/add_ivec3_vec3.vert.html:
* webgl/conformance/glsl/implicit/add_ivec4_vec4.vert.html:
* webgl/conformance/glsl/implicit/assign_int_to_float.vert.html:
* webgl/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html:
* webgl/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html:
* webgl/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html:
* webgl/conformance/glsl/implicit/construct_struct.vert.html:
* webgl/conformance/glsl/implicit/divide_int_float.vert.html:
* webgl/conformance/glsl/implicit/divide_int_mat2.vert.html:
* webgl/conformance/glsl/implicit/divide_int_mat3.vert.html:
* webgl/conformance/glsl/implicit/divide_int_mat4.vert.html:
* webgl/conformance/glsl/implicit/divide_int_vec2.vert.html:
* webgl/conformance/glsl/implicit/divide_int_vec3.vert.html:
* webgl/conformance/glsl/implicit/divide_int_vec4.vert.html:
* webgl/conformance/glsl/implicit/divide_ivec2_vec2.vert.html:
* webgl/conformance/glsl/implicit/divide_ivec3_vec3.vert.html:
* webgl/conformance/glsl/implicit/divide_ivec4_vec4.vert.html:
* webgl/conformance/glsl/implicit/equal_int_float.vert.html:
* webgl/conformance/glsl/implicit/equal_ivec2_vec2.vert.html:
* webgl/conformance/glsl/implicit/equal_ivec3_vec3.vert.html:
* webgl/conformance/glsl/implicit/equal_ivec4_vec4.vert.html:
* webgl/conformance/glsl/implicit/function_int_float.vert.html:
* webgl/conformance/glsl/implicit/function_ivec2_vec2.vert.html:
* webgl/conformance/glsl/implicit/function_ivec3_vec3.vert.html:
* webgl/conformance/glsl/implicit/function_ivec4_vec4.vert.html:
* webgl/conformance/glsl/implicit/greater_than.vert.html:
* webgl/conformance/glsl/implicit/greater_than_equal.vert.html:
* webgl/conformance/glsl/implicit/less_than.vert.html:
* webgl/conformance/glsl/implicit/less_than_equal.vert.html:
* webgl/conformance/glsl/implicit/multiply_int_float.vert.html:
* webgl/conformance/glsl/implicit/multiply_int_mat2.vert.html:
* webgl/conformance/glsl/implicit/multiply_int_mat3.vert.html:
* webgl/conformance/glsl/implicit/multiply_int_mat4.vert.html:
* webgl/conformance/glsl/implicit/multiply_int_vec2.vert.html:
* webgl/conformance/glsl/implicit/multiply_int_vec3.vert.html:
* webgl/conformance/glsl/implicit/multiply_int_vec4.vert.html:
* webgl/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html:
* webgl/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html:
* webgl/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html:
* webgl/conformance/glsl/implicit/not_equal_int_float.vert.html:
* webgl/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html:
* webgl/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html:
* webgl/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html:
* webgl/conformance/glsl/implicit/subtract_int_float.vert.html:
* webgl/conformance/glsl/implicit/subtract_int_mat2.vert.html:
* webgl/conformance/glsl/implicit/subtract_int_mat3.vert.html:
* webgl/conformance/glsl/implicit/subtract_int_mat4.vert.html:
* webgl/conformance/glsl/implicit/subtract_int_vec2.vert.html:
* webgl/conformance/glsl/implicit/subtract_int_vec3.vert.html:
* webgl/conformance/glsl/implicit/subtract_int_vec4.vert.html:
* webgl/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html:
* webgl/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html:
* webgl/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html:
* webgl/conformance/glsl/implicit/ternary_int_float.vert.html:
* webgl/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html:
* webgl/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html:
* webgl/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html:
* webgl/conformance/glsl/literals/float_literal.vert.html:
* webgl/conformance/glsl/matrices/glsl-mat4-to-mat3.html:
* webgl/conformance/glsl/misc/attrib-location-length-limits.html:
* webgl/conformance/glsl/misc/embedded-struct-definitions-forbidden.html:
* webgl/conformance/glsl/misc/glsl-function-nodes.html:
* webgl/conformance/glsl/misc/glsl-long-variable-names.html:
* webgl/conformance/glsl/misc/glsl-vertex-branch.html:
* webgl/conformance/glsl/misc/large-loop-compile.html:
* webgl/conformance/glsl/misc/non-ascii-comments.vert.html:
* webgl/conformance/glsl/misc/non-ascii.vert.html:
* webgl/conformance/glsl/misc/re-compile-re-link.html:
* webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html:
* webgl/conformance/glsl/misc/shader-varying-packing-restrictions.html:
* webgl/conformance/glsl/misc/shader-with-256-character-define.html:
* webgl/conformance/glsl/misc/shader-with-256-character-identifier.frag.html:
* webgl/conformance/glsl/misc/shader-with-257-character-define.html:
* webgl/conformance/glsl/misc/shader-with-257-character-identifier.frag.html:
* webgl/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html:
* webgl/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html:
* webgl/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html:
* webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html:
* webgl/conformance/glsl/misc/shader-with-array-of-structs-uniform.html:
* webgl/conformance/glsl/misc/shader-with-attrib-array.vert.html:
* webgl/conformance/glsl/misc/shader-with-attrib-struct.vert.html:
* webgl/conformance/glsl/misc/shader-with-clipvertex.vert.html:
* webgl/conformance/glsl/misc/shader-with-comma-assignment.html:
* webgl/conformance/glsl/misc/shader-with-comma-conditional-assignment.html:
* webgl/conformance/glsl/misc/shader-with-conditional-scoping-negative.html:
* webgl/conformance/glsl/misc/shader-with-conditional-scoping.html:
* webgl/conformance/glsl/misc/shader-with-default-precision.frag.html:
* webgl/conformance/glsl/misc/shader-with-default-precision.vert.html:
* webgl/conformance/glsl/misc/shader-with-define-line-continuation.frag.html:
* webgl/conformance/glsl/misc/shader-with-dfdx-no-ext.frag.html:
* webgl/conformance/glsl/misc/shader-with-dfdx.frag.html:
* webgl/conformance/glsl/misc/shader-with-do-loop.html:
* webgl/conformance/glsl/misc/shader-with-error-directive.html:
* webgl/conformance/glsl/misc/shader-with-explicit-int-cast.vert.html:
* webgl/conformance/glsl/misc/shader-with-float-return-value.frag.html:
* webgl/conformance/glsl/misc/shader-with-for-loop.html:
* webgl/conformance/glsl/misc/shader-with-for-scoping.html:
* webgl/conformance/glsl/misc/shader-with-frag-depth.frag.html:
* webgl/conformance/glsl/misc/shader-with-function-recursion.frag.html:
* webgl/conformance/glsl/misc/shader-with-function-scoped-struct.html:
* webgl/conformance/glsl/misc/shader-with-functional-scoping.html:
* webgl/conformance/glsl/misc/shader-with-glcolor.vert.html:
* webgl/conformance/glsl/misc/shader-with-gles-1.frag.html:
* webgl/conformance/glsl/misc/shader-with-gles-symbol.frag.html:
* webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html:
* webgl/conformance/glsl/misc/shader-with-glprojectionmatrix.vert.html:
* webgl/conformance/glsl/misc/shader-with-hex-int-constant-macro.html:
* webgl/conformance/glsl/misc/shader-with-implicit-vec3-to-vec4-cast.vert.html:
* webgl/conformance/glsl/misc/shader-with-include.vert.html:
* webgl/conformance/glsl/misc/shader-with-int-return-value.frag.html:
* webgl/conformance/glsl/misc/shader-with-invalid-identifier.frag.html:
* webgl/conformance/glsl/misc/shader-with-ivec2-return-value.frag.html:
* webgl/conformance/glsl/misc/shader-with-ivec3-return-value.frag.html:
* webgl/conformance/glsl/misc/shader-with-ivec4-return-value.frag.html:
* webgl/conformance/glsl/misc/shader-with-limited-indexing.frag.html:
* webgl/conformance/glsl/misc/shader-with-long-line.html:
* webgl/conformance/glsl/misc/shader-with-non-ascii-error.frag.html:
* webgl/conformance/glsl/misc/shader-with-non-reserved-words.html:
* webgl/conformance/glsl/misc/shader-with-precision.frag.html:
* webgl/conformance/glsl/misc/shader-with-quoted-error.frag.html:
* webgl/conformance/glsl/misc/shader-with-reserved-words.html:
* webgl/conformance/glsl/misc/shader-with-short-circuiting-operators.html:
* webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names.html:
* webgl/conformance/glsl/misc/shader-with-too-many-uniforms.html:
* webgl/conformance/glsl/misc/shader-with-undefined-preprocessor-symbol.frag.html:
* webgl/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html:
* webgl/conformance/glsl/misc/shader-with-vec2-return-value.frag.html:
* webgl/conformance/glsl/misc/shader-with-vec3-return-value.frag.html:
* webgl/conformance/glsl/misc/shader-with-vec4-return-value.frag.html:
* webgl/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html:
* webgl/conformance/glsl/misc/shader-with-version-100.frag.html:
* webgl/conformance/glsl/misc/shader-with-version-100.vert.html:
* webgl/conformance/glsl/misc/shader-with-version-120.vert.html:
* webgl/conformance/glsl/misc/shader-with-version-130.vert.html:
* webgl/conformance/glsl/misc/shader-with-webgl-identifier.vert.html:
* webgl/conformance/glsl/misc/shader-with-while-loop.html:
* webgl/conformance/glsl/misc/shader-without-precision.frag.html:
* webgl/conformance/glsl/misc/shaders-with-mis-matching-uniforms.html:
* webgl/conformance/glsl/misc/shaders-with-mis-matching-varyings.html:
* webgl/conformance/glsl/misc/shaders-with-missing-varyings.html:
* webgl/conformance/glsl/misc/shaders-with-varyings.html:
* webgl/conformance/glsl/misc/shared.html:
* webgl/conformance/glsl/misc/struct-nesting-exceeds-maximum.html:
* webgl/conformance/glsl/misc/struct-nesting-under-maximum.html:
* webgl/conformance/glsl/misc/uniform-location-length-limits.html:
* webgl/conformance/glsl/reserved/_webgl_field.vert.html:
* webgl/conformance/glsl/reserved/_webgl_function.vert.html:
* webgl/conformance/glsl/reserved/_webgl_struct.vert.html:
* webgl/conformance/glsl/reserved/_webgl_variable.vert.html:
* webgl/conformance/glsl/reserved/webgl_field.vert.html:
* webgl/conformance/glsl/reserved/webgl_function.vert.html:
* webgl/conformance/glsl/reserved/webgl_preprocessor_reserved.html:
* webgl/conformance/glsl/reserved/webgl_struct.vert.html:
* webgl/conformance/glsl/reserved/webgl_variable.vert.html:
* webgl/conformance/glsl/samplers/glsl-function-texture2d-bias.html:
* webgl/conformance/glsl/samplers/glsl-function-texture2dlod.html:
* webgl/conformance/glsl/samplers/glsl-function-texture2dproj.html:
* webgl/conformance/glsl/variables/gl-fragcoord.html:
* webgl/conformance/glsl/variables/gl-frontfacing.html:
* webgl/conformance/glsl/variables/gl-pointcoord.html:
* webgl/conformance/limits/gl-max-texture-dimensions.html:
* webgl/conformance/limits/gl-min-attribs.html:
* webgl/conformance/limits/gl-min-textures.html:
* webgl/conformance/limits/gl-min-uniforms.html:
* webgl/conformance/misc/bad-arguments-test.html:
* webgl/conformance/misc/boolean-argument-conversion.html:
* webgl/conformance/misc/delayed-drawing.html:
* webgl/conformance/misc/error-reporting.html:
* webgl/conformance/misc/functions-returning-strings.html:
* webgl/conformance/misc/instanceof-test.html:
* webgl/conformance/misc/invalid-passed-params.html:
* webgl/conformance/misc/is-object.html:
* webgl/conformance/misc/null-object-behaviour.html:
* webgl/conformance/misc/object-deletion-behaviour.html:
* webgl/conformance/misc/shader-precision-format.html:
* webgl/conformance/misc/type-conversion-test.html:
* webgl/conformance/misc/uninitialized-test.html:
* webgl/conformance/misc/webgl-specific.html:
* webgl/conformance/more/conformance/constants.html:
* webgl/conformance/more/conformance/getContext.html:
* webgl/conformance/more/conformance/methods.html:
* webgl/conformance/more/conformance/quickCheckAPI-A.html:
* webgl/conformance/more/conformance/quickCheckAPI-B1.html:
* webgl/conformance/more/conformance/quickCheckAPI-B2.html:
* webgl/conformance/more/conformance/quickCheckAPI-B3.html:
* webgl/conformance/more/conformance/quickCheckAPI-B4.html:
* webgl/conformance/more/conformance/quickCheckAPI-C.html:
* webgl/conformance/more/conformance/quickCheckAPI-D_G.html:
* webgl/conformance/more/conformance/quickCheckAPI-G_I.html:
* webgl/conformance/more/conformance/quickCheckAPI-L_S.html:
* webgl/conformance/more/conformance/quickCheckAPI-S_V.html:
* webgl/conformance/more/conformance/webGLArrays.html:
* webgl/conformance/more/functions/bindBuffer.html:
* webgl/conformance/more/functions/bindBufferBadArgs.html:
* webgl/conformance/more/functions/bindFramebufferLeaveNonZero.html:
* webgl/conformance/more/functions/bufferData.html:
* webgl/conformance/more/functions/bufferDataBadArgs.html:
* webgl/conformance/more/functions/bufferSubData.html:
* webgl/conformance/more/functions/bufferSubDataBadArgs.html:
* webgl/conformance/more/functions/copyTexImage2D.html:
* webgl/conformance/more/functions/copyTexImage2DBadArgs.html:
* webgl/conformance/more/functions/copyTexSubImage2D.html:
* webgl/conformance/more/functions/copyTexSubImage2DBadArgs.html:
* webgl/conformance/more/functions/deleteBufferBadArgs.html:
* webgl/conformance/more/functions/drawArrays.html:
* webgl/conformance/more/functions/drawArraysOutOfBounds.html:
* webgl/conformance/more/functions/drawElements.html:
* webgl/conformance/more/functions/drawElementsBadArgs.html:
* webgl/conformance/more/functions/isTests.html:
* webgl/conformance/more/functions/isTestsBadArgs.html:
* webgl/conformance/more/functions/readPixels.html:
* webgl/conformance/more/functions/readPixelsBadArgs.html:
* webgl/conformance/more/functions/texImage2D.html:
* webgl/conformance/more/functions/texImage2DBadArgs.html:
* webgl/conformance/more/functions/texImage2DHTML.html:
* webgl/conformance/more/functions/texImage2DHTMLBadArgs.html:
* webgl/conformance/more/functions/texSubImage2D.html:
* webgl/conformance/more/functions/texSubImage2DBadArgs.html:
* webgl/conformance/more/functions/texSubImage2DHTML.html:
* webgl/conformance/more/functions/texSubImage2DHTMLBadArgs.html:
* webgl/conformance/more/functions/uniformMatrix.html:
* webgl/conformance/more/functions/uniformMatrixBadArgs.html:
* webgl/conformance/more/functions/uniformf.html:
* webgl/conformance/more/functions/uniformfArrayLen1.html:
* webgl/conformance/more/functions/uniformfBadArgs.html:
* webgl/conformance/more/functions/uniformi.html:
* webgl/conformance/more/functions/uniformiBadArgs.html:
* webgl/conformance/more/functions/vertexAttrib.html:
* webgl/conformance/more/functions/vertexAttribBadArgs.html:
* webgl/conformance/more/functions/vertexAttribPointer.html:
* webgl/conformance/more/functions/vertexAttribPointerBadArgs.html:
* webgl/conformance/more/glsl/arrayOutOfBounds.html:
* webgl/conformance/more/glsl/uniformOutOfBounds.html:
* webgl/conformance/ogles/GL/abs/abs_001_to_006.html:
* webgl/conformance/ogles/GL/acos/acos_001_to_006.html:
* webgl/conformance/ogles/GL/all/all_001_to_004.html:
* webgl/conformance/ogles/GL/any/any_001_to_004.html:
* webgl/conformance/ogles/GL/array/array_001_to_006.html:
* webgl/conformance/ogles/GL/asin/asin_001_to_006.html:
* webgl/conformance/ogles/GL/atan/atan_001_to_008.html:
* webgl/conformance/ogles/GL/atan/atan_009_to_012.html:
* webgl/conformance/ogles/GL/biConstants/biConstants_001_to_008.html:
* webgl/conformance/ogles/GL/biConstants/biConstants_009_to_016.html:
* webgl/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html:
* webgl/conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001.html:
* webgl/conformance/ogles/GL/ceil/ceil_001_to_006.html:
* webgl/conformance/ogles/GL/clamp/clamp_001_to_006.html:
* webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008.html:
* webgl/conformance/ogles/GL/control_flow/control_flow_009_to_010.html:
* webgl/conformance/ogles/GL/cos/cos_001_to_006.html:
* webgl/conformance/ogles/GL/cross/cross_001_to_002.html:
* webgl/conformance/ogles/GL/default/default_001_to_001.html:
* webgl/conformance/ogles/GL/degrees/degrees_001_to_006.html:
* webgl/conformance/ogles/GL/discard/discard_001_to_002.html:
* webgl/conformance/ogles/GL/distance/distance_001_to_006.html:
* webgl/conformance/ogles/GL/dot/dot_001_to_006.html:
* webgl/conformance/ogles/GL/equal/equal_001_to_008.html:
* webgl/conformance/ogles/GL/equal/equal_009_to_012.html:
* webgl/conformance/ogles/GL/exp/exp_001_to_008.html:
* webgl/conformance/ogles/GL/exp/exp_009_to_012.html:
* webgl/conformance/ogles/GL/exp2/exp2_001_to_008.html:
* webgl/conformance/ogles/GL/exp2/exp2_009_to_012.html:
* webgl/conformance/ogles/GL/faceforward/faceforward_001_to_006.html:
* webgl/conformance/ogles/GL/floor/floor_001_to_006.html:
* webgl/conformance/ogles/GL/fract/fract_001_to_006.html:
* webgl/conformance/ogles/GL/functions/functions_001_to_008.html:
* webgl/conformance/ogles/GL/functions/functions_009_to_016.html:
* webgl/conformance/ogles/GL/functions/functions_017_to_024.html:
* webgl/conformance/ogles/GL/functions/functions_025_to_032.html:
* webgl/conformance/ogles/GL/functions/functions_033_to_040.html:
* webgl/conformance/ogles/GL/functions/functions_041_to_048.html:
* webgl/conformance/ogles/GL/functions/functions_049_to_056.html:
* webgl/conformance/ogles/GL/functions/functions_057_to_064.html:
* webgl/conformance/ogles/GL/functions/functions_065_to_072.html:
* webgl/conformance/ogles/GL/functions/functions_073_to_080.html:
* webgl/conformance/ogles/GL/functions/functions_081_to_088.html:
* webgl/conformance/ogles/GL/functions/functions_089_to_096.html:
* webgl/conformance/ogles/GL/functions/functions_097_to_104.html:
* webgl/conformance/ogles/GL/functions/functions_105_to_112.html:
* webgl/conformance/ogles/GL/functions/functions_113_to_120.html:
* webgl/conformance/ogles/GL/functions/functions_121_to_126.html:
* webgl/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html:
* webgl/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html:
* webgl/conformance/ogles/GL/greaterThan/greaterThan_001_to_008.html:
* webgl/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_001_to_008.html:
* webgl/conformance/ogles/GL/inversesqrt/inversesqrt_001_to_006.html:
* webgl/conformance/ogles/GL/length/length_001_to_006.html:
* webgl/conformance/ogles/GL/lessThan/lessThan_001_to_008.html:
* webgl/conformance/ogles/GL/lessThanEqual/lessThanEqual_001_to_008.html:
* webgl/conformance/ogles/GL/log/log_001_to_008.html:
* webgl/conformance/ogles/GL/log/log_009_to_012.html:
* webgl/conformance/ogles/GL/log2/log2_001_to_008.html:
* webgl/conformance/ogles/GL/log2/log2_009_to_012.html:
* webgl/conformance/ogles/GL/mat/mat_001_to_008.html:
* webgl/conformance/ogles/GL/mat/mat_009_to_016.html:
* webgl/conformance/ogles/GL/mat/mat_017_to_024.html:
* webgl/conformance/ogles/GL/mat/mat_025_to_032.html:
* webgl/conformance/ogles/GL/mat/mat_033_to_040.html:
* webgl/conformance/ogles/GL/mat/mat_041_to_046.html:
* webgl/conformance/ogles/GL/mat3/mat3_001_to_006.html:
* webgl/conformance/ogles/GL/matrixCompMult/matrixCompMult_001_to_004.html:
* webgl/conformance/ogles/GL/max/max_001_to_006.html:
* webgl/conformance/ogles/GL/min/min_001_to_006.html:
* webgl/conformance/ogles/GL/mix/mix_001_to_006.html:
* webgl/conformance/ogles/GL/mod/mod_001_to_008.html:
* webgl/conformance/ogles/GL/normalize/normalize_001_to_006.html:
* webgl/conformance/ogles/GL/not/not_001_to_004.html:
* webgl/conformance/ogles/GL/notEqual/notEqual_001_to_008.html:
* webgl/conformance/ogles/GL/notEqual/notEqual_009_to_012.html:
* webgl/conformance/ogles/GL/operators/operators_001_to_008.html:
* webgl/conformance/ogles/GL/operators/operators_009_to_016.html:
* webgl/conformance/ogles/GL/operators/operators_017_to_024.html:
* webgl/conformance/ogles/GL/operators/operators_025_to_026.html:
* webgl/conformance/ogles/GL/pow/pow_001_to_008.html:
* webgl/conformance/ogles/GL/pow/pow_009_to_016.html:
* webgl/conformance/ogles/GL/pow/pow_017_to_024.html:
* webgl/conformance/ogles/GL/radians/radians_001_to_006.html:
* webgl/conformance/ogles/GL/reflect/reflect_001_to_006.html:
* webgl/conformance/ogles/GL/refract/refract_001_to_006.html:
* webgl/conformance/ogles/GL/sign/sign_001_to_006.html:
* webgl/conformance/ogles/GL/sin/sin_001_to_006.html:
* webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html:
* webgl/conformance/ogles/GL/sqrt/sqrt_001_to_006.html:
* webgl/conformance/ogles/GL/step/step_001_to_006.html:
* webgl/conformance/ogles/GL/struct/struct_001_to_008.html:
* webgl/conformance/ogles/GL/struct/struct_009_to_016.html:
* webgl/conformance/ogles/GL/struct/struct_017_to_024.html:
* webgl/conformance/ogles/GL/struct/struct_025_to_032.html:
* webgl/conformance/ogles/GL/struct/struct_033_to_040.html:
* webgl/conformance/ogles/GL/struct/struct_041_to_048.html:
* webgl/conformance/ogles/GL/struct/struct_049_to_056.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_001_to_008.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_009_to_016.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_017_to_024.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_025_to_032.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_033_to_040.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_041_to_048.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_049_to_056.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_057_to_064.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_065_to_072.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_073_to_080.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_081_to_088.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_089_to_096.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_097_to_104.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_105_to_112.html:
* webgl/conformance/ogles/GL/swizzlers/swizzlers_113_to_120.html:
* webgl/conformance/ogles/GL/tan/tan_001_to_006.html:
* webgl/conformance/ogles/GL/vec/vec_001_to_008.html:
* webgl/conformance/ogles/GL/vec/vec_009_to_016.html:
* webgl/conformance/ogles/GL/vec/vec_017_to_018.html:
* webgl/conformance/ogles/GL/vec3/vec3_001_to_008.html:
* webgl/conformance/programs/get-active-test.html:
* webgl/conformance/programs/gl-bind-attrib-location-long-names-test.html:
* webgl/conformance/programs/gl-bind-attrib-location-test.html:
* webgl/conformance/programs/gl-get-active-attribute.html:
* webgl/conformance/programs/gl-get-active-uniform.html:
* webgl/conformance/programs/gl-getshadersource.html:
* webgl/conformance/programs/gl-shader-test.html:
* webgl/conformance/programs/invalid-UTF-16.html:
* webgl/conformance/programs/program-test.html:
* webgl/conformance/programs/use-program-crash-with-discard-in-fragment-shader.html:
* webgl/conformance/reading/read-pixels-pack-alignment.html:
* webgl/conformance/reading/read-pixels-test.html:
* webgl/conformance/renderbuffers/framebuffer-object-attachment.html:
* webgl/conformance/renderbuffers/framebuffer-state-restoration.html:
* webgl/conformance/renderbuffers/framebuffer-test.html:
* webgl/conformance/renderbuffers/renderbuffer-initialization.html:
* webgl/conformance/rendering/culling.html:
* webgl/conformance/rendering/draw-arrays-out-of-bounds.html:
* webgl/conformance/rendering/draw-elements-out-of-bounds.html:
* webgl/conformance/rendering/gl-clear.html:
* webgl/conformance/rendering/gl-drawelements.html:
* webgl/conformance/rendering/gl-scissor-fbo-test.html:
* webgl/conformance/rendering/gl-scissor-test.html:
* webgl/conformance/rendering/line-loop-tri-fan.html:
* webgl/conformance/rendering/more-than-65536-indices.html:
* webgl/conformance/rendering/multisample-corruption.html:
* webgl/conformance/rendering/point-size.html:
* webgl/conformance/rendering/simple.html:
* webgl/conformance/rendering/triangle.html:
* webgl/conformance/state/gl-enable-enum-test.html:
* webgl/conformance/state/gl-enum-tests.html:
* webgl/conformance/state/gl-get-calls.html:
* webgl/conformance/state/gl-geterror.html:
* webgl/conformance/state/gl-getstring.html:
* webgl/conformance/state/gl-object-get-calls.html:
* webgl/conformance/textures/compressed-tex-image.html:
* webgl/conformance/textures/copy-tex-image-2d-formats.html:
* webgl/conformance/textures/copy-tex-image-and-sub-image-2d.html:
* webgl/conformance/textures/gl-get-tex-parameter.html:
* webgl/conformance/textures/gl-pixelstorei.html:
* webgl/conformance/textures/gl-teximage.html:
* webgl/conformance/textures/mipmap-fbo.html:
* webgl/conformance/textures/origin-clean-conformance.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgb565.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba4444.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba5551.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html:
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video.html:
* webgl/conformance/textures/tex-image-and-uniform-binding-bugs.html:
* webgl/conformance/textures/tex-image-webgl.html:
* webgl/conformance/textures/tex-image-with-format-and-type.html:
* webgl/conformance/textures/tex-image-with-invalid-data.html:
* webgl/conformance/textures/tex-input-validation.html:
* webgl/conformance/textures/tex-sub-image-2d-bad-args.html:
* webgl/conformance/textures/tex-sub-image-2d.html:
* webgl/conformance/textures/texparameter-test.html:
* webgl/conformance/textures/texture-active-bind-2.html:
* webgl/conformance/textures/texture-active-bind.html:
* webgl/conformance/textures/texture-attachment-formats.html:
* webgl/conformance/textures/texture-clear.html:
* webgl/conformance/textures/texture-complete.html:
* webgl/conformance/textures/texture-formats-test.html:
* webgl/conformance/textures/texture-hd-dpi.html:
* webgl/conformance/textures/texture-mips.html:
* webgl/conformance/textures/texture-npot-video.html:
* webgl/conformance/textures/texture-npot.html:
* webgl/conformance/textures/texture-size-cube-maps.html:
* webgl/conformance/textures/texture-size-limit.html:
* webgl/conformance/textures/texture-size.html:
* webgl/conformance/textures/texture-sub-image-cube-maps.html:
* webgl/conformance/textures/texture-transparent-pixels-initialized.html:
* webgl/conformance/textures/texture-upload-cube-maps.html:
* webgl/conformance/typedarrays/array-buffer-crash.html:
* webgl/conformance/typedarrays/array-buffer-view-crash.html:
* webgl/conformance/typedarrays/array-unit-tests.html:
* webgl/conformance/typedarrays/data-view-crash.html:
* webgl/conformance/typedarrays/data-view-test.html:
* webgl/conformance/typedarrays/typed-arrays-in-workers.html:
* webgl/conformance/uniforms/gl-uniform-arrays.html:
* webgl/conformance/uniforms/gl-uniform-bool.html:
* webgl/conformance/uniforms/gl-uniformmatrix4fv.html:
* webgl/conformance/uniforms/gl-unknown-uniform.html:
* webgl/conformance/uniforms/null-uniform-location.html:
* webgl/conformance/uniforms/uniform-default-values.html:
* webgl/conformance/uniforms/uniform-location.html:
* webgl/conformance/uniforms/uniform-samplers-test.html:
* webgl/resources/webgl-wrapper-template.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Separate forward and backward paths in ComposedShadowTreeWalker
https://bugs.webkit.org/show_bug.cgi?id=120979

Reviewed by Andreas Kling.

Have separate first/last and next/previous paths instead of using a direction enum.
        
Reduce the number of helper functions and give them more understandable names.

* dom/ComposedShadowTreeWalker.cpp:
(WebCore::findFirstSiblingEnteringInsertionPoints):
(WebCore::findFirstEnteringInsertionPoints):
(WebCore::findFirstFromDistributedNode):
(WebCore::findLastSiblingEnteringInsertionPoints):
(WebCore::findLastEnteringInsertionPoints):
(WebCore::findLastFromDistributedNode):
(WebCore::ComposedShadowTreeWalker::firstChild):
(WebCore::ComposedShadowTreeWalker::traverseFirstChild):
(WebCore::ComposedShadowTreeWalker::lastChild):
(WebCore::ComposedShadowTreeWalker::traverseLastChild):
(WebCore::ComposedShadowTreeWalker::nextSibling):
(WebCore::ComposedShadowTreeWalker::previousSibling):
(WebCore::ComposedShadowTreeWalker::traverseNextSibling):
(WebCore::ComposedShadowTreeWalker::traversePreviousSibling):
* dom/ComposedShadowTreeWalker.h:



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