WebKit-https.git
3 years agoiOS layout test gardening in fast/events
simon.fraser@apple.com [Wed, 24 Aug 2016 01:57:03 +0000 (01:57 +0000)]
iOS layout test gardening in fast/events

* platform/ios-simulator-wk1/TestExpectations:
* platform/ios-simulator-wk2/TestExpectations:
* platform/ios-simulator/TestExpectations:

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

3 years agoFix a formatting error in TestExpectations.
simon.fraser@apple.com [Wed, 24 Aug 2016 01:57:00 +0000 (01:57 +0000)]
Fix a formatting error in TestExpectations.

* platform/ios-simulator-wk1/TestExpectations:

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

3 years agoUnreviewed, update expectations of iOS simulator WK1 editing tests
jiewen_tan@apple.com [Wed, 24 Aug 2016 01:01:38 +0000 (01:01 +0000)]
Unreviewed, update expectations of iOS simulator WK1 editing tests

* platform/ios-simulator-wk1/TestExpectations:

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

3 years agoREGRESSION: SVG clip-path doesn't work on root <svg>
commit-queue@webkit.org [Wed, 24 Aug 2016 00:30:22 +0000 (00:30 +0000)]
REGRESSION: SVG clip-path doesn't work on root <svg>
https://bugs.webkit.org/show_bug.cgi?id=129180

Patch by Said Abou-Hallawa <sabouhallawa@apple.com> on 2016-08-23
Reviewed by Tim Horton.

Source/WebCore:

Build the resources cache for the RenderSVGRoot element when it's been
inserted in the render tree. Remove the resources cache before removing
the RenderSVGRoot from the render tree. No worries for the child <svg>
elements since their renderers are of type RenderSVGViewportContainer.

Tests: svg/clip-path/clip-path-on-svg-003.svg
       svg/clip-path/clip-path-on-svg-004.svg

* rendering/svg/RenderSVGRoot.cpp:
(WebCore::RenderSVGRoot::insertedIntoTree):
(WebCore::RenderSVGRoot::willBeRemovedFromTree):
* rendering/svg/RenderSVGRoot.h:
These changes are very similar to what we do for adding and removing the
child SVG elements in RenderSVGRoot::addChild() and removeChild().

LayoutTests:

* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/ios-simulator/TestExpectations:
* platform/mac/TestExpectations:
* platform/win/TestExpectations:
* svg/clip-path/clip-path-on-svg-003-expected.svg: Added.
* svg/clip-path/clip-path-on-svg-003.svg: Added.
* svg/clip-path/clip-path-on-svg-004-expected.svg: Added.
* svg/clip-path/clip-path-on-svg-004.svg: Added.

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

3 years agoHTMLAreaElement should have a stringifier
cdumez@apple.com [Wed, 24 Aug 2016 00:24:34 +0000 (00:24 +0000)]
HTMLAreaElement should have a stringifier
https://bugs.webkit.org/show_bug.cgi?id=161105

Reviewed by Geoffrey Garen.

LayoutTests/imported/w3c:

Rebaseline W3C test now that all checks are passing.

* web-platform-tests/html/semantics/embedded-content/the-area-element/area-stringifier-expected.txt:

Source/WebCore:

HTMLAreaElement should have a stringifier:
- https://html.spec.whatwg.org/multipage/embedded-content.html#htmlareaelement
- https://html.spec.whatwg.org/multipage/semantics.html#htmlhyperlinkelementutils
- http://heycam.github.io/webidl/#idl-stringifiers
- http://heycam.github.io/webidl/#es-stringifier

Chrome and Firefox already support this.

This patch does the following:
- Add support for stringifier on attributes to our bindings generator.
- Add stringifier to the HTMLHyperlinkElementUtils.href attribute as
  per the specification
- Drops the explicit toString on HTMLAnchorElement as HTMLAnchorElement
  implements HTMLHyperlinkElementUtils.

Test: fast/dom/toString_attributes.html

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateInterface):
(AddStringifierOperationIfNeeded):
* bindings/scripts/IDLParser.pm:
(parseAttributeOrOperationOrIterator):
* html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::toString): Deleted.
* html/HTMLAnchorElement.h:
* html/HTMLAnchorElement.idl:
* html/HTMLHyperlinkElementUtils.idl:

LayoutTests:

Add layout test coverage to check that HTMLAreaElement.prototype.toString
and HTMLAnchorElement.prototype.toString have the right attributes:
- http://heycam.github.io/webidl/#es-stringifier

* fast/dom/toString_attributes-expected.txt: Added.
* fast/dom/toString_attributes.html: Added.
* js/dom/toString-dontEnum-expected.txt:
* js/dom/toString-dontEnum.html:

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

3 years agoJSC should have a "microbenchmarks" directory instead of "regress" directory
sbarati@apple.com [Tue, 23 Aug 2016 23:39:05 +0000 (23:39 +0000)]
JSC should have a "microbenchmarks" directory instead of "regress" directory
https://bugs.webkit.org/show_bug.cgi?id=161096

Rubber stamped by Mark Lam.

JSTests:

* microbenchmarks: Copied from LayoutTests/js/regress/script-tests.

Tools:

This patch moves LayoutTests/js/regress/script-tests to the JSTests/microbenchmarks
directory and removes all the related html and txt files. I did this because
that directory was only there for microbenchmarks, and not for "regression"
tests. I also changed the various scripts to point to it.

* Scripts/run-javascriptcore-tests:
(runJSCStressTests):
* Scripts/run-jsc-benchmarks:

LayoutTests:

* TestExpectations:
* js/regress: Removed.
* js/regress/ArrayBuffer-DataView-alloc-large-long-lived-expected.txt: Removed.
* js/regress/ArrayBuffer-DataView-alloc-large-long-lived.html: Removed.
* js/regress/ArrayBuffer-DataView-alloc-long-lived-expected.txt: Removed.
* js/regress/ArrayBuffer-DataView-alloc-long-lived.html: Removed.
* js/regress/ArrayBuffer-Int32Array-byteOffset-expected.txt: Removed.
* js/regress/ArrayBuffer-Int32Array-byteOffset.html: Removed.
* js/regress/ArrayBuffer-Int8Array-alloc-expected.txt: Removed.
* js/regress/ArrayBuffer-Int8Array-alloc-large-long-lived-expected.txt: Removed.
* js/regress/ArrayBuffer-Int8Array-alloc-large-long-lived.html: Removed.
* js/regress/ArrayBuffer-Int8Array-alloc-long-lived-buffer-expected.txt: Removed.
* js/regress/ArrayBuffer-Int8Array-alloc-long-lived-buffer.html: Removed.
* js/regress/ArrayBuffer-Int8Array-alloc-long-lived-expected.txt: Removed.
* js/regress/ArrayBuffer-Int8Array-alloc-long-lived.html: Removed.
* js/regress/ArrayBuffer-Int8Array-alloc.html: Removed.
* js/regress/DataView-custom-properties-expected.txt: Removed.
* js/regress/DataView-custom-properties.html: Removed.
* js/regress/Float32Array-matrix-mult-expected.txt: Removed.
* js/regress/Float32Array-matrix-mult.html: Removed.
* js/regress/Float32Array-to-Float64Array-set-expected.txt: Removed.
* js/regress/Float32Array-to-Float64Array-set.html: Removed.
* js/regress/Float64Array-alloc-long-lived-expected.txt: Removed.
* js/regress/Float64Array-alloc-long-lived.html: Removed.
* js/regress/Float64Array-to-Int16Array-set-expected.txt: Removed.
* js/regress/Float64Array-to-Int16Array-set.html: Removed.
* js/regress/HashMap-put-get-iterate-expected.txt: Removed.
* js/regress/HashMap-put-get-iterate-keys-expected.txt: Removed.
* js/regress/HashMap-put-get-iterate-keys.html: Removed.
* js/regress/HashMap-put-get-iterate.html: Removed.
* js/regress/HashMap-string-put-get-iterate-expected.txt: Removed.
* js/regress/HashMap-string-put-get-iterate.html: Removed.
* js/regress/Int16Array-alloc-long-lived-expected.txt: Removed.
* js/regress/Int16Array-alloc-long-lived.html: Removed.
* js/regress/Int16Array-bubble-sort-expected.txt: Removed.
* js/regress/Int16Array-bubble-sort-with-byteLength-expected.txt: Removed.
* js/regress/Int16Array-bubble-sort-with-byteLength.html: Removed.
* js/regress/Int16Array-bubble-sort.html: Removed.
* js/regress/Int16Array-load-int-mul-expected.txt: Removed.
* js/regress/Int16Array-load-int-mul.html: Removed.
* js/regress/Int16Array-to-Int32Array-set-expected.txt: Removed.
* js/regress/Int16Array-to-Int32Array-set.html: Removed.
* js/regress/Int32Array-Int8Array-view-alloc-expected.txt: Removed.
* js/regress/Int32Array-Int8Array-view-alloc.html: Removed.
* js/regress/Int32Array-alloc-expected.txt: Removed.
* js/regress/Int32Array-alloc-large-expected.txt: Removed.
* js/regress/Int32Array-alloc-large.html: Removed.
* js/regress/Int32Array-alloc-long-lived-expected.txt: Removed.
* js/regress/Int32Array-alloc-long-lived.html: Removed.
* js/regress/Int32Array-alloc.html: Removed.
* js/regress/Int8Array-alloc-long-lived-expected.txt: Removed.
* js/regress/Int8Array-alloc-long-lived.html: Removed.
* js/regress/Int8Array-load-expected.txt: Removed.
* js/regress/Int8Array-load-with-byteLength-expected.txt: Removed.
* js/regress/Int8Array-load-with-byteLength.html: Removed.
* js/regress/Int8Array-load.html: Removed.
* js/regress/JSONP-negative-0-expected.txt: Removed.
* js/regress/JSONP-negative-0.html: Removed.
* js/regress/Number-isNaN-expected.txt: Removed.
* js/regress/Number-isNaN.html: Removed.
* js/regress/abc-forward-loop-equal-expected.txt: Removed.
* js/regress/abc-forward-loop-equal.html: Removed.
* js/regress/abc-postfix-backward-loop-expected.txt: Removed.
* js/regress/abc-postfix-backward-loop.html: Removed.
* js/regress/abc-simple-backward-loop-expected.txt: Removed.
* js/regress/abc-simple-backward-loop.html: Removed.
* js/regress/abc-simple-forward-loop-expected.txt: Removed.
* js/regress/abc-simple-forward-loop.html: Removed.
* js/regress/abc-skippy-loop-expected.txt: Removed.
* js/regress/abc-skippy-loop.html: Removed.
* js/regress/abs-boolean-expected.txt: Removed.
* js/regress/abs-boolean.html: Removed.
* js/regress/adapt-to-double-divide-expected.txt: Removed.
* js/regress/adapt-to-double-divide.html: Removed.
* js/regress/aliased-arguments-getbyval-expected.txt: Removed.
* js/regress/aliased-arguments-getbyval.html: Removed.
* js/regress/allocate-big-object-expected.txt: Removed.
* js/regress/allocate-big-object.html: Removed.
* js/regress/apply-not-apply-expected.txt: Removed.
* js/regress/apply-not-apply.html: Removed.
* js/regress/arguments-expected.txt: Removed.
* js/regress/arguments-named-and-reflective-expected.txt: Removed.
* js/regress/arguments-named-and-reflective.html: Removed.
* js/regress/arguments-out-of-bounds-expected.txt: Removed.
* js/regress/arguments-out-of-bounds.html: Removed.
* js/regress/arguments-strict-mode-expected.txt: Removed.
* js/regress/arguments-strict-mode.html: Removed.
* js/regress/arguments.html: Removed.
* js/regress/arity-mismatch-inlining-expected.txt: Removed.
* js/regress/arity-mismatch-inlining.html: Removed.
* js/regress/array-access-polymorphic-structure-expected.txt: Removed.
* js/regress/array-access-polymorphic-structure.html: Removed.
* js/regress/array-nonarray-polymorhpic-access-expected.txt: Removed.
* js/regress/array-nonarray-polymorhpic-access.html: Removed.
* js/regress/array-nonarray-polymorphic-access-expected.txt: Removed.
* js/regress/array-nonarray-polymorphic-access.html: Removed.
* js/regress/array-prototype-every-expected.txt: Removed.
* js/regress/array-prototype-every.html: Removed.
* js/regress/array-prototype-forEach-expected.txt: Removed.
* js/regress/array-prototype-forEach.html: Removed.
* js/regress/array-prototype-map-expected.txt: Removed.
* js/regress/array-prototype-map.html: Removed.
* js/regress/array-prototype-reduce-expected.txt: Removed.
* js/regress/array-prototype-reduce.html: Removed.
* js/regress/array-prototype-reduceRight-expected.txt: Removed.
* js/regress/array-prototype-reduceRight.html: Removed.
* js/regress/array-prototype-some-expected.txt: Removed.
* js/regress/array-prototype-some.html: Removed.
* js/regress/array-splice-contiguous-expected.txt: Removed.
* js/regress/array-splice-contiguous.html: Removed.
* js/regress/array-with-double-add-expected.txt: Removed.
* js/regress/array-with-double-add.html: Removed.
* js/regress/array-with-double-increment-expected.txt: Removed.
* js/regress/array-with-double-increment.html: Removed.
* js/regress/array-with-double-mul-add-expected.txt: Removed.
* js/regress/array-with-double-mul-add.html: Removed.
* js/regress/array-with-double-sum-expected.txt: Removed.
* js/regress/array-with-double-sum.html: Removed.
* js/regress/array-with-int32-add-sub-expected.txt: Removed.
* js/regress/array-with-int32-add-sub.html: Removed.
* js/regress/array-with-int32-or-double-sum-expected.txt: Removed.
* js/regress/array-with-int32-or-double-sum.html: Removed.
* js/regress/arrowfunction-call-expected.txt: Removed.
* js/regress/arrowfunction-call-in-class-constructor-expected.txt: Removed.
* js/regress/arrowfunction-call-in-class-constructor.html: Removed.
* js/regress/arrowfunction-call-in-class-method-expected.txt: Removed.
* js/regress/arrowfunction-call-in-class-method.html: Removed.
* js/regress/arrowfunction-call-in-function-expected.txt: Removed.
* js/regress/arrowfunction-call-in-function.html: Removed.
* js/regress/arrowfunction-call.html: Removed.
* js/regress/asmjs_bool_bug-expected.txt: Removed.
* js/regress/asmjs_bool_bug.html: Removed.
* js/regress/assign-custom-setter-expected.txt: Removed.
* js/regress/assign-custom-setter-polymorphic-expected.txt: Removed.
* js/regress/assign-custom-setter-polymorphic.html: Removed.
* js/regress/assign-custom-setter.html: Removed.
* js/regress/basic-set-expected.txt: Removed.
* js/regress/basic-set.html: Removed.
* js/regress/big-int-mul-expected.txt: Removed.
* js/regress/big-int-mul.html: Removed.
* js/regress/bigswitch-expected.txt: Removed.
* js/regress/bigswitch-indirect-expected.txt: Removed.
* js/regress/bigswitch-indirect-symbol-expected.txt: Removed.
* js/regress/bigswitch-indirect-symbol-or-undefined-expected.txt: Removed.
* js/regress/bigswitch-indirect-symbol-or-undefined.html: Removed.
* js/regress/bigswitch-indirect-symbol.html: Removed.
* js/regress/bigswitch-indirect.html: Removed.
* js/regress/bigswitch.html: Removed.
* js/regress/boolean-test-expected.txt: Removed.
* js/regress/boolean-test.html: Removed.
* js/regress/bound-function-call-expected.txt: Removed.
* js/regress/bound-function-call.html: Removed.
* js/regress/bound-function-construction-performance-expected.txt: Removed.
* js/regress/bound-function-construction-performance.html: Removed.
* js/regress/branch-fold-expected.txt: Removed.
* js/regress/branch-fold.html: Removed.
* js/regress/branch-on-string-as-boolean-expected.txt: Removed.
* js/regress/branch-on-string-as-boolean.html: Removed.
* js/regress/bug-153431-expected.txt: Removed.
* js/regress/bug-153431.html: Removed.
* js/regress/build-large-object-expected.txt: Removed.
* js/regress/build-large-object.html: Removed.
* js/regress/by-val-generic-expected.txt: Removed.
* js/regress/by-val-generic.html: Removed.
* js/regress/call-or-not-call-expected.txt: Removed.
* js/regress/call-or-not-call.html: Removed.
* js/regress/call-spread-apply-expected.txt: Removed.
* js/regress/call-spread-apply.html: Removed.
* js/regress/call-spread-call-expected.txt: Removed.
* js/regress/call-spread-call.html: Removed.
* js/regress/captured-assignments-expected.txt: Removed.
* js/regress/captured-assignments.html: Removed.
* js/regress/cast-int-to-double-expected.txt: Removed.
* js/regress/cast-int-to-double.html: Removed.
* js/regress/cell-argument-expected.txt: Removed.
* js/regress/cell-argument.html: Removed.
* js/regress/cfg-simplify-expected.txt: Removed.
* js/regress/cfg-simplify.html: Removed.
* js/regress/chain-getter-access-expected.txt: Removed.
* js/regress/chain-getter-access.html: Removed.
* js/regress/cmpeq-obj-to-obj-other-expected.txt: Removed.
* js/regress/cmpeq-obj-to-obj-other.html: Removed.
* js/regress/concat-append-one-expected.txt: Removed.
* js/regress/concat-append-one.html: Removed.
* js/regress/constant-test-expected.txt: Removed.
* js/regress/constant-test.html: Removed.
* js/regress/create-lots-of-functions-expected.txt: Removed.
* js/regress/create-lots-of-functions.html: Removed.
* js/regress/cse-new-array-buffer-expected.txt: Removed.
* js/regress/cse-new-array-buffer.html: Removed.
* js/regress/cse-new-array-expected.txt: Removed.
* js/regress/cse-new-array.html: Removed.
* js/regress/custom-setter-getter-as-put-get-by-id-expected.txt: Removed.
* js/regress/custom-setter-getter-as-put-get-by-id.html: Removed.
* js/regress/delay-tear-off-arguments-strictmode-expected.txt: Removed.
* js/regress/delay-tear-off-arguments-strictmode.html: Removed.
* js/regress/deltablue-for-of-expected.txt: Removed.
* js/regress/deltablue-for-of.html: Removed.
* js/regress/deltablue-varargs-expected.txt: Removed.
* js/regress/deltablue-varargs.html: Removed.
* js/regress/destructuring-arguments-expected.txt: Removed.
* js/regress/destructuring-arguments.html: Removed.
* js/regress/destructuring-parameters-overridden-by-function-expected.txt: Removed.
* js/regress/destructuring-parameters-overridden-by-function.html: Removed.
* js/regress/destructuring-swap-expected.txt: Removed.
* js/regress/destructuring-swap.html: Removed.
* js/regress/direct-arguments-getbyval-expected.txt: Removed.
* js/regress/direct-arguments-getbyval.html: Removed.
* js/regress/direct-arguments-length-expected.txt: Removed.
* js/regress/direct-arguments-length.html: Removed.
* js/regress/direct-arguments-overridden-length-expected.txt: Removed.
* js/regress/direct-arguments-overridden-length.html: Removed.
* js/regress/direct-arguments-possibly-overridden-length-expected.txt: Removed.
* js/regress/direct-arguments-possibly-overridden-length.html: Removed.
* js/regress/div-boolean-double-expected.txt: Removed.
* js/regress/div-boolean-double.html: Removed.
* js/regress/div-boolean-expected.txt: Removed.
* js/regress/div-boolean.html: Removed.
* js/regress/double-get-by-val-out-of-bounds-expected.txt: Removed.
* js/regress/double-get-by-val-out-of-bounds.html: Removed.
* js/regress/double-pollution-getbyval-expected.txt: Removed.
* js/regress/double-pollution-getbyval.html: Removed.
* js/regress/double-pollution-putbyoffset-expected.txt: Removed.
* js/regress/double-pollution-putbyoffset.html: Removed.
* js/regress/double-real-use-expected.txt: Removed.
* js/regress/double-real-use.html: Removed.
* js/regress/double-to-int32-typed-array-expected.txt: Removed.
* js/regress/double-to-int32-typed-array-no-inline-expected.txt: Removed.
* js/regress/double-to-int32-typed-array-no-inline.html: Removed.
* js/regress/double-to-int32-typed-array.html: Removed.
* js/regress/double-to-uint32-typed-array-expected.txt: Removed.
* js/regress/double-to-uint32-typed-array-no-inline-expected.txt: Removed.
* js/regress/double-to-uint32-typed-array-no-inline.html: Removed.
* js/regress/double-to-uint32-typed-array.html: Removed.
* js/regress/elidable-new-object-dag-expected.txt: Removed.
* js/regress/elidable-new-object-dag.html: Removed.
* js/regress/elidable-new-object-roflcopter-expected.txt: Removed.
* js/regress/elidable-new-object-roflcopter.html: Removed.
* js/regress/elidable-new-object-then-call-expected.txt: Removed.
* js/regress/elidable-new-object-then-call.html: Removed.
* js/regress/elidable-new-object-tree-expected.txt: Removed.
* js/regress/elidable-new-object-tree.html: Removed.
* js/regress/empty-string-plus-int-expected.txt: Removed.
* js/regress/empty-string-plus-int.html: Removed.
* js/regress/emscripten-cube2hash-expected.txt: Removed.
* js/regress/emscripten-cube2hash.html: Removed.
* js/regress/eval-compute-expected.txt: Removed.
* js/regress/eval-compute.html: Removed.
* js/regress/eval-not-eval-compute-args-expected.txt: Removed.
* js/regress/eval-not-eval-compute-args.html: Removed.
* js/regress/eval-not-eval-compute-expected.txt: Removed.
* js/regress/eval-not-eval-compute.html: Removed.
* js/regress/exit-length-on-plain-object-expected.txt: Removed.
* js/regress/exit-length-on-plain-object.html: Removed.
* js/regress/external-arguments-getbyval-expected.txt: Removed.
* js/regress/external-arguments-getbyval.html: Removed.
* js/regress/external-arguments-putbyval-expected.txt: Removed.
* js/regress/external-arguments-putbyval.html: Removed.
* js/regress/fixed-typed-array-storage-expected.txt: Removed.
* js/regress/fixed-typed-array-storage-var-index-expected.txt: Removed.
* js/regress/fixed-typed-array-storage-var-index.html: Removed.
* js/regress/fixed-typed-array-storage.html: Removed.
* js/regress/fold-double-to-int-expected.txt: Removed.
* js/regress/fold-double-to-int.html: Removed.
* js/regress/fold-get-by-id-to-multi-get-by-offset-expected.txt: Removed.
* js/regress/fold-get-by-id-to-multi-get-by-offset-rare-int-expected.txt: Removed.
* js/regress/fold-get-by-id-to-multi-get-by-offset-rare-int.html: Removed.
* js/regress/fold-get-by-id-to-multi-get-by-offset.html: Removed.
* js/regress/fold-multi-get-by-offset-to-get-by-offset-expected.txt: Removed.
* js/regress/fold-multi-get-by-offset-to-get-by-offset.html: Removed.
* js/regress/fold-multi-get-by-offset-to-poly-get-by-offset-expected.txt: Removed.
* js/regress/fold-multi-get-by-offset-to-poly-get-by-offset.html: Removed.
* js/regress/fold-multi-put-by-offset-to-poly-put-by-offset-expected.txt: Removed.
* js/regress/fold-multi-put-by-offset-to-poly-put-by-offset.html: Removed.
* js/regress/fold-multi-put-by-offset-to-put-by-offset-expected.txt: Removed.
* js/regress/fold-multi-put-by-offset-to-put-by-offset.html: Removed.
* js/regress/fold-multi-put-by-offset-to-replace-or-transition-put-by-offset-expected.txt: Removed.
* js/regress/fold-multi-put-by-offset-to-replace-or-transition-put-by-offset.html: Removed.
* js/regress/fold-put-by-id-to-multi-put-by-offset-expected.txt: Removed.
* js/regress/fold-put-by-id-to-multi-put-by-offset.html: Removed.
* js/regress/fold-put-by-val-with-string-to-multi-put-by-offset-expected.txt: Removed.
* js/regress/fold-put-by-val-with-string-to-multi-put-by-offset.html: Removed.
* js/regress/fold-put-by-val-with-symbol-to-multi-put-by-offset-expected.txt: Removed.
* js/regress/fold-put-by-val-with-symbol-to-multi-put-by-offset.html: Removed.
* js/regress/fold-put-structure-expected.txt: Removed.
* js/regress/fold-put-structure.html: Removed.
* js/regress/for-of-iterate-array-entries-expected.txt: Removed.
* js/regress/for-of-iterate-array-entries.html: Removed.
* js/regress/for-of-iterate-array-keys-expected.txt: Removed.
* js/regress/for-of-iterate-array-keys.html: Removed.
* js/regress/for-of-iterate-array-values-expected.txt: Removed.
* js/regress/for-of-iterate-array-values.html: Removed.
* js/regress/freeze-and-do-work-expected.txt: Removed.
* js/regress/freeze-and-do-work.html: Removed.
* js/regress/fround-expected.txt: Removed.
* js/regress/fround.html: Removed.
* js/regress/ftl-library-inlining-dataview-expected.txt: Removed.
* js/regress/ftl-library-inlining-dataview.html: Removed.
* js/regress/ftl-library-inlining-expected.txt: Removed.
* js/regress/ftl-library-inlining.html: Removed.
* js/regress/ftl-polymorphic-StringFromCharCode-expected.txt: Removed.
* js/regress/ftl-polymorphic-StringFromCharCode.html: Removed.
* js/regress/ftl-polymorphic-bitand-expected.txt: Removed.
* js/regress/ftl-polymorphic-bitand.html: Removed.
* js/regress/ftl-polymorphic-bitor-expected.txt: Removed.
* js/regress/ftl-polymorphic-bitor.html: Removed.
* js/regress/ftl-polymorphic-bitxor-expected.txt: Removed.
* js/regress/ftl-polymorphic-bitxor.html: Removed.
* js/regress/ftl-polymorphic-div-expected.txt: Removed.
* js/regress/ftl-polymorphic-div.html: Removed.
* js/regress/ftl-polymorphic-lshift-expected.txt: Removed.
* js/regress/ftl-polymorphic-lshift.html: Removed.
* js/regress/ftl-polymorphic-mul-expected.txt: Removed.
* js/regress/ftl-polymorphic-mul.html: Removed.
* js/regress/ftl-polymorphic-rshift-expected.txt: Removed.
* js/regress/ftl-polymorphic-rshift.html: Removed.
* js/regress/ftl-polymorphic-sub-expected.txt: Removed.
* js/regress/ftl-polymorphic-sub.html: Removed.
* js/regress/ftl-polymorphic-urshift-expected.txt: Removed.
* js/regress/ftl-polymorphic-urshift.html: Removed.
* js/regress/function-call-expected.txt: Removed.
* js/regress/function-call.html: Removed.
* js/regress/function-dot-apply-expected.txt: Removed.
* js/regress/function-dot-apply.html: Removed.
* js/regress/function-test-expected.txt: Removed.
* js/regress/function-test.html: Removed.
* js/regress/function-with-eval-expected.txt: Removed.
* js/regress/function-with-eval.html: Removed.
* js/regress/gcse-expected.txt: Removed.
* js/regress/gcse-poly-get-expected.txt: Removed.
* js/regress/gcse-poly-get-less-obvious-expected.txt: Removed.
* js/regress/gcse-poly-get-less-obvious.html: Removed.
* js/regress/gcse-poly-get.html: Removed.
* js/regress/gcse.html: Removed.
* js/regress/generator-create-expected.txt: Removed.
* js/regress/generator-create.html: Removed.
* js/regress/generator-fib-expected.txt: Removed.
* js/regress/generator-fib.html: Removed.
* js/regress/generator-function-create-expected.txt: Removed.
* js/regress/generator-function-create.html: Removed.
* js/regress/generator-sunspider-access-nsieve-expected.txt: Removed.
* js/regress/generator-sunspider-access-nsieve.html: Removed.
* js/regress/generator-with-several-types-expected.txt: Removed.
* js/regress/generator-with-several-types.html: Removed.
* js/regress/get-by-id-bimorphic-check-structure-elimination-expected.txt: Removed.
* js/regress/get-by-id-bimorphic-check-structure-elimination-simple-expected.txt: Removed.
* js/regress/get-by-id-bimorphic-check-structure-elimination-simple.html: Removed.
* js/regress/get-by-id-bimorphic-check-structure-elimination.html: Removed.
* js/regress/get-by-id-chain-from-try-block-expected.txt: Removed.
* js/regress/get-by-id-chain-from-try-block.html: Removed.
* js/regress/get-by-id-check-structure-elimination-expected.txt: Removed.
* js/regress/get-by-id-check-structure-elimination.html: Removed.
* js/regress/get-by-id-proto-or-self-expected.txt: Removed.
* js/regress/get-by-id-proto-or-self.html: Removed.
* js/regress/get-by-id-quadmorphic-check-structure-elimination-simple-expected.txt: Removed.
* js/regress/get-by-id-quadmorphic-check-structure-elimination-simple.html: Removed.
* js/regress/get-by-id-self-or-proto-expected.txt: Removed.
* js/regress/get-by-id-self-or-proto.html: Removed.
* js/regress/get-by-val-out-of-bounds-expected.txt: Removed.
* js/regress/get-by-val-out-of-bounds.html: Removed.
* js/regress/get-by-val-with-string-bimorphic-check-structure-elimination-expected.txt: Removed.
* js/regress/get-by-val-with-string-bimorphic-check-structure-elimination-simple-expected.txt: Removed.
* js/regress/get-by-val-with-string-bimorphic-check-structure-elimination-simple.html: Removed.
* js/regress/get-by-val-with-string-bimorphic-check-structure-elimination.html: Removed.
* js/regress/get-by-val-with-string-chain-from-try-block-expected.txt: Removed.
* js/regress/get-by-val-with-string-chain-from-try-block.html: Removed.
* js/regress/get-by-val-with-string-check-structure-elimination-expected.txt: Removed.
* js/regress/get-by-val-with-string-check-structure-elimination.html: Removed.
* js/regress/get-by-val-with-string-proto-or-self-expected.txt: Removed.
* js/regress/get-by-val-with-string-proto-or-self.html: Removed.
* js/regress/get-by-val-with-string-quadmorphic-check-structure-elimination-simple-expected.txt: Removed.
* js/regress/get-by-val-with-string-quadmorphic-check-structure-elimination-simple.html: Removed.
* js/regress/get-by-val-with-string-self-or-proto-expected.txt: Removed.
* js/regress/get-by-val-with-string-self-or-proto.html: Removed.
* js/regress/get-by-val-with-symbol-bimorphic-check-structure-elimination-expected.txt: Removed.
* js/regress/get-by-val-with-symbol-bimorphic-check-structure-elimination-simple-expected.txt: Removed.
* js/regress/get-by-val-with-symbol-bimorphic-check-structure-elimination-simple.html: Removed.
* js/regress/get-by-val-with-symbol-bimorphic-check-structure-elimination.html: Removed.
* js/regress/get-by-val-with-symbol-chain-from-try-block-expected.txt: Removed.
* js/regress/get-by-val-with-symbol-chain-from-try-block.html: Removed.
* js/regress/get-by-val-with-symbol-check-structure-elimination-expected.txt: Removed.
* js/regress/get-by-val-with-symbol-check-structure-elimination.html: Removed.
* js/regress/get-by-val-with-symbol-proto-or-self-expected.txt: Removed.
* js/regress/get-by-val-with-symbol-proto-or-self.html: Removed.
* js/regress/get-by-val-with-symbol-quadmorphic-check-structure-elimination-simple-expected.txt: Removed.
* js/regress/get-by-val-with-symbol-quadmorphic-check-structure-elimination-simple.html: Removed.
* js/regress/get-by-val-with-symbol-self-or-proto-expected.txt: Removed.
* js/regress/get-by-val-with-symbol-self-or-proto.html: Removed.
* js/regress/get_by_val-Int32Array-expected.txt: Removed.
* js/regress/get_by_val-Int32Array.html: Removed.
* js/regress/get_callee_monomorphic-expected.txt: Removed.
* js/regress/get_callee_monomorphic.html: Removed.
* js/regress/get_callee_polymorphic-expected.txt: Removed.
* js/regress/get_callee_polymorphic.html: Removed.
* js/regress/getter-expected.txt: Removed.
* js/regress/getter-no-activation-expected.txt: Removed.
* js/regress/getter-no-activation.html: Removed.
* js/regress/getter-prototype-expected.txt: Removed.
* js/regress/getter-prototype.html: Removed.
* js/regress/getter-richards-expected.txt: Removed.
* js/regress/getter-richards-try-catch-expected.txt: Removed.
* js/regress/getter-richards-try-catch.html: Removed.
* js/regress/getter-richards.html: Removed.
* js/regress/getter.html: Removed.
* js/regress/global-isNaN-expected.txt: Removed.
* js/regress/global-isNaN.html: Removed.
* js/regress/global-object-access-with-mutating-structure-expected.txt: Removed.
* js/regress/global-object-access-with-mutating-structure.html: Removed.
* js/regress/global-var-const-infer-expected.txt: Removed.
* js/regress/global-var-const-infer-fire-from-opt-expected.txt: Removed.
* js/regress/global-var-const-infer-fire-from-opt.html: Removed.
* js/regress/global-var-const-infer.html: Removed.
* js/regress/hard-overflow-check-equal-expected.txt: Removed.
* js/regress/hard-overflow-check-equal.html: Removed.
* js/regress/hard-overflow-check-expected.txt: Removed.
* js/regress/hard-overflow-check.html: Removed.
* js/regress/hoist-make-rope-expected.txt: Removed.
* js/regress/hoist-make-rope.html: Removed.
* js/regress/hoist-poly-check-structure-effectful-loop-expected.txt: Removed.
* js/regress/hoist-poly-check-structure-effectful-loop.html: Removed.
* js/regress/hoist-poly-check-structure-expected.txt: Removed.
* js/regress/hoist-poly-check-structure.html: Removed.
* js/regress/implicit-bigswitch-indirect-symbol-expected.txt: Removed.
* js/regress/implicit-bigswitch-indirect-symbol.html: Removed.
* js/regress/imul-double-only-expected.txt: Removed.
* js/regress/imul-double-only.html: Removed.
* js/regress/imul-int-only-expected.txt: Removed.
* js/regress/imul-int-only.html: Removed.
* js/regress/imul-mixed-expected.txt: Removed.
* js/regress/imul-mixed.html: Removed.
* js/regress/in-four-cases-expected.txt: Removed.
* js/regress/in-four-cases.html: Removed.
* js/regress/in-one-case-false-expected.txt: Removed.
* js/regress/in-one-case-false.html: Removed.
* js/regress/in-one-case-true-expected.txt: Removed.
* js/regress/in-one-case-true.html: Removed.
* js/regress/in-two-cases-expected.txt: Removed.
* js/regress/in-two-cases.html: Removed.
* js/regress/indexed-properties-in-objects-expected.txt: Removed.
* js/regress/indexed-properties-in-objects.html: Removed.
* js/regress/infer-closure-const-then-mov-expected.txt: Removed.
* js/regress/infer-closure-const-then-mov-no-inline-expected.txt: Removed.
* js/regress/infer-closure-const-then-mov-no-inline.html: Removed.
* js/regress/infer-closure-const-then-mov.html: Removed.
* js/regress/infer-closure-const-then-put-to-scope-expected.txt: Removed.
* js/regress/infer-closure-const-then-put-to-scope-no-inline-expected.txt: Removed.
* js/regress/infer-closure-const-then-put-to-scope-no-inline.html: Removed.
* js/regress/infer-closure-const-then-put-to-scope.html: Removed.
* js/regress/infer-closure-const-then-reenter-expected.txt: Removed.
* js/regress/infer-closure-const-then-reenter-no-inline-expected.txt: Removed.
* js/regress/infer-closure-const-then-reenter-no-inline.html: Removed.
* js/regress/infer-closure-const-then-reenter.html: Removed.
* js/regress/infer-constant-global-property-expected.txt: Removed.
* js/regress/infer-constant-global-property.html: Removed.
* js/regress/infer-constant-property-expected.txt: Removed.
* js/regress/infer-constant-property.html: Removed.
* js/regress/infer-one-time-closure-expected.txt: Removed.
* js/regress/infer-one-time-closure-ten-vars-expected.txt: Removed.
* js/regress/infer-one-time-closure-ten-vars.html: Removed.
* js/regress/infer-one-time-closure-two-vars-expected.txt: Removed.
* js/regress/infer-one-time-closure-two-vars.html: Removed.
* js/regress/infer-one-time-closure.html: Removed.
* js/regress/infer-one-time-deep-closure-expected.txt: Removed.
* js/regress/infer-one-time-deep-closure.html: Removed.
* js/regress/inline-arguments-access-expected.txt: Removed.
* js/regress/inline-arguments-access.html: Removed.
* js/regress/inline-arguments-aliased-access-expected.txt: Removed.
* js/regress/inline-arguments-aliased-access.html: Removed.
* js/regress/inline-arguments-local-escape-expected.txt: Removed.
* js/regress/inline-arguments-local-escape.html: Removed.
* js/regress/inline-get-scoped-var-expected.txt: Removed.
* js/regress/inline-get-scoped-var.html: Removed.
* js/regress/inlined-put-by-id-transition-expected.txt: Removed.
* js/regress/inlined-put-by-id-transition.html: Removed.
* js/regress/inlined-put-by-val-with-string-transition-expected.txt: Removed.
* js/regress/inlined-put-by-val-with-string-transition.html: Removed.
* js/regress/inlined-put-by-val-with-symbol-transition-expected.txt: Removed.
* js/regress/inlined-put-by-val-with-symbol-transition.html: Removed.
* js/regress/instanceof-bound-expected.txt: Removed.
* js/regress/instanceof-bound.html: Removed.
* js/regress/int-or-other-abs-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-abs-then-get-by-val.html: Removed.
* js/regress/int-or-other-abs-zero-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-abs-zero-then-get-by-val.html: Removed.
* js/regress/int-or-other-add-expected.txt: Removed.
* js/regress/int-or-other-add-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-add-then-get-by-val.html: Removed.
* js/regress/int-or-other-add.html: Removed.
* js/regress/int-or-other-div-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-div-then-get-by-val.html: Removed.
* js/regress/int-or-other-max-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-max-then-get-by-val.html: Removed.
* js/regress/int-or-other-min-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-min-then-get-by-val.html: Removed.
* js/regress/int-or-other-mod-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-mod-then-get-by-val.html: Removed.
* js/regress/int-or-other-mul-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-mul-then-get-by-val.html: Removed.
* js/regress/int-or-other-neg-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-neg-then-get-by-val.html: Removed.
* js/regress/int-or-other-neg-zero-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-neg-zero-then-get-by-val.html: Removed.
* js/regress/int-or-other-sub-expected.txt: Removed.
* js/regress/int-or-other-sub-then-get-by-val-expected.txt: Removed.
* js/regress/int-or-other-sub-then-get-by-val.html: Removed.
* js/regress/int-or-other-sub.html: Removed.
* js/regress/int-overflow-local-expected.txt: Removed.
* js/regress/int-overflow-local.html: Removed.
* js/regress/int52-spill-expected.txt: Removed.
* js/regress/int52-spill.html: Removed.
* js/regress/integer-divide-expected.txt: Removed.
* js/regress/integer-divide.html: Removed.
* js/regress/integer-modulo-expected.txt: Removed.
* js/regress/integer-modulo.html: Removed.
* js/regress/is-boolean-fold-expected.txt: Removed.
* js/regress/is-boolean-fold-tricky-expected.txt: Removed.
* js/regress/is-boolean-fold-tricky.html: Removed.
* js/regress/is-boolean-fold.html: Removed.
* js/regress/is-function-fold-expected.txt: Removed.
* js/regress/is-function-fold-tricky-expected.txt: Removed.
* js/regress/is-function-fold-tricky-internal-function-expected.txt: Removed.
* js/regress/is-function-fold-tricky-internal-function.html: Removed.
* js/regress/is-function-fold-tricky.html: Removed.
* js/regress/is-function-fold.html: Removed.
* js/regress/is-number-fold-expected.txt: Removed.
* js/regress/is-number-fold-tricky-expected.txt: Removed.
* js/regress/is-number-fold-tricky.html: Removed.
* js/regress/is-number-fold.html: Removed.
* js/regress/is-object-or-null-fold-expected.txt: Removed.
* js/regress/is-object-or-null-fold-functions-expected.txt: Removed.
* js/regress/is-object-or-null-fold-functions.html: Removed.
* js/regress/is-object-or-null-fold-less-tricky-expected.txt: Removed.
* js/regress/is-object-or-null-fold-less-tricky.html: Removed.
* js/regress/is-object-or-null-fold-tricky-expected.txt: Removed.
* js/regress/is-object-or-null-fold-tricky.html: Removed.
* js/regress/is-object-or-null-fold.html: Removed.
* js/regress/is-object-or-null-trickier-function-expected.txt: Removed.
* js/regress/is-object-or-null-trickier-function.html: Removed.
* js/regress/is-object-or-null-trickier-internal-function-expected.txt: Removed.
* js/regress/is-object-or-null-trickier-internal-function.html: Removed.
* js/regress/is-object-or-null-tricky-function-expected.txt: Removed.
* js/regress/is-object-or-null-tricky-function.html: Removed.
* js/regress/is-object-or-null-tricky-internal-function-expected.txt: Removed.
* js/regress/is-object-or-null-tricky-internal-function.html: Removed.
* js/regress/is-string-fold-expected.txt: Removed.
* js/regress/is-string-fold-tricky-expected.txt: Removed.
* js/regress/is-string-fold-tricky.html: Removed.
* js/regress/is-string-fold.html: Removed.
* js/regress/is-undefined-fold-expected.txt: Removed.
* js/regress/is-undefined-fold-tricky-expected.txt: Removed.
* js/regress/is-undefined-fold-tricky.html: Removed.
* js/regress/is-undefined-fold.html: Removed.
* js/regress/large-int-captured-expected.txt: Removed.
* js/regress/large-int-captured.html: Removed.
* js/regress/large-int-expected.txt: Removed.
* js/regress/large-int-neg-expected.txt: Removed.
* js/regress/large-int-neg.html: Removed.
* js/regress/large-int.html: Removed.
* js/regress/lazy-array-species-watchpoints-expected.txt: Removed.
* js/regress/lazy-array-species-watchpoints.html: Removed.
* js/regress/licm-dragons-expected.txt: Removed.
* js/regress/licm-dragons-out-of-bounds-expected.txt: Removed.
* js/regress/licm-dragons-out-of-bounds.html: Removed.
* js/regress/licm-dragons-overflow-expected.txt: Removed.
* js/regress/licm-dragons-overflow.html: Removed.
* js/regress/licm-dragons.html: Removed.
* js/regress/load-varargs-elimination-expected.txt: Removed.
* js/regress/load-varargs-elimination.html: Removed.
* js/regress/locale-compare-expected.txt: Removed.
* js/regress/locale-compare.html: Removed.
* js/regress/logical-not-expected.txt: Removed.
* js/regress/logical-not-weird-types-expected.txt: Removed.
* js/regress/logical-not-weird-types.html: Removed.
* js/regress/logical-not.html: Removed.
* js/regress/lots-of-fields-expected.txt: Removed.
* js/regress/lots-of-fields.html: Removed.
* js/regress/make-indexed-storage-expected.txt: Removed.
* js/regress/make-indexed-storage.html: Removed.
* js/regress/make-rope-cse-expected.txt: Removed.
* js/regress/make-rope-cse.html: Removed.
* js/regress/many-foreach-calls-expected.txt: Removed.
* js/regress/many-foreach-calls.html: Removed.
* js/regress/many-repeat-stores-expected.txt: Removed.
* js/regress/many-repeat-stores.html: Removed.
* js/regress/map-for-each-expected.txt: Removed.
* js/regress/map-for-each.html: Removed.
* js/regress/map-for-of-expected.txt: Removed.
* js/regress/map-for-of.html: Removed.
* js/regress/marsaglia-larger-ints-expected.txt: Removed.
* js/regress/marsaglia-larger-ints.html: Removed.
* js/regress/marsaglia-osr-entry-expected.txt: Removed.
* js/regress/marsaglia-osr-entry.html: Removed.
* js/regress/math-random-expected.txt: Removed.
* js/regress/math-random.html: Removed.
* js/regress/math-trunc-expected.txt: Removed.
* js/regress/math-trunc.html: Removed.
* js/regress/math-with-out-of-bounds-array-values-expected.txt: Removed.
* js/regress/math-with-out-of-bounds-array-values.html: Removed.
* js/regress/max-boolean-expected.txt: Removed.
* js/regress/max-boolean.html: Removed.
* js/regress/megamorphic-load-expected.txt: Removed.
* js/regress/megamorphic-load.html: Removed.
* js/regress/method-on-number-expected.txt: Removed.
* js/regress/method-on-number.html: Removed.
* js/regress/min-boolean-expected.txt: Removed.
* js/regress/min-boolean.html: Removed.
* js/regress/minus-boolean-double-expected.txt: Removed.
* js/regress/minus-boolean-double.html: Removed.
* js/regress/minus-boolean-expected.txt: Removed.
* js/regress/minus-boolean.html: Removed.
* js/regress/misc-bugs-847389-jpeg2000-expected.txt: Removed.
* js/regress/misc-bugs-847389-jpeg2000.html: Removed.
* js/regress/misc-strict-eq-expected.txt: Removed.
* js/regress/misc-strict-eq.html: Removed.
* js/regress/mod-boolean-double-expected.txt: Removed.
* js/regress/mod-boolean-double.html: Removed.
* js/regress/mod-boolean-expected.txt: Removed.
* js/regress/mod-boolean.html: Removed.
* js/regress/mul-boolean-double-expected.txt: Removed.
* js/regress/mul-boolean-double.html: Removed.
* js/regress/mul-boolean-expected.txt: Removed.
* js/regress/mul-boolean.html: Removed.
* js/regress/neg-boolean-expected.txt: Removed.
* js/regress/neg-boolean.html: Removed.
* js/regress/negative-zero-divide-expected.txt: Removed.
* js/regress/negative-zero-divide.html: Removed.
* js/regress/negative-zero-modulo-expected.txt: Removed.
* js/regress/negative-zero-modulo.html: Removed.
* js/regress/negative-zero-negate-expected.txt: Removed.
* js/regress/negative-zero-negate.html: Removed.
* js/regress/nested-function-parsing-expected.txt: Removed.
* js/regress/nested-function-parsing.html: Removed.
* js/regress/new-array-buffer-dead-expected.txt: Removed.
* js/regress/new-array-buffer-dead.html: Removed.
* js/regress/new-array-buffer-push-expected.txt: Removed.
* js/regress/new-array-buffer-push.html: Removed.
* js/regress/new-array-dead-expected.txt: Removed.
* js/regress/new-array-dead.html: Removed.
* js/regress/new-array-push-expected.txt: Removed.
* js/regress/new-array-push.html: Removed.
* js/regress/no-inline-constructor-expected.txt: Removed.
* js/regress/no-inline-constructor.html: Removed.
* js/regress/number-test-expected.txt: Removed.
* js/regress/number-test.html: Removed.
* js/regress/object-and-expected.txt: Removed.
* js/regress/object-and.html: Removed.
* js/regress/object-closure-call-expected.txt: Removed.
* js/regress/object-closure-call.html: Removed.
* js/regress/object-get-own-property-symbols-on-large-array-expected.txt: Removed.
* js/regress/object-get-own-property-symbols-on-large-array.html: Removed.
* js/regress/object-int-add-array-expected.txt: Removed.
* js/regress/object-int-add-array.html: Removed.
* js/regress/object-int-add-expected.txt: Removed.
* js/regress/object-int-add.html: Removed.
* js/regress/object-int-and-array-expected.txt: Removed.
* js/regress/object-int-and-array.html: Removed.
* js/regress/object-int-mul-array-expected.txt: Removed.
* js/regress/object-int-mul-array.html: Removed.
* js/regress/object-int-sub-array-expected.txt: Removed.
* js/regress/object-int-sub-array.html: Removed.
* js/regress/object-int-sub-expected.txt: Removed.
* js/regress/object-int-sub.html: Removed.
* js/regress/object-lshift-expected.txt: Removed.
* js/regress/object-lshift.html: Removed.
* js/regress/object-or-expected.txt: Removed.
* js/regress/object-or.html: Removed.
* js/regress/object-rshift-expected.txt: Removed.
* js/regress/object-rshift.html: Removed.
* js/regress/object-test-expected.txt: Removed.
* js/regress/object-test.html: Removed.
* js/regress/object-urshift-expected.txt: Removed.
* js/regress/object-urshift.html: Removed.
* js/regress/object-xor-expected.txt: Removed.
* js/regress/object-xor.html: Removed.
* js/regress/obvious-sink-pathology-expected.txt: Removed.
* js/regress/obvious-sink-pathology-taken-expected.txt: Removed.
* js/regress/obvious-sink-pathology-taken.html: Removed.
* js/regress/obvious-sink-pathology.html: Removed.
* js/regress/obviously-elidable-new-object-expected.txt: Removed.
* js/regress/obviously-elidable-new-object.html: Removed.
* js/regress/plus-boolean-arith-expected.txt: Removed.
* js/regress/plus-boolean-arith.html: Removed.
* js/regress/plus-boolean-double-expected.txt: Removed.
* js/regress/plus-boolean-double.html: Removed.
* js/regress/plus-boolean-expected.txt: Removed.
* js/regress/plus-boolean.html: Removed.
* js/regress/poly-chain-access-different-prototypes-expected.txt: Removed.
* js/regress/poly-chain-access-different-prototypes-simple-expected.txt: Removed.
* js/regress/poly-chain-access-different-prototypes-simple.html: Removed.
* js/regress/poly-chain-access-different-prototypes.html: Removed.
* js/regress/poly-chain-access-expected.txt: Removed.
* js/regress/poly-chain-access-simpler-expected.txt: Removed.
* js/regress/poly-chain-access-simpler.html: Removed.
* js/regress/poly-chain-access.html: Removed.
* js/regress/poly-stricteq-expected.txt: Removed.
* js/regress/poly-stricteq.html: Removed.
* js/regress/polymorphic-array-call-expected.txt: Removed.
* js/regress/polymorphic-array-call.html: Removed.
* js/regress/polymorphic-get-by-id-expected.txt: Removed.
* js/regress/polymorphic-get-by-id.html: Removed.
* js/regress/polymorphic-put-by-id-expected.txt: Removed.
* js/regress/polymorphic-put-by-id.html: Removed.
* js/regress/polymorphic-put-by-val-with-string-expected.txt: Removed.
* js/regress/polymorphic-put-by-val-with-string.html: Removed.
* js/regress/polymorphic-put-by-val-with-symbol-expected.txt: Removed.
* js/regress/polymorphic-put-by-val-with-symbol.html: Removed.
* js/regress/polymorphic-structure-expected.txt: Removed.
* js/regress/polymorphic-structure.html: Removed.
* js/regress/polyvariant-monomorphic-get-by-id-expected.txt: Removed.
* js/regress/polyvariant-monomorphic-get-by-id.html: Removed.
* js/regress/prevent-extensions-and-do-work-expected.txt: Removed.
* js/regress/prevent-extensions-and-do-work.html: Removed.
* js/regress/proto-getter-access-expected.txt: Removed.
* js/regress/proto-getter-access.html: Removed.
* js/regress/prototype-access-with-mutating-prototype-expected.txt: Removed.
* js/regress/prototype-access-with-mutating-prototype.html: Removed.
* js/regress/put-by-id-expected.txt: Removed.
* js/regress/put-by-id-replace-and-transition-expected.txt: Removed.
* js/regress/put-by-id-replace-and-transition.html: Removed.
* js/regress/put-by-id-slightly-polymorphic-expected.txt: Removed.
* js/regress/put-by-id-slightly-polymorphic.html: Removed.
* js/regress/put-by-id-transition-with-indexing-header-expected.txt: Removed.
* js/regress/put-by-id-transition-with-indexing-header.html: Removed.
* js/regress/put-by-id.html: Removed.
* js/regress/put-by-val-direct-expected.txt: Removed.
* js/regress/put-by-val-direct.html: Removed.
* js/regress/put-by-val-large-index-blank-indexing-type-expected.txt: Removed.
* js/regress/put-by-val-large-index-blank-indexing-type.html: Removed.
* js/regress/put-by-val-machine-int-expected.txt: Removed.
* js/regress/put-by-val-machine-int.html: Removed.
* js/regress/put-by-val-with-string-expected.txt: Removed.
* js/regress/put-by-val-with-string-replace-and-transition-expected.txt: Removed.
* js/regress/put-by-val-with-string-replace-and-transition.html: Removed.
* js/regress/put-by-val-with-string-slightly-polymorphic-expected.txt: Removed.
* js/regress/put-by-val-with-string-slightly-polymorphic.html: Removed.
* js/regress/put-by-val-with-string.html: Removed.
* js/regress/put-by-val-with-symbol-expected.txt: Removed.
* js/regress/put-by-val-with-symbol-replace-and-transition-expected.txt: Removed.
* js/regress/put-by-val-with-symbol-replace-and-transition.html: Removed.
* js/regress/put-by-val-with-symbol-slightly-polymorphic-expected.txt: Removed.
* js/regress/put-by-val-with-symbol-slightly-polymorphic.html: Removed.
* js/regress/put-by-val-with-symbol.html: Removed.
* js/regress/rare-osr-exit-on-local-expected.txt: Removed.
* js/regress/rare-osr-exit-on-local.html: Removed.
* js/regress/raytrace-with-empty-try-catch-expected.txt: Removed.
* js/regress/raytrace-with-empty-try-catch.html: Removed.
* js/regress/raytrace-with-try-catch-expected.txt: Removed.
* js/regress/raytrace-with-try-catch.html: Removed.
* js/regress/regexp-exec-expected.txt: Removed.
* js/regress/regexp-exec.html: Removed.
* js/regress/regexp-last-index-expected.txt: Removed.
* js/regress/regexp-last-index.html: Removed.
* js/regress/regexp-prototype-is-not-instance-expected.txt: Removed.
* js/regress/regexp-prototype-is-not-instance.html: Removed.
* js/regress/regexp-prototype-search-observable-side-effects-expected.txt: Removed.
* js/regress/regexp-prototype-search-observable-side-effects.html: Removed.
* js/regress/regexp-prototype-search-observable-side-effects2-expected.txt: Removed.
* js/regress/regexp-prototype-search-observable-side-effects2.html: Removed.
* js/regress/regexp-prototype-split-observable-side-effects-expected.txt: Removed.
* js/regress/regexp-prototype-split-observable-side-effects.html: Removed.
* js/regress/regexp-prototype-split-observable-side-effects2-expected.txt: Removed.
* js/regress/regexp-prototype-split-observable-side-effects2.html: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-flags-expected.txt: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-flags.html: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-global-expected.txt: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-global.html: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-ignoreCase-expected.txt: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-ignoreCase.html: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-multiline-expected.txt: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-multiline.html: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-sticky-expected.txt: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-sticky.html: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-unicode-expected.txt: Removed.
* js/regress/regexp-prototype-split-observable-side-effects3-unicode.html: Removed.
* js/regress/regexp-prototype-split-observable-side-effects4-expected.txt: Removed.
* js/regress/regexp-prototype-split-observable-side-effects4.html: Removed.
* js/regress/regexp-prototype-test-observable-side-effects-expected.txt: Removed.
* js/regress/regexp-prototype-test-observable-side-effects.html: Removed.
* js/regress/regexp-prototype-test-observable-side-effects2-expected.txt: Removed.
* js/regress/regexp-prototype-test-observable-side-effects2.html: Removed.
* js/regress/regexp-set-last-index-expected.txt: Removed.
* js/regress/regexp-set-last-index.html: Removed.
* js/regress/register-pressure-from-osr-expected.txt: Removed.
* js/regress/register-pressure-from-osr.html: Removed.
* js/regress/repeat-multi-get-by-offset-expected.txt: Removed.
* js/regress/repeat-multi-get-by-offset.html: Removed.
* js/regress/rest-parameter-construction-performance-expected.txt: Removed.
* js/regress/rest-parameter-construction-performance.html: Removed.
* js/regress/richards-empty-try-catch-expected.txt: Removed.
* js/regress/richards-empty-try-catch.html: Removed.
* js/regress/richards-try-catch-expected.txt: Removed.
* js/regress/richards-try-catch.html: Removed.
* js/regress/scoped-arguments-length-expected.txt: Removed.
* js/regress/scoped-arguments-length.html: Removed.
* js/regress/scoped-arguments-overridden-length-expected.txt: Removed.
* js/regress/scoped-arguments-overridden-length.html: Removed.
* js/regress/scoped-arguments-possibly-overridden-length-expected.txt: Removed.
* js/regress/scoped-arguments-possibly-overridden-length.html: Removed.
* js/regress/script-tests: Removed.
* js/regress/script-tests/ArrayBuffer-DataView-alloc-large-long-lived.js: Removed.
* js/regress/script-tests/ArrayBuffer-DataView-alloc-long-lived.js: Removed.
* js/regress/script-tests/ArrayBuffer-Int32Array-byteOffset.js: Removed.
* js/regress/script-tests/ArrayBuffer-Int8Array-alloc-large-long-lived.js: Removed.
* js/regress/script-tests/ArrayBuffer-Int8Array-alloc-long-lived-buffer.js: Removed.
* js/regress/script-tests/ArrayBuffer-Int8Array-alloc-long-lived.js: Removed.
* js/regress/script-tests/ArrayBuffer-Int8Array-alloc.js: Removed.
* js/regress/script-tests/DataView-custom-properties.js: Removed.
* js/regress/script-tests/Float32Array-matrix-mult.js: Removed.
* js/regress/script-tests/Float32Array-to-Float64Array-set.js: Removed.
* js/regress/script-tests/Float64Array-alloc-long-lived.js: Removed.
* js/regress/script-tests/Float64Array-to-Int16Array-set.js: Removed.
* js/regress/script-tests/HashMap-put-get-iterate-keys.js: Removed.
* js/regress/script-tests/HashMap-put-get-iterate.js: Removed.
* js/regress/script-tests/HashMap-string-put-get-iterate.js: Removed.
* js/regress/script-tests/Int16Array-alloc-long-lived.js: Removed.
* js/regress/script-tests/Int16Array-bubble-sort-with-byteLength.js: Removed.
* js/regress/script-tests/Int16Array-bubble-sort.js: Removed.
* js/regress/script-tests/Int16Array-load-int-mul.js: Removed.
* js/regress/script-tests/Int16Array-to-Int32Array-set.js: Removed.
* js/regress/script-tests/Int32Array-Int8Array-view-alloc.js: Removed.
* js/regress/script-tests/Int32Array-alloc-large.js: Removed.
* js/regress/script-tests/Int32Array-alloc-long-lived.js: Removed.
* js/regress/script-tests/Int32Array-alloc.js: Removed.
* js/regress/script-tests/Int8Array-alloc-long-lived.js: Removed.
* js/regress/script-tests/Int8Array-load-with-byteLength.js: Removed.
* js/regress/script-tests/Int8Array-load.js: Removed.
* js/regress/script-tests/JSONP-negative-0.js: Removed.
* js/regress/script-tests/Number-isNaN.js: Removed.
* js/regress/script-tests/abc-forward-loop-equal.js: Removed.
* js/regress/script-tests/abc-postfix-backward-loop.js: Removed.
* js/regress/script-tests/abc-simple-backward-loop.js: Removed.
* js/regress/script-tests/abc-simple-forward-loop.js: Removed.
* js/regress/script-tests/abc-skippy-loop.js: Removed.
* js/regress/script-tests/abs-boolean.js: Removed.
* js/regress/script-tests/adapt-to-double-divide.js: Removed.
* js/regress/script-tests/aliased-arguments-getbyval.js: Removed.
* js/regress/script-tests/allocate-big-object.js: Removed.
* js/regress/script-tests/apply-not-apply.js: Removed.
* js/regress/script-tests/arguments-named-and-reflective.js: Removed.
* js/regress/script-tests/arguments-out-of-bounds.js: Removed.
* js/regress/script-tests/arguments-strict-mode.js: Removed.
* js/regress/script-tests/arguments.js: Removed.
* js/regress/script-tests/arity-mismatch-inlining.js: Removed.
* js/regress/script-tests/array-access-polymorphic-structure.js: Removed.
* js/regress/script-tests/array-nonarray-polymorhpic-access.js: Removed.
* js/regress/script-tests/array-prototype-every.js: Removed.
* js/regress/script-tests/array-prototype-forEach.js: Removed.
* js/regress/script-tests/array-prototype-map.js: Removed.
* js/regress/script-tests/array-prototype-reduce.js: Removed.
* js/regress/script-tests/array-prototype-reduceRight.js: Removed.
* js/regress/script-tests/array-prototype-some.js: Removed.
* js/regress/script-tests/array-splice-contiguous.js: Removed.
* js/regress/script-tests/array-with-double-add.js: Removed.
* js/regress/script-tests/array-with-double-increment.js: Removed.
* js/regress/script-tests/array-with-double-mul-add.js: Removed.
* js/regress/script-tests/array-with-double-sum.js: Removed.
* js/regress/script-tests/array-with-int32-add-sub.js: Removed.
* js/regress/script-tests/array-with-int32-or-double-sum.js: Removed.
* js/regress/script-tests/arrowfunction-call-in-class-constructor.js: Removed.
* js/regress/script-tests/arrowfunction-call-in-class-method.js: Removed.
* js/regress/script-tests/arrowfunction-call-in-function.js: Removed.
* js/regress/script-tests/arrowfunction-call.js: Removed.
* js/regress/script-tests/asmjs_bool_bug.js: Removed.
* js/regress/script-tests/assign-custom-setter-polymorphic.js: Removed.
* js/regress/script-tests/assign-custom-setter.js: Removed.
* js/regress/script-tests/basic-set.js: Removed.
* js/regress/script-tests/big-int-mul.js: Removed.
* js/regress/script-tests/bigswitch-indirect-symbol-or-undefined.js: Removed.
* js/regress/script-tests/bigswitch-indirect-symbol.js: Removed.
* js/regress/script-tests/bigswitch-indirect.js: Removed.
* js/regress/script-tests/bigswitch.js: Removed.
* js/regress/script-tests/boolean-test.js: Removed.
* js/regress/script-tests/bound-function-call.js: Removed.
* js/regress/script-tests/bound-function-construction-performance.js: Removed.
* js/regress/script-tests/branch-fold.js: Removed.
* js/regress/script-tests/branch-on-string-as-boolean.js: Removed.
* js/regress/script-tests/bug-153431.js: Removed.
* js/regress/script-tests/build-large-object.js: Removed.
* js/regress/script-tests/by-val-generic.js: Removed.
* js/regress/script-tests/call-or-not-call.js: Removed.
* js/regress/script-tests/call-spread-apply.js: Removed.
* js/regress/script-tests/call-spread-call.js: Removed.
* js/regress/script-tests/captured-assignments.js: Removed.
* js/regress/script-tests/cast-int-to-double.js: Removed.
* js/regress/script-tests/cell-argument.js: Removed.
* js/regress/script-tests/cfg-simplify.js: Removed.
* js/regress/script-tests/chain-getter-access.js: Removed.
* js/regress/script-tests/cmpeq-obj-to-obj-other.js: Removed.
* js/regress/script-tests/concat-append-one.js: Removed.
* js/regress/script-tests/constant-test.js: Removed.
* js/regress/script-tests/create-lots-of-functions.js: Removed.
* js/regress/script-tests/cse-new-array-buffer.js: Removed.
* js/regress/script-tests/cse-new-array.js: Removed.
* js/regress/script-tests/custom-setter-getter-as-put-get-by-id.js: Removed.
* js/regress/script-tests/delay-tear-off-arguments-strictmode.js: Removed.
* js/regress/script-tests/deltablue-for-of.js: Removed.
* js/regress/script-tests/deltablue-varargs.js: Removed.
* js/regress/script-tests/destructuring-arguments.js: Removed.
* js/regress/script-tests/destructuring-parameters-overridden-by-function.js: Removed.
* js/regress/script-tests/destructuring-swap.js: Removed.
* js/regress/script-tests/direct-arguments-getbyval.js: Removed.
* js/regress/script-tests/direct-arguments-length.js: Removed.
* js/regress/script-tests/direct-arguments-overridden-length.js: Removed.
* js/regress/script-tests/direct-arguments-possibly-overridden-length.js: Removed.
* js/regress/script-tests/div-boolean-double.js: Removed.
* js/regress/script-tests/div-boolean.js: Removed.
* js/regress/script-tests/double-get-by-val-out-of-bounds.js: Removed.
* js/regress/script-tests/double-pollution-getbyval.js: Removed.
* js/regress/script-tests/double-pollution-putbyoffset.js: Removed.
* js/regress/script-tests/double-real-use.js: Removed.
* js/regress/script-tests/double-to-int32-typed-array-no-inline.js: Removed.
* js/regress/script-tests/double-to-int32-typed-array.js: Removed.
* js/regress/script-tests/double-to-uint32-typed-array-no-inline.js: Removed.
* js/regress/script-tests/double-to-uint32-typed-array.js: Removed.
* js/regress/script-tests/elidable-new-object-dag.js: Removed.
* js/regress/script-tests/elidable-new-object-roflcopter.js: Removed.
* js/regress/script-tests/elidable-new-object-then-call.js: Removed.
* js/regress/script-tests/elidable-new-object-tree.js: Removed.
* js/regress/script-tests/empty-string-plus-int.js: Removed.
* js/regress/script-tests/emscripten-cube2hash.js: Removed.
* js/regress/script-tests/eval-compute.js: Removed.
* js/regress/script-tests/eval-not-eval-compute-args.js: Removed.
* js/regress/script-tests/eval-not-eval-compute.js: Removed.
* js/regress/script-tests/exit-length-on-plain-object.js: Removed.
* js/regress/script-tests/external-arguments-getbyval.js: Removed.
* js/regress/script-tests/external-arguments-putbyval.js: Removed.
* js/regress/script-tests/fixed-typed-array-storage-var-index.js: Removed.
* js/regress/script-tests/fixed-typed-array-storage.js: Removed.
* js/regress/script-tests/fold-double-to-int.js: Removed.
* js/regress/script-tests/fold-get-by-id-to-multi-get-by-offset-rare-int.js: Removed.
* js/regress/script-tests/fold-get-by-id-to-multi-get-by-offset.js: Removed.
* js/regress/script-tests/fold-multi-get-by-offset-to-get-by-offset.js: Removed.
* js/regress/script-tests/fold-multi-get-by-offset-to-poly-get-by-offset.js: Removed.
* js/regress/script-tests/fold-multi-put-by-offset-to-poly-put-by-offset.js: Removed.
* js/regress/script-tests/fold-multi-put-by-offset-to-put-by-offset.js: Removed.
* js/regress/script-tests/fold-multi-put-by-offset-to-replace-or-transition-put-by-offset.js: Removed.
* js/regress/script-tests/fold-put-by-id-to-multi-put-by-offset.js: Removed.
* js/regress/script-tests/fold-put-by-val-with-string-to-multi-put-by-offset.js: Removed.
* js/regress/script-tests/fold-put-by-val-with-symbol-to-multi-put-by-offset.js: Removed.
* js/regress/script-tests/fold-put-structure.js: Removed.
* js/regress/script-tests/for-of-iterate-array-entries.js: Removed.
* js/regress/script-tests/for-of-iterate-array-keys.js: Removed.
* js/regress/script-tests/for-of-iterate-array-values.js: Removed.
* js/regress/script-tests/freeze-and-do-work.js: Removed.
* js/regress/script-tests/fround.js: Removed.
* js/regress/script-tests/ftl-library-inlining-dataview.js: Removed.
* js/regress/script-tests/ftl-library-inlining.js: Removed.
* js/regress/script-tests/ftl-polymorphic-StringFromCharCode.js: Removed.
* js/regress/script-tests/ftl-polymorphic-bitand.js: Removed.
* js/regress/script-tests/ftl-polymorphic-bitor.js: Removed.
* js/regress/script-tests/ftl-polymorphic-bitxor.js: Removed.
* js/regress/script-tests/ftl-polymorphic-div.js: Removed.
* js/regress/script-tests/ftl-polymorphic-lshift.js: Removed.
* js/regress/script-tests/ftl-polymorphic-mul.js: Removed.
* js/regress/script-tests/ftl-polymorphic-rshift.js: Removed.
* js/regress/script-tests/ftl-polymorphic-sub.js: Removed.
* js/regress/script-tests/ftl-polymorphic-urshift.js: Removed.
* js/regress/script-tests/function-call.js: Removed.
* js/regress/script-tests/function-dot-apply.js: Removed.
* js/regress/script-tests/function-test.js: Removed.
* js/regress/script-tests/function-with-eval.js: Removed.
* js/regress/script-tests/gcse-poly-get-less-obvious.js: Removed.
* js/regress/script-tests/gcse-poly-get.js: Removed.
* js/regress/script-tests/gcse.js: Removed.
* js/regress/script-tests/generator-create.js: Removed.
* js/regress/script-tests/generator-fib.js: Removed.
* js/regress/script-tests/generator-function-create.js: Removed.
* js/regress/script-tests/generator-sunspider-access-nsieve.js: Removed.
* js/regress/script-tests/generator-with-several-types.js: Removed.
* js/regress/script-tests/get-by-id-bimorphic-check-structure-elimination-simple.js: Removed.
* js/regress/script-tests/get-by-id-bimorphic-check-structure-elimination.js: Removed.
* js/regress/script-tests/get-by-id-chain-from-try-block.js: Removed.
* js/regress/script-tests/get-by-id-check-structure-elimination.js: Removed.
* js/regress/script-tests/get-by-id-proto-or-self.js: Removed.
* js/regress/script-tests/get-by-id-quadmorphic-check-structure-elimination-simple.js: Removed.
* js/regress/script-tests/get-by-id-self-or-proto.js: Removed.
* js/regress/script-tests/get-by-val-out-of-bounds.js: Removed.
* js/regress/script-tests/get-by-val-with-string-bimorphic-check-structure-elimination-simple.js: Removed.
* js/regress/script-tests/get-by-val-with-string-bimorphic-check-structure-elimination.js: Removed.
* js/regress/script-tests/get-by-val-with-string-chain-from-try-block.js: Removed.
* js/regress/script-tests/get-by-val-with-string-check-structure-elimination.js: Removed.
* js/regress/script-tests/get-by-val-with-string-proto-or-self.js: Removed.
* js/regress/script-tests/get-by-val-with-string-quadmorphic-check-structure-elimination-simple.js: Removed.
* js/regress/script-tests/get-by-val-with-string-self-or-proto.js: Removed.
* js/regress/script-tests/get-by-val-with-symbol-bimorphic-check-structure-elimination-simple.js: Removed.
* js/regress/script-tests/get-by-val-with-symbol-bimorphic-check-structure-elimination.js: Removed.
* js/regress/script-tests/get-by-val-with-symbol-chain-from-try-block.js: Removed.
* js/regress/script-tests/get-by-val-with-symbol-check-structure-elimination.js: Removed.
* js/regress/script-tests/get-by-val-with-symbol-proto-or-self.js: Removed.
* js/regress/script-tests/get-by-val-with-symbol-quadmorphic-check-structure-elimination-simple.js: Removed.
* js/regress/script-tests/get-by-val-with-symbol-self-or-proto.js: Removed.
* js/regress/script-tests/get_by_val-Int32Array.js: Removed.
* js/regress/script-tests/get_callee_monomorphic.js: Removed.
* js/regress/script-tests/get_callee_polymorphic.js: Removed.
* js/regress/script-tests/getter-no-activation.js: Removed.
* js/regress/script-tests/getter-prototype.js: Removed.
* js/regress/script-tests/getter-richards-try-catch.js: Removed.
* js/regress/script-tests/getter-richards.js: Removed.
* js/regress/script-tests/getter.js: Removed.
* js/regress/script-tests/global-isNaN.js: Removed.
* js/regress/script-tests/global-object-access-with-mutating-structure.js: Removed.
* js/regress/script-tests/global-var-const-infer-fire-from-opt.js: Removed.
* js/regress/script-tests/global-var-const-infer.js: Removed.
* js/regress/script-tests/hard-overflow-check-equal.js: Removed.
* js/regress/script-tests/hard-overflow-check.js: Removed.
* js/regress/script-tests/hoist-make-rope.js: Removed.
* js/regress/script-tests/hoist-poly-check-structure-effectful-loop.js: Removed.
* js/regress/script-tests/hoist-poly-check-structure.js: Removed.
* js/regress/script-tests/implicit-bigswitch-indirect-symbol.js: Removed.
* js/regress/script-tests/imul-double-only.js: Removed.
* js/regress/script-tests/imul-int-only.js: Removed.
* js/regress/script-tests/imul-mixed.js: Removed.
* js/regress/script-tests/in-four-cases.js: Removed.
* js/regress/script-tests/in-one-case-false.js: Removed.
* js/regress/script-tests/in-one-case-true.js: Removed.
* js/regress/script-tests/in-two-cases.js: Removed.
* js/regress/script-tests/indexed-properties-in-objects.js: Removed.
* js/regress/script-tests/infer-closure-const-then-mov-no-inline.js: Removed.
* js/regress/script-tests/infer-closure-const-then-mov.js: Removed.
* js/regress/script-tests/infer-closure-const-then-put-to-scope-no-inline.js: Removed.
* js/regress/script-tests/infer-closure-const-then-put-to-scope.js: Removed.
* js/regress/script-tests/infer-closure-const-then-reenter-no-inline.js: Removed.
* js/regress/script-tests/infer-closure-const-then-reenter.js: Removed.
* js/regress/script-tests/infer-constant-global-property.js: Removed.
* js/regress/script-tests/infer-constant-property.js: Removed.
* js/regress/script-tests/infer-one-time-closure-ten-vars.js: Removed.
* js/regress/script-tests/infer-one-time-closure-two-vars.js: Removed.
* js/regress/script-tests/infer-one-time-closure.js: Removed.
* js/regress/script-tests/infer-one-time-deep-closure.js: Removed.
* js/regress/script-tests/inline-arguments-access.js: Removed.
* js/regress/script-tests/inline-arguments-aliased-access.js: Removed.
* js/regress/script-tests/inline-arguments-local-escape.js: Removed.
* js/regress/script-tests/inline-get-scoped-var.js: Removed.
* js/regress/script-tests/inlined-put-by-id-transition.js: Removed.
* js/regress/script-tests/inlined-put-by-val-with-string-transition.js: Removed.
* js/regress/script-tests/inlined-put-by-val-with-symbol-transition.js: Removed.
* js/regress/script-tests/instanceof-bound.js: Removed.
* js/regress/script-tests/int-or-other-abs-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-abs-zero-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-add-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-add.js: Removed.
* js/regress/script-tests/int-or-other-div-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-max-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-min-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-mod-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-mul-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-neg-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-neg-zero-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-sub-then-get-by-val.js: Removed.
* js/regress/script-tests/int-or-other-sub.js: Removed.
* js/regress/script-tests/int-overflow-local.js: Removed.
* js/regress/script-tests/int52-spill.js: Removed.
* js/regress/script-tests/integer-divide.js: Removed.
* js/regress/script-tests/integer-modulo.js: Removed.
* js/regress/script-tests/is-boolean-fold-tricky.js: Removed.
* js/regress/script-tests/is-boolean-fold.js: Removed.
* js/regress/script-tests/is-function-fold-tricky-internal-function.js: Removed.
* js/regress/script-tests/is-function-fold-tricky.js: Removed.
* js/regress/script-tests/is-function-fold.js: Removed.
* js/regress/script-tests/is-number-fold-tricky.js: Removed.
* js/regress/script-tests/is-number-fold.js: Removed.
* js/regress/script-tests/is-object-or-null-fold-functions.js: Removed.
* js/regress/script-tests/is-object-or-null-fold-less-tricky.js: Removed.
* js/regress/script-tests/is-object-or-null-fold-tricky.js: Removed.
* js/regress/script-tests/is-object-or-null-fold.js: Removed.
* js/regress/script-tests/is-object-or-null-trickier-function.js: Removed.
* js/regress/script-tests/is-object-or-null-trickier-internal-function.js: Removed.
* js/regress/script-tests/is-object-or-null-tricky-function.js: Removed.
* js/regress/script-tests/is-object-or-null-tricky-internal-function.js: Removed.
* js/regress/script-tests/is-string-fold-tricky.js: Removed.
* js/regress/script-tests/is-string-fold.js: Removed.
* js/regress/script-tests/is-undefined-fold-tricky.js: Removed.
* js/regress/script-tests/is-undefined-fold.js: Removed.
* js/regress/script-tests/large-int-captured.js: Removed.
* js/regress/script-tests/large-int-neg.js: Removed.
* js/regress/script-tests/large-int.js: Removed.
* js/regress/script-tests/lazy-array-species-watchpoints.js: Removed.
* js/regress/script-tests/licm-dragons-out-of-bounds.js: Removed.
* js/regress/script-tests/licm-dragons-overflow.js: Removed.
* js/regress/script-tests/licm-dragons.js: Removed.
* js/regress/script-tests/load-varargs-elimination.js: Removed.
* js/regress/script-tests/locale-compare.js: Removed.
* js/regress/script-tests/logical-not-weird-types.js: Removed.
* js/regress/script-tests/logical-not.js: Removed.
* js/regress/script-tests/lots-of-fields.js: Removed.
* js/regress/script-tests/make-indexed-storage.js: Removed.
* js/regress/script-tests/make-rope-cse.js: Removed.
* js/regress/script-tests/many-foreach-calls.js: Removed.
* js/regress/script-tests/many-repeat-stores.js: Removed.
* js/regress/script-tests/map-for-each.js: Removed.
* js/regress/script-tests/map-for-of.js: Removed.
* js/regress/script-tests/marsaglia-larger-ints.js: Removed.
* js/regress/script-tests/marsaglia-osr-entry.js: Removed.
* js/regress/script-tests/math-random.js: Removed.
* js/regress/script-tests/math-trunc.js: Removed.
* js/regress/script-tests/math-with-out-of-bounds-array-values.js: Removed.
* js/regress/script-tests/max-boolean.js: Removed.
* js/regress/script-tests/megamorphic-load.js: Removed.
* js/regress/script-tests/method-on-number.js: Removed.
* js/regress/script-tests/min-boolean.js: Removed.
* js/regress/script-tests/minus-boolean-double.js: Removed.
* js/regress/script-tests/minus-boolean.js: Removed.
* js/regress/script-tests/misc-bugs-847389-jpeg2000.js: Removed.
* js/regress/script-tests/misc-strict-eq.js: Removed.
* js/regress/script-tests/mod-boolean-double.js: Removed.
* js/regress/script-tests/mod-boolean.js: Removed.
* js/regress/script-tests/mul-boolean-double.js: Removed.
* js/regress/script-tests/mul-boolean.js: Removed.
* js/regress/script-tests/neg-boolean.js: Removed.
* js/regress/script-tests/negative-zero-divide.js: Removed.
* js/regress/script-tests/negative-zero-modulo.js: Removed.
* js/regress/script-tests/negative-zero-negate.js: Removed.
* js/regress/script-tests/nested-function-parsing.js: Removed.
* js/regress/script-tests/new-array-buffer-dead.js: Removed.
* js/regress/script-tests/new-array-buffer-push.js: Removed.
* js/regress/script-tests/new-array-dead.js: Removed.
* js/regress/script-tests/new-array-push.js: Removed.
* js/regress/script-tests/no-inline-constructor.js: Removed.
* js/regress/script-tests/number-test.js: Removed.
* js/regress/script-tests/object-and.js: Removed.
* js/regress/script-tests/object-closure-call.js: Removed.
* js/regress/script-tests/object-get-own-property-symbols-on-large-array.js: Removed.
* js/regress/script-tests/object-int-add-array.js: Removed.
* js/regress/script-tests/object-int-add.js: Removed.
* js/regress/script-tests/object-int-and-array.js: Removed.
* js/regress/script-tests/object-int-mul-array.js: Removed.
* js/regress/script-tests/object-int-sub-array.js: Removed.
* js/regress/script-tests/object-int-sub.js: Removed.
* js/regress/script-tests/object-lshift.js: Removed.
* js/regress/script-tests/object-or.js: Removed.
* js/regress/script-tests/object-rshift.js: Removed.
* js/regress/script-tests/object-test.js: Removed.
* js/regress/script-tests/object-urshift.js: Removed.
* js/regress/script-tests/object-xor.js: Removed.
* js/regress/script-tests/obvious-sink-pathology-taken.js: Removed.
* js/regress/script-tests/obvious-sink-pathology.js: Removed.
* js/regress/script-tests/obviously-elidable-new-object.js: Removed.
* js/regress/script-tests/plus-boolean-arith.js: Removed.
* js/regress/script-tests/plus-boolean-double.js: Removed.
* js/regress/script-tests/plus-boolean.js: Removed.
* js/regress/script-tests/poly-chain-access-different-prototypes-simple.js: Removed.
* js/regress/script-tests/poly-chain-access-different-prototypes.js: Removed.
* js/regress/script-tests/poly-chain-access-simpler.js: Removed.
* js/regress/script-tests/poly-chain-access.js: Removed.
* js/regress/script-tests/poly-stricteq.js: Removed.
* js/regress/script-tests/polymorphic-array-call.js: Removed.
* js/regress/script-tests/polymorphic-get-by-id.js: Removed.
* js/regress/script-tests/polymorphic-put-by-id.js: Removed.
* js/regress/script-tests/polymorphic-put-by-val-with-string.js: Removed.
* js/regress/script-tests/polymorphic-put-by-val-with-symbol.js: Removed.
* js/regress/script-tests/polymorphic-structure.js: Removed.
* js/regress/script-tests/polyvariant-monomorphic-get-by-id.js: Removed.
* js/regress/script-tests/prevent-extensions-and-do-work.js: Removed.
* js/regress/script-tests/proto-getter-access.js: Removed.
* js/regress/script-tests/prototype-access-with-mutating-prototype.js: Removed.
* js/regress/script-tests/put-by-id-replace-and-transition.js: Removed.
* js/regress/script-tests/put-by-id-slightly-polymorphic.js: Removed.
* js/regress/script-tests/put-by-id-transition-with-indexing-header.js: Removed.
* js/regress/script-tests/put-by-id.js: Removed.
* js/regress/script-tests/put-by-val-direct.js: Removed.
* js/regress/script-tests/put-by-val-large-index-blank-indexing-type.js: Removed.
* js/regress/script-tests/put-by-val-machine-int.js: Removed.
* js/regress/script-tests/put-by-val-with-string-replace-and-transition.js: Removed.
* js/regress/script-tests/put-by-val-with-string-slightly-polymorphic.js: Removed.
* js/regress/script-tests/put-by-val-with-string.js: Removed.
* js/regress/script-tests/put-by-val-with-symbol-replace-and-transition.js: Removed.
* js/regress/script-tests/put-by-val-with-symbol-slightly-polymorphic.js: Removed.
* js/regress/script-tests/put-by-val-with-symbol.js: Removed.
* js/regress/script-tests/rare-osr-exit-on-local.js: Removed.
* js/regress/script-tests/raytrace-with-empty-try-catch.js: Removed.
* js/regress/script-tests/raytrace-with-try-catch.js: Removed.
* js/regress/script-tests/regexp-exec.js: Removed.
* js/regress/script-tests/regexp-last-index.js: Removed.
* js/regress/script-tests/regexp-prototype-is-not-instance.js: Removed.
* js/regress/script-tests/regexp-prototype-search-observable-side-effects.js: Removed.
* js/regress/script-tests/regexp-prototype-search-observable-side-effects2.js: Removed.
* js/regress/script-tests/regexp-prototype-split-observable-side-effects.js: Removed.
* js/regress/script-tests/regexp-prototype-split-observable-side-effects2.js: Removed.
* js/regress/script-tests/regexp-prototype-split-observable-side-effects3-flags.js: Removed.
* js/regress/script-tests/regexp-prototype-split-observable-side-effects3-global.js: Removed.
* js/regress/script-tests/regexp-prototype-split-observable-side-effects3-ignoreCase.js: Removed.
* js/regress/script-tests/regexp-prototype-split-observable-side-effects3-multiline.js: Removed.
* js/regress/script-tests/regexp-prototype-split-observable-side-effects3-sticky.js: Removed.
* js/regress/script-tests/regexp-prototype-split-observable-side-effects3-unicode.js: Removed.
* js/regress/script-tests/regexp-prototype-split-observable-side-effects4.js: Removed.
* js/regress/script-tests/regexp-prototype-test-observable-side-effects.js: Removed.
* js/regress/script-tests/regexp-prototype-test-observable-side-effects2.js: Removed.
* js/regress/script-tests/regexp-set-last-index.js: Removed.
* js/regress/script-tests/register-pressure-from-osr.js: Removed.
* js/regress/script-tests/repeat-multi-get-by-offset.js: Removed.
* js/regress/script-tests/rest-parameter-construction-performance.js: Removed.
* js/regress/script-tests/richards-empty-try-catch.js: Removed.
* js/regress/script-tests/richards-try-catch.js: Removed.
* js/regress/script-tests/scoped-arguments-length.js: Removed.
* js/regress/script-tests/scoped-arguments-overridden-length.js: Removed.
* js/regress/script-tests/scoped-arguments-possibly-overridden-length.js: Removed.
* js/regress/script-tests/seal-and-do-work.js: Removed.
* js/regress/script-tests/set-for-each.js: Removed.
* js/regress/script-tests/set-for-of.js: Removed.
* js/regress/script-tests/setter-prototype.js: Removed.
* js/regress/script-tests/setter.js: Removed.
* js/regress/script-tests/simple-activation-demo.js: Removed.
* js/regress/script-tests/simple-getter-access.js: Removed.
* js/regress/script-tests/simple-poly-call-nested.js: Removed.
* js/regress/script-tests/simple-poly-call.js: Removed.
* js/regress/script-tests/simple-regexp-exec-folding-fail.js: Removed.
* js/regress/script-tests/simple-regexp-exec-folding.js: Removed.
* js/regress/script-tests/simple-regexp-test-folding-fail-with-hoisted-regexp.js: Removed.
* js/regress/script-tests/simple-regexp-test-folding-fail.js: Removed.
* js/regress/script-tests/simple-regexp-test-folding-with-hoisted-regexp.js: Removed.
* js/regress/script-tests/simple-regexp-test-folding.js: Removed.
* js/regress/script-tests/sin-boolean.js: Removed.
* js/regress/script-tests/singleton-scope.js: Removed.
* js/regress/script-tests/sink-function.js: Removed.
* js/regress/script-tests/sink-huge-activation.js: Removed.
* js/regress/script-tests/sinkable-new-object-dag.js: Removed.
* js/regress/script-tests/sinkable-new-object-taken.js: Removed.
* js/regress/script-tests/sinkable-new-object.js: Removed.
* js/regress/script-tests/slow-array-profile-convergence.js: Removed.
* js/regress/script-tests/slow-convergence.js: Removed.
* js/regress/script-tests/slow-ternaries.js: Removed.
* js/regress/script-tests/sorting-benchmark.js: Removed.
* js/regress/script-tests/sparse-conditional.js: Removed.
* js/regress/script-tests/splice-to-remove.js: Removed.
* js/regress/script-tests/strcat-const.js: Removed.
* js/regress/script-tests/strcat-length-const.js: Removed.
* js/regress/script-tests/strict-osr-entry.js: Removed.
* js/regress/script-tests/string-char-code-at.js: Removed.
* js/regress/script-tests/string-concat-object.js: Removed.
* js/regress/script-tests/string-concat-pair-object.js: Removed.
* js/regress/script-tests/string-concat-pair-simple.js: Removed.
* js/regress/script-tests/string-concat-simple.js: Removed.
* js/regress/script-tests/string-cons-repeat.js: Removed.
* js/regress/script-tests/string-cons-tower.js: Removed.
* js/regress/script-tests/string-equality.js: Removed.
* js/regress/script-tests/string-from-char-code.js: Removed.
* js/regress/script-tests/string-get-by-val-big-char.js: Removed.
* js/regress/script-tests/string-get-by-val-out-of-bounds-insane.js: Removed.
* js/regress/script-tests/string-get-by-val-out-of-bounds.js: Removed.
* js/regress/script-tests/string-get-by-val.js: Removed.
* js/regress/script-tests/string-hash.js: Removed.
* js/regress/script-tests/string-long-ident-equality.js: Removed.
* js/regress/script-tests/string-out-of-bounds.js: Removed.
* js/regress/script-tests/string-prototype-search-observable-side-effects.js: Removed.
* js/regress/script-tests/string-prototype-search-observable-side-effects2.js: Removed.
* js/regress/script-tests/string-prototype-search-observable-side-effects3.js: Removed.
* js/regress/script-tests/string-prototype-search-observable-side-effects4.js: Removed.
* js/regress/script-tests/string-prototype-split-observable-side-effects.js: Removed.
* js/regress/script-tests/string-prototype-split-observable-side-effects2.js: Removed.
* js/regress/script-tests/string-prototype-split-observable-side-effects3-flags.js: Removed.
* js/regress/script-tests/string-prototype-split-observable-side-effects3-global.js: Removed.
* js/regress/script-tests/string-prototype-split-observable-side-effects3-ignoreCase.js: Removed.
* js/regress/script-tests/string-prototype-split-observable-side-effects3-multiline.js: Removed.
* js/regress/script-tests/string-prototype-split-observable-side-effects3-sticky.js: Removed.
* js/regress/script-tests/string-prototype-split-observable-side-effects3-unicode.js: Removed.
* js/regress/script-tests/string-prototype-split-observable-side-effects4.js: Removed.
* js/regress/script-tests/string-repeat-arith.js: Removed.
* js/regress/script-tests/string-repeat-not-resolving-fixed.js: Removed.
* js/regress/script-tests/string-repeat-not-resolving-no-inline.js: Removed.
* js/regress/script-tests/string-repeat-not-resolving.js: Removed.
* js/regress/script-tests/string-repeat-resolving-fixed.js: Removed.
* js/regress/script-tests/string-repeat-resolving-no-inline.js: Removed.
* js/regress/script-tests/string-repeat-resolving.js: Removed.
* js/regress/script-tests/string-repeat-single-not-resolving.js: Removed.
* js/regress/script-tests/string-repeat-single-resolving.js: Removed.
* js/regress/script-tests/string-repeat-small-not-resolving.js: Removed.
* js/regress/script-tests/string-repeat-small-resolving.js: Removed.
* js/regress/script-tests/string-replace-empty.js: Removed.
* js/regress/script-tests/string-replace-generic.js: Removed.
* js/regress/script-tests/string-replace.js: Removed.
* js/regress/script-tests/string-rope-with-object.js: Removed.
* js/regress/script-tests/string-sub.js: Removed.
* js/regress/script-tests/string-test.js: Removed.
* js/regress/script-tests/string-transcoding.js: Removed.
* js/regress/script-tests/string-var-equality.js: Removed.
* js/regress/script-tests/structure-hoist-over-transitions.js: Removed.
* js/regress/script-tests/substring-concat-weird.js: Removed.
* js/regress/script-tests/substring-concat.js: Removed.
* js/regress/script-tests/substring.js: Removed.
* js/regress/script-tests/switch-char-constant.js: Removed.
* js/regress/script-tests/switch-char.js: Removed.
* js/regress/script-tests/switch-constant.js: Removed.
* js/regress/script-tests/switch-string-basic-big-var.js: Removed.
* js/regress/script-tests/switch-string-basic-big.js: Removed.
* js/regress/script-tests/switch-string-basic-var.js: Removed.
* js/regress/script-tests/switch-string-basic.js: Removed.
* js/regress/script-tests/switch-string-big-length-tower-var.js: Removed.
* js/regress/script-tests/switch-string-length-tower-var.js: Removed.
* js/regress/script-tests/switch-string-length-tower.js: Removed.
* js/regress/script-tests/switch-string-short.js: Removed.
* js/regress/script-tests/switch.js: Removed.
* js/regress/script-tests/symbol-tostringtag.js: Removed.
* js/regress/script-tests/tear-off-arguments-simple.js: Removed.
* js/regress/script-tests/tear-off-arguments.js: Removed.
* js/regress/script-tests/temporal-structure.js: Removed.
* js/regress/script-tests/to-int32-boolean.js: Removed.
* js/regress/script-tests/to-number-constructor-number-string-number-string.js: Removed.
* js/regress/script-tests/to-number-constructor-only-number.js: Removed.
* js/regress/script-tests/to-number-constructor-only-string.js: Removed.
* js/regress/script-tests/to-number-constructor-string-number-string-number.js: Removed.
* js/regress/script-tests/to-number-number-string-number-string.js: Removed.
* js/regress/script-tests/to-number-only-number.js: Removed.
* js/regress/script-tests/to-number-only-string.js: Removed.
* js/regress/script-tests/to-number-string-number-string-number.js: Removed.
* js/regress/script-tests/try-catch-get-by-val-cloned-arguments.js: Removed.
* js/regress/script-tests/try-catch-get-by-val-direct-arguments.js: Removed.
* js/regress/script-tests/try-catch-get-by-val-scoped-arguments.js: Removed.
* js/regress/script-tests/typed-array-get-set-by-val-profiling.js: Removed.
* js/regress/script-tests/typed-array-subarray.js: Removed.
* js/regress/script-tests/undefined-property-access.js: Removed.
* js/regress/script-tests/undefined-test.js: Removed.
* js/regress/script-tests/unprofiled-licm.js: Removed.
* js/regress/script-tests/untyped-string-from-char-code.js: Removed.
* js/regress/script-tests/v8-raytrace-with-empty-try-catch.js: Removed.
* js/regress/script-tests/v8-raytrace-with-try-catch-high-frequency-throws.js: Removed.
* js/regress/script-tests/v8-raytrace-with-try-catch.js: Removed.
* js/regress/script-tests/v8-regexp-search.js: Removed.
* js/regress/script-tests/varargs-call.js: Removed.
* js/regress/script-tests/varargs-construct-inline.js: Removed.
* js/regress/script-tests/varargs-construct.js: Removed.
* js/regress/script-tests/varargs-inline.js: Removed.
* js/regress/script-tests/varargs-strict-mode.js: Removed.
* js/regress/script-tests/varargs.js: Removed.
* js/regress/script-tests/weird-inlining-const-prop.js: Removed.
* js/regress/seal-and-do-work-expected.txt: Removed.
* js/regress/seal-and-do-work.html: Removed.
* js/regress/set-for-each-expected.txt: Removed.
* js/regress/set-for-each.html: Removed.
* js/regress/set-for-of-expected.txt: Removed.
* js/regress/set-for-of.html: Removed.
* js/regress/setter-expected.txt: Removed.
* js/regress/setter-prototype-expected.txt: Removed.
* js/regress/setter-prototype.html: Removed.
* js/regress/setter.html: Removed.
* js/regress/simple-activation-demo-expected.txt: Removed.
* js/regress/simple-activation-demo.html: Removed.
* js/regress/simple-getter-access-expected.txt: Removed.
* js/regress/simple-getter-access.html: Removed.
* js/regress/simple-poly-call-expected.txt: Removed.
* js/regress/simple-poly-call-nested-expected.txt: Removed.
* js/regress/simple-poly-call-nested.html: Removed.
* js/regress/simple-poly-call.html: Removed.
* js/regress/simple-regexp-exec-folding-expected.txt: Removed.
* js/regress/simple-regexp-exec-folding-fail-expected.txt: Removed.
* js/regress/simple-regexp-exec-folding-fail.html: Removed.
* js/regress/simple-regexp-exec-folding.html: Removed.
* js/regress/simple-regexp-test-folding-expected.txt: Removed.
* js/regress/simple-regexp-test-folding-fail-expected.txt: Removed.
* js/regress/simple-regexp-test-folding-fail-with-hoisted-regexp-expected.txt: Removed.
* js/regress/simple-regexp-test-folding-fail-with-hoisted-regexp.html: Removed.
* js/regress/simple-regexp-test-folding-fail.html: Removed.
* js/regress/simple-regexp-test-folding-with-hoisted-regexp-expected.txt: Removed.
* js/regress/simple-regexp-test-folding-with-hoisted-regexp.html: Removed.
* js/regress/simple-regexp-test-folding.html: Removed.
* js/regress/sin-boolean-expected.txt: Removed.
* js/regress/sin-boolean.html: Removed.
* js/regress/singleton-scope-expected.txt: Removed.
* js/regress/singleton-scope.html: Removed.
* js/regress/sink-function-expected.txt: Removed.
* js/regress/sink-function.html: Removed.
* js/regress/sink-huge-activation-expected.txt: Removed.
* js/regress/sink-huge-activation.html: Removed.
* js/regress/sinkable-new-object-dag-expected.txt: Removed.
* js/regress/sinkable-new-object-dag.html: Removed.
* js/regress/sinkable-new-object-expected.txt: Removed.
* js/regress/sinkable-new-object-taken-expected.txt: Removed.
* js/regress/sinkable-new-object-taken.html: Removed.
* js/regress/sinkable-new-object.html: Removed.
* js/regress/slow-array-profile-convergence-expected.txt: Removed.
* js/regress/slow-array-profile-convergence.html: Removed.
* js/regress/slow-convergence-expected.txt: Removed.
* js/regress/slow-convergence.html: Removed.
* js/regress/slow-ternaries-expected.txt: Removed.
* js/regress/slow-ternaries.html: Removed.
* js/regress/sortamorphic-load-expected.txt: Removed.
* js/regress/sortamorphic-load.html: Removed.
* js/regress/sorting-benchmark-expected.txt: Removed.
* js/regress/sorting-benchmark.html: Removed.
* js/regress/sparse-conditional-expected.txt: Removed.
* js/regress/sparse-conditional.html: Removed.
* js/regress/splice-to-remove-expected.txt: Removed.
* js/regress/splice-to-remove.html: Removed.
* js/regress/strcat-const-expected.txt: Removed.
* js/regress/strcat-const.html: Removed.
* js/regress/strcat-length-const-expected.txt: Removed.
* js/regress/strcat-length-const.html: Removed.
* js/regress/strict-osr-entry-expected.txt: Removed.
* js/regress/strict-osr-entry.html: Removed.
* js/regress/string-char-code-at-expected.txt: Removed.
* js/regress/string-char-code-at.html: Removed.
* js/regress/string-concat-object-expected.txt: Removed.
* js/regress/string-concat-object.html: Removed.
* js/regress/string-concat-pair-object-expected.txt: Removed.
* js/regress/string-concat-pair-object.html: Removed.
* js/regress/string-concat-pair-simple-expected.txt: Removed.
* js/regress/string-concat-pair-simple.html: Removed.
* js/regress/string-concat-simple-expected.txt: Removed.
* js/regress/string-concat-simple.html: Removed.
* js/regress/string-cons-repeat-expected.txt: Removed.
* js/regress/string-cons-repeat.html: Removed.
* js/regress/string-cons-tower-expected.txt: Removed.
* js/regress/string-cons-tower.html: Removed.
* js/regress/string-equality-expected.txt: Removed.
* js/regress/string-equality.html: Removed.
* js/regress/string-from-char-code-expected.txt: Removed.
* js/regress/string-from-char-code.html: Removed.
* js/regress/string-get-by-val-big-char-expected.txt: Removed.
* js/regress/string-get-by-val-big-char.html: Removed.
* js/regress/string-get-by-val-expected.txt: Removed.
* js/regress/string-get-by-val-out-of-bounds-expected.txt: Removed.
* js/regress/string-get-by-val-out-of-bounds-insane-expected.txt: Removed.
* js/regress/string-get-by-val-out-of-bounds-insane.html: Removed.
* js/regress/string-get-by-val-out-of-bounds.html: Removed.
* js/regress/string-get-by-val.html: Removed.
* js/regress/string-hash-expected.txt: Removed.
* js/regress/string-hash.html: Removed.
* js/regress/string-long-ident-equality-expected.txt: Removed.
* js/regress/string-long-ident-equality.html: Removed.
* js/regress/string-out-of-bounds-expected.txt: Removed.
* js/regress/string-out-of-bounds.html: Removed.
* js/regress/string-prototype-search-observable-side-effects-expected.txt: Removed.
* js/regress/string-prototype-search-observable-side-effects.html: Removed.
* js/regress/string-prototype-search-observable-side-effects2-expected.txt: Removed.
* js/regress/string-prototype-search-observable-side-effects2.html: Removed.
* js/regress/string-prototype-search-observable-side-effects3-expected.txt: Removed.
* js/regress/string-prototype-search-observable-side-effects3.html: Removed.
* js/regress/string-prototype-search-observable-side-effects4-expected.txt: Removed.
* js/regress/string-prototype-search-observable-side-effects4.html: Removed.
* js/regress/string-prototype-split-observable-side-effects-expected.txt: Removed.
* js/regress/string-prototype-split-observable-side-effects.html: Removed.
* js/regress/string-prototype-split-observable-side-effects2-expected.txt: Removed.
* js/regress/string-prototype-split-observable-side-effects2.html: Removed.
* js/regress/string-prototype-split-observable-side-effects3-flags-expected.txt: Removed.
* js/regress/string-prototype-split-observable-side-effects3-flags.html: Removed.
* js/regress/string-prototype-split-observable-side-effects3-global-expected.txt: Removed.
* js/regress/string-prototype-split-observable-side-effects3-global.html: Removed.
* js/regress/string-prototype-split-observable-side-effects3-ignoreCase-expected.txt: Removed.
* js/regress/string-prototype-split-observable-side-effects3-ignoreCase.html: Removed.
* js/regress/string-prototype-split-observable-side-effects3-multiline-expected.txt: Removed.
* js/regress/string-prototype-split-observable-side-effects3-multiline.html: Removed.
* js/regress/string-prototype-split-observable-side-effects3-sticky-expected.txt: Removed.
* js/regress/string-prototype-split-observable-side-effects3-sticky.html: Removed.
* js/regress/string-prototype-split-observable-side-effects3-unicode-expected.txt: Removed.
* js/regress/string-prototype-split-observable-side-effects3-unicode.html: Removed.
* js/regress/string-prototype-split-observable-side-effects4-expected.txt: Removed.
* js/regress/string-prototype-split-observable-side-effects4.html: Removed.
* js/regress/string-repeat-arith-expected.txt: Removed.
* js/regress/string-repeat-arith.html: Removed.
* js/regress/string-repeat-not-resolving-expected.txt: Removed.
* js/regress/string-repeat-not-resolving-fixed-expected.txt: Removed.
* js/regress/string-repeat-not-resolving-fixed.html: Removed.
* js/regress/string-repeat-not-resolving-no-inline-expected.txt: Removed.
* js/regress/string-repeat-not-resolving-no-inline.html: Removed.
* js/regress/string-repeat-not-resolving-noinline-expected.txt: Removed.
* js/regress/string-repeat-not-resolving-noinline.html: Removed.
* js/regress/string-repeat-not-resolving.html: Removed.
* js/regress/string-repeat-resolving-expected.txt: Removed.
* js/regress/string-repeat-resolving-fixed-expected.txt: Removed.
* js/regress/string-repeat-resolving-fixed.html: Removed.
* js/regress/string-repeat-resolving-no-inline-expected.txt: Removed.
* js/regress/string-repeat-resolving-no-inline.html: Removed.
* js/regress/string-repeat-resolving.html: Removed.
* js/regress/string-repeat-single-not-resolving-expected.txt: Removed.
* js/regress/string-repeat-single-not-resolving.html: Removed.
* js/regress/string-repeat-single-resolving-expected.txt: Removed.
* js/regress/string-repeat-single-resolving.html: Removed.
* js/regress/string-repeat-small-not-resolving-expected.txt: Removed.
* js/regress/string-repeat-small-not-resolving.html: Removed.
* js/regress/string-repeat-small-resolving-expected.txt: Removed.
* js/regress/string-repeat-small-resolving.html: Removed.
* js/regress/string-replace-empty-expected.txt: Removed.
* js/regress/string-replace-empty.html: Removed.
* js/regress/string-replace-expected.txt: Removed.
* js/regress/string-replace-generic-expected.txt: Removed.
* js/regress/string-replace-generic.html: Removed.
* js/regress/string-replace.html: Removed.
* js/regress/string-rope-with-object-expected.txt: Removed.
* js/regress/string-rope-with-object.html: Removed.
* js/regress/string-sub-expected.txt: Removed.
* js/regress/string-sub.html: Removed.
* js/regress/string-test-expected.txt: Removed.
* js/regress/string-test.html: Removed.
* js/regress/string-transcoding-expected.txt: Removed.
* js/regress/string-transcoding.html: Removed.
* js/regress/string-var-equality-expected.txt: Removed.
* js/regress/string-var-equality.html: Removed.
* js/regress/structure-hoist-over-transitions-expected.txt: Removed.
* js/regress/structure-hoist-over-transitions.html: Removed.
* js/regress/substring-concat-expected.txt: Removed.
* js/regress/substring-concat-weird-expected.txt: Removed.
* js/regress/substring-concat-weird.html: Removed.
* js/regress/substring-concat.html: Removed.
* js/regress/substring-expected.txt: Removed.
* js/regress/substring.html: Removed.
* js/regress/switch-char-constant-expected.txt: Removed.
* js/regress/switch-char-constant.html: Removed.
* js/regress/switch-char-expected.txt: Removed.
* js/regress/switch-char.html: Removed.
* js/regress/switch-constant-expected.txt: Removed.
* js/regress/switch-constant.html: Removed.
* js/regress/switch-expected.txt: Removed.
* js/regress/switch-string-basic-big-expected.txt: Removed.
* js/regress/switch-string-basic-big-var-expected.txt: Removed.
* js/regress/switch-string-basic-big-var.html: Removed.
* js/regress/switch-string-basic-big.html: Removed.
* js/regress/switch-string-basic-expected.txt: Removed.
* js/regress/switch-string-basic-var-expected.txt: Removed.
* js/regress/switch-string-basic-var.html: Removed.
* js/regress/switch-string-basic.html: Removed.
* js/regress/switch-string-big-length-tower-var-expected.txt: Removed.
* js/regress/switch-string-big-length-tower-var.html: Removed.
* js/regress/switch-string-length-tower-expected.txt: Removed.
* js/regress/switch-string-length-tower-var-expected.txt: Removed.
* js/regress/switch-string-length-tower-var.html: Removed.
* js/regress/switch-string-length-tower.html: Removed.
* js/regress/switch-string-short-expected.txt: Removed.
* js/regress/switch-string-short.html: Removed.
* js/regress/switch.html: Removed.
* js/regress/symbol-tostringtag-expected.txt: Removed.
* js/regress/symbol-tostringtag.html: Removed.
* js/regress/tear-off-arguments-expected.txt: Removed.
* js/regress/tear-off-arguments-simple-expected.txt: Removed.
* js/regress/tear-off-arguments-simple.html: Removed.
* js/regress/tear-off-arguments.html: Removed.
* js/regress/temporal-structure-expected.txt: Removed.
* js/regress/temporal-structure.html: Removed.
* js/regress/to-int32-boolean-expected.txt: Removed.
* js/regress/to-int32-boolean.html: Removed.
* js/regress/to-number-constructor-number-string-number-string-expected.txt: Removed.
* js/regress/to-number-constructor-number-string-number-string.html: Removed.
* js/regress/to-number-constructor-only-number-expected.txt: Removed.
* js/regress/to-number-constructor-only-number.html: Removed.
* js/regress/to-number-constructor-only-string-expected.txt: Removed.
* js/regress/to-number-constructor-only-string.html: Removed.
* js/regress/to-number-constructor-string-number-string-number-expected.txt: Removed.
* js/regress/to-number-constructor-string-number-string-number.html: Removed.
* js/regress/to-number-number-string-number-string-expected.txt: Removed.
* js/regress/to-number-number-string-number-string.html: Removed.
* js/regress/to-number-only-number-expected.txt: Removed.
* js/regress/to-number-only-number.html: Removed.
* js/regress/to-number-only-string-expected.txt: Removed.
* js/regress/to-number-only-string.html: Removed.
* js/regress/to-number-string-number-string-number-expected.txt: Removed.
* js/regress/to-number-string-number-string-number.html: Removed.
* js/regress/try-catch-get-by-val-cloned-arguments-expected.txt: Removed.
* js/regress/try-catch-get-by-val-cloned-arguments.html: Removed.
* js/regress/try-catch-get-by-val-direct-arguments-expected.txt: Removed.
* js/regress/try-catch-get-by-val-direct-arguments.html: Removed.
* js/regress/try-catch-get-by-val-scoped-arguments-expected.txt: Removed.
* js/regress/try-catch-get-by-val-scoped-arguments.html: Removed.
* js/regress/typed-array-get-set-by-val-profiling-expected.txt: Removed.
* js/regress/typed-array-get-set-by-val-profiling.html: Removed.
* js/regress/typed-array-subarray-expected.txt: Removed.
* js/regress/typed-array-subarray.html: Removed.
* js/regress/undefined-property-access-expected.txt: Removed.
* js/regress/undefined-property-access.html: Removed.
* js/regress/undefined-test-expected.txt: Removed.
* js/regress/undefined-test.html: Removed.
* js/regress/unprofiled-licm-expected.txt: Removed.
* js/regress/unprofiled-licm.html: Removed.
* js/regress/untyped-string-from-char-code-expected.txt: Removed.
* js/regress/untyped-string-from-char-code.html: Removed.
* js/regress/v8-raytrace-with-empty-try-catch-expected.txt: Removed.
* js/regress/v8-raytrace-with-empty-try-catch.html: Removed.
* js/regress/v8-raytrace-with-try-catch-expected.txt: Removed.
* js/regress/v8-raytrace-with-try-catch-high-frequency-throws-expected.txt: Removed.
* js/regress/v8-raytrace-with-try-catch-high-frequency-throws.html: Removed.
* js/regress/v8-raytrace-with-try-catch.html: Removed.
* js/regress/v8-regexp-search-expected.txt: Removed.
* js/regress/v8-regexp-search.html: Removed.
* js/regress/varargs-call-expected.txt: Removed.
* js/regress/varargs-call.html: Removed.
* js/regress/varargs-construct-expected.txt: Removed.
* js/regress/varargs-construct-inline-expected.txt: Removed.
* js/regress/varargs-construct-inline.html: Removed.
* js/regress/varargs-construct.html: Removed.
* js/regress/varargs-expected.txt: Removed.
* js/regress/varargs-inline-expected.txt: Removed.
* js/regress/varargs-inline.html: Removed.
* js/regress/varargs-strict-mode-expected.txt: Removed.
* js/regress/varargs-strict-mode.html: Removed.
* js/regress/varargs.html: Removed.
* js/regress/weird-inlining-const-prop-expected.txt: Removed.
* js/regress/weird-inlining-const-prop.html: Removed.

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

3 years agoRebaseline builtins-generator-tests after r204854.
ryanhaddad@apple.com [Tue, 23 Aug 2016 23:36:55 +0000 (23:36 +0000)]
Rebaseline builtins-generator-tests after r204854.

Unreviewed test gardening.

* Scripts/tests/builtins/expected/JavaScriptCore-Builtin.Promise-Combined.js-result:
* Scripts/tests/builtins/expected/JavaScriptCore-Builtin.Promise-Separate.js-result:
* Scripts/tests/builtins/expected/JavaScriptCore-Builtin.prototype-Combined.js-result:
* Scripts/tests/builtins/expected/JavaScriptCore-Builtin.prototype-Separate.js-result:
* Scripts/tests/builtins/expected/JavaScriptCore-BuiltinConstructor-Combined.js-result:
* Scripts/tests/builtins/expected/JavaScriptCore-BuiltinConstructor-Separate.js-result:
* Scripts/tests/builtins/expected/JavaScriptCore-InternalClashingNames-Combined.js-result:
* Scripts/tests/builtins/expected/WebCore-AnotherGuardedInternalBuiltin-Separate.js-result:
* Scripts/tests/builtins/expected/WebCore-ArbitraryConditionalGuard-Separate.js-result:
* Scripts/tests/builtins/expected/WebCore-GuardedBuiltin-Separate.js-result:
* Scripts/tests/builtins/expected/WebCore-GuardedInternalBuiltin-Separate.js-result:
* Scripts/tests/builtins/expected/WebCore-UnguardedBuiltin-Separate.js-result:
* Scripts/tests/builtins/expected/WebCore-xmlCasingTest-Separate.js-result:
* Scripts/tests/builtins/expected/WebCoreJSBuiltins.h-result:

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

3 years ago%TypedArray%.prototype.slice needs to check that the source and destination have...
keith_miller@apple.com [Tue, 23 Aug 2016 23:24:47 +0000 (23:24 +0000)]
%TypedArray%.prototype.slice needs to check that the source and destination have not been detached.
https://bugs.webkit.org/show_bug.cgi?id=161031
<rdar://problem/27937019>

Reviewed by Geoffrey Garen.

JSTests:

* stress/typedarray-slice.js:
(get let):
(get try):
(testSpeciesWithTransferring):

Source/JavaScriptCore:

* runtime/JSGenericTypedArrayViewPrototypeFunctions.h:
(JSC::speciesConstruct):
(JSC::genericTypedArrayViewProtoFuncSlice):

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

3 years agoSkip some tests:
fpizlo@apple.com [Tue, 23 Aug 2016 23:21:53 +0000 (23:21 +0000)]
Skip some tests:
https://bugs.webkit.org/show_bug.cgi?id=161114 svg/carto.net/window.svg fails in debug after r204854
https://bugs.webkit.org/show_bug.cgi?id=161115 js/regress/put-by-id-transition-with-indexing-header.html sometimes fails in debug after r204854

* TestExpectations:

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

3 years agoREGRESSION(204854): ASan is unhappy
fpizlo@apple.com [Tue, 23 Aug 2016 23:19:14 +0000 (23:19 +0000)]
REGRESSION(204854): ASan is unhappy
https://bugs.webkit.org/show_bug.cgi?id=161109

Reviewed by Geoffrey Garen.

I messed up RegExpConstructor: it ends up being a callee and a large allocation.

This fixes it to not be a large allocation.

* dfg/DFGStrengthReductionPhase.cpp:
(JSC::DFG::StrengthReductionPhase::handleNode):
* runtime/InternalFunction.cpp:
(JSC::InternalFunction::InternalFunction):
* runtime/RegExp.cpp:
(JSC::RegExp::match):
(JSC::RegExp::matchConcurrently):
(JSC::RegExp::matchCompareWithInterpreter):
* runtime/RegExp.h:
* runtime/RegExpConstructor.h:
* runtime/RegExpInlines.h:
(JSC::RegExp::matchInline):
* runtime/RegExpPrototype.cpp:
(JSC::genericSplit):
* testRegExp.cpp:
(testOneRegExp):

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

3 years agoUnreviewed, rebase iOS simulator WK1 editing tests.
jiewen_tan@apple.com [Tue, 23 Aug 2016 23:16:54 +0000 (23:16 +0000)]
Unreviewed, rebase iOS simulator WK1 editing tests.

* platform/ios-simulator-wk1/editing/deleting/delete-at-paragraph-boundaries-002-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-at-paragraph-boundaries-003-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-at-paragraph-boundaries-005-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-at-paragraph-boundaries-006-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-at-paragraph-boundaries-007-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-at-paragraph-boundaries-009-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-contents-003-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-merge-contents-002-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-merge-contents-006-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-merge-contents-009-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-merge-contents-013-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-merge-contents-014-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-merge-contents-016-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-merge-contents-018-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-merge-contents-022-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-merge-contents-023-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-block-merge-contents-024-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-br-001-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-br-003-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-br-010-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-character-001-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-contiguous-ws-001-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-emoji-expected.txt: Added.
* platform/ios-simulator-wk1/editing/deleting/delete-hr-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-image-001-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-image-002-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-image-003-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-line-001-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-line-002-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-line-003-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-line-005-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-line-007-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-line-009-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-line-010-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-line-013-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-line-015-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-line-017-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-listitem-001-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-listitem-002-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-selection-001-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/delete-ws-fixup-002-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/list-item-1-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/merge-unrendered-space-expected.txt:
* platform/ios-simulator-wk1/editing/deleting/non-smart-delete-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-3778059-fix-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-br-at-tabspan-003-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-br-quoted-001-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-br-quoted-004-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-br-quoted-006-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-div-012-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-div-014-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-div-017-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-div-018-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-div-020-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-div-022-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-div-025-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-div-027-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-html-crash-01-expected.txt: Added.
* platform/ios-simulator-wk1/editing/inserting/insert-paragraph-04-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-text-at-tabspan-001-expected.txt:
* platform/ios-simulator-wk1/editing/inserting/insert-text-at-tabspan-003-expected.txt:
* platform/ios-simulator-wk1/editing/selection/5057506-2-expected.txt:
* platform/ios-simulator-wk1/editing/selection/5057506-expected.txt:
* platform/ios-simulator-wk1/editing/selection/5131716-1-expected.txt:
* platform/ios-simulator-wk1/editing/selection/5131716-2-expected.txt:
* platform/ios-simulator-wk1/editing/selection/5131716-3-expected.txt:
* platform/ios-simulator-wk1/editing/selection/5131716-4-expected.txt:
* platform/ios-simulator-wk1/editing/style/block-styles-007-expected.txt:
* platform/ios-simulator-wk1/editing/style/create-block-for-style-002-expected.txt:
* platform/ios-simulator-wk1/editing/style/create-block-for-style-003-expected.txt:
* platform/ios-simulator-wk1/editing/style/create-block-for-style-010-expected.txt:
* platform/ios-simulator-wk1/editing/style/create-block-for-style-012-expected.txt:
* platform/ios-simulator-wk1/editing/style/create-block-for-style-013-expected.txt:
* platform/ios-simulator-wk1/editing/style/relative-font-size-change-002-expected.txt:
* platform/ios-simulator-wk1/editing/style/relative-font-size-change-004-expected.txt:
* platform/ios-simulator-wk1/editing/style/style-3998892-fix-expected.txt:
* platform/ios-simulator-wk1/editing/style/style-boundary-004-expected.txt:
* platform/ios-simulator-wk1/editing/undo/undo-delete-expected.txt:

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

3 years agoFix EFL build.
achristensen@apple.com [Tue, 23 Aug 2016 22:50:12 +0000 (22:50 +0000)]
Fix EFL build.

* TestWebKitAPI/CMakeLists.txt:
Include new directory.

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

3 years agoFix clean Windows build.
achristensen@apple.com [Tue, 23 Aug 2016 22:48:00 +0000 (22:48 +0000)]
Fix clean Windows build.

* PlatformWin.cmake:
Add another forwarding headers directory.

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

3 years agoWeb Inspector: resource tree elements should provide "Download File" context menu...
commit-queue@webkit.org [Tue, 23 Aug 2016 22:23:26 +0000 (22:23 +0000)]
Web Inspector: resource tree elements should provide "Download File" context menu items
https://bugs.webkit.org/show_bug.cgi?id=158035

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-08-23
Reviewed by Joseph Pecoraro.

Add a context menu item to elements representing resources that
initiates a download of that resource.

* Localizations/en.lproj/localizedStrings.js:

* UserInterface/Base/Main.js:
(WebInspector.saveDataToFile):
Add support for saving base64 objects.

* UserInterface/Base/MIMETypeUtilities.js:
(WebInspector.fileExtensionForMIMEType):
Returns a file extension for the given MIME type if able.

* UserInterface/Views/FrameTreeElement.js:
(WebInspector.FrameTreeElement.prototype.onattach):
Add contextmenu event listener since superclass onattach call is explicitly not used.

* UserInterface/Views/ResourceTimelineDataGridNode.js:
(WebInspector.ResourceTimelineDataGridNode.prototype.appendContextMenuItems):
Add Save File context menu item.

* UserInterface/Views/ResourceTreeElement.js:
(WebInspector.ResourceTreeElement.prototype.onattach):
(WebInspector.ResourceTreeElement.prototype._handleContextMenuEvent):
Add contextmenu event listener and Save File context menu item.

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

3 years agostrict mode eval should not fire the var injection watch point
sbarati@apple.com [Tue, 23 Aug 2016 22:16:46 +0000 (22:16 +0000)]
strict mode eval should not fire the var injection watch point
https://bugs.webkit.org/show_bug.cgi?id=161104

Reviewed by Geoffrey Garen.

Strict mode eval can't do any variable injections. It was
an oversight that we fired the var injection watchpoint when
the eval is in strict mode.

* interpreter/Interpreter.cpp:
(JSC::Interpreter::execute):

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

3 years agoASSERTION FAILED: hasOverflowingCell == this->hasOverflowingCell() in WebCore::Render...
zalan@apple.com [Tue, 23 Aug 2016 21:47:20 +0000 (21:47 +0000)]
ASSERTION FAILED: hasOverflowingCell == this->hasOverflowingCell() in WebCore::RenderTableSection::computeOverflowFromCells
https://bugs.webkit.org/show_bug.cgi?id=155702
<rdar://problem/27720731>

Reviewed by David Hyatt.

Source/WebCore:

The simplified layout path for table/section should also clear the slow path flag for visual overflow (since it recomputes
the overflow for the descendant cells).

Test: fast/table/assert-when-visual-overflow-is-cleared.html

* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::layout):

LayoutTests:

* fast/table/assert-when-visual-overflow-is-cleared-expected.txt: Added.
* fast/table/assert-when-visual-overflow-is-cleared.html: Added.

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

3 years agoAnother CMake build fix attempt after r204852.
rniwa@webkit.org [Tue, 23 Aug 2016 21:29:56 +0000 (21:29 +0000)]
Another CMake build fix attempt after r204852.

* CMakeLists.txt:

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

3 years ago[Cocoa] Reduce uses of CGFonts
mmaxfield@apple.com [Tue, 23 Aug 2016 21:11:20 +0000 (21:11 +0000)]
[Cocoa] Reduce uses of CGFonts
https://bugs.webkit.org/show_bug.cgi?id=160896

Reviewed by Darin Adler.

There are a few places where we unnecessarily use CGFonts instead of
CTFonts. We have had an ongoing effort throughout the past few years
of elliminating all of our uses of CGFonts, and this patch moves us
in that direction.

Most of the changes in this patch are straightforward (e.g.
CGFontGetUnitsPerEm() -> CTFontGetUnitsPerEm()). However, there is
one notable change: from CGContextShowGlyphsWithAdvances() to
CTFontDrawGlyphs(). This migration does not cause a performance
regression.

No new tests because there is no behavior change.

* WebCore.xcodeproj/project.pbxproj: Delete unnecessary
FontServicesIOS files.
* platform/graphics/FontMetrics.h:
(WebCore::FontMetrics::xHeight): Migrate to Optional<float>
(WebCore::FontMetrics::setXHeight):
(WebCore::FontMetrics::hasXHeight):
(WebCore::FontMetrics::hasCapHeight): Ditto.
(WebCore::FontMetrics::floatCapHeight):
(WebCore::FontMetrics::setCapHeight):
(WebCore::FontMetrics::capHeight):
(WebCore::FontMetrics::setZeroWidth): No one ever used the
m_hasZeroWidth variable, so this patch removes it.
(WebCore::FontMetrics::reset):
(WebCore::FontMetrics::FontMetrics): Deleted.
(WebCore::FontMetrics::setHasXHeight): Deleted. No one ever calls
this, so this patch removes it.
(WebCore::FontMetrics::hasZeroWidth): Deleted.
(WebCore::FontMetrics::setHasZeroWidth): Deleted.
* platform/graphics/cocoa/FontCascadeCocoa.mm:
(WebCore::TextMatrixRestorer::TextMatrixRestorer): Rather than leaving
the text matrix stale after using it, this class cleans it up after us.
This means that the text matrix doesn't have to be reset in other places
which draw text.
(WebCore::TextMatrixRestorer::~TextMatrixRestorer):
(WebCore::TextMatrixRestorer::savedMatrix):
(WebCore::showGlyphsWithAdvances): Migrate from
CGContextShowGlyphsWithAdvances() to CTFontDrawGlyphs()
(WebCore::FontCascade::drawGlyphs): See above comment about the text
matrix.
(WebCore::RenderingStyleSaver::RenderingStyleSaver): Deleted.
(WebCore::RenderingStyleSaver::~RenderingStyleSaver): Deleted.
* platform/graphics/cocoa/FontCocoa.mm:
(WebCore::shouldUseAdjustment): Taken from FontServicesIOS.
(WebCore::Font::platformInit): Migrate from CG to CT for some direct
replacement API calls.
(WebCore::Font::platformCharWidthInit): Ditto.
(WebCore::Font::determinePitch): Ditto.
* platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::FontPlatformData::openTypeTable): Ditto.
(WebCore::FontPlatformData::description): Ditto.
* platform/graphics/ios/FontServicesIOS.h: Removed. No longer needed
after migrating from CGContextShowGlyphsWithAdvances() to
CTFontDrawGlyphs().
(WebCore::FontServicesIOS::ascent): Deleted.
(WebCore::FontServicesIOS::descent): Deleted.
(WebCore::FontServicesIOS::lineGap): Deleted.
(WebCore::FontServicesIOS::lineSpacing): Deleted.
(WebCore::FontServicesIOS::xHeight): Deleted.
(WebCore::FontServicesIOS::capHeight): Deleted.
(WebCore::FontServicesIOS::unitsPerEm): Deleted.
* platform/graphics/ios/FontServicesIOS.mm: Removed. Moved into
Font::platformInit().
(WebCore::shouldUseAdjustment): Deleted.
(WebCore::isCourier): Deleted.
(WebCore::FontServicesIOS::FontServicesIOS): Deleted.
* platform/graphics/opentype/OpenTypeCG.cpp:
(WebCore::OpenType::tryGetTypoMetrics): Migrate from CG to CT for some
direct replacement API calls.
* platform/graphics/opentype/OpenTypeCG.h: Ditto.
* platform/graphics/win/FontCGWin.cpp:
(WebCore::FontCascade::drawGlyphs): Restore the text matrix.
* platform/graphics/win/SimpleFontDataCGWin.cpp:
(WebCore::Font::platformWidthForGlyph): Deleted.
* platform/spi/cg/CoreGraphicsSPI.h:
* platform/spi/cocoa/CoreTextSPI.h:
* rendering/RenderThemeIOS.mm:
(WebCore::paintAttachmentText): Deleted.
* rendering/RenderThemeMac.mm:
(WebCore::paintAttachmentTitle): Deleted.
(WebCore::paintAttachmentSubtitle): Deleted.

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

3 years agoSpilling of constant tmps should make it easier for the spill code optimizer to remat...
fpizlo@apple.com [Tue, 23 Aug 2016 20:43:56 +0000 (20:43 +0000)]
Spilling of constant tmps should make it easier for the spill code optimizer to rematerialize the constant
https://bugs.webkit.org/show_bug.cgi?id=160150

Reviewed by Benjamin Poulain.

When we spill in-place for admitsStack()==true, we prevent rematerialization if that
argument doesn't also admit immediates (which it almost certainly won't do).  So, we
prevent remat.

This fixes the issue by avoiding in-place spilling for warm uses of constants. I don't
know if this helps performance, but I do know that it make the codegen for
bigswitch-indirect-symbol look a lot better. Prior to this change, the prolog would have
a constant materialization for each symbol that function used, and then it would spill
that constant. This removes all of that yucky code.

This also changes how IRC detects constant Tmps. Previously we would say that a Tmp is a
constant if the number of const defs was equal to the number of defs. But it's possible
for each of the const defs to produce a different value. This is unlikely considering
how B3->Air lowering works and how our SSA works - each def would have its own register.
But, regardless, this picks a more precise way of detecting constants: the number of
const defs must be 1 and the number of defs must be 1.

* b3/air/AirIteratedRegisterCoalescing.cpp:

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

3 years agoUnreviewed, fix CLoop build.
fpizlo@apple.com [Tue, 23 Aug 2016 20:29:35 +0000 (20:29 +0000)]
Unreviewed, fix CLoop build.

This fixes the CLoop build while still ensuring that Interpreter.h is a project header.

* llint/LowLevelInterpreter.cpp:
* runtime/VM.cpp:
(JSC::VM::ensureStackCapacityForCLoop):
(JSC::VM::isSafeToRecurseSoftCLoop):
* runtime/VM.h:
* runtime/VMInlines.h:
(JSC::VM::ensureStackCapacityFor):
(JSC::VM::isSafeToRecurseSoft):

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

3 years agoFix CMake build after r204852.
achristensen@apple.com [Tue, 23 Aug 2016 20:20:41 +0000 (20:20 +0000)]
Fix CMake build after r204852.

* CMakeLists.txt:
There were some non-ASCII characters here causing problems.

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

3 years agoButterflies should be allocated in Auxiliary MarkedSpace instead of CopiedSpace and...
fpizlo@apple.com [Tue, 23 Aug 2016 19:52:08 +0000 (19:52 +0000)]
Butterflies should be allocated in Auxiliary MarkedSpace instead of CopiedSpace and we should rewrite as much of the GC as needed to make this not a regression
https://bugs.webkit.org/show_bug.cgi?id=160125

Reviewed by Geoffrey Garen.
JSTests:

Most of the things I did properly covered by existing tests, but I found some simple cases of
unshifting that had sketchy coverage.

* stress/array-storage-array-unshift.js: Added.
* stress/contiguous-array-unshift.js: Added.
* stress/double-array-unshift.js: Added.
* stress/int32-array-unshift.js: Added.

Source/bmalloc:

I needed to tryMemalign, so I added such a thing.

* bmalloc/Allocator.cpp:
(bmalloc::Allocator::allocate):
(bmalloc::Allocator::tryAllocate):
(bmalloc::Allocator::allocateImpl):
(bmalloc::Allocator::reallocate):
* bmalloc/Allocator.h:
* bmalloc/Cache.h:
(bmalloc::Cache::allocate):
(bmalloc::Cache::tryAllocate):
* bmalloc/bmalloc.h:
(bmalloc::api::malloc):
(bmalloc::api::tryMemalign):
(bmalloc::api::memalign):

Source/JavaScriptCore:

In order to make the GC concurrent (bug 149432), we would either need to enable concurrent
copying or we would need to not copy. Concurrent copying carries a 1-2% throughput overhead
from the barriers alone. Considering that MarkedSpace does a decent job of avoiding
fragmentation, it's unlikely that it's worth paying 1-2% throughput for copying. So, we want
to get rid of copied space. This change moves copied space's biggest client over to marked
space.

Moving butterflies to marked space means having them use the new Auxiliary HeapCell
allocation path. This is a fairly mechanical change, but it caused performance regressions
everywhere, so this change also fixes MarkedSpace's performance issues.

At a high level the mechanical changes are:

- We use AuxiliaryBarrier instead of CopyBarrier.

- We use tryAllocateAuxiliary instead of tryAllocateStorage. I got rid of the silly
  CheckedBoolean stuff, since it's so much more trouble than it's worth.

- The JITs have to emit inlined marked space allocations instead of inline copy space
  allocations.

- Everyone has to get used to zeroing their butterflies after allocation instead of relying
  on them being pre-zeroed by the GC. Copied space would zero things for you, while marked
  space doesn't.

That's about 1/3 of this change. But this led to performance problems, which I fixed with
optimizations that amounted to a major MarkedSpace rewrite:

- MarkedSpace always causes internal fragmentation for array allocations because the vector
  length we choose when we resize usually leads to a cell size that doesn't correspond to any
  size class. I got around this by making array allocations usually round up vectorLength to
  the maximum allowed by the size class that we would have allocated in. Also,
  ensureLengthSlow() and friends first make sure that the requested length can't just be
  fulfilled with the current allocation size. This safeguard means that not every array
  allocation has to do size class queries. For example, the fast path of new Array(length)
  never does any size class queries, under the assumption that (1) the speed gained from
  avoiding an ensureLengthSlow() call, which then just changes the vectorLength by doing the
  size class query, is too small to offset the speed lost by doing the query on every
  allocation and (2) new Array(length) is a pretty good hint that resizing is not very
  likely.

- Size classes in MarkedSpace were way too precise, which led to external fragmentation. This
  changes MarkedSpace size classes to use a linear progression for very small sizes followed
  by a geometric progression that naturally transitions to a hyperbolic progression. We want
  hyperbolic sizes when we get close to blockSize: for example the largest size we want is
  payloadSize / 2 rounded down, to ensure we get exactly two cells with minimal slop. The
  next size down should be payloadSize / 3 rounded down, and so on. After the last precise
  size (80 bytes), we proceed using a geometric progression, but round up each size to
  minimize slop at the end of the block. This naturally causes the geometric progression to
  turn hyperbolic for large sizes. The size class configuration happens at VM start-up, so
  can be controlled with runtime options. I found that a base of 1.4 works pretty well.

- Large allocations caused massive internal fragmentation, since the smallest large
  allocation had to use exactly blockSize, and the largest small allocation used
  blockSize / 2. The next size up - the first large allocation size to require two blocks -
  also had 50% internal fragmentation. This is because we required large allocations to be
  blockSize aligned, so that MarkedBlock::blockFor() would work. I decided to rewrite all of
  that. Cells no longer have to be owned by a MarkedBlock. They can now alternatively be
  owned by a LargeAllocation. These two things are abstracted as CellContainer. You know that
  a cell is owned by a LargeAllocation if the MarkedBlock::atomSize / 2 bit is set.
  Basically, large allocations are deliberately misaligned by 8 bytes. This actually works
  out great since (1) typed arrays won't use large allocations anyway since they have their
  own malloc fallback and (2) large array butterflies already have a 8 byte header, which
  means that the 8 byte base misalignment aligns the large array payload on a 16 byte
  boundary. I took extreme care to make sure that the isLargeAllocation bit checks are as
  rare as possible; for example, ExecState::vm() skips the check because we know that callees
  must be small allocations. It's also possible to use template tricks to do one check for
  cell container kind, and then invoke a function specialized for MarkedBlock or a function
  specialized for LargeAllocation. LargeAllocation includes stubs for all MarkedBlock methods
  that get used from functions that are template-specialized like this. That's mostly to
  speed up the GC marking code. Most other code can use CellContainer API or HeapCell API
  directly. That's another thing: HeapCell, the common base of JSCell and auxiliary
  allocations, is now smart enough to do a lot of things for you, like HeapCell::vm(),
  HeapCell::heap(), HeapCell::isLargeAllocation(), and HeapCell::cellContainer(). The size
  cutoff for large allocations is runtime-configurable, so long as you don't choose something
  so small that callees end up large. I found that 400 bytes is roughly optimal. This means
  that the MarkedBlock size classes end up being:

  16, 32, 48, 64, 80, 112, 160, 224, 320

  The next size class would have been 432, but that's above the 400 byte cutoff. All of this
  is configurable with --sizeClassProgression and --largeAllocationCutoff. You can see what
  size classes you end up with by doing --dumpSizeClasses=true.

- Copied space uses 64KB blocks, while marked space used to use 16KB blocks. Allocating a lot
  of stuff in 16KB blocks is slower than allocating it in 64KB blocks. I got more speed from
  changing MarkedBlock::blockSize to 64KB. This would have been a space fail before, but now
  that we have LargeAllocation, it ends up being an overall win.

- Even after all of that, copying butterflies was still faster because it allowed us to skip
  sweeping dead space. A good GC allocates over dead bytes without explicitly freeing them,
  so the GC pause is O(size of live), not O(size of live + dead). O(dead) is usually much
  larger than O(live), especially in an eden collection. Copying satisfies this premise while
  mark+sweep does not. So, I invented a new kind of allocator: bump'n'pop. Previously, our
  MarkedSpace allocator was a freelist pop. That's simple and easy to inline but requires
  that we walk the block to build a free list. This means walking dead space. The new
  allocator allows totally free MarkedBlocks to simply set up a bump-pointer arena instead.
  The allocator is a hybrid of bump-pointer and freelist pop. It tries bump first. The bump
  pointer always bumps by cellSize, so the result of filling a block with bumping looks as if
  we had used freelist popping to fill it. Additionally, each MarkedBlock now has a bit to
  quickly tell if the block is entirely free. This makes sweeping O(1) whenever a MarkedBlock
  is completely empty, which is the common case because of the generational hypothesis: the
  number of objects that survive an eden collection is a tiny fraction of the number of
  objects that had been allocated, and this fraction is so small that there are typically
  fewer than one survivors per MarkedBlock. This change was enough to make this change a net
  win over tip-of-tree.

- FTL now shares the same allocation fast paths as everything else, which is great, because
  bump'n'pop has gnarly control flow. We don't really want B3 to have to think about that
  control flow, since it won't be able to improve the machine code we write ourselves. GC
  fast paths are best written in assembly. So, I've empowered B3 to have even better support
  for Patchpoint terminals. It's now totally fine for a Patchpoint terminal to be non-Void.
  So, the new FTL allocation fast paths are just Patchpoint terminals that call through to
  AssemblyHelpers::emitAllocate(). B3 still reasons about things like constant-folding the
  size class calculation and constant-hoisting the allocator. Also, I gave the FTL the
  ability to constant-fold some allocator logic (in case we first assume that we're doing a
  variable-length allocation but then realize that the length is known). I think it makes
  sense to have constant folding rules in FTL::Output, or whatever the B3 IR builder is,
  since this makes lowering easier (you can constant fold during lowering more easily) and it
  reduces the amount of malloc traffic. In the future, we could teach B3 how to better
  constant-fold this code. That would require allowing loads to be constant-folded, which is
  doable but hella tricky.

All of this put together gives us neutral perf on JetStream, Speedometer, and PLT3. SunSpider
sometimes gets penalized depending on how you run it. By comparison, the alternative approach
of using a copy barrier would have cost us 1-2%. That's the real apples-to-apples comparison
if your premise is that we should have a concurrent GC. After we finish removing copied
space, we will be barrier-ready for concurrent GC: we already have a marking barrier and we
simply won't need a copying barrier. This change gets us there for the purposes of our
benchmarks, since the remaining clients of copied space are not very important. On the other
hand, if we keep copying, then getting barrier-ready would mean adding back the copy barrier,
which costs more perf.

We might get bigger speed-ups once we remove CopiedSpace altogether. That requires moving
typed arrays and a few other weird things over to Aux MarkedSpace.

This also includes some header sanitization. The introduction of AuxiliaryBarrier, HeapCell,
and CellContainer meant that I had to include those files from everywhere. Fortunately,
just including JSCInlines.h (instead of manually including the files that includes) is
usually enough. So, I made most of JSC's cpp files include JSCInlines.h, which is something
that we were already basically doing. In places where JSCInlines.h would be too much, I just
included HeapInlines.h. This got weird, because we previously included HeapInlines.h from
JSObject.h. That's bad because it led to some circular dependencies, so I fixed it - but that
meant having to manually include HeapInlines.h from the places that previously got it
implicitly via JSObject.h. But that led to more problems for some reason: I started getting
build errors because non-JSC files were having trouble including Opcode.h. That's just silly,
since Opcode.h is meant to be an internal JSC header. So, I made it an internal header and
made it impossible to include it from outside JSC. This was a lot of work, but it was
necessary to get the patch to build on all ports. It's also a net win. There were many places
in WebCore that were transitively including a *ton* of JSC headers just because of the
JSObject.h->HeapInlines.h edge and a bunch of dependency edges that arose from some public
(for WebCore) JSC headers needing Interpreter.h or Opcode.h for bad reasons.

* API/JSTypedArray.cpp:
* API/ObjCCallbackFunction.mm:
* CMakeLists.txt:
* JavaScriptCore.xcodeproj/project.pbxproj:
* Scripts/builtins/builtins_generate_combined_implementation.py:
(BuiltinsCombinedImplementationGenerator.generate_secondary_header_includes):
* Scripts/builtins/builtins_generate_internals_wrapper_implementation.py:
(BuiltinsInternalsWrapperImplementationGenerator.generate_secondary_header_includes):
* Scripts/builtins/builtins_generate_separate_implementation.py:
(BuiltinsSeparateImplementationGenerator.generate_secondary_header_includes):
* assembler/AbstractMacroAssembler.h:
(JSC::AbstractMacroAssembler::JumpList::JumpList):
(JSC::AbstractMacroAssembler::JumpList::link):
(JSC::AbstractMacroAssembler::JumpList::linkTo):
(JSC::AbstractMacroAssembler::JumpList::append):
* assembler/MacroAssemblerARM64.h:
(JSC::MacroAssemblerARM64::add32):
* b3/B3BasicBlock.cpp:
(JSC::B3::BasicBlock::appendIntConstant):
(JSC::B3::BasicBlock::appendBoolConstant):
(JSC::B3::BasicBlock::clearSuccessors):
* b3/B3BasicBlock.h:
* b3/B3DuplicateTails.cpp:
* b3/B3StackmapGenerationParams.h:
* b3/testb3.cpp:
(JSC::B3::testBranchBitAndImmFusion):
(JSC::B3::testPatchpointTerminalReturnValue):
(JSC::B3::zero):
(JSC::B3::run):
* bindings/ScriptValue.cpp:
* bytecode/AdaptiveInferredPropertyValueWatchpointBase.cpp:
* bytecode/LLIntPrototypeLoadAdaptiveStructureWatchpoint.cpp:
* bytecode/ObjectAllocationProfile.h:
(JSC::ObjectAllocationProfile::initialize):
* bytecode/PolymorphicAccess.cpp:
(JSC::AccessCase::generateImpl):
* bytecode/StructureStubInfo.cpp:
* dfg/DFGOperations.cpp:
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::emitAllocateRawObject):
(JSC::DFG::SpeculativeJIT::compileMakeRope):
(JSC::DFG::SpeculativeJIT::compileAllocatePropertyStorage):
(JSC::DFG::SpeculativeJIT::compileReallocatePropertyStorage):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::emitAllocateJSCell):
(JSC::DFG::SpeculativeJIT::emitAllocateJSObject):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGStrengthReductionPhase.cpp:
(JSC::DFG::StrengthReductionPhase::handleNode):
* ftl/FTLAbstractHeapRepository.h:
* ftl/FTLCompile.cpp:
* ftl/FTLJITFinalizer.cpp:
* ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileCreateDirectArguments):
(JSC::FTL::DFG::LowerDFGToB3::compileNewArrayWithSize):
(JSC::FTL::DFG::LowerDFGToB3::compileMakeRope):
(JSC::FTL::DFG::LowerDFGToB3::compileMaterializeNewObject):
(JSC::FTL::DFG::LowerDFGToB3::initializeArrayElements):
(JSC::FTL::DFG::LowerDFGToB3::allocatePropertyStorageWithSizeImpl):
(JSC::FTL::DFG::LowerDFGToB3::emitRightShiftSnippet):
(JSC::FTL::DFG::LowerDFGToB3::allocateHeapCell):
(JSC::FTL::DFG::LowerDFGToB3::storeStructure):
(JSC::FTL::DFG::LowerDFGToB3::allocateCell):
(JSC::FTL::DFG::LowerDFGToB3::allocateObject):
(JSC::FTL::DFG::LowerDFGToB3::allocatorForSize):
(JSC::FTL::DFG::LowerDFGToB3::allocateVariableSizedObject):
(JSC::FTL::DFG::LowerDFGToB3::allocateJSArray):
* ftl/FTLOutput.cpp:
(JSC::FTL::Output::constBool):
(JSC::FTL::Output::constInt32):
(JSC::FTL::Output::add):
(JSC::FTL::Output::shl):
(JSC::FTL::Output::aShr):
(JSC::FTL::Output::lShr):
(JSC::FTL::Output::zeroExt):
(JSC::FTL::Output::equal):
(JSC::FTL::Output::notEqual):
(JSC::FTL::Output::above):
(JSC::FTL::Output::aboveOrEqual):
(JSC::FTL::Output::below):
(JSC::FTL::Output::belowOrEqual):
(JSC::FTL::Output::greaterThan):
(JSC::FTL::Output::greaterThanOrEqual):
(JSC::FTL::Output::lessThan):
(JSC::FTL::Output::lessThanOrEqual):
(JSC::FTL::Output::select):
(JSC::FTL::Output::unreachable):
(JSC::FTL::Output::appendSuccessor):
(JSC::FTL::Output::speculate):
(JSC::FTL::Output::addIncomingToPhi):
* ftl/FTLOutput.h:
* ftl/FTLValueFromBlock.h:
(JSC::FTL::ValueFromBlock::ValueFromBlock):
(JSC::FTL::ValueFromBlock::operator bool):
(JSC::FTL::ValueFromBlock::value):
(JSC::FTL::ValueFromBlock::block):
* ftl/FTLWeightedTarget.h:
(JSC::FTL::WeightedTarget::target):
(JSC::FTL::WeightedTarget::weight):
(JSC::FTL::WeightedTarget::frequentedBlock):
* heap/CellContainer.h: Added.
(JSC::CellContainer::CellContainer):
(JSC::CellContainer::operator bool):
(JSC::CellContainer::isMarkedBlock):
(JSC::CellContainer::isLargeAllocation):
(JSC::CellContainer::markedBlock):
(JSC::CellContainer::largeAllocation):
* heap/CellContainerInlines.h: Added.
(JSC::CellContainer::isMarkedOrRetired):
(JSC::CellContainer::isMarked):
(JSC::CellContainer::isMarkedOrNewlyAllocated):
(JSC::CellContainer::setHasAnyMarked):
(JSC::CellContainer::cellSize):
(JSC::CellContainer::weakSet):
* heap/ConservativeRoots.cpp:
(JSC::ConservativeRoots::ConservativeRoots):
(JSC::ConservativeRoots::~ConservativeRoots):
(JSC::ConservativeRoots::grow):
(JSC::ConservativeRoots::genericAddPointer):
(JSC::ConservativeRoots::genericAddSpan):
* heap/ConservativeRoots.h:
(JSC::ConservativeRoots::size):
(JSC::ConservativeRoots::roots):
* heap/CopyToken.h:
* heap/FreeList.cpp: Added.
(JSC::FreeList::dump):
* heap/FreeList.h: Added.
(JSC::FreeList::FreeList):
(JSC::FreeList::list):
(JSC::FreeList::bump):
(JSC::FreeList::operator==):
(JSC::FreeList::operator!=):
(JSC::FreeList::operator bool):
* heap/Heap.cpp:
(JSC::Heap::Heap):
(JSC::Heap::finalizeUnconditionalFinalizers):
(JSC::Heap::markRoots):
(JSC::Heap::copyBackingStores):
(JSC::Heap::gatherStackRoots):
(JSC::Heap::gatherJSStackRoots):
(JSC::Heap::gatherScratchBufferRoots):
(JSC::Heap::clearLivenessData):
(JSC::Heap::visitSmallStrings):
(JSC::Heap::visitConservativeRoots):
(JSC::Heap::removeDeadCompilerWorklistEntries):
(JSC::Heap::gatherExtraHeapSnapshotData):
(JSC::Heap::removeDeadHeapSnapshotNodes):
(JSC::Heap::visitProtectedObjects):
(JSC::Heap::visitArgumentBuffers):
(JSC::Heap::visitException):
(JSC::Heap::visitStrongHandles):
(JSC::Heap::visitHandleStack):
(JSC::Heap::visitSamplingProfiler):
(JSC::Heap::traceCodeBlocksAndJITStubRoutines):
(JSC::Heap::converge):
(JSC::Heap::visitWeakHandles):
(JSC::Heap::updateObjectCounts):
(JSC::Heap::clearUnmarkedExecutables):
(JSC::Heap::deleteUnmarkedCompiledCode):
(JSC::Heap::collectAllGarbage):
(JSC::Heap::collect):
(JSC::Heap::collectWithoutAnySweep):
(JSC::Heap::collectImpl):
(JSC::Heap::suspendCompilerThreads):
(JSC::Heap::willStartCollection):
(JSC::Heap::flushOldStructureIDTables):
(JSC::Heap::flushWriteBarrierBuffer):
(JSC::Heap::stopAllocation):
(JSC::Heap::reapWeakHandles):
(JSC::Heap::pruneStaleEntriesFromWeakGCMaps):
(JSC::Heap::sweepArrayBuffers):
(JSC::Heap::snapshotMarkedSpace):
(JSC::Heap::deleteSourceProviderCaches):
(JSC::Heap::notifyIncrementalSweeper):
(JSC::Heap::writeBarrierCurrentlyExecutingCodeBlocks):
(JSC::Heap::resetAllocators):
(JSC::Heap::updateAllocationLimits):
(JSC::Heap::didFinishCollection):
(JSC::Heap::resumeCompilerThreads):
(JSC::Zombify::visit):
* heap/Heap.h:
(JSC::Heap::subspaceForObjectDestructor):
(JSC::Heap::subspaceForAuxiliaryData):
(JSC::Heap::allocatorForObjectWithoutDestructor):
(JSC::Heap::allocatorForObjectWithDestructor):
(JSC::Heap::allocatorForAuxiliaryData):
(JSC::Heap::storageAllocator):
* heap/HeapCell.h:
(JSC::HeapCell::zap):
(JSC::HeapCell::isZapped):
* heap/HeapCellInlines.h: Added.
(JSC::HeapCell::isLargeAllocation):
(JSC::HeapCell::cellContainer):
(JSC::HeapCell::markedBlock):
(JSC::HeapCell::largeAllocation):
(JSC::HeapCell::heap):
(JSC::HeapCell::vm):
(JSC::HeapCell::cellSize):
(JSC::HeapCell::allocatorAttributes):
(JSC::HeapCell::destructionMode):
(JSC::HeapCell::cellKind):
* heap/HeapInlines.h:
(JSC::Heap::isCollecting):
(JSC::Heap::heap):
(JSC::Heap::isLive):
(JSC::Heap::isMarked):
(JSC::Heap::testAndSetMarked):
(JSC::Heap::setMarked):
(JSC::Heap::cellSize):
(JSC::Heap::writeBarrier):
(JSC::Heap::allocateWithoutDestructor):
(JSC::Heap::allocateObjectOfType):
(JSC::Heap::subspaceForObjectOfType):
(JSC::Heap::allocatorForObjectOfType):
(JSC::Heap::allocateAuxiliary):
(JSC::Heap::tryAllocateAuxiliary):
(JSC::Heap::tryReallocateAuxiliary):
(JSC::Heap::tryAllocateStorage):
(JSC::Heap::didFreeBlock):
(JSC::Heap::isPointerGCObject): Deleted.
(JSC::Heap::isValueGCObject): Deleted.
* heap/HeapUtil.h: Added.
(JSC::HeapUtil::findGCObjectPointersForMarking):
(JSC::HeapUtil::isPointerGCObjectJSCell):
(JSC::HeapUtil::isValueGCObject):
* heap/LargeAllocation.cpp: Added.
(JSC::LargeAllocation::tryCreate):
(JSC::LargeAllocation::LargeAllocation):
(JSC::LargeAllocation::lastChanceToFinalize):
(JSC::LargeAllocation::shrink):
(JSC::LargeAllocation::visitWeakSet):
(JSC::LargeAllocation::reapWeakSet):
(JSC::LargeAllocation::clearMarks):
(JSC::LargeAllocation::clearMarksWithCollectionType):
(JSC::LargeAllocation::isEmpty):
(JSC::LargeAllocation::sweep):
(JSC::LargeAllocation::destroy):
(JSC::LargeAllocation::dump):
* heap/LargeAllocation.h: Added.
(JSC::LargeAllocation::fromCell):
(JSC::LargeAllocation::cell):
(JSC::LargeAllocation::isLargeAllocation):
(JSC::LargeAllocation::heap):
(JSC::LargeAllocation::vm):
(JSC::LargeAllocation::weakSet):
(JSC::LargeAllocation::clearNewlyAllocated):
(JSC::LargeAllocation::isNewlyAllocated):
(JSC::LargeAllocation::isMarked):
(JSC::LargeAllocation::isMarkedOrNewlyAllocated):
(JSC::LargeAllocation::isLive):
(JSC::LargeAllocation::hasValidCell):
(JSC::LargeAllocation::cellSize):
(JSC::LargeAllocation::aboveLowerBound):
(JSC::LargeAllocation::belowUpperBound):
(JSC::LargeAllocation::contains):
(JSC::LargeAllocation::attributes):
(JSC::LargeAllocation::testAndSetMarked):
(JSC::LargeAllocation::setMarked):
(JSC::LargeAllocation::clearMarked):
(JSC::LargeAllocation::setHasAnyMarked):
(JSC::LargeAllocation::headerSize):
* heap/MarkedAllocator.cpp:
(JSC::MarkedAllocator::MarkedAllocator):
(JSC::isListPagedOut):
(JSC::MarkedAllocator::isPagedOut):
(JSC::MarkedAllocator::retire):
(JSC::MarkedAllocator::tryAllocateWithoutCollectingImpl):
(JSC::MarkedAllocator::tryAllocateWithoutCollecting):
(JSC::MarkedAllocator::allocateSlowCase):
(JSC::MarkedAllocator::tryAllocateSlowCase):
(JSC::MarkedAllocator::allocateSlowCaseImpl):
(JSC::blockHeaderSize):
(JSC::MarkedAllocator::blockSizeForBytes):
(JSC::MarkedAllocator::tryAllocateBlock):
(JSC::MarkedAllocator::addBlock):
(JSC::MarkedAllocator::removeBlock):
(JSC::MarkedAllocator::reset):
(JSC::MarkedAllocator::lastChanceToFinalize):
(JSC::MarkedAllocator::setFreeList):
(JSC::MarkedAllocator::tryAllocateHelper): Deleted.
(JSC::MarkedAllocator::tryPopFreeList): Deleted.
(JSC::MarkedAllocator::tryAllocate): Deleted.
(JSC::MarkedAllocator::allocateBlock): Deleted.
* heap/MarkedAllocator.h:
(JSC::MarkedAllocator::destruction):
(JSC::MarkedAllocator::cellKind):
(JSC::MarkedAllocator::heap):
(JSC::MarkedAllocator::takeLastActiveBlock):
(JSC::MarkedAllocator::offsetOfFreeList):
(JSC::MarkedAllocator::offsetOfCellSize):
(JSC::MarkedAllocator::tryAllocate):
(JSC::MarkedAllocator::allocate):
(JSC::MarkedAllocator::stopAllocating):
(JSC::MarkedAllocator::resumeAllocating):
(JSC::MarkedAllocator::offsetOfFreeListHead): Deleted.
(JSC::MarkedAllocator::MarkedAllocator): Deleted.
(JSC::MarkedAllocator::init): Deleted.
* heap/MarkedBlock.cpp:
(JSC::MarkedBlock::tryCreate):
(JSC::MarkedBlock::MarkedBlock):
(JSC::MarkedBlock::specializedSweep):
(JSC::MarkedBlock::sweep):
(JSC::MarkedBlock::sweepHelperSelectResetMode):
(JSC::MarkedBlock::sweepHelperSelectStateAndSweepMode):
(JSC::MarkedBlock::stopAllocating):
(JSC::MarkedBlock::clearMarksWithCollectionType):
(JSC::MarkedBlock::lastChanceToFinalize):
(JSC::MarkedBlock::resumeAllocating):
(JSC::MarkedBlock::didRetireBlock):
(JSC::MarkedBlock::forEachFreeCell):
(JSC::MarkedBlock::create): Deleted.
(JSC::MarkedBlock::callDestructor): Deleted.
(JSC::MarkedBlock::sweepHelper): Deleted.
* heap/MarkedBlock.h:
(JSC::MarkedBlock::VoidFunctor::returnValue):
(JSC::MarkedBlock::setHasAnyMarked):
(JSC::MarkedBlock::hasAnyMarked):
(JSC::MarkedBlock::clearHasAnyMarked):
(JSC::MarkedBlock::firstAtom):
(JSC::MarkedBlock::isAtomAligned):
(JSC::MarkedBlock::cellAlign):
(JSC::MarkedBlock::blockFor):
(JSC::MarkedBlock::isEmpty):
(JSC::MarkedBlock::cellSize):
(JSC::MarkedBlock::isMarkedOrRetired):
(JSC::MarkedBlock::FreeList::FreeList): Deleted.
* heap/MarkedSpace.cpp:
(JSC::MarkedSpace::initializeSizeClassForStepSize):
(JSC::MarkedSpace::MarkedSpace):
(JSC::MarkedSpace::lastChanceToFinalize):
(JSC::MarkedSpace::allocateLarge):
(JSC::MarkedSpace::tryAllocateLarge):
(JSC::MarkedSpace::sweep):
(JSC::MarkedSpace::sweepABit):
(JSC::MarkedSpace::sweepLargeAllocations):
(JSC::MarkedSpace::zombifySweep):
(JSC::MarkedSpace::resetAllocators):
(JSC::MarkedSpace::visitWeakSets):
(JSC::MarkedSpace::reapWeakSets):
(JSC::MarkedSpace::stopAllocating):
(JSC::MarkedSpace::resumeAllocating):
(JSC::MarkedSpace::isPagedOut):
(JSC::MarkedSpace::shrink):
(JSC::MarkedSpace::clearNewlyAllocated):
(JSC::MarkedSpace::clearMarks):
(JSC::MarkedSpace::didFinishIterating):
(JSC::MarkedSpace::objectCount):
(JSC::MarkedSpace::size):
(JSC::MarkedSpace::capacity):
(JSC::MarkedSpace::forEachAllocator): Deleted.
* heap/MarkedSpace.h:
(JSC::MarkedSpace::sizeClassIndex):
(JSC::MarkedSpace::subspaceForObjectsWithDestructor):
(JSC::MarkedSpace::subspaceForObjectsWithoutDestructor):
(JSC::MarkedSpace::subspaceForAuxiliaryData):
(JSC::MarkedSpace::blocksWithNewObjects):
(JSC::MarkedSpace::largeAllocations):
(JSC::MarkedSpace::largeAllocationsNurseryOffset):
(JSC::MarkedSpace::largeAllocationsOffsetForThisCollection):
(JSC::MarkedSpace::largeAllocationsForThisCollectionBegin):
(JSC::MarkedSpace::largeAllocationsForThisCollectionEnd):
(JSC::MarkedSpace::largeAllocationsForThisCollectionSize):
(JSC::MarkedSpace::forEachLiveCell):
(JSC::MarkedSpace::forEachDeadCell):
(JSC::MarkedSpace::allocatorFor):
(JSC::MarkedSpace::destructorAllocatorFor):
(JSC::MarkedSpace::auxiliaryAllocatorFor):
(JSC::MarkedSpace::allocate):
(JSC::MarkedSpace::tryAllocate):
(JSC::MarkedSpace::allocateWithoutDestructor):
(JSC::MarkedSpace::allocateWithDestructor):
(JSC::MarkedSpace::allocateAuxiliary):
(JSC::MarkedSpace::tryAllocateAuxiliary):
(JSC::MarkedSpace::forEachBlock):
(JSC::MarkedSpace::didAllocateInBlock):
(JSC::MarkedSpace::forEachAllocator):
(JSC::MarkedSpace::forEachSubspace):
(JSC::MarkedSpace::optimalSizeFor):
(JSC::MarkedSpace::objectCount): Deleted.
(JSC::MarkedSpace::size): Deleted.
(JSC::MarkedSpace::capacity): Deleted.
* heap/SlotVisitor.cpp:
(JSC::SlotVisitor::didStartMarking):
(JSC::SlotVisitor::reset):
(JSC::SlotVisitor::clearMarkStack):
(JSC::SlotVisitor::append):
(JSC::SlotVisitor::appendJSCellOrAuxiliary):
(JSC::SlotVisitor::setMarkedAndAppendToMarkStack):
(JSC::SlotVisitor::appendToMarkStack):
(JSC::SlotVisitor::markAuxiliary):
(JSC::SlotVisitor::noteLiveAuxiliaryCell):
(JSC::SetCurrentCellScope::SetCurrentCellScope):
(JSC::SlotVisitor::visitChildren):
* heap/SlotVisitor.h:
* heap/WeakBlock.cpp:
(JSC::WeakBlock::create):
(JSC::WeakBlock::destroy):
(JSC::WeakBlock::WeakBlock):
(JSC::WeakBlock::visit):
(JSC::WeakBlock::reap):
* heap/WeakBlock.h:
(JSC::WeakBlock::disconnectContainer):
(JSC::WeakBlock::disconnectMarkedBlock): Deleted.
* heap/WeakSet.cpp:
(JSC::WeakSet::sweep):
(JSC::WeakSet::addAllocator):
* heap/WeakSet.h:
(JSC::WeakSet::WeakSet):
* heap/WeakSetInlines.h:
(JSC::WeakSet::allocate):
* inspector/InjectedScriptManager.cpp:
* inspector/JSGlobalObjectInspectorController.cpp:
* inspector/JSJavaScriptCallFrame.cpp:
* inspector/ScriptDebugServer.cpp:
* inspector/agents/InspectorDebuggerAgent.cpp:
* interpreter/CachedCall.h:
(JSC::CachedCall::CachedCall):
* jit/AssemblyHelpers.h:
(JSC::AssemblyHelpers::emitAllocate):
(JSC::AssemblyHelpers::emitAllocateJSCell):
(JSC::AssemblyHelpers::emitAllocateJSObject):
(JSC::AssemblyHelpers::emitAllocateJSObjectWithKnownSize):
(JSC::AssemblyHelpers::emitAllocateVariableSized):
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_new_object):
(JSC::JIT::emit_op_create_this):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_new_object):
(JSC::JIT::emit_op_create_this):
* jit/JITOperations.cpp:
* jit/JITOperations.h:
* jit/JITPropertyAccess.cpp:
(JSC::JIT::emitWriteBarrier):
* jsc.cpp:
(functionDescribeArray):
* llint/LLIntData.cpp:
(JSC::LLInt::Data::performAssertions):
* llint/LowLevelInterpreter.asm:
* llint/LowLevelInterpreter32_64.asm:
* llint/LowLevelInterpreter64.asm:
* parser/ModuleAnalyzer.cpp:
* runtime/ArrayConventions.h:
(JSC::indexIsSufficientlyBeyondLengthForSparseMap):
(JSC::indexingHeaderForArrayStorage):
(JSC::baseIndexingHeaderForArrayStorage):
(JSC::indexingHeaderForArray): Deleted.
(JSC::baseIndexingHeaderForArray): Deleted.
* runtime/ArrayStorage.h:
(JSC::ArrayStorage::length):
(JSC::ArrayStorage::setLength):
(JSC::ArrayStorage::vectorLength):
(JSC::ArrayStorage::setVectorLength):
(JSC::ArrayStorage::copyHeaderFromDuringGC):
(JSC::ArrayStorage::sizeFor):
(JSC::ArrayStorage::totalSizeFor):
(JSC::ArrayStorage::totalSize):
(JSC::ArrayStorage::availableVectorLength):
(JSC::ArrayStorage::optimalVectorLength):
* runtime/AuxiliaryBarrier.h: Added.
(JSC::AuxiliaryBarrier::AuxiliaryBarrier):
(JSC::AuxiliaryBarrier::clear):
(JSC::AuxiliaryBarrier::get):
(JSC::AuxiliaryBarrier::slot):
(JSC::AuxiliaryBarrier::operator bool):
(JSC::AuxiliaryBarrier::setWithoutBarrier):
* runtime/AuxiliaryBarrierInlines.h: Added.
(JSC::AuxiliaryBarrier<T>::AuxiliaryBarrier):
(JSC::AuxiliaryBarrier<T>::set):
* runtime/Butterfly.h:
(JSC::Butterfly::fromBase):
(JSC::Butterfly::fromPointer):
* runtime/ButterflyInlines.h:
(JSC::Butterfly::availableContiguousVectorLength):
(JSC::Butterfly::optimalContiguousVectorLength):
(JSC::Butterfly::createUninitialized):
(JSC::Butterfly::growArrayRight):
* runtime/ClonedArguments.cpp:
(JSC::ClonedArguments::createEmpty):
* runtime/DataView.cpp:
* runtime/DirectArguments.h:
* runtime/ECMAScriptSpecInternalFunctions.cpp:
* runtime/GeneratorFrame.cpp:
* runtime/GeneratorPrototype.cpp:
* runtime/IntlCollator.cpp:
* runtime/IntlCollatorConstructor.cpp:
* runtime/IntlCollatorPrototype.cpp:
* runtime/IntlDateTimeFormat.cpp:
* runtime/IntlDateTimeFormatConstructor.cpp:
* runtime/IntlDateTimeFormatPrototype.cpp:
* runtime/IntlNumberFormat.cpp:
* runtime/IntlNumberFormatConstructor.cpp:
* runtime/IntlNumberFormatPrototype.cpp:
* runtime/JSArray.cpp:
(JSC::createArrayButterflyInDictionaryIndexingMode):
(JSC::JSArray::tryCreateUninitialized):
(JSC::JSArray::setLengthWritable):
(JSC::JSArray::unshiftCountSlowCase):
(JSC::JSArray::setLengthWithArrayStorage):
(JSC::JSArray::appendMemcpy):
(JSC::JSArray::setLength):
(JSC::JSArray::pop):
(JSC::JSArray::push):
(JSC::JSArray::fastSlice):
(JSC::JSArray::shiftCountWithArrayStorage):
(JSC::JSArray::shiftCountWithAnyIndexingType):
(JSC::JSArray::unshiftCountWithArrayStorage):
(JSC::JSArray::fillArgList):
(JSC::JSArray::copyToArguments):
* runtime/JSArray.h:
(JSC::createContiguousArrayButterfly):
(JSC::createArrayButterfly):
(JSC::JSArray::create):
(JSC::JSArray::tryCreateUninitialized): Deleted.
* runtime/JSArrayBufferView.h:
* runtime/JSCInlines.h:
* runtime/JSCJSValue.cpp:
* runtime/JSCallee.cpp:
* runtime/JSCell.cpp:
(JSC::JSCell::estimatedSize):
(JSC::JSCell::copyBackingStore):
* runtime/JSCell.h:
(JSC::JSCell::cellStateOffset):
* runtime/JSCellInlines.h:
(JSC::JSCell::visitChildren):
(JSC::ExecState::vm):
(JSC::JSCell::canUseFastGetOwnProperty):
(JSC::JSCell::classInfo):
(JSC::JSCell::toBoolean):
(JSC::JSCell::pureToBoolean):
(JSC::JSCell::callDestructor):
(JSC::JSCell::vm): Deleted.
* runtime/JSFunction.cpp:
(JSC::JSFunction::create):
(JSC::JSFunction::allocateAndInitializeRareData):
(JSC::JSFunction::initializeRareData):
(JSC::JSFunction::getOwnPropertySlot):
(JSC::JSFunction::put):
(JSC::JSFunction::deleteProperty):
(JSC::JSFunction::defineOwnProperty):
(JSC::JSFunction::setFunctionName):
(JSC::JSFunction::reifyLength):
(JSC::JSFunction::reifyName):
(JSC::JSFunction::reifyLazyPropertyIfNeeded):
(JSC::JSFunction::reifyBoundNameIfNeeded):
* runtime/JSFunction.h:
* runtime/JSFunctionInlines.h:
(JSC::JSFunction::createWithInvalidatedReallocationWatchpoint):
(JSC::JSFunction::JSFunction):
* runtime/JSGenericTypedArrayViewInlines.h:
(JSC::JSGenericTypedArrayView<Adaptor>::slowDownAndWasteMemory):
* runtime/JSInternalPromise.cpp:
* runtime/JSInternalPromiseConstructor.cpp:
* runtime/JSInternalPromiseDeferred.cpp:
* runtime/JSInternalPromisePrototype.cpp:
* runtime/JSJob.cpp:
* runtime/JSMapIterator.cpp:
* runtime/JSModuleNamespaceObject.cpp:
* runtime/JSModuleRecord.cpp:
* runtime/JSObject.cpp:
(JSC::getClassPropertyNames):
(JSC::JSObject::visitButterfly):
(JSC::JSObject::visitChildren):
(JSC::JSObject::heapSnapshot):
(JSC::JSObject::notifyPresenceOfIndexedAccessors):
(JSC::JSObject::createInitialIndexedStorage):
(JSC::JSObject::createInitialUndecided):
(JSC::JSObject::createInitialInt32):
(JSC::JSObject::createInitialDouble):
(JSC::JSObject::createInitialContiguous):
(JSC::JSObject::createArrayStorage):
(JSC::JSObject::createInitialArrayStorage):
(JSC::JSObject::convertUndecidedToInt32):
(JSC::JSObject::convertUndecidedToContiguous):
(JSC::JSObject::convertUndecidedToArrayStorage):
(JSC::JSObject::convertInt32ToDouble):
(JSC::JSObject::convertInt32ToArrayStorage):
(JSC::JSObject::convertDoubleToArrayStorage):
(JSC::JSObject::convertContiguousToArrayStorage):
(JSC::JSObject::putByIndexBeyondVectorLength):
(JSC::JSObject::putDirectIndexBeyondVectorLength):
(JSC::JSObject::putDirectNativeFunctionWithoutTransition):
(JSC::JSObject::getNewVectorLength):
(JSC::JSObject::increaseVectorLength):
(JSC::JSObject::ensureLengthSlow):
(JSC::JSObject::growOutOfLineStorage):
(JSC::JSObject::copyButterfly): Deleted.
(JSC::JSObject::copyBackingStore): Deleted.
* runtime/JSObject.h:
(JSC::JSObject::initializeIndex):
(JSC::JSObject::globalObject):
(JSC::JSObject::putDirectInternal):
(JSC::JSObject::putOwnDataProperty):
(JSC::JSObject::setStructureAndReallocateStorageIfNecessary): Deleted.
* runtime/JSObjectInlines.h:
* runtime/JSPromise.cpp:
* runtime/JSPromiseConstructor.cpp:
* runtime/JSPromiseDeferred.cpp:
* runtime/JSPromisePrototype.cpp:
* runtime/JSPropertyNameIterator.cpp:
* runtime/JSScope.cpp:
(JSC::JSScope::resolve):
* runtime/JSScope.h:
(JSC::JSScope::globalObject):
(JSC::Register::operator=):
(JSC::JSScope::vm): Deleted.
* runtime/JSSetIterator.cpp:
* runtime/JSStringIterator.cpp:
* runtime/JSTemplateRegistryKey.cpp:
* runtime/JSTypedArrayViewConstructor.cpp:
* runtime/JSTypedArrayViewPrototype.cpp:
* runtime/JSWeakMap.cpp:
* runtime/JSWeakSet.cpp:
* runtime/MapConstructor.cpp:
* runtime/MapPrototype.cpp:
* runtime/NativeStdFunctionCell.cpp:
* runtime/Operations.h:
(JSC::jsAdd):
(JSC::resetFreeCellsBadly):
(JSC::resetBadly):
* runtime/Options.h:
* runtime/PropertyTable.cpp:
* runtime/ProxyConstructor.cpp:
* runtime/ProxyObject.cpp:
* runtime/ProxyRevoke.cpp:
* runtime/RegExpMatchesArray.h:
(JSC::tryCreateUninitializedRegExpMatchesArray):
(JSC::createRegExpMatchesArray):
* runtime/RuntimeType.cpp:
* runtime/SamplingProfiler.cpp:
(JSC::SamplingProfiler::processUnverifiedStackTraces):
* runtime/SetConstructor.cpp:
* runtime/SetPrototype.cpp:
* runtime/TemplateRegistry.cpp:
* runtime/TypeProfilerLog.cpp:
* runtime/TypeSet.cpp:
* runtime/WeakMapConstructor.cpp:
* runtime/WeakMapData.cpp:
* runtime/WeakMapPrototype.cpp:
* runtime/WeakSetConstructor.cpp:
* runtime/WeakSetPrototype.cpp:
* tools/JSDollarVMPrototype.cpp:
(JSC::JSDollarVMPrototype::isInObjectSpace):
(JSC::JSDollarVMPrototype::isInStorageSpace):

Source/WebCore:

No new tests because no new WebCore behavior.

Just rewiring #includes.

* ForwardingHeaders/heap/HeapInlines.h: Added.
* ForwardingHeaders/runtime/AuxiliaryBarrierInlines.h: Added.
* Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:
* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
* bindings/js/JSApplePayPaymentAuthorizedEventCustom.cpp:
* bindings/js/JSApplePayPaymentMethodSelectedEventCustom.cpp:
* bindings/js/JSApplePayShippingContactSelectedEventCustom.cpp:
* bindings/js/JSApplePayShippingMethodSelectedEventCustom.cpp:
* bindings/js/JSClientRectCustom.cpp:
* bindings/js/JSDOMBinding.h:
* bindings/js/JSDOMStringListCustom.cpp:
* bindings/js/JSErrorEventCustom.cpp:
* bindings/js/JSPopStateEventCustom.cpp:
* bindings/js/JSWebGL2RenderingContextCustom.cpp:
* contentextensions/ContentExtensionParser.cpp:
* dom/ErrorEvent.cpp:
* inspector/CommandLineAPIModule.cpp:
* testing/GCObservation.cpp:
(WebCore::GCObservation::GCObservation):

Source/WebKit2:

Just rewiring some #includes.

* WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
* WebProcess/Plugins/Netscape/JSNPObject.cpp:

Source/WTF:

I needed tryFastAlignedMalloc() so I added it.

* wtf/FastMalloc.cpp:
(WTF::fastAlignedMalloc):
(WTF::tryFastAlignedMalloc):
(WTF::fastAlignedFree):
* wtf/FastMalloc.h:

Tools:

* DumpRenderTree/TestRunner.cpp: Rewire some #includes.
* Scripts/run-jsc-stress-tests: New test flag!

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

3 years agoWK2 Gamepad layout test support.
beidson@apple.com [Tue, 23 Aug 2016 19:41:00 +0000 (19:41 +0000)]
WK2 Gamepad layout test support.
https://bugs.webkit.org/show_bug.cgi?id=134671
Source/WebCore:

Reviewed by Alex Christensen.

No new tests (Covered by changes to existing tests).

Add a MockGamepadProvider and expose it in WebCoreTestSupport.

* CMakeLists.txt:
* WebCore.xcodeproj/project.pbxproj:

* Modules/gamepad/Gamepad.cpp:
(WebCore::Gamepad::Gamepad):

* bindings/generic/RuntimeEnabledFeatures.cpp:
(WebCore::RuntimeEnabledFeatures::reset): Deleted. Gamepads should either always be enabled during tests
  (As in Mac WK2), or never enabled (As in all other platforms).
* bindings/generic/RuntimeEnabledFeatures.h:

* platform/gamepad/GamepadProvider.h:
(WebCore::GamepadProvider::isMockGamepadProvider):

* testing/MockGamepad.cpp: Copied from Source/WebKit2/Shared/Gamepad/GamepadData.cpp.
(WebCore::MockGamepad::MockGamepad):
(WebCore::MockGamepad::updateDetails):
(WebCore::MockGamepad::setAxisValue):
(WebCore::MockGamepad::setButtonValue):
* testing/MockGamepad.h: Copied from Source/WebKit2/UIProcess/Gamepad/UIGamepad.h.

* testing/MockGamepadProvider.cpp: Added.
(WebCore::MockGamepadProvider::singleton):
(WebCore::MockGamepadProvider::MockGamepadProvider):
(WebCore::MockGamepadProvider::startMonitoringGamepads):
(WebCore::MockGamepadProvider::stopMonitoringGamepads):
(WebCore::MockGamepadProvider::setMockGamepadDetails):
(WebCore::MockGamepadProvider::connectMockGamepad):
(WebCore::MockGamepadProvider::disconnectMockGamepad):
(WebCore::MockGamepadProvider::setMockGamepadAxisValue):
(WebCore::MockGamepadProvider::setMockGamepadButtonValue):
(WebCore::MockGamepadProvider::gamepadInputActivity):

* testing/MockGamepadProvider.h: Copied from Source/WebKit2/WebProcess/Gamepad/WebGamepadProvider.h.
(WebCore::MockGamepadProvider::~MockGamepadProvider):

* testing/js/WebCoreTestSupport.cpp:
(WebCoreTestSupport::installMockGamepadProvider):
(WebCoreTestSupport::connectMockGamepad):
(WebCoreTestSupport::disconnectMockGamepad):
(WebCoreTestSupport::setMockGamepadDetails):
(WebCoreTestSupport::setMockGamepadAxisValue):
(WebCoreTestSupport::setMockGamepadButtonValue):
* testing/js/WebCoreTestSupport.h:

Source/WebKit2:

Reviewed by Alex Christensen.

- Teach the UIGamepadProvider to use the default shared provider.
- Especially if its the MockGamepadProvider, don't overwrite it.

* Shared/Gamepad/GamepadData.cpp:
(WebKit::GamepadData::GamepadData):
(WebKit::GamepadData::encode):
(WebKit::GamepadData::decode):
(WebKit::GamepadData::loggingString):
(WebKit::GamepadData::isNull): Deleted.
* Shared/Gamepad/GamepadData.h:
(WebKit::GamepadData::GamepadData):
(WebKit::GamepadData::isNull):
(WebKit::GamepadData::index):
(WebKit::GamepadData::axisValues):
(WebKit::GamepadData::buttonValues):

* UIProcess/Gamepad/UIGamepad.h:

* UIProcess/Gamepad/UIGamepadProvider.cpp:
(WebKit::UIGamepadProvider::UIGamepadProvider):
(WebKit::UIGamepadProvider::~UIGamepadProvider):
(WebKit::UIGamepadProvider::platformGamepadInputActivity):
(WebKit::UIGamepadProvider::startMonitoringGamepads):
(WebKit::UIGamepadProvider::stopMonitoringGamepads):
(WebKit::UIGamepadProvider::platformSetDefaultGamepadProvider):
* UIProcess/Gamepad/UIGamepadProvider.h:

* UIProcess/Gamepad/mac/UIGamepadProviderHID.cpp:
(WebKit::UIGamepadProvider::platformSetDefaultGamepadProvider):
(WebKit::UIGamepadProvider::platformStopMonitoringInput):
(WebKit::UIGamepadProvider::platformStartMonitoringInput):
(WebKit::UIGamepadProvider::platformStartMonitoringGamepads): Deleted.
(WebKit::UIGamepadProvider::platformStopMonitoringGamepads): Deleted.
(WebKit::UIGamepadProvider::platformGamepads): Deleted.

* UIProcess/WebPageProxy.h:

* WebProcess/Gamepad/WebGamepad.cpp:
(WebKit::WebGamepad::WebGamepad):
(WebKit::WebGamepad::updateValues):
* WebProcess/Gamepad/WebGamepad.h:

* WebProcess/Gamepad/WebGamepadProvider.cpp:
(WebKit::WebGamepadProvider::gamepadConnected):
* WebProcess/Gamepad/WebGamepadProvider.h:

* WebProcess/WebPage/WebPage.h:
* WebProcess/WebProcess.h:

Tools:

Reviewed by Alex Christensen.

Have the injected bundle expose the MockGamepadProvider to the UI process, which will then
feed back into the UIGamepadProvider.

Also, fool NSApplication into treating the most recently created "isKeyWindow" of the test windows
as the actual keyWindow for the test runner, which will allow the view to get gamepad updates.

* WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:

* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::setMockGamepadDetails):
(WTR::TestRunner::setMockGamepadAxisValue):
(WTR::TestRunner::setMockGamepadButtonValue):

* WebKitTestRunner/PlatformWebView.h:

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):

* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Deleted.

* WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:

* WebKitTestRunner/ios/PlatformWebViewIOS.mm:
(-[WebKitTestRunnerWindow initWithFrame:]):
(-[WebKitTestRunnerWindow dealloc]):
(WTR::PlatformWebView::keyWindow):

* WebKitTestRunner/ios/TestControllerIOS.mm:
(WTR::wtr_NSApplication_keyWindow):
(WTR::TestController::platformInitialize):

* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(+[WebKitTestRunnerWindow _WTR_keyWindow]):
(-[WebKitTestRunnerWindow initWithContentRect:styleMask:backing:defer:]):
(-[WebKitTestRunnerWindow dealloc]):
(WTR::PlatformWebView::keyWindow):

* WebKitTestRunner/mac/TestControllerMac.mm:
(WTR::wtr_NSApplication_keyWindow):
(WTR::TestController::platformInitialize):
* WebKitTestRunner/mac/main.mm:

LayoutTests:

Reviewed by Alex Christensen.

* gamepad/gamepad-api-expected.txt:
* gamepad/gamepad-api.html:
* gamepad/gamepad-out-of-range-crasher-expected.txt: Removed.
* gamepad/gamepad-out-of-range-crasher.html: Removed.
* gamepad/gamepad-polling-access-expected.txt:
* gamepad/gamepad-polling-access.html:

* platform/mac/TestExpectations:
* platform/mac-wk1/TestExpectations:
* platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: Added.

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

3 years agoAdd pref for enabling new CSS parsing and move parser files into subdirectory.
hyatt@apple.com [Tue, 23 Aug 2016 19:37:37 +0000 (19:37 +0000)]
Add pref for enabling new CSS parsing and move parser files into subdirectory.
https://bugs.webkit.org/show_bug.cgi?id=161095

Reviewed by Sam Weinig.

Source/WebCore:

* CMakeLists.txt:
* WebCore.xcodeproj/project.pbxproj:
* css/CSSParser.cpp: Removed.
* css/CSSParser.h: Removed.
* css/CSSParserMode.h: Removed.
* css/CSSParserValues.cpp: Removed.
* css/CSSParserValues.h: Removed.
* css/SVGCSSParser.cpp: Removed.
* css/parser: Added.
* css/parser/CSSParser.cpp: Copied from css/CSSParser.cpp.
* css/parser/CSSParser.h: Copied from css/CSSParser.h.
* css/parser/CSSParserMode.h: Copied from css/CSSParserMode.h.
* css/parser/CSSParserValues.cpp: Copied from css/CSSParserValues.cpp.
* css/parser/CSSParserValues.h: Copied from css/CSSParserValues.h.
* css/parser/SVGCSSParser.cpp: Copied from css/SVGCSSParser.cpp.
* page/Settings.in:

Source/WebKit2:

* Shared/WebPreferencesDefinitions.h:
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetNewCSSParserEnabled):
(WKPreferencesGetNewCSSParserEnabled):
* UIProcess/API/C/WKPreferencesRefPrivate.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):

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

3 years agoUpdate/add new test262 tests
keith_miller@apple.com [Tue, 23 Aug 2016 19:23:55 +0000 (19:23 +0000)]
Update/add new test262 tests
https://bugs.webkit.org/show_bug.cgi?id=161098

Reviewed by Saam Barati.

* test262.yaml:
* test262/test/annexB/language/statements/for-in/bare-initializer.js: Added.
* test262/test/annexB/language/statements/for-in/const-initializer.js: Added.
* test262/test/annexB/language/statements/for-in/let-initializer.js: Added.
* test262/test/annexB/language/statements/for-in/nonstrict-initializer.js: Added.
(a):
* test262/test/annenxB/language/statements/for-in/strict-initializer.js: Added.
* test262/test/annexB/language/statements/for-in/var-arraybindingpattern-initializer.js: Added.
* test262/test/annexB/language/statements/for-in/var-objectbindingpattern-initializer.js: Added.
* test262/test/built-ins/AsyncFunction/AsyncFunction-construct.js: Added.
(AsyncFunction.async.foo):
* test262/test/built-ins/AsyncFunction/AsyncFunction-is-extensible.js: Added.
(AsyncFunction.async):
* test262/test/built-ins/AsyncFunction/AsyncFunction-is-subclass.js: Added.
(async.foo):
* test262/test/built-ins/AsyncFunction/AsyncFunction-length.js: Added.
(AsyncFunction.async.foo):
* test262/test/built-ins/AsyncFunction/AsyncFunction-name.js: Added.
(AsyncFunction.async.foo):
* test262/test/built-ins/AsyncFunction/AsyncFunction-prototype.js: Added.
(AsyncFunction.async.foo):
* test262/test/built-ins/AsyncFunction/AsyncFunction.js: Added.
(AsyncFunction.async.foo):
* test262/test/built-ins/AsyncFunction/AsyncFunctionPrototype-is-extensible.js: Added.
(AsyncFunction.async.foo):
* test262/test/built-ins/AsyncFunction/AsyncFunctionPrototype-prototype.js: Added.
(AsyncFunction.async.foo):
* test262/test/built-ins/AsyncFunction/AsyncFunctionPrototype-to-string.js: Added.
(AsyncFunction.async.foo):
* test262/test/built-ins/AsyncFunction/instance-construct.js: Added.
(async.foo):
* test262/test/built-ins/AsyncFunction/instance-has-name.js: Added.
(async.foo):
* test262/test/built-ins/AsyncFunction/instance-length.js: Added.
(async.l0):
(async.l1):
(async.l2):
* test262/test/built-ins/AsyncFunction/instance-prototype-property.js: Added.
(async.foo):
* test262/test/built-ins/AsyncFunction/is-not-a-global.js: Added.
* test262/test/built-ins/DataView/prototype/getFloat32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getFloat32/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/getFloat32/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/getFloat64/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getFloat64/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/getFloat64/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/getInt16/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getInt16/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/getInt16/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/getInt32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getInt32/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/getInt32/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/getInt8/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getInt8/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/getInt8/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/getUint16/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getUint16/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/getUint16/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/getUint32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getUint32/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/getUint32/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/getUint8/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getUint8/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/getUint8/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/setFloat32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setFloat32/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/setFloat32/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/setFloat32/index-check-before-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setFloat32/range-check-after-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setFloat64/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setFloat64/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/setFloat64/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/setFloat64/index-check-before-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setFloat64/range-check-after-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setInt16/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setInt16/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/setInt16/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/setInt16/index-check-before-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setInt16/range-check-after-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setInt32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setInt32/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/setInt32/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/setInt32/index-check-before-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setInt32/range-check-after-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setInt8/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setInt8/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/setInt8/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/setInt8/index-check-before-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setInt8/range-check-after-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setUint16/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setUint16/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/setUint16/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/setUint16/index-check-before-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setUint16/range-check-after-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setUint32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setUint32/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/setUint32/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/setUint32/index-check-before-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setUint32/range-check-after-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setUint8/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setUint8/detached-buffer-after-integer-byteoffset.js.
* test262/test/built-ins/DataView/prototype/setUint8/detached-buffer-before-outofrange-byteoffset.js:
* test262/test/built-ins/DataView/prototype/setUint8/index-check-before-value-conversion.js:
* test262/test/built-ins/DataView/prototype/setUint8/range-check-after-value-conversion.js:
* test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-boundtarget-bound.js: Added.
(A):
* test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-boundtarget.js: Added.
(A):
* test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-self-new.js: Added.
(A):
* test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-self-reflect.js: Added.
(A):
* test262/test/built-ins/Function/prototype/toString/AsyncFunction.js: Added.
(async.f):
* test262/test/built-ins/Function/prototype/toString/async-function-declaration.js: Added.
(async.f):
* test262/test/built-ins/Function/prototype/toString/async-function-expression.js: Added.
(let.f.async.f):
* test262/test/built-ins/Function/prototype/toString/async-method.js: Added.
(let.f.async.f):
(let.g.async.string_appeared_here):
* test262/test/built-ins/JSON/parse/reviver-array-define-prop-err.js: Added.
(defineProperty):
* test262/test/built-ins/JSON/parse/reviver-array-delete-err.js: Added.
(deleteProperty):
* test262/test/built-ins/JSON/parse/reviver-array-length-coerce-err.js: Added.
(uncoercible.valueOf):
(get if):
* test262/test/built-ins/JSON/parse/reviver-array-length-get-err.js: Added.
(get if):
* test262/test/built-ins/JSON/parse/reviver-call-err.js: Added.
* test262/test/built-ins/JSON/parse/reviver-get-name-err.js: Added.
(thrower):
* test262/test/built-ins/JSON/parse/reviver-object-define-prop-err.js: Added.
(defineProperty):
* test262/test/built-ins/JSON/parse/reviver-object-delete-err.js: Added.
(deleteProperty):
* test262/test/built-ins/JSON/parse/reviver-object-own-keys-err.js: Added.
(ownKeys):
* test262/test/built-ins/Number/prototype/toExponential/infinity.js: Added.
* test262/test/built-ins/Number/prototype/toExponential/nan.js: Added.
* test262/test/built-ins/Number/prototype/toExponential/prop-desc.js: Added.
* test262/test/built-ins/Number/prototype/toExponential/return-abrupt-tointeger-fractiondigits-symbol.js: Added.
* test262/test/built-ins/Number/prototype/toExponential/return-abrupt-tointeger-fractiondigits.js: Added.
(fd1.valueOf):
(fd2.toString):
* test262/test/built-ins/Number/prototype/toExponential/return-values.js: Added.
* test262/test/built-ins/Number/prototype/toExponential/this-is-0-fractiondigits-is-0.js: Added.
* test262/test/built-ins/Number/prototype/toExponential/this-is-0-fractiondigits-is-not-0.js: Added.
* test262/test/built-ins/Number/prototype/toExponential/this-type-not-number-or-number-object.js: Added.
* test262/test/built-ins/Number/prototype/toExponential/tointeger-fractiondigits.js: Added.
* test262/test/built-ins/Number/prototype/toExponential/undefined-fractiondigits.js: Added.
* test262/test/built-ins/Object/getOwnPropertyDescriptors/duplicate-keys.js:
* test262/test/built-ins/Object/getOwnPropertyDescriptors/proxy-undefined-descriptor.js: Added.
(badProxyHandlers.allowProxyTraps.getOwnPropertyDescriptor):
(badProxyHandlers.allowProxyTraps.ownKeys):
* test262/test/built-ins/Proxy/setPrototypeOf/boolean-trap-result-extensible-target.js: Removed.
(setPrototypeOf): Deleted.
* test262/test/built-ins/Proxy/setPrototypeOf/internals-call-order.js: Added.
(target.new.Proxy.Object.create.isExtensible):
(target.new.Proxy.Object.create.getPrototypeOf):
(target.new.Proxy.Object.create):
(setPrototypeOf):
* test262/test/built-ins/Proxy/setPrototypeOf/not-extensible-target-not-same-target-prototype.js:
(setPrototypeOf):
* test262/test/built-ins/Proxy/setPrototypeOf/not-extensible-target-same-target-prototype.js:
(setPrototypeOf):
* test262/test/built-ins/Proxy/setPrototypeOf/not-extensible-trap-is-false-return-false.js: Removed.
(setPrototypeOf): Deleted.
* test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-get-trap.js: Added.
* test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-isextensible-target.js: Added.
(isExtensible):
(setPrototypeOf):
* test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-target-getprototypeof.js: Added.
(getPrototypeOf):
(setPrototypeOf):
* test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-trap.js: Renamed from JSTests/test262/test/built-ins/Proxy/setPrototypeOf/return-is-abrupt.js.
(setPrototypeOf):
* test262/test/built-ins/Proxy/setPrototypeOf/return-is-abrupt.js:
(setPrototypeOf): Deleted.
* test262/test/built-ins/Proxy/setPrototypeOf/toboolean-trap-result-false.js: Added.
(isExtensible):
(setPrototypeOf):
* test262/test/built-ins/Proxy/setPrototypeOf/toboolean-trap-result-true-target-is-extensible.js: Added.
(isExtensible):
(getPrototypeOf):
(setPrototypeOf):
* test262/test/built-ins/Proxy/setPrototypeOf/trap-is-not-callable.js:
* test262/test/built-ins/Proxy/setPrototypeOf/trap-is-undefined-or-null.js: Added.
(setPrototypeOf):
* test262/test/built-ins/Proxy/setPrototypeOf/trap-is-undefined.js: Removed.
* test262/test/built-ins/RegExp/lastIndex.js: Added.
* test262/test/built-ins/RegExp/prototype/global/15.10.7.2-1.js: Removed.
* test262/test/built-ins/RegExp/prototype/global/this-val-invalid-obj.js: Added.
(get Object):
* test262/test/built-ins/RegExp/prototype/global/this-val-non-obj.js: Added.
(get Object):
* test262/test/built-ins/RegExp/prototype/global/this-val-regexp-prototype.js: Added.
* test262/test/built-ins/RegExp/prototype/ignoreCase/15.10.7.3-1.js: Removed.
* test262/test/built-ins/RegExp/prototype/ignoreCase/this-val-invalid-obj.js: Added.
(get Object):
* test262/test/built-ins/RegExp/prototype/ignoreCase/this-val-non-obj.js: Added.
(get Object):
* test262/test/built-ins/RegExp/prototype/ignoreCase/this-val-regexp-prototype.js: Added.
* test262/test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-1.js: Removed.
* test262/test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-2.js: Removed.
* test262/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A8.js: Removed.
(__re.hasOwnProperty): Deleted.
(__re.propertyIsEnumerable): Deleted.
(count.0): Deleted.
* test262/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A9.js: Removed.
(__re.hasOwnProperty): Deleted.
(catch): Deleted.
* test262/test/built-ins/RegExp/prototype/multiline/15.10.7.4-1.js: Removed.
* test262/test/built-ins/RegExp/prototype/multiline/this-val-invalid-obj.js: Added.
(get Object):
* test262/test/built-ins/RegExp/prototype/multiline/this-val-non-obj.js: Added.
(get Object):
* test262/test/built-ins/RegExp/prototype/multiline/this-val-regexp-prototype.js: Added.
* test262/test/built-ins/RegExp/prototype/no-regexp-matcher.js: Added.
* test262/test/built-ins/RegExp/prototype/source/15.10.7.1-1.js: Removed.
* test262/test/built-ins/RegExp/prototype/source/this-val-invalid-obj.js: Added.
(get Object):
* test262/test/built-ins/RegExp/prototype/source/this-val-non-obj.js: Added.
(get Object):
* test262/test/built-ins/RegExp/prototype/source/this-val-regexp-prototype.js: Added.
* test262/test/built-ins/RegExp/prototype/source/value-empty.js: Added.
* test262/test/built-ins/RegExp/prototype/source/value-line-terminator.js: Added.
* test262/test/built-ins/RegExp/prototype/source/value-u.js: Added.
* test262/test/built-ins/RegExp/prototype/source/value.js: Added.
* test262/test/built-ins/RegExp/prototype/sticky/this-val-invalid-obj.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/sticky/this-invalid-obj.js.
* test262/test/built-ins/RegExp/prototype/sticky/this-val-non-obj.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/sticky/this-non-obj.js.
* test262/test/built-ins/RegExp/prototype/sticky/this-val-regexp-prototype.js: Added.
* test262/test/built-ins/RegExp/prototype/sticky/this-val-regexp.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/sticky/this-regexp.js.
* test262/test/built-ins/RegExp/prototype/unicode/this-val-invalid-obj.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/unicode/this-invald-obj.js.
* test262/test/built-ins/RegExp/prototype/unicode/this-val-non-obj.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/unicode/this-non-obj.js.
* test262/test/built-ins/RegExp/prototype/unicode/this-val-regexp-prototype.js: Added.
* test262/test/built-ins/RegExp/prototype/unicode/this-val-regexp.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/unicode/this-regexp.js.
* test262/test/built-ins/String/numeric-properties.js: Added.
* test262/test/intl402/DateTimeFormat/prototype/formatToParts/date-is-infinity-throws.js: Added.
* test262/test/intl402/DateTimeFormat/prototype/formatToParts/date-is-nan-throws.js: Added.
* test262/test/intl402/DateTimeFormat/prototype/formatToParts/formatToParts.js: Added.
* test262/test/intl402/DateTimeFormat/prototype/formatToParts/length.js: Added.
* test262/test/intl402/DateTimeFormat/prototype/formatToParts/main.js: Added.
(reduce):
(compareFTPtoFormat):
* test262/test/intl402/DateTimeFormat/prototype/formatToParts/name.js: Added.
* test262/test/intl402/DateTimeFormat/prototype/formatToParts/return-abrupt-tonumber-date.js: Added.
(obj1.valueOf):
(obj2.toString):
* test262/test/intl402/DateTimeFormat/prototype/formatToParts/this-has-not-internal-throws.js: Added.
* test262/test/intl402/DateTimeFormat/prototype/formatToParts/this-is-not-object-throws.js: Added.
* test262/test/intl402/NumberFormat/prototype/formatToParts/formatToParts.js: Added.
* test262/test/intl402/NumberFormat/prototype/formatToParts/length.js: Added.
* test262/test/intl402/NumberFormat/prototype/formatToParts/main.js: Added.
(reduce):
(compareFTPtoFormat):
* test262/test/intl402/NumberFormat/prototype/formatToParts/name.js: Added.
* test262/test/intl402/NumberFormat/prototype/formatToParts/return-abrupt-tonumber.js: Added.
(obj1.valueOf):
(obj2.toString):
* test262/test/intl402/NumberFormat/prototype/formatToParts/this-has-not-internal-throws.js: Added.
* test262/test/intl402/NumberFormat/prototype/formatToParts/this-is-not-object-throws.js: Added.
* test262/test/language/arguments-object/10.6-10-c-ii-2-s.js:
(foo): Deleted.
* test262/test/language/arguments-object/unmapped/via-params-dflt.js: Added.
(dflt):
* test262/test/language/arguments-object/unmapped/via-params-dstr.js: Added.
(dstr):
* test262/test/language/arguments-object/unmapped/via-params-rest.js: Added.
(rest):
* test262/test/language/arguments-object/unmapped/via-strict.js: Renamed from JSTests/test262/test/language/arguments-object/10.6-10-c-ii-2-s.js.
(foo):
* test262/test/language/block-scope/syntax/redeclaration-global/allowed-to-redeclare-function-declaration-with-function-declaration.js:
(f): Deleted.
* test262/test/language/eval-code/direct/super-call-arrow.js: Added.
(catch):
* test262/test/language/eval-code/direct/super-call-fn.js: Added.
(f):
* test262/test/language/eval-code/direct/super-call.js: Added.
(catch):
* test262/test/language/eval-code/direct/super-prop-arrow.js: Added.
(catch):
* test262/test/language/eval-code/direct/super-prop-method.js: Added.
(o.method):
* test262/test/language/eval-code/direct/super-prop.js: Added.
(catch):
* test262/test/language/eval-code/indirect/super-call.js: Added.
(catch):
(try.m):
* test262/test/language/eval-code/indirect/super-prop.js: Added.
(catch):
(try.m):
* test262/test/language/expressions/arrow-function/params-trailing-comma-length.js: Added.
(assert.sameValue):
* test262/test/language/expressions/arrow-function/params-trailing-comma.js: Added.
* test262/test/language/expressions/async-arrow-function/arrow-returns-promise.js: Added.
(p.then):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-NSPL-with-USD.js: Added.
(async):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-arguments-in-formal-parameters.js: Added.
(async):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals-default.js: Added.
(async):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals.js: Added.
(async):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-call.js: Added.
(async):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-property.js: Added.
(async):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-duplicate-parameters.js: Added.
(async):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-eval-in-formal-parameters.js: Added.
(async):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-body-duplicate.js: Added.
(async):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-call.js: Added.
(async.foo.super):
* test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-property.js: Added.
(async):
* test262/test/language/expressions/async-function/early-errors-expression-NSPL-with-USD.js: Added.
(async):
* test262/test/language/expressions/async-function/early-errors-expression-binding-identifier-arguments.js: Added.
(async.arguments):
* test262/test/language/expressions/async-function/early-errors-expression-binding-identifier-eval.js: Added.
(async.eval):
* test262/test/language/expressions/async-function/early-errors-expression-body-contains-super-call.js: Added.
(async.foo):
* test262/test/language/expressions/async-function/early-errors-expression-body-contains-super-property.js: Added.
(async.foo):
* test262/test/language/expressions/async-function/early-errors-expression-eval-in-formal-parameters.js: Added.
(async.foo):
* test262/test/language/expressions/async-function/early-errors-expression-formals-body-duplicate.js: Added.
(async.foo):
* test262/test/language/expressions/async-function/early-errors-expression-formals-contains-super-call.js: Added.
(async.foo):
* test262/test/language/expressions/async-function/early-errors-expression-formals-contains-super-property.js: Added.
(async.foo):
* test262/test/language/expressions/async-function/early-errors-expression-not-simple-assignment-target.js: Added.
(async.foo):
* test262/test/language/expressions/async-function/expression-returns-promise.js: Added.
(p.async):
* test262/test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js: Added.
(async.foo):
* test262/test/language/expressions/await/await-BindingIdentifier-in-global.js: Added.
(async.await):
* test262/test/language/expressions/await/await-BindingIdentifier-nested.js: Added.
(async.foo.await):
(async.foo):
* test262/test/language/expressions/await/await-awaits-thenable-not-callable.js: Added.
(async.foo):
* test262/test/language/expressions/await/await-awaits-thenables-that-throw.js: Added.
(thenable.then):
(async.foo):
* test262/test/language/expressions/await/await-awaits-thenables.js: Added.
(thenable.then):
(async.foo):
* test262/test/language/expressions/await/await-in-function.js: Added.
(foo):
* test262/test/language/expressions/await/await-in-generator.js: Added.
(foo):
* test262/test/language/expressions/await/await-in-global.js: Added.
* test262/test/language/expressions/await/await-in-nested-function.js: Added.
(async.foo.bar):
(async.foo):
* test262/test/language/expressions/await/await-in-nested-generator.js: Added.
(async.foo.bar):
(async.foo):
* test262/test/language/expressions/await/await-throws-rejections.js: Added.
(async.foo):
* test262/test/language/expressions/await/early-errors-await-not-simple-assignment-target.js: Added.
(async.foo):
* test262/test/language/expressions/await/no-operand.js: Added.
(async.foo):
* test262/test/language/expressions/await/syntax-await-has-UnaryExpression-with-MultiplicativeExpression.js: Added.
(async.foo):
* test262/test/language/expressions/await/syntax-await-has-UnaryExpression.js: Added.
(async.foo):
* test262/test/language/expressions/call/trailing-comma.js: Added.
(foo):
* test262/test/language/expressions/function/arguments-with-arguments-fn.js: Added.
(f):
* test262/test/language/expressions/function/arguments-with-arguments-lex.js: Added.
(f):
* test262/test/language/expressions/function/params-trailing-comma-arguments.js: Added.
(f1):
(f2):
* test262/test/language/expressions/function/params-trailing-comma-length.js: Added.
(assert.sameValue):
* test262/test/language/expressions/function/params-trailing-comma.js: Added.
* test262/test/language/expressions/generators/arguments-with-arguments-fn.js: Added.
(g):
* test262/test/language/expressions/generators/arguments-with-arguments-lex.js: Added.
(g):
* test262/test/language/expressions/generators/params-trailing-comma-arguments.js: Added.
(f1):
(f2):
* test262/test/language/expressions/generators/params-trailing-comma-length.js: Added.
(assert.sameValue):
* test262/test/language/expressions/generators/params-trailing-comma.js: Added.
* test262/test/language/expressions/object/computed-property-evaluation-order.js: Added.
* test262/test/language/expressions/object/method-definition/async-super-call-body.js: Added.
(sup.method):
(child.async.method):
* test262/test/language/expressions/object/method-definition/async-super-call-param.js: Added.
(sup.method):
(child.async.method.x.super.method):
* test262/test/language/expressions/object/method-definition/early-errors-object-method-NSPL-with-USD.js: Added.
(foo):
* test262/test/language/expressions/object/method-definition/early-errors-object-method-arguments-in-formal-parameters.js: Added.
(async.foo):
* test262/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals-default.js: Added.
(async.foo):
* test262/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals.js: Added.
(async.foo):
* test262/test/language/expressions/object/method-definition/early-errors-object-method-body-contains-super-call.js: Added.
(async.foo):
* test262/test/language/expressions/object/method-definition/early-errors-object-method-duplicate-parameters.js: Added.
(async.foo):
* test262/test/language/expressions/object/method-definition/early-errors-object-method-eval-in-formal-parameters.js: Added.
(async.foo):
* test262/test/language/expressions/object/method-definition/early-errors-object-method-formals-body-duplicate.js: Added.
(async.foo):
* test262/test/language/expressions/object/method-definition/early-errors-object-method-formals-contains-super-call.js: Added.
(async.foo.foo.super):
* test262/test/language/expressions/object/method-definition/object-method-returns-promise.js: Added.
(obj.async.method):
* test262/test/language/expressions/object/method-definition/params-trailing-comma-arguments.js: Added.
(obj.f1):
(obj.f2):
* test262/test/language/expressions/object/method-definition/params-trailing-comma-length.js: Added.
(obj.one):
(obj.two):
* test262/test/language/expressions/object/method-definition/params-trailing-comma-rest.js: Added.
(m):
* test262/test/language/expressions/object/method-definition/params-trailing-comma.js: Added.
(one):
(two):
* test262/test/language/global-code/decl-func-dup.js: Renamed from JSTests/test262/test/language/block-scope/syntax/redeclaration-global/allowed-to-redeclare-function-declaration-with-function-declaration.js.
(f):
* test262/test/language/global-code/decl-func.js: Added.
(brandNew):
* test262/test/language/global-code/decl-lex-configurable-global.js: Added.
* test262/test/language/global-code/decl-lex-deletion.js: Added.
(test262class):
* test262/test/language/global-code/decl-lex-restricted-global.js: Added.
* test262/test/language/global-code/decl-lex.js: Added.
(test262class):
* test262/test/language/global-code/decl-var.js: Added.
* test262/test/language/global-code/return.js: Added.
* test262/test/language/global-code/script-decl-func-dups.js: Added.
* test262/test/language/global-code/script-decl-func-err-non-configurable.js: Added.
* test262/test/language/global-code/script-decl-func-err-non-extensible.js: Added.
* test262/test/language/global-code/script-decl-func.js: Added.
* test262/test/language/global-code/script-decl-lex-deletion.js: Added.
* test262/test/language/global-code/script-decl-lex-lex.js: Added.
(test262Class):
* test262/test/language/global-code/script-decl-lex-restricted-global.js: Added.
* test262/test/language/global-code/script-decl-lex-var.js: Added.
(test262Fn):
* test262/test/language/global-code/script-decl-lex.js: Added.
* test262/test/language/global-code/script-decl-var-collision.js: Added.
(test262Class):
* test262/test/language/global-code/script-decl-var-err.js: Added.
* test262/test/language/global-code/script-decl-var.js: Added.
* test262/test/language/global-code/super-call-arrow.js: Added.
* test262/test/language/global-code/super-call.js: Added.
* test262/test/language/global-code/super-prop-arrow.js: Added.
* test262/test/language/global-code/super-prop.js: Added.
* test262/test/language/global-code/yield-non-strict.js: Added.
(catch):
* test262/test/language/global-code/yield-strict.js: Added.
* test262/test/language/literals/regexp/lastIndex.js: Added.
* test262/test/language/literals/regexp/u-unicode-esc-bounds.js:
* test262/test/language/literals/regexp/y-assertion-start.js: Added.
* test262/test/language/module-code/instn-star-err-not-found-faulty_FIXTURE.js:
* test262/test/language/module-code/instn-star-err-not-found.js:
* test262/test/language/module-code/namespace/internals/get-own-property-str-found-init.js:
* test262/test/language/module-code/parse-err-return.js: Added.
* test262/test/language/module-code/parse-err-yield.js: Added.
* test262/test/language/rest-parameters/params-trailing-comma-rest.js: Added.
* test262/test/language/statements/async-function/declaration-returns-promise.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-NSPL-with-USD.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-arguments-in-formal-parameters.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-await-in-formals-default.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-await-in-formals.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-binding-identifier-arguments.js: Added.
(async.arguments):
* test262/test/language/statements/async-function/early-errors-declaration-binding-identifier-eval.js: Added.
(async.eval):
* test262/test/language/statements/async-function/early-errors-declaration-body-contains-super-call.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-body-contains-super-property.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-duplicate-parameters.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-eval-in-formal-parameters.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-formals-body-duplicate.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-formals-contains-super-call.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-declaration-formals-contains-super-property.js: Added.
(async.foo):
* test262/test/language/statements/async-function/early-errors-no-async-generator.js: Added.
(async.foo):
* test262/test/language/statements/async-function/evaluation-body-that-returns-after-await.js: Added.
(async.foo):
(foo.then):
* test262/test/language/statements/async-function/evaluation-body-that-returns.js: Added.
(async.foo):
(foo.then):
* test262/test/language/statements/async-function/evaluation-body-that-throws-after-await.js: Added.
(async.foo):
(foo.then):
* test262/test/language/statements/async-function/evaluation-body-that-throws.js: Added.
(async.foo):
(foo.then):
* test262/test/language/statements/async-function/evaluation-body.js: Added.
(async.foo):
* test262/test/language/statements/async-function/evaluation-default-that-throws.js: Added.
(async.foo):
(foo.then):
* test262/test/language/statements/async-function/evaluation-mapped-arguments.js: Added.
(async.foo):
* test262/test/language/statements/async-function/evaluation-this-value-global.js: Added.
(async.foo):
* test262/test/language/statements/async-function/evaluation-this-value-passed.js: Added.
(async.foo):
* test262/test/language/statements/async-function/evaluation-unmapped-arguments.js: Added.
(async.foo):
* test262/test/language/statements/async-function/syntax-declaration-line-terminators-allowed.js: Added.
(async.foo):
* test262/test/language/statements/async-function/syntax-declaration-no-line-terminator.js: Added.
(async.foo):
* test262/test/language/statements/async-function/syntax-declaration.js: Added.
(async.foo):
(foo.then):
* test262/test/language/statements/class/definition/class-method-returns-promise.js: Added.
(Foo.prototype.async.method):
(Foo):
* test262/test/language/statements/class/definition/early-errors-class-method-NSPL-with-USD.js: Added.
(Foo.prototype.async.bar):
(Foo):
* test262/test/language/statements/class/definition/early-errors-class-method-arguments-in-formal-parameters.js: Added.
(Foo.prototype.async.foo):
(Foo):
* test262/test/language/statements/class/definition/early-errors-class-method-await-in-formals-default.js: Added.
(Foo.prototype.async.foo):
(Foo):
* test262/test/language/statements/class/definition/early-errors-class-method-await-in-formals.js: Added.
(Foo.prototype.async.foo):
(Foo):
* test262/test/language/statements/class/definition/early-errors-class-method-body-contains-super-call.js: Added.
(Foo.prototype.async.foo):
(Foo):
* test262/test/language/statements/class/definition/early-errors-class-method-duplicate-parameters.js: Added.
(Foo.prototype.async.foo):
(Foo):
* test262/test/language/statements/class/definition/early-errors-class-method-eval-in-formal-parameters.js: Added.
(Foo.prototype.async.foo):
(Foo):
* test262/test/language/statements/class/definition/early-errors-class-method-formals-body-duplicate.js: Added.
(Foo.async.foo):
(Foo):
* test262/test/language/statements/class/definition/early-errors-class-method-formals-contains-super-call.js: Added.
(Foo.prototype.async.foo):
(Foo):
* test262/test/language/statements/class/definition/methods-async-super-call-body.js: Added.
(A.prototype.async.method):
(A):
(B.prototype.async.method):
(B):
* test262/test/language/statements/class/definition/methods-async-super-call-param.js: Added.
(A.prototype.async.method):
(A):
(B.prototype.async.method):
(B):
* test262/test/language/statements/class/definition/params-trailing-comma-arguments.js: Added.
(C.prototype.f1):
(C.prototype.f2):
(C):
* test262/test/language/statements/class/definition/params-trailing-comma-length.js: Added.
(C.prototype.one):
(C.prototype.two):
(C):
* test262/test/language/statements/class/definition/params-trailing-comma-rest.js: Added.
(C.prototype.m):
(C):
* test262/test/language/statements/class/definition/params-trailing-comma.js: Added.
(C.prototype.one):
(C.prototype.two):
(C):
* test262/test/language/statements/function/arguments-with-arguments-fn.js: Added.
(f):
* test262/test/language/statements/function/arguments-with-arguments-lex.js: Added.
(f):
* test262/test/language/statements/function/params-trailing-comma-arguments.js: Added.
(f1):
(f2):
* test262/test/language/statements/function/params-trailing-comma-length.js: Added.
(one):
(two):
* test262/test/language/statements/function/params-trailing-comma.js: Added.
(one):
(two):
* test262/test/language/statements/generators/arguments-with-arguments-fn.js: Added.
(g):
* test262/test/language/statements/generators/arguments-with-arguments-lex.js: Added.
(g):
* test262/test/language/statements/generators/params-trailing-comma-length.js: Added.
(one):
(two):
* test262/test/language/statements/generators/params-trailing-comma.js: Added.
(one):
(two):
* test262/test262-Revision.txt:

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

3 years agoREGRESSION (PHP 5.6): http/tests/misc/bad-charset-alias.html fails
ap@apple.com [Tue, 23 Aug 2016 19:12:36 +0000 (19:12 +0000)]
REGRESSION (PHP 5.6): http/tests/misc/bad-charset-alias.html fails
https://bugs.webkit.org/show_bug.cgi?id=161047
rdar://problem/27434307

Reviewed by Lucas Forschler.

Tools:

* Scripts/webkitpy/layout_tests/servers/apache_http_server.py: Specify a php.ini file.

LayoutTests:

* http/conf/php.ini: Added. On macOS at least, there is no global php.ini, so we
only need to override this one default setting.
* platform/mac/TestExpectations: Unmarked the test.

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

3 years ago[JSC] Make Math.cos() and Math.sin() work with any argument type
commit-queue@webkit.org [Tue, 23 Aug 2016 19:09:50 +0000 (19:09 +0000)]
[JSC] Make Math.cos() and Math.sin() work with any argument type
https://bugs.webkit.org/show_bug.cgi?id=161069

Patch by Benjamin Poulain <bpoulain@apple.com> on 2016-08-23
Reviewed by Geoffrey Garen.

JSTests:

* stress/arith-cos-on-various-types.js: Added.
* stress/arith-sin-on-various-types.js: Added.

Source/JavaScriptCore:

Same as the ArithSqrt patch: add a generic path if the argument
is not a number.

* dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
* dfg/DFGClobberize.h:
(JSC::DFG::clobberize):
* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):
* dfg/DFGNodeType.h:
* dfg/DFGOperations.cpp:
* dfg/DFGOperations.h:
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileArithCos):
(JSC::DFG::SpeculativeJIT::compileArithSin):
* dfg/DFGSpeculativeJIT.h:
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileArithSin):
(JSC::FTL::DFG::LowerDFGToB3::compileArithCos):

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

3 years ago[ES6] Module namespace object's Symbol.iterator method should only accept module...
utatane.tea@gmail.com [Tue, 23 Aug 2016 19:07:33 +0000 (19:07 +0000)]
[ES6] Module namespace object's Symbol.iterator method should only accept module namespace objects
https://bugs.webkit.org/show_bug.cgi?id=161097

Reviewed by Keith Miller.

JSTests:

* test262.yaml:

Source/JavaScriptCore:

* runtime/JSModuleNamespaceObject.cpp:
(JSC::moduleNamespaceObjectSymbolIterator):

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

3 years ago[MediaStream] Templatize MediaConstraint
eric.carlson@apple.com [Tue, 23 Aug 2016 19:02:48 +0000 (19:02 +0000)]
[MediaStream] Templatize MediaConstraint
https://bugs.webkit.org/show_bug.cgi?id=161092

Reviewed by Jer Noble.

No new tests, no functional change.

* platform/mediastream/MediaConstraints.cpp:
(WebCore::BooleanConstraint::getExact):
(WebCore::BooleanConstraint::getIdeal):
(WebCore::MediaConstraint::getMin): Deleted.
(WebCore::MediaConstraint::getMax): Deleted.
(WebCore::MediaConstraint::getExact): Deleted.
(WebCore::MediaConstraint::getIdeal): Deleted.
(WebCore::IntConstraint::create): Deleted.
(WebCore::IntConstraint::setMin): Deleted.
(WebCore::IntConstraint::setMax): Deleted.
(WebCore::IntConstraint::setExact): Deleted.
(WebCore::IntConstraint::setIdeal): Deleted.
(WebCore::IntConstraint::getMin): Deleted.
(WebCore::IntConstraint::getMax): Deleted.
(WebCore::IntConstraint::getExact): Deleted.
(WebCore::IntConstraint::getIdeal): Deleted.
(WebCore::DoubleConstraint::create): Deleted.
(WebCore::DoubleConstraint::setMin): Deleted.
(WebCore::DoubleConstraint::setMax): Deleted.
(WebCore::DoubleConstraint::setExact): Deleted.
(WebCore::DoubleConstraint::setIdeal): Deleted.
(WebCore::DoubleConstraint::getMin): Deleted.
(WebCore::DoubleConstraint::getMax): Deleted.
(WebCore::DoubleConstraint::getExact): Deleted.
(WebCore::DoubleConstraint::getIdeal): Deleted.
(WebCore::BooleanConstraint::create): Deleted.
(WebCore::BooleanConstraint::setExact): Deleted.
(WebCore::BooleanConstraint::setIdeal): Deleted.
(WebCore::StringConstraint::create): Deleted.
* platform/mediastream/MediaConstraints.h:
(WebCore::MediaConstraint::getMin):
(WebCore::MediaConstraint::getMax):
(WebCore::MediaConstraint::getExact):
(WebCore::MediaConstraint::getIdeal):
(WebCore::NumericConstraint::setMin):
(WebCore::NumericConstraint::setMax):
(WebCore::NumericConstraint::setExact):
(WebCore::NumericConstraint::setIdeal):
(WebCore::NumericConstraint::setHasMin): Deleted.
(WebCore::NumericConstraint::setHasMax): Deleted.
(WebCore::NumericConstraint::setHasExact): Deleted.
(WebCore::NumericConstraint::setHasIdeal): Deleted.
(WebCore::NumericConstraint::hasMin): Deleted.
(WebCore::NumericConstraint::hasMax): Deleted.
(WebCore::NumericConstraint::hasExact): Deleted.
(WebCore::NumericConstraint::hasIdeal): Deleted.

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

3 years agoWeb Inspector: No open/copy src resource in context menu
commit-queue@webkit.org [Tue, 23 Aug 2016 19:00:49 +0000 (19:00 +0000)]
Web Inspector: No open/copy src resource in context menu
https://bugs.webkit.org/show_bug.cgi?id=159028

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-08-23
Reviewed by Joseph Pecoraro.

* Localizations/en.lproj/localizedStrings.js:

* UserInterface/Views/DOMTreeElement.js:
(WebInspector.DOMTreeElement.prototype._populateTagContextMenu):
Add options in the context menu of link attributes of DOM nodes to
 - Open in New Tab
 - Reveal in Resources Tab
 - Copy Link Address

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

3 years agoREGRESSION (r204226): LayoutTest editing/deleting/delete-empty-line-breaks-at-end...
commit-queue@webkit.org [Tue, 23 Aug 2016 18:56:57 +0000 (18:56 +0000)]
REGRESSION (r204226): LayoutTest editing/deleting/delete-empty-line-breaks-at-end-of-textarea.html "crashing" without a crashlog
https://bugs.webkit.org/show_bug.cgi?id=160782

Patch by Jonathan Bedard <jbedard@apple.com> on 2016-08-23
Reviewed by Alexey Proskuryakov.

Rolling out r204650.

* platform/mac-wk2/TestExpectations: editing/deleting/delete-empty-line-breaks-at-end-of-textarea.html removed from list of flakey tests.

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

3 years agoImport html/browsers web platform tests
cdumez@apple.com [Tue, 23 Aug 2016 18:49:30 +0000 (18:49 +0000)]
Import html/browsers web platform tests
https://bugs.webkit.org/show_bug.cgi?id=161067

Reviewed by Youenn Fablet.

LayoutTests/imported/w3c:

Import html/browsers web platform tests from upstream.

* web-platform-tests/html/browsers/browsing-the-web/history-traversal/001-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/001-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/001-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/001.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/MANIFEST: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/PopStateEvent-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/PopStateEvent.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name-3.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name-4.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/contains.json: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/events-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/events.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/hashchange_event-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/hashchange_event.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/resources/blank1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/resources/blank2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/resources/page-with-fragment.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/resources/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-basic-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-basic.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-samedoc-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-samedoc.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-navigation-cross-origin-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-navigation-cross-origin.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-navigation-samedoc-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-navigation-samedoc.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/popstate_event-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/popstate_event.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/unset_context_name-1-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/unset_context_name-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/unset_context_name.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/history-traversal/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/001-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/001-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/001-3.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/001-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/001.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/002-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/002-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/002-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/002.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/003-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/003-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/003-3.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/003-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/003.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/004-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/004-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/004-3.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/004-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/004.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/005-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/005.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/006-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/006.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/007-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/007.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/008-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/008.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/009-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/009.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/010-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/010.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/011-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/011.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/012-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/012.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/013-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/013.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/014-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/014.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/015-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/015.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/MANIFEST: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/blank.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_location-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_location-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_location-3.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_location-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_location.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_submit-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_submit-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_submit-3.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_submit-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/child_navigates_parent_submit.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/click.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/empty_fragment-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/empty_fragment.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/empty_fragment_iframe.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/href.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-query-fragment-components-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-query-fragment-components.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-return-value-handling-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-return-value-handling.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation_unload_data_url-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation_unload_data_url-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation_unload_data_url.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation_unload_same_origin-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation_unload_same_origin-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation_unload_same_origin.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/navigate-child-function-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/navigate-child-function-parent-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/navigate-child-function-parent.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/navigate-child-function-src-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/navigate-child-function-src.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/navigate-child-function.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/navigate-child-src-about-blank-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/navigate-child-src-about-blank.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/support/dummy.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/support/location-set.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/support/set-parent-src.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/support/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/source/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-image-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-image.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-video-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-video.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/read-media/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/read-text/load-text-plain-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/read-text/load-text-plain.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/read-text/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/001-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/001.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/002-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/002.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/003-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/003.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/004-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/004.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/005-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/005.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/006-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/006.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/007-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/007.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/MANIFEST: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/scroll-frag-percent-encoded-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/scroll-frag-percent-encoded.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/scroll-to-anchor-name-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/scroll-to-anchor-name.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/scroll-to-id-top-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/scroll-to-id-top.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/scroll-to-top-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/scroll-to-top.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/001-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/001.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/002-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/002.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/003-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/003.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/004-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/004.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/005-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/005.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/MANIFEST: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/base.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/beforeunload-on-history-back-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/beforeunload-on-history-back-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/beforeunload-on-history-back.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/beforeunload-on-navigation-of-parent-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/beforeunload-on-navigation-of-parent-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/beforeunload-on-navigation-of-parent-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/beforeunload-on-navigation-of-parent.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/contains.json: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/navigation-within-beforeunload-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/navigation-within-beforeunload-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/navigation-within-beforeunload-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/navigation-within-beforeunload.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/pagehide-on-history-forward-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/pagehide-on-history-forward-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/pagehide-on-history-forward.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/001-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/001-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/001-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/001.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/002-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/002-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/002.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/003-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/003.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/MANIFEST: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/manual-001.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/manual-002.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/manual-003.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/manual-004.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/manual-005.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/manual-006.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/next.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/001-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/001a.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/001b.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/002-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/002a.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/002b.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/003-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/003a.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/003b.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/004-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/004a.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/004b.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/005-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/005a.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/005b.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/support/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/001-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/001-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/001-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/001.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/002-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/002-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/002.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/003-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/003-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/003.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/004-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/004-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/004.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/006-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/006-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/006-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/006.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/007-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/007-2.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/007-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/007.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/008-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/008-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/008.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/009-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/009-expected.txt: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/009.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/MANIFEST: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/manual-001-1.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/manual-001.html: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/w3c-import.log: Added.
* web-platform-tests/html/browsers/browsing-the-web/unloading-documents/w3c-import.log: Added.
* web-platform-tests/html/browsers/history/the-history-interface/004-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/004.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/005-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/005.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/006-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/006.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/007-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/007.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/008-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/008.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/008.js: Added.
(test):
* web-platform-tests/html/browsers/history/the-history-interface/009-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/009-3.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/009-5.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/009-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/009.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/010-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/010-3.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/010-5.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/010-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/010.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/011-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/011.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/012-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/012.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/blank.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/blank2.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/blank3.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/combination_history_001-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/combination_history_001.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/combination_history_004-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/combination_history_004.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/combination_history_005-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/combination_history_005.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/combination_history_006-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/combination_history_006.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/combination_history_007-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/combination_history_007.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history.js: Added.
(parse_query):
(onunload):
* web-platform-tests/html/browsers/history/the-history-interface/history_back-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_back-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_back.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_back_1-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_back_1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_entry.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_forward-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_forward-2.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_forward-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_forward.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_forward_1-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_forward_1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_minus-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_minus.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_no_argument-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_no_argument-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_no_argument.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_plus-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_plus.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_undefined-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_undefined-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_undefined.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_zero-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_zero-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_go_zero.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_pushstate-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_pushstate.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_pushstate_err-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_pushstate_err.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_pushstate_nooptionalparam-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_pushstate_nooptionalparam.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_replacestate-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_replacestate.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_replacestate_err-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_replacestate_err.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_replacestate_nooptionalparam-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_replacestate_nooptionalparam.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_state-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/history_state.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/joint_session_history/001-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/joint_session_history/001-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/joint_session_history/001.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/joint_session_history/002-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/joint_session_history/002-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/joint_session_history/002.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/joint_session_history/filler.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/joint_session_history/w3c-import.log: Added.
* web-platform-tests/html/browsers/history/the-history-interface/non-automated/history.js: Added.
(parse_query):
(onunload):
* web-platform-tests/html/browsers/history/the-history-interface/non-automated/history_entry.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/non-automated/traverse_the_history_unload_prompt_1-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/non-automated/traverse_the_history_unload_prompt_2-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/non-automated/traverse_the_session_history_unload_prompt_1-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/non-automated/traverse_the_session_history_unload_prompt_1-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/non-automated/traverse_the_session_history_unload_prompt_1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/non-automated/w3c-import.log: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_1-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_1-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_2-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_2-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_2.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_3-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_4-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_4-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_4.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_5-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_5-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_5.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_unload_1-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_unload_1-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_unload_1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_1-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_1-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_2-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_2-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_2.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_2-1.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_2-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-history-interface/traverse_the_history_write_onload_2.html: Added.
* web-platform-tests/html/browsers/history/the-history-interface/w3c-import.log: Added.
* web-platform-tests/html/browsers/history/the-location-interface/allow_prototype_cycle_through_location.sub-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/allow_prototype_cycle_through_location.sub.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/assign_after_load-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/assign_after_load-2.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/assign_before_load-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/assign_before_load-2.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/contains.json: Added.
* web-platform-tests/html/browsers/history/the-location-interface/cross_origin_joined_frame.sub.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/document_location-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/document_location.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location-stringifier-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location-stringifier.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_assign_about_blank-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_assign_about_blank-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_assign_about_blank.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_hash-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_hash.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_host-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_host.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_hostname-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_hostname.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_href-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_href.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_origin-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_origin.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_pathname-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_pathname.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_port-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_port.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_protocol-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_protocol.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_reload-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_reload-iframe.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_reload.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_replace-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_replace.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_search-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/location_search.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/non-automated/manual_click_assign_during_load-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/non-automated/manual_click_assign_during_load-2.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/non-automated/manual_click_location_replace_during_load-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/non-automated/manual_click_location_replace_during_load-2.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/non-automated/manual_form_submit_assign_during_load-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/non-automated/manual_form_submit_assign_during_load-2.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/non-automated/reload_in_resize-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/non-automated/w3c-import.log: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_document_open_write-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_document_open_write-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_document_open_write.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_document_write-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_document_write-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_document_write.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_document_write_onload-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_document_write_onload-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_document_write_onload.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_post_1-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_post_1-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/reload_post_1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/same_origin_frame.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_click_assign_during_load-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_click_assign_during_load-2.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_click_assign_during_load-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_click_assign_during_load.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load-2.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load-1.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load-2.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load.html: Added.
* web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub-expected.txt: Added.
* web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm: Added.
* web-platform-tests/html/browsers/history/the-location-interface/w3c-import.log: Added.
* web-platform-tests/html/browsers/offline/browser-state/navigator_online_online-expected.txt: Added.
* web-platform-tests/html/browsers/offline/browser-state/navigator_online_online.html: Added.
* web-platform-tests/html/browsers/offline/browser-state/w3c-import.log: Added.
* web-platform-tests/html/browsers/offline/changestonetworkingmodel/original-id.json: Added.
* web-platform-tests/html/browsers/offline/changestonetworkingmodel/w3c-import.log: Added.
* web-platform-tests/html/browsers/offline/introduction-4/contains.json: Added.
* web-platform-tests/html/browsers/offline/introduction-4/event_cached-expected.txt: Added.
* web-platform-tests/html/browsers/offline/introduction-4/event_cached.html: Added.
* web-platform-tests/html/browsers/offline/introduction-4/event_checking-expected.txt: Added.
* web-platform-tests/html/browsers/offline/introduction-4/event_checking.html: Added.
* web-platform-tests/html/browsers/offline/introduction-4/event_noupdate-expected.txt: Added.
* web-platform-tests/html/browsers/offline/introduction-4/event_noupdate.html: Added.
* web-platform-tests/html/browsers/offline/introduction-4/event_progress-expected.txt: Added.
* web-platform-tests/html/browsers/offline/introduction-4/event_progress.html: Added.
* web-platform-tests/html/browsers/offline/introduction-4/w3c-import.log: Added.
* web-platform-tests/html/browsers/offline/manifest_url_check-expected.txt: Added.
* web-platform-tests/html/browsers/offline/manifest_url_check.html: Added.
* web-platform-tests/html/browsers/offline/manifests/contains.json: Added.
* web-platform-tests/html/browsers/offline/manifests/w3c-import.log: Added.
* web-platform-tests/html/browsers/offline/resources/css/clock.css: Added.
(output):
* web-platform-tests/html/browsers/offline/resources/css/offline.css: Added.
(.connectivity):
* web-platform-tests/html/browsers/offline/resources/css/online.css: Added.
(.connectivity):
* web-platform-tests/html/browsers/offline/resources/css/result.css: Added.
(.manualpass):
(.manualfail):
(.pass):
(.fail):
* web-platform-tests/html/browsers/offline/resources/css/w3c-import.log: Added.
* web-platform-tests/html/browsers/offline/resources/html/clock.html: Added.
* web-platform-tests/html/browsers/offline/resources/html/w3c-import.log: Added.
* web-platform-tests/html/browsers/offline/resources/js/clock.js: Added.
(setTimeout):
* web-platform-tests/html/browsers/offline/resources/js/w3c-import.log: Added.
* web-platform-tests/html/browsers/offline/resources/manifest/clock.manifest: Added.
* web-platform-tests/html/browsers/offline/resources/manifest/section_empty.manifest: Added.
* web-platform-tests/html/browsers/offline/resources/manifest/section_many.manifest: Added.
* web-platform-tests/html/browsers/offline/resources/manifest/url_check.manifest: Added.
* web-platform-tests/html/browsers/offline/resources/manifest/w3c-import.log: Added.
* web-platform-tests/html/browsers/offline/w3c-import.log: Added.
* web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub-expected.txt: Added.
* web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html: Added.
* web-platform-tests/html/browsers/origin/cross-origin-objects/frame.html: Added.
* web-platform-tests/html/browsers/origin/cross-origin-objects/w3c-import.log: Added.
* web-platform-tests/html/browsers/origin/cross-origin-objects/win-documentdomain.sub.html: Added.
* web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain-expected.txt: Added.
* web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain.html: Added.
* web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/w3c-import.log: Added.
* web-platform-tests/html/browsers/the-window-object/Document-defaultView-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/Document-defaultView.html: Added.
* web-platform-tests/html/browsers/the-window-object/Window-document-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/Window-document.html: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/indexed-browsing-contexts-01-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/indexed-browsing-contexts-01.html: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/indexed-browsing-contexts-02-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/indexed-browsing-contexts-02.html: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/indexed-browsing-contexts-03-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/indexed-browsing-contexts-03.html: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/iterator-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/iterator.html: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/test1.html: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/test2.html: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/test3.html: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/w3c-import.log: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/window_length-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/accessing-other-browsing-contexts/window_length.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/callback.js: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_beforeunload-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_beforeunload-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_beforeunload.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_script_defer-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_script_defer-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_script_defer.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_unload-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_unload-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_unload.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/001-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/001-2.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/001.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/002-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/002-2.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/002.html: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/non_automated/w3c-import.log: Added.
* web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/w3c-import.log: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_1-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_1-2.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_1-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_1.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_2-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_2-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_2.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_3-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_3-2.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_3-3.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_3-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_3.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_4-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_4-2.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_4-3.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_4-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_4.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/non-automated/discard_iframe_history_1-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/non-automated/discard_iframe_history_1-2.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/non-automated/discard_iframe_history_2-1.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/non-automated/discard_iframe_history_2-2.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/non-automated/discard_iframe_history_2-3.html: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/non-automated/w3c-import.log: Added.
* web-platform-tests/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/w3c-import.log: Added.
* web-platform-tests/html/browsers/the-window-object/named-access-on-the-window-object/named-objects-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/named-access-on-the-window-object/named-objects.html: Added.
* web-platform-tests/html/browsers/the-window-object/named-access-on-the-window-object/test.html: Added.
* web-platform-tests/html/browsers/the-window-object/named-access-on-the-window-object/w3c-import.log: Added.
* web-platform-tests/html/browsers/the-window-object/named-access-on-the-window-object/window-null-names-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/named-access-on-the-window-object/window-null-names.html: Added.
* web-platform-tests/html/browsers/the-window-object/security-window/w3c-import.log: Added.
* web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/security-window/window-security.sub.html: Added.
* web-platform-tests/html/browsers/the-window-object/w3c-import.log: Added.
* web-platform-tests/html/browsers/the-window-object/window-aliases-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/window-aliases.html: Added.
* web-platform-tests/html/browsers/the-window-object/window-indexed-properties-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/window-indexed-properties-strict-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/window-indexed-properties-strict.html: Added.
* web-platform-tests/html/browsers/the-window-object/window-indexed-properties.html: Added.
* web-platform-tests/html/browsers/the-window-object/window-named-properties-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/window-named-properties.html: Added.
* web-platform-tests/html/browsers/the-window-object/window-properties-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/window-properties.html: Added.
* web-platform-tests/html/browsers/the-window-object/window-prototype-chain-expected.txt: Added.
* web-platform-tests/html/browsers/the-window-object/window-prototype-chain.html: Added.
* web-platform-tests/html/browsers/windows/auxiliary-browsing-contexts/contains.json: Added.
* web-platform-tests/html/browsers/windows/auxiliary-browsing-contexts/w3c-import.log: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/001-1.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/001-expected.txt: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/001.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/002-1.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/002-expected.txt: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/002.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/MANIFEST: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/browsing-context-choose-existing-expected.txt: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/browsing-context-choose-existing.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/browsing-context-choose-parent-expected.txt: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/browsing-context-choose-parent.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/browsing-context-choose-self-1-expected.txt: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/browsing-context-choose-self-1.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/browsing-context-choose-self-2-expected.txt: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/browsing-context-choose-self-2.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/browsing-context-default-name-expected.txt: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/browsing-context-default-name.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/existing.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/message.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/parent1.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/parent2.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/self1.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/self2.html: Added.
* web-platform-tests/html/browsers/windows/browsing-context-names/w3c-import.log: Added.
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/MANIFEST: Added.
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/contains.json: Added.
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub-expected.txt: Added.
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub.html: Added.
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/test.html: Added.
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/testcase3.html: Added.
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/w3c-import.log: Added.
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/window-top-001-expected.txt: Added.
* web-platform-tests/html/browsers/windows/nested-browsing-contexts/window-top-001.html: Added.
* web-platform-tests/html/browsers/windows/noreferrer-cross-origin-close-manual.sub.html: Added.
* web-platform-tests/html/browsers/windows/noreferrer-cross-origin-window-name.sub.html: Added.
* web-platform-tests/html/browsers/windows/noreferrer-expected.txt: Added.
* web-platform-tests/html/browsers/windows/noreferrer-window-name-expected.txt: Added.
* web-platform-tests/html/browsers/windows/noreferrer-window-name.html: Added.
* web-platform-tests/html/browsers/windows/noreferrer.html: Added.
* web-platform-tests/html/browsers/windows/support-close.html: Added.
* web-platform-tests/html/browsers/windows/support-named-null-opener.html: Added.
* web-platform-tests/html/browsers/windows/support-nested-browsing-contexts.html: Added.
* web-platform-tests/html/browsers/windows/support-opener-null.html: Added.
* web-platform-tests/html/browsers/windows/support-post-to-opener.html: Added.
* web-platform-tests/html/browsers/windows/support-window-name-echo.html: Added.
* web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub-expected.txt: Added.
* web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub.html: Added.
* web-platform-tests/html/browsers/windows/w3c-import.log: Added.

LayoutTests:

Skip resource files.

* TestExpectations:

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

3 years agoAdd a workaround for iOS Frameworks that expect DOM bindings to be in WebCore
andersca@apple.com [Tue, 23 Aug 2016 18:36:44 +0000 (18:36 +0000)]
Add a workaround for iOS Frameworks that expect DOM bindings to be in WebCore
https://bugs.webkit.org/show_bug.cgi?id=161093

Reviewed by Dan Bernstein.

Create a text-based stub library that looks enough like WebKitLegacy that we can trick the linker
into creating a LC_REEXPORT_DYLIB load command in WebCore.

* Configurations/WebCore.xcconfig:
Link against this WebKitLegacyStub tbd file on iOS 9.0, 9.3 and 10.0.

* Configurations/WebKitLegacyStub.iOS.tbd:
Add new tbd file.

* WebCore.xcodeproj/project.pbxproj:
Add new files.

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

3 years ago[ES6] Modules' `export default function/class` should be declaration
utatane.tea@gmail.com [Tue, 23 Aug 2016 18:14:30 +0000 (18:14 +0000)]
[ES6] Modules' `export default function/class` should be declaration
https://bugs.webkit.org/show_bug.cgi?id=160499

Reviewed by Saam Barati.

JSTests:

Add several module tests. And flip the failed tests flags in test262.

* modules/export-default-function-name-in-assignment-expression.js: Added.
(export.default):
* modules/export-default-function-name-in-class-declaration.js: Added.
* modules/export-default-function-name-in-function-declaration.js: Added.
(export.default):
* modules/export-default-function-name-in-generator-declaration.js: Added.
(export.default):
* stress/method-name.js: Added.
(testSyntax):
(testSyntaxError):
(testSyntaxError.Hello.prototype.hello.hello):
(testSyntaxError.Hello):
(SyntaxError.Unexpected.identifier.string_appeared_here.Expected.an.opening.string_appeared_here.before.a.method.testSyntaxError.let.obj.hello.hello):
(testSyntaxError.Hello.prototype.get hello):
(testSyntaxError.Hello.prototype.set hello):
* test262.yaml:

Source/JavaScriptCore:

Previously, we parsed the following cases as FunctionExpression and ClassExpression.

    ```
    export default function () { }
    export default class { }
    ```

But, as per ES6 spec, the above `function ...` and `class ...` parts should be parsed
as function declaration and class declaration. This has big difference; the instantiation
of the function declarations are done in the function prologue.

In this patch, we correctly parse the above cases as declaration. To handle no-named
declarations, we add a new flag, DeclarationDefaultContext. This indicates [Default]
flag in the ES6 spec's BNF.

Furthermore, this patch also fixes the following name related bugs.

1. The bug related to "export default"'s function name. If the name is not provided (like the above case), the name of the function becomes
"default", not "*default*". This is special handling in ES6 spec. We handle this in JSFunction's reifyName.

2. `class Hello { hello hello() { } }` is accepted. We introduced FunctionRequirements::Unnamed and fix this bug.

* parser/ModuleScopeData.h:
(JSC::ModuleScopeData::exportBinding):
Exported names are already guranteed uniqueness by m_exportedNames. Not necessary to use set here. Use vector instead.

* parser/Parser.cpp:
(JSC::Parser<LexerType>::parseFunctionInfo):
If we pass FunctionRequirements::NoRequirements, we need to initialize functionInfo.name / classInfo.className
with the default fallback name. For example, in the above `export default` case, we initialize it with `*default*`.

(JSC::Parser<LexerType>::parseFunctionDeclaration):
(JSC::Parser<LexerType>::parseClassDeclaration):
(JSC::Parser<LexerType>::parseClass):
(JSC::Parser<LexerType>::parseExportDeclaration):
(JSC::Parser<LexerType>::parsePropertyMethod):
(JSC::Parser<LexerType>::parseGetterSetter):
(JSC::Parser<LexerType>::parseClassExpression):
(JSC::Parser<LexerType>::parseFunctionExpression):
(JSC::Parser<LexerType>::parsePrimaryExpression):
(JSC::Parser<LexerType>::parseArrowFunctionExpression):
* parser/Parser.h:
* runtime/JSFunction.cpp:
(JSC::JSFunction::reifyName):

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

3 years agoUnreviewed, rolling out r204243.
cdumez@apple.com [Tue, 23 Aug 2016 18:09:21 +0000 (18:09 +0000)]
Unreviewed, rolling out r204243.

Caused some layout test failures

Reverted changeset:

"Write API test to cover crash fix in r204135"
https://bugs.webkit.org/show_bug.cgi?id=160587
http://trac.webkit.org/changeset/204243

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

3 years agoJIT::updateTopCallframe() in the baseline JIT should use PC instead of PC+1
sbarati@apple.com [Tue, 23 Aug 2016 17:32:52 +0000 (17:32 +0000)]
JIT::updateTopCallframe() in the baseline JIT should use PC instead of PC+1
https://bugs.webkit.org/show_bug.cgi?id=158955

Reviewed by Mark Lam.

This will make the baseline JIT consistent with the rest of the tiers.

* jit/JITInlines.h:
(JSC::JIT::updateTopCallFrame):

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

3 years agoCanvasRenderingContext2D should not have a CanvasRenderingContext parent interface
cdumez@apple.com [Tue, 23 Aug 2016 15:34:09 +0000 (15:34 +0000)]
CanvasRenderingContext2D should not have a CanvasRenderingContext parent interface
https://bugs.webkit.org/show_bug.cgi?id=161054

Reviewed by Ryosuke Niwa.

LayoutTests/imported/w3c:

Rebaseline W3C test now that more checks are passing.

* web-platform-tests/html/dom/interfaces-expected.txt:

Source/WebCore:

CanvasRenderingContext2D should not have a CanvasRenderingContext parent interface
as per:
- https://html.spec.whatwg.org/multipage/scripting.html#canvasrenderingcontext2d

Firefox and Chrome agree with the specification.

No new tests, rebaselined existing test.

* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSBindingsAllInOne.cpp:
* bindings/js/JSCanvasRenderingContext.h: Renamed from Source/WebCore/bindings/js/JSCanvasRenderingContextCustom.cpp.
(WebCore::toJS):
* bindings/js/JSCanvasRenderingContext2DCustom.cpp:
(WebCore::JSCanvasRenderingContext2DOwner::isReachableFromOpaqueRoots):
(WebCore::JSCanvasRenderingContext2D::visitAdditionalChildren):
* bindings/js/JSDocumentCustom.cpp:
(WebCore::JSDocument::getCSSCanvasContext):
(WebCore::JSDocument::createTouchList): Deleted.
* bindings/js/JSHTMLCanvasElementCustom.cpp:
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
* dom/Document.idl:
* html/canvas/CanvasRenderingContext.idl: Removed.
* html/canvas/CanvasRenderingContext2D.idl:
* html/canvas/WebGL2RenderingContext.idl:
* html/canvas/WebGLRenderingContext.idl:
* html/canvas/WebGLRenderingContextBase.idl:

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

3 years agoOrder feature option list in FeatureList.pm
commit-queue@webkit.org [Tue, 23 Aug 2016 13:39:30 +0000 (13:39 +0000)]
Order feature option list in FeatureList.pm
https://bugs.webkit.org/show_bug.cgi?id=161074

Patch by Rawinder Singh <rawinder.singh-webkit@cisra.canon.com.au> on 2016-08-23
Reviewed by Michael Catanzaro.

Reorder features in alphabetical order based on command line option. Also, sort variables in alphabetical order.

* Scripts/webkitperl/FeatureList.pm:

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

3 years agoShare and improve extraction of character for operator and token elements
fred.wang@free.fr [Tue, 23 Aug 2016 13:36:26 +0000 (13:36 +0000)]
Share and improve extraction of character for operator and token elements
https://bugs.webkit.org/show_bug.cgi?id=160462

Patch by Frederic Wang <fwang@igalia.com> on 2016-08-03
Reviewed by Darin Adler.

No new tests, already covered by existing tests.

* mathml/MathMLElement.cpp:
(WebCore::MathMLElement::stripLeadingAndTrailingWhitespace): Make this a protected member of
MathMLElement so that it can be used in MathMLTokenElement.
(WebCore::skipLeadingAndTrailingWhitespace): Deleted.
* mathml/MathMLElement.h: Declare stripLeadingAndTrailingWhitespace.
* mathml/MathMLOperatorElement.cpp:
(WebCore::MathMLOperatorElement::parseOperatorChar): Use convertToSingleCodePoint to extract
a code point more efficiently. For now, we continue to only handle BMP characters.
* mathml/MathMLTokenElement.cpp:
(WebCore::MathMLTokenElement::convertToSingleCodePoint): Helper function to try and convert a
string to a single code point after having removed leading and trailing space.
* mathml/MathMLTokenElement.h: Declare convertToSingleCodePoint.
* rendering/mathml/RenderMathMLToken.cpp:
(WebCore::RenderMathMLToken::updateMathVariantGlyph): Use convertToSingleCodePoint to extract
a code point more efficiently.

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

3 years ago[WK2] http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade...
commit-queue@webkit.org [Tue, 23 Aug 2016 12:14:05 +0000 (12:14 +0000)]
[WK2] http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-fetch-in-main-frame.html fails
https://bugs.webkit.org/show_bug.cgi?id=161052
<rdar://problem/27954577>

Unreviewed.

Patch by Youenn Fablet <youenn@apple.com> on 2016-08-23

* platform/mac-wk2/TestExpectations: Adding Failure/Timeout expectation to
http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-fetch-in-main-frame.html
* platform/wk2/TestExpectations: Removing Timeout expectation from
http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-fetch-in-main-frame.html

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

3 years agoRename MathMLInlineContainerElement to MathMLPresentationElement
fred.wang@free.fr [Tue, 23 Aug 2016 11:36:28 +0000 (11:36 +0000)]
Rename MathMLInlineContainerElement to MathMLPresentationElement
https://bugs.webkit.org/show_bug.cgi?id=161053

Patch by Frederic Wang <fwang@igalia.com> on 2016-08-23
Reviewed by Manuel Rego Casasnovas.

MathMLInlineContainerElement sounds a bad name for something that is now going to produce
RenderMathMLBlocks. MathML has two kinds of markup (presentation MathML and content MathML).
We only implement presentation MathML and most of the MathML elements are currently
implemented as MathMLInlineContainerElement. Hence we rename MathMLInlineContainerElement
to MathMLPresentationElement and will move more code from MathMLElement into that new class
in follow-up bugs. Also, other elements in the MathML namespace could be handled by a
separate MathMLUnknownElement class for consistency with SVG and HTML classes.

No new tests, behavior is unchanged.

* CMakeLists.txt: Rename MathMLInlineContainerElement to MathMLPresentationElement.
* WebCore.xcodeproj/project.pbxproj: Ditto.
* mathml/MathMLAllInOne.cpp: Ditto.
* mathml/MathMLFractionElement.cpp: Ditto.
* mathml/MathMLFractionElement.h: Ditto.
* mathml/MathMLPresentationElement.cpp: Ditto.
* mathml/MathMLPresentationElement.h: Ditto.
* mathml/MathMLRowElement.cpp: Ditto.
* mathml/MathMLRowElement.h: Ditto.
* mathml/MathMLScriptsElement.cpp: Ditto.
* mathml/MathMLScriptsElement.h: Ditto.
* mathml/mathtags.in: Ditto.
* rendering/mathml/RenderMathMLFraction.h: Remove useless include.

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

3 years agoImplement redirect support post CORS-preflight
commit-queue@webkit.org [Tue, 23 Aug 2016 10:18:38 +0000 (10:18 +0000)]
Implement redirect support post CORS-preflight
https://bugs.webkit.org/show_bug.cgi?id=159056

Patch by Youenn Fablet <youenn@apple.com> on 2016-08-23
Reviewed by Alex Christensen.

LayoutTests/imported/w3c:

* web-platform-tests/fetch/api/cors/cors-redirect-preflight-expected.txt: Added.
* web-platform-tests/fetch/api/cors/cors-redirect-preflight-worker-expected.txt: Added.
* web-platform-tests/fetch/api/cors/cors-redirect-preflight-worker.html: Added.
* web-platform-tests/fetch/api/cors/cors-redirect-preflight.html: Added.
* web-platform-tests/fetch/api/cors/cors-redirect-preflight.js: Added.
(corsRedirect):

Source/WebCore:

Tests: imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-preflight-worker.html
       imported/w3c/web-platform-tests/fetch/api/cors/cors-redirect-preflight.html
Covered also by rebased tests.

Enabling to follow cross-origin redirections for not-simple requests, through preflight checks.
Making sure that same-origin redirections to cross-origin resources use preflight if they are not simple.

* loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::redirectReceived):

LayoutTests:

* TestExpectations: Skipping new fetch worker test in Debug mode as it may crash and disrupt other tests.
* http/tests/xmlhttprequest/access-control-and-redirects-async-expected.txt:
* http/tests/xmlhttprequest/redirections-and-user-headers-expected.txt:
* http/tests/xmlhttprequest/redirections-and-user-headers.html:

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

3 years agoIntroduce a MathMLRowElement class for mrow-like elements
fred.wang@free.fr [Tue, 23 Aug 2016 08:28:07 +0000 (08:28 +0000)]
Introduce a MathMLRowElement class for mrow-like elements
https://bugs.webkit.org/show_bug.cgi?id=161050

Reviewed by Darin Adler.

We introduce a MathMLRowElement class for elements creating RenderMathMLRow renderers.
We also force constructors of the corresponding renderer classes to accept MathMLRowElement.
It's not clear whether semantics-xml really needs to create RenderMathMLRow but for now
we make MathMLAnnotationElement inherits from MathMLRowElement to preserve that behavior.

No new tests, behavior is unchanged.

* CMakeLists.txt: Add MathMLRowElement files.
* WebCore.xcodeproj/project.pbxproj: Ditto.
* mathml/MathMLAllInOne.cpp: Ditto.
* mathml/MathMLInlineContainerElement.cpp: Remove unused headers.
(WebCore::MathMLInlineContainerElement::createElementRenderer): Handle some mrow-like
elements in the MathMLRowElement class.
(WebCore::MathMLInlineContainerElement::acceptsDisplayStyleAttribute): Ditto.
(WebCore::MathMLInlineContainerElement::childrenChanged): Deleted. We only need to calculate
the form for operators inside a MathMLRowElement.
(WebCore::MathMLInlineContainerElement::acceptsMathVariantAttribute): Deleted. mstyle is
handled in the MathMLRowElement class.
* mathml/MathMLInlineContainerElement.h: Update function declarations.
* mathml/MathMLMathElement.cpp: Make this class inherits from MathMLRowElement.
* mathml/MathMLMathElement.h: Ditto.
* mathml/MathMLPaddedElement.cpp: Ditto.
* mathml/MathMLPaddedElement.h: Ditto.
* mathml/MathMLSelectElement.cpp: Ditto.
* mathml/MathMLSelectElement.h: Ditto.
* mathml/MathMLAnnotationElement.cpp: Ditto.
* mathml/MathMLAnnotationElement.h: Ditto.
* mathml/MathMLRowElement.cpp: New class for mrow-like element.
(WebCore::MathMLRowElement::MathMLRowElement):
(WebCore::MathMLRowElement::create):
(WebCore::MathMLRowElement::childrenChanged): Move code from MathMLInlineContainerElement.
(WebCore::MathMLRowElement::createElementRenderer): Ditto.
(WebCore::MathMLRowElement::acceptsDisplayStyleAttribute): Ditto.
(WebCore::MathMLRowElement::acceptsMathVariantAttribute): Ditto.
* mathml/MathMLRowElement.h:
* mathml/mathtags.in: Map tags creating RenderMathMLRow renderers to MathMLRowElement.
* rendering/mathml/RenderMathMLFenced.cpp: Force the constructor to take MathMLRowElement.
* rendering/mathml/RenderMathMLFenced.h: Ditto.
* rendering/mathml/RenderMathMLMath.cpp: Ditto.
* rendering/mathml/RenderMathMLMath.h: Ditto.
* rendering/mathml/RenderMathMLMenclose.cpp: Force the constructor to take MathMLMencloseElement.
* rendering/mathml/RenderMathMLMenclose.h: Ditto.
* rendering/mathml/RenderMathMLRoot.cpp: Force the constructor to take MathMLRowElement.
* rendering/mathml/RenderMathMLRoot.h: Ditto.
* rendering/mathml/RenderMathMLRow.cpp: Ditto and add an helper function element() to
retrieve the MathMLRowElement.
* rendering/mathml/RenderMathMLRow.h: Ditto.

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

3 years ago[EFL] URTBF after r204743.
hs85.jeong@samsung.com [Tue, 23 Aug 2016 07:35:25 +0000 (07:35 +0000)]
[EFL] URTBF after r204743.

* Shared/WebBatteryStatus.cpp: Remove Arguments.h.

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

3 years agoWeb Inspector: Add visual editor for spring() timing-function
commit-queue@webkit.org [Tue, 23 Aug 2016 07:23:24 +0000 (07:23 +0000)]
Web Inspector: Add visual editor for spring() timing-function
https://bugs.webkit.org/show_bug.cgi?id=159315

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-08-23
Reviewed by Joseph Pecoraro.

* Localizations/en.lproj/localizedStrings.js:
* UserInterface/Main.html:

* UserInterface/Base/Utilities.js:
(Number.prototype.maxDecimals):
Limits the number of decimals for the number object via rounding.

* UserInterface/Controllers/CodeMirrorSpringEditingController.js:
(WebInspector.CodeMirrorSpringEditingController.prototype.get initialValue):
(WebInspector.CodeMirrorSpringEditingController.prototype.get cssClassName):
(WebInspector.CodeMirrorSpringEditingController.prototype.popoverWillPresent):
(WebInspector.CodeMirrorSpringEditingController.prototype.popoverDidPresent):
(WebInspector.CodeMirrorSpringEditingController.prototype.popoverDidDismiss):
(WebInspector.CodeMirrorSpringEditingController.prototype._springEditorSpringChanged):
Controller for Spring editors inside CodeMirror instances.

* UserInterface/Models/Geometry.js:
(WebInspector.Spring):
(WebInspector.Spring.fromValues):
(WebInspector.Spring.fromString):
(WebInspector.Spring.prototype.copy):
(WebInspector.Spring.prototype.toString):
(WebInspector.Spring.prototype.solve):
(WebInspector.Spring.prototype.calculateDuration):
Spring data class based on <https://webkit.org/demos/spring/>.

* UserInterface/Models/TextMarker.js:
(WebInspector.TextMarker.Type):
Added Spring marker type.

* UserInterface/Views/CSSStyleDeclarationTextEditor.js:
(WebInspector.CSSStyleDeclarationTextEditor.prototype._createInlineSwatches):
(WebInspector.CSSStyleDeclarationTextEditor.prototype._createInlineSwatches.update):
(WebInspector.CSSStyleDeclarationTextEditor.prototype._inlineSwatchValueChanged):
(WebInspector.CSSStyleDeclarationTextEditor.prototype._inlineSwatchValueChanged.update):

* UserInterface/Views/CodeMirrorTextMarkers.js:
(createCodeMirrorSpringTextMarkers):

* UserInterface/Views/InlineSwatch.css:
(.inline-swatch:matches(.bezier, .spring)):
(.inline-swatch:matches(.bezier, .spring):hover):
(.inline-swatch:matches(.bezier, .spring):active):
(.inline-swatch:matches(.bezier, .spring) > span):
(.inline-swatch.bezier): Deleted.
(.inline-swatch.bezier:hover): Deleted.
(.inline-swatch.bezier:active): Deleted.
(.inline-swatch.bezier > span): Deleted.

* UserInterface/Views/InlineSwatch.js:
(WebInspector.InlineSwatch):
(WebInspector.InlineSwatch.prototype._fallbackValue):
(WebInspector.InlineSwatch.prototype._swatchElementClicked):
(WebInspector.InlineSwatch.prototype._valueEditorValueDidChange):
(WebInspector.InlineSwatch.Type):
Added support for Spring editor Inline Swatches.

* UserInterface/Views/SourceCodeTextEditor.js:
(WebInspector.SourceCodeTextEditor.prototype._updateEditableMarkers):
(WebInspector.SourceCodeTextEditor.prototype._tokenTrackingControllerHighlightedMarkedExpression):

* UserInterface/Views/SpringEditor.css:
(.spring-editor):
(.spring-editor > .spring-preview):
(.spring-editor > .spring-preview > div):
(.spring-editor > .spring-timing):
(.spring-editor > .spring-timing > div):
(.spring-editor > .spring-timing:matches(::before, ::after)):
(.spring-editor > .spring-timing::before):
(.spring-editor > .spring-timing::after):
(.spring-editor > :matches(.spring-preview, .spring-timing) > div):
(.spring-editor > .animate:matches(.spring-preview, .spring-timing) > div):
(.spring-editor > .number-input-container > .number-input-row):
(.spring-editor > .number-input-container > .number-input-row > .number-input-row-title):
(.spring-editor > .number-input-container > .number-input-row > input):
(.spring-editor > .number-input-container > .number-input-row > input[type="range"]):

* UserInterface/Views/SpringEditor.js:
(WebInspector.SpringEditor):
(WebInspector.SpringEditor.prototype.get element):
(WebInspector.SpringEditor.prototype.set spring):
(WebInspector.SpringEditor.prototype.get spring):
(WebInspector.SpringEditor.prototype._handleNumberInputInput):
(WebInspector.SpringEditor.prototype._handleNumberInputKeydown):
(WebInspector.SpringEditor.prototype._handleNumberSliderInput):
(WebInspector.SpringEditor.prototype._handleNumberSliderMousedown):
(WebInspector.SpringEditor.prototype._handleNumberSliderMouseup):
(WebInspector.SpringEditor.prototype._changeSpringForInput):
(WebInspector.SpringEditor.prototype._resetPreviewAnimation):
(WebInspector.SpringEditor.prototype._updatePreviewAnimation):
(WebInspector.SpringEditor.Event):
Visual editor for CSS Spring timing function values.  Organized into 5 rows:
 - Preview: shows movement of spring and total duration
 - Mass: slider and input for "mass" parameter
 - Stiffness: slider and input for "stiffness" parameter
 - Damping: slider and input for "damping" parameter
 - Initial Velocity: slider and input for "initial velocity" parameter
The preview animation will loop indefinitely until the user clicks the animation row
or changes the value of one of the parameters, at which point the duration will also
be recalculated.

* UserInterface/Views/TextEditor.js:
(WebInspector.TextEditor.prototype.createSpringMarkers):
(WebInspector.TextEditor.prototype.editingControllerForMarker):

* UserInterface/Views/VisualStyleCommaSeparatedKeywordEditor.js:
(WebInspector.VisualStyleCommaSeparatedKeywordEditor.prototype.set value):
(WebInspector.VisualStyleCommaSeparatedKeywordEditor.prototype._generateTextFromLonghandProperties):
Add support for CSS spring timing functions by allowing parenthesis in comma separated
values so long as there are no commas inside the parenthesis.

* UserInterface/Views/VisualStyleTimingEditor.css:
(.visual-style-property-container.timing-editor > .visual-style-property-value-container > .inline-swatch:matches(.bezier, .spring)):
(.visual-style-property-container.timing-editor > .visual-style-property-value-container:not(.spring-value) > .inline-swatch.spring):
(.visual-style-property-container.timing-editor > .visual-style-property-value-container > .inline-swatch.bezier): Deleted.
(.visual-style-property-container.timing-editor > .visual-style-property-value-container:not(.bezier-value) > .inline-swatch.bezier): Deleted.

* UserInterface/Views/VisualStyleTimingEditor.js:
(WebInspector.VisualStyleTimingEditor):
(WebInspector.VisualStyleTimingEditor.prototype.get value):
(WebInspector.VisualStyleTimingEditor.prototype.set value):
(WebInspector.VisualStyleTimingEditor.prototype.get synthesizedValue):
(WebInspector.VisualStyleTimingEditor.prototype.parseValue):
(WebInspector.VisualStyleTimingEditor.prototype.get _bezierValue):
(WebInspector.VisualStyleTimingEditor.prototype.set _bezierValue):
(WebInspector.VisualStyleTimingEditor.prototype.get _springValue):
(WebInspector.VisualStyleTimingEditor.prototype.set _springValue):
(WebInspector.VisualStyleTimingEditor.prototype._handleKeywordChanged):
(WebInspector.VisualStyleTimingEditor.prototype._springSwatchValueChanged):
(WebInspector.VisualStyleTimingEditor.prototype.get bezierValue): Renamed.
(WebInspector.VisualStyleTimingEditor.prototype.set bezierValue): Renamed.
Duplicate Bezier custom timing function logic for Spring timing functions.

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

3 years agoUse Messages::XXX...::Reply explicitly
utatane.tea@gmail.com [Tue, 23 Aug 2016 07:09:38 +0000 (07:09 +0000)]
Use Messages::XXX...::Reply explicitly
https://bugs.webkit.org/show_bug.cgi?id=161075

Reviewed by Carlos Garcia Campos.

std::tuple's constructor is annotated as `explicit`.
So we cannot use the implicit conversion here.
This causes the build failure in EFL and GTK.

Looking through code, the other places use ::Reply explicitly.
So in this patch, we follow that.

* WebProcess/Databases/IndexedDB/WebIDBConnectionToServer.cpp:
(WebKit::WebIDBConnectionToServer::WebIDBConnectionToServer):
* WebProcess/InjectedBundle/InjectedBundlePageFullScreenClient.cpp:
(WebKit::InjectedBundlePageFullScreenClient::supportsFullScreen):

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

3 years ago[Win] Warning fix.
pvollan@apple.com [Tue, 23 Aug 2016 07:07:19 +0000 (07:07 +0000)]
[Win] Warning fix.
https://bugs.webkit.org/show_bug.cgi?id=161043

Reviewed by Mark Lam.

Ignore warning about bit shift by too large amount.

* jit/PCToCodeOriginMap.cpp:

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

3 years agoDrop TextTrackCue's constructor as per the latest specification
cdumez@apple.com [Tue, 23 Aug 2016 06:44:02 +0000 (06:44 +0000)]
Drop TextTrackCue's constructor as per the latest specification
https://bugs.webkit.org/show_bug.cgi?id=161061

Reviewed by Alex Christensen.

LayoutTests/imported/w3c:

Rebaseline several W3C tests now that more checks are passing.

* web-platform-tests/html/dom/interfaces-expected.txt:
* web-platform-tests/html/semantics/embedded-content/media-elements/historical-expected.txt:

Source/WebCore:

Drop TextTrackCue's constructor as per the latest specification:
- https://html.spec.whatwg.org/#texttrackcue

Firefox and Chrome do not have this constructor. Web Authors
are supposed to use the VTTCue constructor instead.

No new tests, rebaselined existing tests.

* html/track/TextTrackCue.cpp:
(WebCore::TextTrackCue::TextTrackCue): Deleted.
* html/track/TextTrackCue.h:
(WebCore::TextTrackCue::cueShadowPseudoId): Deleted.
* html/track/TextTrackCue.idl:

LayoutTests:

Update existing tests to use VTTCue's constructor instead of
TextTrackCue's.

* js/dom/constructor-length.html:
* media/track/getCueAsHTMLCrash.html:
* media/track/opera/interfaces/TextTrack/activeCues.html:
* media/track/opera/interfaces/TextTrackCue/getCueAsHTML.html:
* media/track/opera/interfaces/TextTrackCue/line.html:
* media/track/opera/interfaces/TextTrackCue/onenter.html:
* media/track/opera/interfaces/TextTrackCue/onexit.html:
* media/track/opera/interfaces/TextTrackCue/snapToLines.html:
* media/track/opera/interfaces/TextTrackCue/text.html:
* media/track/opera/interfaces/TextTrackCue/vertical.html:
* media/track/opera/interfaces/TextTrackCueList/getter.html:
* media/track/opera/track/track-element/src-clear-cues.html:
* media/track/opera/track/webvtt/rendering/reftest/repaint.html:
* media/track/regions-webvtt/text-track-cue-region-attribute.html:
* media/track/track-add-remove-cue-expected.txt:
* media/track/track-add-remove-cue.html:
* media/track/track-cue-empty-cue-text.html:
* media/track/track-cue-empty-text-crash.html:
* media/track/track-cue-inline-assertion-crash.html:
* media/track/track-cue-negative-timestamp-expected.txt:
* media/track/track-cue-negative-timestamp.html:
* media/track/track-cue-rendering-empty-cue-crash.html:
* media/track/track-cue-rendering-mode-changed.html:
* media/track/track-disabled-addcue.html:
* media/track/track-remove-active-cue-crash.html:
* media/track/w3c/interfaces/TextTrack/addCue.html:
* media/track/w3c/interfaces/TextTrack/cues.html:
* media/track/w3c/interfaces/TextTrack/removeCue.html:
* media/track/w3c/interfaces/TextTrackCue/align.html:
* media/track/w3c/interfaces/TextTrackCue/endTime.html:
* media/track/w3c/interfaces/TextTrackCue/id.html:
* media/track/w3c/interfaces/TextTrackCue/pauseOnExit.html:
* media/track/w3c/interfaces/TextTrackCue/startTime.html:
* media/track/w3c/interfaces/TextTrackCue/track.html:
* media/track/w3c/interfaces/TextTrackCueList/getCueById.html:
* media/track/w3c/interfaces/TextTrackCueList/length.html:
* media/video-controls-captions.html:
* platform/mac/js/dom/constructor-length-expected.txt:

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

3 years agoWeb Inspector: Styles -> Computed -> Box Model shows NaN x NaN for invisible elements
commit-queue@webkit.org [Tue, 23 Aug 2016 06:09:33 +0000 (06:09 +0000)]
Web Inspector: Styles -> Computed -> Box Model shows NaN x NaN for invisible elements
https://bugs.webkit.org/show_bug.cgi?id=161038

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-08-22
Reviewed by Joseph Pecoraro.

* UserInterface/Base/Utilities.js:
Add figureDash variable.

* UserInterface/Views/BoxModelDetailsSectionRow.js:
(WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createElement):
(WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createBoxPartElement):
Moved isNaN check of value to common createElement.

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

3 years agoWeb Inspector: Visual styles sidebar should do something sane for SVG elements
commit-queue@webkit.org [Tue, 23 Aug 2016 05:56:45 +0000 (05:56 +0000)]
Web Inspector: Visual styles sidebar should do something sane for SVG elements
https://bugs.webkit.org/show_bug.cgi?id=148269

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-08-22
Reviewed by Joseph Pecoraro.

* Localizations/en.lproj/localizedStrings.js:

* UserInterface/Models/DOMNode.js:
(WebInspector.DOMNode.prototype.get ownerSVGElement):
(WebInspector.DOMNode.prototype.isSVGElement):
Climbs ancestor tree to determine if node is an SVG node.

* UserInterface/Views/VisualStyleDetailsPanel.js:
(WebInspector.VisualStyleDetailsPanel.prototype.initialLayout):
(WebInspector.VisualStyleDetailsPanel.prototype._updateSections):
(WebInspector.VisualStyleDetailsPanel.prototype._populatePositionSection):
(WebInspector.VisualStyleDetailsPanel.prototype._populateDimensionsSection):
(WebInspector.VisualStyleDetailsPanel.prototype._populateContentSection):
(WebInspector.VisualStyleDetailsPanel.prototype._populateFillSection):
(WebInspector.VisualStyleDetailsPanel.prototype._populateStrokeSection):

* UserInterface/Views/VisualStylePropertyEditor.css:
(.visual-style-property-container.inactive):
(.visual-style-property-container > *:first-child:matches(.visual-style-property-value-container)):

* UserInterface/Views/VisualStyleRelativeNumberSlider.css:
(.visual-style-property-container.number-input-box.relative-number-slider > .relative-slider):

* UserInterface/Views/VisualStyleUnitSlider.css:
(.visual-style-property-container.unit-slider > .visual-style-property-value-container > .slider):
(.visual-style-property-container.unit-slider.opacity > .visual-style-property-value-container > .slider): Deleted.

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

3 years agoWeb Inspector: Visual Styles: "Text -> Content" section should only be visible for...
commit-queue@webkit.org [Tue, 23 Aug 2016 05:34:42 +0000 (05:34 +0000)]
Web Inspector: Visual Styles: "Text -> Content" section should only be visible for pseudo-element
https://bugs.webkit.org/show_bug.cgi?id=158272

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-08-22
Reviewed by Joseph Pecoraro.

* Localizations/en.lproj/localizedStrings.js:

* UserInterface/Views/VisualStyleDetailsPanel.css:
(.sidebar > .panel.details.css-style .visual > .details-section :matches(.details-section, .group).inactive):
(.sidebar > .panel.details.css-style .visual > .details-section :matches(.details-section, .group).inactive > *):
(.visual-style-property-container.transition): Deleted.
(.visual-style-property-container.animation): Deleted.

* UserInterface/Views/VisualStyleDetailsPanel.js:
(WebInspector.VisualStyleDetailsPanel.prototype.initialLayout):
(WebInspector.VisualStyleDetailsPanel.prototype._updateSections):
(WebInspector.VisualStyleDetailsPanel.prototype._populateContentSection):

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

3 years agoStop python icon bouncing in the dock while running browser benchmarks.
dewei_zhu@apple.com [Tue, 23 Aug 2016 05:12:51 +0000 (05:12 +0000)]
Stop python icon bouncing in the dock while running browser benchmarks.
https://bugs.webkit.org/show_bug.cgi?id=161066

Reviewed by Ryosuke Niwa.

Bouncing python icon may impact browser benchmark results.
* Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
(OSXBrowserDriver.prepare_env):
(OSXBrowserDriver.restore_env):

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

3 years agoWeb Inspector: Entering ":n" in Open Resource Dialog, where n > number of lines,...
commit-queue@webkit.org [Tue, 23 Aug 2016 05:12:32 +0000 (05:12 +0000)]
Web Inspector: Entering ":n" in Open Resource Dialog, where n > number of lines, should jump to the last line
https://bugs.webkit.org/show_bug.cgi?id=160840

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-08-22
Reviewed by Joseph Pecoraro.

* UserInterface/Views/TextEditor.js:
(TextEditor.prototype.revealPosition):
Limit the given line and column to the maximum number of lines and the column count on the
resulting line.

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

3 years agoWeb Inspector: Add indicator to matched selector being a pseudo-element
commit-queue@webkit.org [Tue, 23 Aug 2016 04:47:27 +0000 (04:47 +0000)]
Web Inspector: Add indicator to matched selector being a pseudo-element
https://bugs.webkit.org/show_bug.cgi?id=160893

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-08-22
Reviewed by Joseph Pecoraro.

Instead of using "{}" icons for CSS rules, use a "P" icon with the same coloring to identify
that the rule contains a pseudo-selector that is currently being applied to the selected element.

* UserInterface/Base/Utilities.js:
(Array.prototype.toggleIncludes):
Toggles whether or not to include the given value in the array based on its existence or a
"force" flag parameter.

* UserInterface/Images/StyleRuleAuthorPseudo.svg:
* UserInterface/Images/StyleRuleInspectorPseudo.svg:
* UserInterface/Images/StyleRuleUserAgentPseudo.svg:
* UserInterface/Images/StyleRuleUserPseudo.svg:

* UserInterface/Models/CSSRule.js:
(WebInspector.CSSRule.prototype.hasMatchedPseudoElementSelector):

* UserInterface/Models/CSSSelector.js:
(WebInspector.CSSSelector.prototype.isPseudoElementSelector):

* UserInterface/Views/CSSStyleDeclarationSection.js:
(WebInspector.CSSStyleDeclarationSection.prototype.refresh):

* UserInterface/Views/StyleRuleIcons.css:
(.author-style-rule-icon.pseudo-element-selector .icon):
(.user-style-rule-icon.pseudo-element-selector .icon):
(.user-agent-style-rule-icon.pseudo-element-selector .icon):
(.inspector-style-rule-icon.pseudo-element-selector .icon):

 * UserInterface/Views/VisualStyleSelectorTreeItem.js:
(WebInspector.VisualStyleSelectorTreeItem):
(WebInspector.VisualStyleSelectorTreeItem.prototype.get iconClassName):
(WebInspector.VisualStyleSelectorTreeItem.prototype._updateSelectorIcon):

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

3 years agoUnreviewed, update failure list of iOS simulator WK1 compositing test.
jiewen_tan@apple.com [Tue, 23 Aug 2016 01:49:58 +0000 (01:49 +0000)]
Unreviewed, update failure list of iOS simulator WK1 compositing test.

* platform/ios-simulator-wk1/TestExpectations:

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

3 years agoUnreviewed, iOS simulator WK1 tests gardening.
jiewen_tan@apple.com [Tue, 23 Aug 2016 01:32:49 +0000 (01:32 +0000)]
Unreviewed, iOS simulator WK1 tests gardening.

Move the following tests from failure to pass:
compositing/iframes/become-composited-nested-iframes.html,
compositing/images/clip-on-directly-composited-image.html,
compositing/overflow/dynamic-composited-scrolling-status.html.

* platform/ios-simulator-wk1/TestExpectations:
* platform/ios-simulator-wk2/TestExpectations:
* platform/ios-simulator/TestExpectations:

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

3 years agoUnreviewed, iOS simulator WK1 tests rebasing.
jiewen_tan@apple.com [Tue, 23 Aug 2016 01:04:42 +0000 (01:04 +0000)]
Unreviewed, iOS simulator WK1 tests rebasing.

* platform/ios-simulator-wk1/compositing/absolute-inside-out-of-view-fixed-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/backing/backface-visibility-in-3dtransformed-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/backing/border-radius-no-backing-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/backing/filter-no-backing-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/backing/masked-child-no-backing-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/backing/no-backing-for-opacity-0-child-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/backing/replaced-child-no-backing-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/backing/toggle-opacity-0-child-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/bounds-in-flipped-writing-mode-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/clip-child-by-non-stacking-ancestor-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/clipping/border-radius-overflow-hidden-stacking-context-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/columns/ancestor-clipped-in-paginated-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/columns/clipped-in-paginated-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/columns/composited-columns-vertical-rl-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/columns/composited-nested-columns-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/background-clip-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/background-color-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/body-background-painted-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/body-background-skipped-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/filter-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/hidden-with-visible-child-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/hidden-with-visible-text-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/layer-opacity-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/layer-transform-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/opaque-with-scrolled-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/overflow-hidden-child-layers-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/table-parts-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/contents-opaque/visibility-hidden-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/filters/sw-nested-shadow-overlaps-hw-nested-shadow-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/filters/sw-shadow-overlaps-hw-shadow-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/bounds-clipped-composited-child-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/bounds-ignores-hidden-dynamic-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/bounds-ignores-hidden-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/clip-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/clip-inside-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/fixed-transformed-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/flipped-writing-mode-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/foreground-layer-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/limit-layer-bounds-positioned-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/limit-layer-bounds-transformed-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/geometry/negative-text-indent-with-overflow-hidden-layer-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/iframes/become-overlapped-iframe-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/iframes/invisible-nested-iframe-hide-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/iframes/overlapped-iframe-iframe-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/iframes/resizer-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/mismatched-rotated-transform-animation-overlap-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/multiple-keyframes-animation-overlap-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/no-compositing-for-fixed-position-under-transform-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/overlap-animation-clipping-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/overlap-animation-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/overlap-child-layer-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/overlap-clipping-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/overlap-transformed-3d-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/overlap-transformed-and-clipped-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/overlap-transformed-layer-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/overlap-transformed-preserved-3d-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/overlap-transforms-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/rotate3d-overlap-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/scale-rotation-animation-overlap-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/scroll-partial-update-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/stacking-context-overlap-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/stacking-context-overlap-nested-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/subpixel-adjacent-layers-overlap-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/translate-animation-overlap-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/translate-scale-animation-overlap-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/translatez-overlap-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/layer-creation/will-change-change-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/masks/clip-path-composited-descendent-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/masks/mask-layer-size-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/media-controls-bar-appearance-big-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/media-controls-bar-appearance-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/overflow-trumps-transform-style-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/overflow/content-loses-scrollbars-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/overflow/resize-painting-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/regions/fixed-in-named-flow-clip-descendant-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/regions/fixed-in-named-flow-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/regions/fixed-in-named-flow-from-abs-in-named-flow-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/regions/fixed-in-named-flow-from-outflow-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/regions/fixed-in-named-flow-got-transformed-parent-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/regions/fixed-in-named-flow-lost-transformed-parent-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/regions/fixed-in-named-flow-overlap-composited-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/regions/fixed-in-named-flow-transformed-parent-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/regions/fixed-transformed-in-named-flow-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/repaint/positioned-movement-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/repaint/repaint-on-layer-grouping-change-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/rtl/rtl-relative-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/tiling/huge-layer-add-remove-child-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/video/video-object-position-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/visibility/layer-visible-content-expected.txt: Removed.
* platform/ios-simulator-wk1/compositing/visible-rect/backing-change-height-from-zero-expected.txt: Removed.
* platform/ios-simulator-wk2/compositing/layer-creation/overlap-animation-container-expected.txt: Removed.
* platform/ios-simulator/compositing/layer-creation/overlap-animation-container-expected.txt:

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

3 years agoUnreviewed, build fix on GCC environment
utatane.tea@gmail.com [Tue, 23 Aug 2016 00:43:13 +0000 (00:43 +0000)]
Unreviewed, build fix on GCC environment
https://bugs.webkit.org/show_bug.cgi?id=161058

std::forward is declared in <utility> header.

* bmalloc/ScopeExit.h:

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

3 years agoUnreviewed, rolling out r204745.
cdumez@apple.com [Tue, 23 Aug 2016 00:03:15 +0000 (00:03 +0000)]
Unreviewed, rolling out r204745.

Broke the Windows build

Reverted changeset:

"CanvasRenderingContext2D should not have a
CanvasRenderingContext parent interface"
https://bugs.webkit.org/show_bug.cgi?id=161054
http://trac.webkit.org/changeset/204745

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

3 years agoCanvasRenderingContext2D should not have a CanvasRenderingContext parent interface
cdumez@apple.com [Mon, 22 Aug 2016 23:23:26 +0000 (23:23 +0000)]
CanvasRenderingContext2D should not have a CanvasRenderingContext parent interface
https://bugs.webkit.org/show_bug.cgi?id=161054

Reviewed by Ryosuke Niwa.

LayoutTests/imported/w3c:

Rebaseline W3C test now that more checks are passing.

* web-platform-tests/html/dom/interfaces-expected.txt:

Source/WebCore:

CanvasRenderingContext2D should not have a CanvasRenderingContext parent interface
as per:
- https://html.spec.whatwg.org/multipage/scripting.html#canvasrenderingcontext2d

Firefox and Chrome agree with the specification.

No new tests, rebaselined existing test.

* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSBindingsAllInOne.cpp:
* bindings/js/JSCanvasRenderingContext.h: Renamed from Source/WebCore/bindings/js/JSCanvasRenderingContextCustom.cpp.
(WebCore::toJS):
* bindings/js/JSCanvasRenderingContext2DCustom.cpp:
(WebCore::JSCanvasRenderingContext2DOwner::isReachableFromOpaqueRoots):
(WebCore::JSCanvasRenderingContext2D::visitAdditionalChildren):
* bindings/js/JSDocumentCustom.cpp:
(WebCore::JSDocument::getCSSCanvasContext):
(WebCore::JSDocument::createTouchList): Deleted.
* bindings/js/JSHTMLCanvasElementCustom.cpp:
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
* dom/Document.idl:
* html/canvas/CanvasRenderingContext.idl: Removed.
* html/canvas/CanvasRenderingContext2D.idl:
* html/canvas/WebGL2RenderingContext.idl:
* html/canvas/WebGLRenderingContext.idl:
* html/canvas/WebGLRenderingContextBase.idl:

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

3 years agobmalloc: speed up the lock slow path
ggaren@apple.com [Mon, 22 Aug 2016 23:18:09 +0000 (23:18 +0000)]
bmalloc: speed up the lock slow path
https://bugs.webkit.org/show_bug.cgi?id=161058

Reviewed by Filip Pizlo.

It is generally accepted practice that a lock should yield instead of
spinning when a lock acquisition fails, to avoid wasting CPU and power.

There are two problems with this generally accepted practice:

(1) It's a fallacy that yielding is free. In reality, yielding itself
consumes CPU and power -- by performing a syscall, running the OS
scheduler, and possibly performing a context switch. (Instruments
traces of MallocBench show the cost of yielding.) Therefore, spinning a
little to avoid yielding can actually *save* CPU and power.

(2) std::this_thread_yield() on Darwin is way too aggressive: It not only
yields but also depresses your priority to absolute zero for 10ms. A
recent PLT trace showed a few spots where the main thread just gave up
on loading and rendering a page for 10ms so an unimportant background
task could run.

To correct these problems, this patch adds a little bit of spinning to
the bmalloc lock slow path.

Below are performance results on various CPUs.

Mac Pro (12 hyperthreaded cores = 24 threads):

                                                    Baseline                       Patch                           Δ
    Execution Time:
        message_one                                    173ms                       173ms
        message_many                                   953ms                       927ms              ^ 1.03x faster
        churn --parallel                                60ms                        41ms              ^ 1.46x faster
        list_allocate --parallel                       224ms                       143ms              ^ 1.57x faster
        tree_allocate --parallel                     1,190ms                       758ms              ^ 1.57x faster
        tree_churn --parallel                        1,517ms                       906ms              ^ 1.67x faster
        facebook --parallel                          6,519ms                     4,580ms              ^ 1.42x faster
        reddit --parallel                            5,097ms                     3,411ms              ^ 1.49x faster
        flickr --parallel                            4,903ms                     3,501ms               ^ 1.4x faster
        theverge --parallel                          6,641ms                     4,505ms              ^ 1.47x faster

        <geometric mean>                             1,158ms                       832ms              ^ 1.39x faster
        <arithmetic mean>                            2,728ms                     1,895ms              ^ 1.44x faster
        <harmonic mean>                                332ms                       240ms              ^ 1.38x faster

MacBook Air (2 hyperthreaded cores = 4 threads):

                                                    Baseline                       Patch                           Δ
    Execution Time:
        message_one                                    911ms                       907ms               ^ 1.0x faster
        message_many                                   515ms                       513ms               ^ 1.0x faster
        churn --parallel                               132ms                       134ms              ! 1.02x slower
        list_allocate --parallel                       104ms                       102ms              ^ 1.02x faster
        tree_allocate --parallel                       117ms                       111ms              ^ 1.05x faster
        tree_churn --parallel                          154ms                       151ms              ^ 1.02x faster
        facebook --parallel                            719ms                       687ms              ^ 1.05x faster
        reddit --parallel                              382ms                       341ms              ^ 1.12x faster
        flickr --parallel                              372ms                       345ms              ^ 1.08x faster
        theverge --parallel                            489ms                       444ms               ^ 1.1x faster

        <geometric mean>                               299ms                       287ms              ^ 1.04x faster
        <arithmetic mean>                              390ms                       374ms              ^ 1.04x faster
        <harmonic mean>                                227ms                       220ms              ^ 1.03x faster

iPad (2 cores = 2 threads):

    [ Doesn't run Ruby, so no pretty subtest output. ]

                                                    Baseline                       Patch                           Δ
    Execution Time:                                 174.14ms                     171.5ms              ^ 1.02x faster

* bmalloc.xcodeproj/project.pbxproj:

* bmalloc/ScopeExit.h: Added. A barebones very wimpy version of
WTF::ScopeExit.
(bmalloc::ScopeExit::ScopeExit):
(bmalloc::ScopeExit::~ScopeExit):
(bmalloc::makeScopeExit):

* bmalloc/StaticMutex.cpp:
(bmalloc::StaticMutex::lockSlowCase): Spin before yielding -- that's the
speedup. Don't spin if another CPU is already spinning. In theory, more
than one spinner accomplishes nothing, and I found that there's a cutoff
around 8 or 16 spinners that becomes performance negative on Mac Pro.

(Note: Another way to accomplish a similar result, if you don't want to
use a bit of state in the lock, is to spin for a random duration between
0 and aLot. I tested a version of WTF::WeakRandom with unsynchronized
static state and it worked great. But I ultimately opted for the explicit
bit because I thought it was clearer.)

* bmalloc/StaticMutex.h:
(bmalloc::StaticMutex::init): Initialize our new bit.

* bmalloc/ThreadSwitch.h: Added.
(bmalloc::threadSwitch): Don't call yield() on Darwin because it's too
aggressive. swtch() does what we want: Go run something else, without
any other side-effects.

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

3 years agoRemove Arguments.h
andersca@apple.com [Mon, 22 Aug 2016 22:44:42 +0000 (22:44 +0000)]
Remove Arguments.h
https://bugs.webkit.org/show_bug.cgi?id=161060

Reviewed by Tim Horton.

* Platform/IPC/Arguments.h: Removed.
(IPC::Arguments::Arguments): Deleted.
(IPC::Arguments::encode): Deleted.
(IPC::Arguments::decode): Deleted.
* Platform/IPC/Connection.h:
* Platform/IPC/HandleMessage.h:
* Shared/AssistedNodeInformation.cpp:
* Shared/Cocoa/DataDetectionResult.mm:
* Shared/EditorState.cpp:
* Shared/WebContextMenuItemData.cpp:
* Shared/WebMouseEvent.cpp:
* Shared/WebPlatformTouchPoint.cpp:
* Shared/WebPopupItem.cpp:
* Shared/WebTouchEvent.cpp:
* Shared/WebWheelEvent.cpp:
* Shared/ios/InteractionInformationAtPosition.mm:
* Shared/ios/WebPlatformTouchPointIOS.cpp:
* Shared/ios/WebTouchEventIOS.cpp:
* Shared/mac/WebGestureEvent.cpp:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
* WebProcess/WebPage/WebPage.cpp:

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

3 years agoMove tuple coding to ArgumentCoders.h
andersca@apple.com [Mon, 22 Aug 2016 22:10:43 +0000 (22:10 +0000)]
Move tuple coding to ArgumentCoders.h
https://bugs.webkit.org/show_bug.cgi?id=161059

Reviewed by Tim Horton.

* Platform/IPC/ArgumentCoders.h:
(IPC::TupleCoder::encode):
(IPC::TupleCoder::decode):
* Platform/IPC/Arguments.h:
(IPC::TupleCoder::encode): Deleted.
(IPC::TupleCoder::decode): Deleted.
* Scripts/webkit/messages.py:
(forward_declarations_and_headers):

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

3 years agoActually enable the WASM build.
keith_miller@apple.com [Mon, 22 Aug 2016 21:38:39 +0000 (21:38 +0000)]
Actually enable the WASM build.
https://bugs.webkit.org/show_bug.cgi?id=160933

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

Fix bug where we assumed that every frame would have a CodeBlock.

* inspector/ScriptCallStackFactory.cpp:
(Inspector::CreateScriptCallStackFunctor::operator()):

Source/WTF:

* wtf/FeatureDefines.h:

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

3 years agoSimplify the generated message structs
andersca@apple.com [Mon, 22 Aug 2016 21:31:55 +0000 (21:31 +0000)]
Simplify the generated message structs
https://bugs.webkit.org/show_bug.cgi?id=161057

Reviewed by Geoffrey Garen.

Use a class template to transform the Reply and Argument tuple types for encoding/decoding
instead of generating them for each message.

* Platform/IPC/HandleMessage.h:
(IPC::handleMessage):
(IPC::handleMessageDelayed):
* Scripts/webkit/messages.py:
(reply_type):
(message_to_struct_declaration):
(decode_type): Deleted.

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

3 years agoSkip the test in http/tests/navigation/ping-attribute in iOS WebKit 2
dbates@webkit.org [Mon, 22 Aug 2016 21:21:57 +0000 (21:21 +0000)]
Skip the test in http/tests/navigation/ping-attribute in iOS WebKit 2

Touch events are not supported in WebKit for iOS Simulator built with the public iOS SDK.
The tests simulate mouse events when run in DumpRenderTree. And simulating mouse events
is supported in WebKit for iOS Simulator built with the public iOS SDK.

* platform/ios-simulator-wk2/TestExpectations:

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

3 years agoRemove MessageRecorder
andersca@apple.com [Mon, 22 Aug 2016 21:11:17 +0000 (21:11 +0000)]
Remove MessageRecorder
https://bugs.webkit.org/show_bug.cgi?id=161022

Reviewed by Tim Horton.

* Platform/IPC/ArgumentCoders.cpp:
(IPC::ArgumentCoder<uuid_t>::encode): Deleted.
(IPC::ArgumentCoder<uuid_t>::decode): Deleted.
* Platform/IPC/ArgumentCoders.h:
* Platform/IPC/Connection.cpp:
(IPC::Connection::sendMessage):
(IPC::Connection::sendSyncMessage):
(IPC::Connection::sendSyncMessageFromSecondaryThread):
(IPC::Connection::dispatchSyncMessage): Deleted.
(IPC::Connection::dispatchMessage): Deleted.
* Platform/IPC/Connection.h:
* Platform/IPC/Encoder.cpp:
(IPC::Encoder::encodeHeader): Deleted.
* Platform/IPC/MessageRecorder.cpp: Removed.
(IPC::MessageRecorder::isEnabled): Deleted.
(IPC::MessageRecorder::recordOutgoingMessage): Deleted.
(IPC::MessageRecorder::recordIncomingMessage): Deleted.
(IPC::MessageRecorder::MessageProcessingToken::MessageProcessingToken): Deleted.
(IPC::MessageRecorder::MessageProcessingToken::~MessageProcessingToken): Deleted.
* Platform/IPC/MessageRecorder.h: Removed.
(IPC::MessageRecorder::MessageRecorder): Deleted.
* Platform/IPC/MessageRecorderProbes.d: Removed.
* WebKit2.xcodeproj/project.pbxproj:

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

3 years agoMake NetworkLoadTiming use double for higher precision in Resource Timing
commit-queue@webkit.org [Mon, 22 Aug 2016 20:28:39 +0000 (20:28 +0000)]
Make NetworkLoadTiming use double for higher precision in Resource Timing
https://bugs.webkit.org/show_bug.cgi?id=161051

Patch by Johan K. Jensen <johan_jensen@apple.com> on 2016-08-22
Reviewed by Alex Christensen.

Source/WebCore:

Test: http/tests/misc/resource-timing-resolution.html

* page/Performance.h:
* page/Performance.cpp:
(WebCore::Performance::now):
(WebCore::Performance::reduceTimeResolution):
Add new function to reduce time resolution.

* page/PerformanceResourceTiming.cpp:
(WebCore::monotonicTimeToDocumentMilliseconds):
(WebCore::PerformanceResourceTiming::resourceTimeToDocumentMilliseconds):
Only use the reduced timing resolution for full timestamps and deltas.

(WebCore::PerformanceResourceTiming::connectStart): Use doubles.
* page/PerformanceResourceTiming.h: Use doubles.
* page/PerformanceTiming.cpp: Use doubles.
(WebCore::toIntegerMilliseconds): Use doubles.
(WebCore::PerformanceTiming::connectStart): Use doubles.
(WebCore::PerformanceTiming::resourceLoadTimeRelativeToFetchStart): Use doubles.
* page/PerformanceTiming.h: Use doubles.
* platform/network/NetworkLoadTiming.h: Use doubles.
* platform/network/curl/ResourceHandleManager.cpp: Use doubles.
(WebCore::milisecondsSinceRequest): Use doubles.
(WebCore::calculateWebTimingInformations): Use doubles.
* platform/network/soup/ResourceHandleSoup.cpp: Use doubles.
(WebCore::milisecondsSinceRequest): Use doubles.
(WebCore::networkEventCallback): Use doubles.

LayoutTests:

Test that resources timing information are close deltas to a multiple of expected resolution.

* http/tests/misc/resource-timing-resolution-expected.txt: Added.
* http/tests/misc/resource-timing-resolution.html: Added.

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

3 years agoFix Mac CMake build after r204717.
achristensen@apple.com [Mon, 22 Aug 2016 20:13:36 +0000 (20:13 +0000)]
Fix Mac CMake build after r204717.

* PlatformMac.cmake:

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

3 years ago[css-grid] Stretch alignment doesn't work for orthogonal flows
jfernandez@igalia.com [Mon, 22 Aug 2016 20:11:16 +0000 (20:11 +0000)]
[css-grid] Stretch alignment doesn't work for orthogonal flows
https://bugs.webkit.org/show_bug.cgi?id=160076

Reviewed by Darin Adler.

Source/WebCore:

After implementing orthogonal flow support for track sizing and basic
alignment logic, we can now implement stretching logic in orthogonal
scenarios, which was not allowed so far.

Thanks to the recent changes which made the grid layout code more
independent to the grid container's and its children's flow, the
implementation of the stretching logic can be done in a clearer way.

This patch implements the missing logic and performs some refactoring
so it became flow direction independent.

Test: fast/css-grid-layout/grid-align-justify-stretch-with-orthogonal-flows.html

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::applyStretchAlignmentToChildIfNeeded):

LayoutTests:

Additional layout tests to verify the stretching logic works as
expected in orthogonal flow scenarios.

* fast/css-grid-layout/grid-align-justify-stretch-with-orthogonal-flows-expected.txt: Added.
* fast/css-grid-layout/grid-align-justify-stretch-with-orthogonal-flows.html: Added.

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

3 years agoInvalid resource load statistics iterator when redirecting
bfulgham@apple.com [Mon, 22 Aug 2016 19:48:50 +0000 (19:48 +0000)]
Invalid resource load statistics iterator when redirecting
https://bugs.webkit.org/show_bug.cgi?id=161021
<rdar://problem/27856875>

Reviewed by Dean Jackson.

If a load is the result of a redirect, an additional entry is added to the HashSet
containing the visited domains. This invalidates any existing iterators, so we
need to get a new iterator for further updates.

No change in functionality.

* loader/ResourceLoadObserver.cpp:
(WebCore::ResourceLoadObserver::logSubresourceLoading):

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

3 years agoRename CustomElementsRegistry to CustomElementRegistry
rniwa@webkit.org [Mon, 22 Aug 2016 19:45:01 +0000 (19:45 +0000)]
Rename CustomElementsRegistry to CustomElementRegistry
https://bugs.webkit.org/show_bug.cgi?id=161028

Reviewed by Darin Adler.

Source/JavaScriptCore:

Added customElements and CustomElementRegistry to the common identifiers list as they're used on JSDOMWindow
to hide window.customElements and CustomElementRegistry interface behind a runtime flag.

* runtime/CommonIdentifiers.h:

Source/WebCore:

Renamed CustomElementsRegistry to CustomElementRegistry per https://github.com/w3c/webcomponents/issues/548.

Also hide window.customElements and CustomElementRegistry interface behind a runtime enabled.

* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSCustomElementRegistryCustom.cpp: Renamed from JSCustomElementsRegistryCustom.cpp.
(WebCore::getCustomElementCallback):
(WebCore::JSCustomElementRegistry::define):
* bindings/js/JSHTMLElementCustom.cpp:
(WebCore::constructJSHTMLElement):
* dom/CustomElementReactionQueue.cpp:
(WebCore::findInterfaceForCustomElement):
* dom/CustomElementRegistry.cpp: Renamed from CustomElementsRegistry.cpp.
(WebCore::CustomElementRegistry::create):
(WebCore::CustomElementRegistry::CustomElementRegistry):
(WebCore::CustomElementRegistry::~CustomElementRegistry):
(WebCore::CustomElementRegistry::addElementDefinition):
(WebCore::CustomElementRegistry::addUpgradeCandidate):
(WebCore::CustomElementRegistry::findInterface):
(WebCore::CustomElementRegistry::containsConstructor):
* dom/CustomElementRegistry.h: Renamed from CustomElementsRegistry.h.
* dom/CustomElementRegistry.idl: Renamed from CustomElementsRegistry.idl.
* dom/Document.cpp:
(WebCore::createUpgradeCandidateElement):
(WebCore::createHTMLElementWithNameValidation):
(WebCore::createFallbackHTMLElement):
* dom/Element.cpp:
* html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::createHTMLElementOrFindCustomElementInterface):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::ensureCustomElementRegistry):
* page/DOMWindow.h:
* page/DOMWindow.idl:

LayoutTests:

Updated the tests and expected results after the rename.

* fast/custom-elements/CustomElementRegistry-expected.txt: Renamed from LayoutTests/fast/custom-elements/CustomElementsRegistry-expected.txt.
* fast/custom-elements/CustomElementRegistry.html: Renamed from LayoutTests/fast/custom-elements/CustomElementsRegistry.html.
* platform/efl/js/dom/global-constructors-attributes-expected.txt:
* platform/gtk/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
* platform/mac/js/dom/global-constructors-attributes-expected.txt:
* platform/win/js/dom/global-constructors-attributes-expected.txt:

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

3 years agoAttempt to fix the iOS 9 Simulator test bots after <https://trac.webkit.org/changeset...
dbates@webkit.org [Mon, 22 Aug 2016 19:12:09 +0000 (19:12 +0000)]
Attempt to fix the iOS 9 Simulator test bots after <https://trac.webkit.org/changeset/204720>
(https://bugs.webkit.org/show_bug.cgi?id=156857)

Fix JavaScript TypeErrors, "undefined is not an object". Both uiController.singleTapAtPoint() and
testRunner.runUIScript() expect to be passed a callback function.

Additionally, explicitly check that window.testRunner is non-null before checking whether
testRunner.runUIScript is non-null to avoid a JavaScript TypeError in desktop Safari.

* http/tests/navigation/ping-attribute/resources/utilities.js:
(clickElement):

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

3 years agoRemove dead code.
mark.lam@apple.com [Mon, 22 Aug 2016 19:03:32 +0000 (19:03 +0000)]
Remove dead code.
https://bugs.webkit.org/show_bug.cgi?id=161049

Reviewed by Michael Saboff.

* runtime/VM.h:
- Deleted unused friend class ClearExceptionScope.

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

3 years agoAdd support for GlobalEventHandlers.oncuechange attribute
cdumez@apple.com [Mon, 22 Aug 2016 19:00:08 +0000 (19:00 +0000)]
Add support for GlobalEventHandlers.oncuechange attribute
https://bugs.webkit.org/show_bug.cgi?id=161046

Reviewed by Alex Christensen.

LayoutTests/imported/w3c:

Rebaseline W3C test now that more checks are passing.

* web-platform-tests/html/dom/interfaces-expected.txt:

Source/WebCore:

Add support for GlobalEventHandlers.oncuechange attribute:
- https://html.spec.whatwg.org/#handler-oncuechange

Test: fast/media/window-oncuechange.html

* dom/GlobalEventHandlers.idl:

LayoutTests:

Add layout test coverage.

* fast/media/window-oncuechange-expected.txt: Added.
* fast/media/window-oncuechange.html: Added.
* js/dom/dom-static-property-for-in-iteration-expected.txt:

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

3 years ago<select> menu on iPad causes shifting of hit-testing areas
simon.fraser@apple.com [Mon, 22 Aug 2016 18:02:03 +0000 (18:02 +0000)]
<select> menu on iPad causes shifting of hit-testing areas
https://bugs.webkit.org/show_bug.cgi?id=150079

Reviewed by Tim Horton.

Source/WebKit2:

-isAssistingNode (aka the poorly named isEditable) is input into WebPageProxy::computeCustomFixedPositionRect(),
so when it changes we have to update visible rects. We were doing this on focus, but failing
to do it on blur.

Added the ability to test by:
1. Making it possible to initiate an animated scroll in the UI process
2. Adding callbacks for starting and ending interaction with a form control. Sadly
the "ending interaction" for <select> popovers on iPad isn't late enough, since we
have no way currently to know when the dimming view behind the popover animates out,
so for now the test keeps trying to tap a button.

Test: fast/forms/ios/ipad/unfocus-inside-fixed-hittest.html

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _zoomToPoint:atScale:animated:]):
(-[WKWebView _scrollToRect:origin:minimumScrollDistance:]):
(-[WKWebView _scrollByContentOffset:]):
(-[WKWebView _zoomToFocusRect:selectionRect:fontSize:minimumScale:maximumScale:allowScaling:forceScroll:]):
(-[WKWebView didStartFormControlInteraction]):
(-[WKWebView didEndFormControlInteraction]):
* UIProcess/API/Cocoa/WKWebViewPrivate.h:
* UIProcess/ios/WKContentView.mm:
(-[WKContentView didUpdateVisibleRect:unobscuredRect:unobscuredRectInScrollViewCoordinates:obscuredInset:scale:minimumScale:inStableState:isChangingObscuredInsetsInteractively:enclosedInScrollableAncestorView:]):
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView setIsEditable:]):
(-[WKContentView _startAssistingNode:userIsInteracting:blurPreviousNode:userObject:]):
(-[WKContentView _stopAssistingNode]):

Tools:

-isAssistingNode (aka the poorly named isEditable) is input into WebPageProxy::computeCustomFixedPositionRect(),
so when it changes we have to update visible rects. We were doing this on focus, but failing
to do it on blur.

Added the ability to test by:
1. Making it possible to initiate an animated scroll in the UI process
2. Adding callbacks for starting and ending interaction with a form control. Sadly
the "ending interaction" for <select> popovers on iPad isn't late enough, since we
have no way currently to know when the dimming view behind the popover animates out,
so for now the test keeps trying to tap a button.

* WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
* WebKitTestRunner/UIScriptContext/UIScriptContext.h:
* WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
(WTR::UIScriptController::setDidStartFormControlInteractionCallback):
(WTR::UIScriptController::didStartFormControlInteractionCallback):
(WTR::UIScriptController::setDidEndFormControlInteractionCallback):
(WTR::UIScriptController::didEndFormControlInteractionCallback):
(WTR::UIScriptController::scrollToOffset):
(WTR::UIScriptController::platformSetDidStartFormControlInteractionCallback):
(WTR::UIScriptController::platformSetDidEndFormControlInteractionCallback):
* WebKitTestRunner/UIScriptContext/UIScriptController.h:
* WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
* WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
(-[TestRunnerWKWebView dealloc]):
(-[TestRunnerWKWebView didStartFormControlInteraction]):
(-[TestRunnerWKWebView didEndFormControlInteraction]):
* WebKitTestRunner/ios/UIScriptControllerIOS.mm:
(WTR::contentOffsetBoundedInValidRange):
(WTR::UIScriptController::scrollToOffset):
(WTR::UIScriptController::platformSetDidStartFormControlInteractionCallback):
(WTR::UIScriptController::platformSetDidEndFormControlInteractionCallback):

LayoutTests:

This test:
1. Scrolls in the ui process, so that position:fixed kicks in
2. Taps on a <select>, which disabled position:fixed behavior
3. Chooses a <select> option, dismissing the <select>, which restores position:fixed behavior
4. Tries to tap a button inside position:fixed.

* fast/forms/ios/ipad/unfocus-inside-fixed-hittest-expected.txt: Added.
* fast/forms/ios/ipad/unfocus-inside-fixed-hittest.html: Added.

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

3 years ago[EFL][GTK] Script process-linux-coredump is not needed, switch back to use the kernel...
clopez@igalia.com [Mon, 22 Aug 2016 17:26:22 +0000 (17:26 +0000)]
[EFL][GTK] Script process-linux-coredump is not needed, switch back to use the kernel core dumper instead.
https://bugs.webkit.org/show_bug.cgi?id=160927

Reviewed by Daniel Bates.

* Scripts/process-linux-coredump: Removed.
* Scripts/webkitpy/port/efl.py:
(EflPort._get_crash_log):
* Scripts/webkitpy/port/gtk.py:
(GtkPort._get_crash_log):
* Scripts/webkitpy/port/linux_get_crash_log.py:
(GDBCrashLogGenerator.__init__):
(GDBCrashLogGenerator.generate_crash_log):
* Scripts/webkitpy/port/linux_get_crash_log_unittest.py:
(GDBCrashLogGeneratorTest.test_generate_crash_log):

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

3 years agoFix bindings tests after r204717.
achristensen@apple.com [Mon, 22 Aug 2016 17:23:39 +0000 (17:23 +0000)]
Fix bindings tests after r204717.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
There was an extra space.

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

3 years agoMostly fix Mac CMake build after r204717.
achristensen@apple.com [Mon, 22 Aug 2016 17:20:17 +0000 (17:20 +0000)]
Mostly fix Mac CMake build after r204717.

* PlatformMac.cmake:

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

3 years agoCan't style descendants in shadow tree using the :host pseudo class
antti@apple.com [Mon, 22 Aug 2016 17:19:29 +0000 (17:19 +0000)]
Can't style descendants in shadow tree using the :host pseudo class
https://bugs.webkit.org/show_bug.cgi?id=160754

Reviewed by Darin Adler.

Source/WebCore:

"The :host pseudo-class, when evaluated in the context of a shadow tree, matches the shadow tree’s shadow host."

Currently :host() works for styling the host element itself (:host(.foo) { ... }). It should also be usable
for styling elements in the shadow tree:

    :host(.foo) div { ... }

Test: fast/shadow-dom/css-scoping-host-descendant.html

* css/SelectorChecker.cpp:
(WebCore::SelectorChecker::matchHostPseudoClass):
(WebCore::localContextForParent):

    Move to shadow host if we are matching :host and are at the root of the shadow tree.
    Set didMoveToShadowHost bit in the context.

(WebCore::SelectorChecker::matchRecursively):
(WebCore::SelectorChecker::checkOne):

    Call the existing matchHostPseudoClass to do :host matching if didMoveToShadowHost bit has been set.

* cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::addPseudoClassType):

    Disallow :host in the compiler (cases where it would match didn't reach the compiler before).

LayoutTests:

* fast/shadow-dom/css-scoping-host-descendant-expected.html: Added.
* fast/shadow-dom/css-scoping-host-descendant.html: Added.

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

3 years agocheck-webkit-style does not work with Lambda functions in C++
commit-queue@webkit.org [Mon, 22 Aug 2016 16:40:49 +0000 (16:40 +0000)]
check-webkit-style does not work with Lambda functions in C++
https://bugs.webkit.org/show_bug.cgi?id=160910

Patch by Jonathan Bedard <jbedard@apple.com> on 2016-08-22
Reviewed by Darin Adler.

This change eliminates false positives on correctly styled lambda functions and includes a few basic checks on capture list.

* Scripts/webkitpy/style/checkers/cpp.py:
(regex_for_lambda_functions): Added function which checks if a string is the start of a lambda function.
(check_for_non_standard_constructs): Added lambda function check.
(check_spacing_for_function_call): Added lambda function check.
(check_braces): Added lambda function check.
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(CppStyleTest.test_lambda_functions): Added test function for lambda function style checks.

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

3 years agoUse memoize pattern for the menclose notation attribute
fred.wang@free.fr [Mon, 22 Aug 2016 16:18:09 +0000 (16:18 +0000)]
Use memoize pattern for the menclose notation attribute
https://bugs.webkit.org/show_bug.cgi?id=160461

Patch by Frederic Wang <fwang@igalia.com> on 2016-08-22
Reviewed by Darin Adler.

Currently, MathMLMencloseElement::parseAttribute parse the "notation" attribute each time it
is changed. We change this to use the memoize pattern as done for other MathML attributes:
We store m_notationFlags in an Optional<uint16_t> where Optnull means that the
attribute is dirty and must be parsed again.

No new tests, already covered by existing tests.

* mathml/MathMLMencloseElement.cpp:
(WebCore::MathMLMencloseElement::parseNotationAttribute): Move parsing of the "notation"
attribute from parseAttribute into this separate helper function.
(WebCore::MathMLMencloseElement::hasNotation): This now check whether the attribute and
dirty and parse it if necessary.
(WebCore::MathMLMencloseElement::parseAttribute): Just make the attribute dirty rather than
parsing it immediately.
* mathml/MathMLMencloseElement.h: hasNotation is no longer const as it may update the
m_notationsFlags. We declare parseNotationAttribute(). Finally, we wrap m_notationFlags
in an Optional<uint16_t> and make addNotation extract the value.

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

3 years ago[iOS] <a ping> and <area ping> tests time out
dbates@webkit.org [Mon, 22 Aug 2016 16:13:28 +0000 (16:13 +0000)]
[iOS] <a ping> and <area ping> tests time out
https://bugs.webkit.org/show_bug.cgi?id=156857

Reviewed by Simon Fraser.

Source/WebCore:

Export HTMLAreaElement::imageElement() so that we can make use of it in WebKit2.

* html/HTMLAreaElement.h:

Source/WebKit2:

Support single tapping on an HTML area element in WebKit2 just as we do in Legacy WebKit.

WebKit2 commits to clicking a "clickable" DOM node on a single tap only if it has a
renderer. An HTML area element represents a hyperlink in an image map and does not have
a renderer.

* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::sendTapHighlightForNodeIfNecessary): Compute the tap highlight with respect
to the renderer for the image map associated with the tapped HTML area element (if it has one).
(WebKit::WebPage::commitPotentialTap): Allow committing a potential tap on an HTML area element.

LayoutTests:

Update test to use work in WebKitTestRunner and unskip the tests.

Also remove some unused files.

* http/tests/navigation/ping-attribute/anchor-cross-origin-from-https.html: Include external JavaScript
script resources/utilities.js and write code in terms of clickElement(). Additionally, add HTML5 doctype
tag and put <head> on its own line so as to be consistent with the placement of </head> on its own line.
* http/tests/navigation/ping-attribute/anchor-cross-origin.html: Ditto.
* http/tests/navigation/ping-attribute/anchor-same-origin.html: Ditto.
* http/tests/navigation/ping-attribute/resources/check-ping.php: Removed.
* http/tests/navigation/ping-attribute/resources/delete-ping.php: Removed.
* http/tests/navigation/ping-attribute/resources/ping-file-path.php: Removed.
* http/tests/navigation/ping-attribute/resources/save-Ping.php: Removed.
* http/tests/navigation/ping-attribute/resources/utilities.js:
(clearLastPingResultAndRunTest):
(clickElement): Make use of UIScriptController to click the element via a tap on platforms that
support touch events and implement UIScriptController (window.uiController).
* platform/ios-simulator-wk2/TestExpectations: Unskip ping-attribute tests.
* platform/ios-simulator/TestExpectations: Ditto.

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

3 years agoSource/WebCore:
achristensen@apple.com [Mon, 22 Aug 2016 15:51:58 +0000 (15:51 +0000)]
Source/WebCore:
[Cocoa] Move Objective-C DOM bindings from WebCore to legacy WebKit
https://bugs.webkit.org/show_bug.cgi?id=160654

Patch by Darin Adler <darin@apple.com> on 2016-08-22
Reviewed by Alex Christensen.

* DerivedSources.cpp: Removed ExceptionCodeDescription.h from the list here.
It will be included by the .cpp files as appropriate and should not be included
without including config.h first.

* WebCore.xcodeproj/project.pbxproj: Removed the Objective-C DOM source files.
Added private exports of various headers that are now used directly or indirectly
by legacy WebKit to implement the bindings. Moved WebScriptObject.* files from
bindings/objc to bridge/objc. Moved WebKitAvailability.h into platform/cocoa; it
can be moved to WebKit of we move the Objective-C bridge there too. Also ran
sort-Xcode-project-file.

* bindings/js/JSDOMBinding.cpp:
(WebCore::valueToUSVString): Fixed a comment typo.

* bindings/js/JSDOMWindowShell.cpp:
(WebCore::JSDOMWindowShell::toWrapped): Added.
* bindings/js/JSDOMWindowShell.h: Added a toWrapped function for use by the
Objective-C bindings.

* bindings/js/JSMainThreadExecState.h: Exported symbols needed by the Objective-C bindings.
* bindings/js/JSNamedNodeMapCustom.cpp: Updated includes since NamedNodeMap.h no longer
includes Attr.h.

* bindings/js/ScriptController.h: Exported symbols needed by the Objective-C bindings.

* bindings/js/ScriptControllerMac.mm:
(WebCore::ScriptController::windowScriptObject): Removed code that asserted the type of the
object; this assertion can't be done in WebCore any more and is not critical to keep.
(WebCore::ScriptController::disconnectPlatformScriptObjects): Use the new
disconnectWindowWrapper function to call up to the Objective-C bindings code in WebKit.

* bindings/objc/*: Moved all these files to WebKit/mac/DOM, except for a few that were moved
to bridge/objc.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader): Added support for the new ExportToWrappedFunction attribute so
classes that need to can export what is needed by WebKit.

* bindings/scripts/IDLAttributes.txt: Added ExportToWrappedFunction.

* bridge/objc/WebScriptObject.h: Moved from bindings/objc.
* bridge/objc/WebScriptObject.mm: Moved from bindings/objc.
(WebCore::initializeDOMWrapperHooks): Added. Used by WebKit to add the hooks needed so that
WebScriptObject can integrate with the DOM bindings.
(WebCore::disconnectWindowWrapper): Added.
(+[WebScriptObject scriptObjectForJSObject:originRootObject:rootObject:]): Added code that
uses createDOMWrapperFunction to set up wrappers that are found or created by WebKit.
* bridge/objc/WebScriptObjectPrivate.h: Moved from bindings/objc.

* css/CSSFontFaceRule.h: Exported symbols needed by the Objective-C bindings.
* css/CSSGroupingRule.h: Ditto.
* css/CSSImportRule.h: Ditto.
* css/CSSMediaRule.h: Ditto.
* css/CSSPageRule.h: Ditto.
* css/CSSPrimitiveValue.h: Ditto.
* css/CSSRule.h: Ditto.
* css/CSSRule.idl: Ditto.
* css/CSSRuleList.idl: Ditto.
* css/CSSStyleRule.h: Ditto.
* css/CSSStyleSheet.h: Ditto.
* css/CSSValue.h: Ditto.
* css/CSSValue.idl: Ditto.
* css/Counter.idl: Ditto.
* css/MediaList.h: Ditto.
* css/MediaList.idl: Ditto.
* css/MediaQueryEvaluator.h: Ditto.
* css/RGBColor.h: Ditto.
* css/RGBColor.idl: Ditto.
* css/Rect.idl: Ditto.
* css/StyleSheet.idl: Ditto.
* css/StyleSheetList.h: Ditto.
* css/StyleSheetList.idl: Ditto.
* dom/Attr.h: Ditto.
* dom/CharacterData.h: Ditto.
* dom/CollectionIndexCache.h: Ditto.
* dom/ContainerNode.h: Ditto.
* dom/DOMImplementation.cpp: Ditto.
* dom/DOMImplementation.h: Ditto.
* dom/DOMImplementation.idl: Ditto.
* dom/Document.h: Ditto.
* dom/DocumentFragment.h: Ditto.
* dom/Element.h: Ditto.
* dom/Event.h: Ditto.
* dom/Event.idl: Ditto.
* dom/EventTarget.h: Ditto.
* dom/KeyboardEvent.h: Ditto.
* dom/LifecycleCallbackQueue.h: Ditto.
* dom/MouseEvent.h: Ditto.
* dom/MouseRelatedEvent.h: Ditto.
* dom/MutationEvent.h: Ditto.
* dom/NamedNodeMap.h: Ditto.
* dom/NamedNodeMap.idl: Ditto.
* dom/NativeNodeFilter.h: Ditto.
* dom/Node.h: Ditto.
* dom/NodeIterator.h: Ditto.
* dom/NodeIterator.idl: Ditto.
* dom/NodeList.idl: Ditto.
* dom/NodeTraversal.h: Ditto.
* dom/OverflowEvent.h: Ditto.
* dom/QualifiedName.h: Ditto.
* dom/Range.h: Ditto.
* dom/ScriptElement.h: Ditto.
* dom/Text.h: Ditto.
* dom/TextEvent.h: Ditto.
* dom/TreeScope.h: Ditto.
* dom/TreeWalker.h: Ditto.
* dom/TreeWalker.idl: Ditto.
* dom/UIEvent.h: Ditto.
* dom/WheelEvent.h: Ditto.
* dom/make_dom_exceptions.pl: Ditto.
* editing/EditingStyle.h: Ditto.
* editing/FrameSelection.h: Ditto.

* editing/ios/EditorIOS.mm: Removed unneeded include of Objective-C DOM header.
* editing/mac/EditorMac.mm: Ditto.

* fileapi/Blob.h: Exported symbols needed by the Objective-C bindings.
* fileapi/File.h: Ditto.
* fileapi/FileList.h: Ditto.
* html/DOMTokenList.h: Ditto.
* html/HTMLAnchorElement.h: Ditto.
* html/HTMLAreaElement.h: Ditto.
* html/HTMLBaseElement.h: Ditto.
* html/HTMLButtonElement.h: Ditto.
* html/HTMLCanvasElement.h: Ditto.
* html/HTMLCollection.h: Ditto.
* html/HTMLCollection.idl: Ditto.
* html/HTMLDocument.h: Ditto.
* html/HTMLElement.h: Ditto.
* html/HTMLFormControlElement.h: Ditto.
* html/HTMLFormElement.h: Ditto.
* html/HTMLFrameElementBase.h: Ditto.
* html/HTMLFrameOwnerElement.h: Ditto.
* html/HTMLImageElement.h: Ditto.
* html/HTMLInputElement.h: Ditto.

* html/HTMLLabelElement.cpp:
(WebCore::HTMLLabelElement::setActive): Tweaked types a bit.
(WebCore::HTMLLabelElement::setHovered): Ditto.
(WebCore::HTMLLabelElement::defaultEventHandler): Ditto.
(WebCore::HTMLLabelElement::willRespondToMouseClickEvents): Ditto.
(WebCore::HTMLLabelElement::focus): Ditto.
(WebCore::HTMLLabelElement::accessKeyAction): Ditto.

* html/HTMLLabelElement.h: Exported symbols needed by the Objective-C bindings.
* html/HTMLLinkElement.h: Ditto.
* html/HTMLMapElement.h: Ditto.
* html/HTMLMarqueeElement.h: Ditto.
* html/HTMLMediaElement.h: Ditto.
* html/HTMLOListElement.h: Ditto.
* html/HTMLOptionElement.h: Ditto.
* html/HTMLOptionsCollection.h: Ditto.
* html/HTMLOptionsCollection.idl: Ditto.
* html/HTMLScriptElement.h: Ditto.
* html/HTMLSelectElement.h: Ditto.
* html/HTMLStyleElement.h: Ditto.
* html/HTMLTableCellElement.h: Ditto.
* html/HTMLTableColElement.h: Ditto.
* html/HTMLTableElement.h: Ditto.
* html/HTMLTableRowElement.h: Ditto.
* html/HTMLTableSectionElement.h: Ditto.
* html/HTMLTextAreaElement.h: Ditto.
* html/HTMLTextFormControlElement.h: Ditto.
* html/HTMLTitleElement.h: Ditto.
* html/HTMLVideoElement.h: Ditto.
* html/LabelableElement.h: Ditto.

* loader/EmptyClients.h: Updated documentFragmentFromDelegate, which was
returning a newly created document fragment with a raw pointer. This works
because the implementation internally uses Objective-C and autorelease, but
is too fragile to rely on for the future.

* page/DOMWindow.h: Exported symbols needed by the Objective-C bindings.

* page/EditorClient.h: Updated document fragment functions.

* page/Frame.h: Removed indexCountOfWordPrecedingSelection, already unused.
Removed innerLineHeight and styleAtSelectionStart, formerly used by legacy WebKit,
which used Objective-C DOM objects in their interfaces.

* page/ios/FrameIOS.mm:
(WebCore::Frame::indexCountOfWordPrecedingSelection): Deleted.
(WebCore::Frame::innerLineHeight): Deleted.
(WebCore::Frame::styleAtSelectionStart): Deleted.

* platform/DragImage.h: Exported symbols needed by the Objective-C bindings.
* platform/ScrollView.h: Ditto.
* platform/URL.h: Ditto.

* platform/cocoa/WebKitAvailability.h: Moved from bindings/objc.

* platform/cocoa/WebPlaybackSessionModelMediaElement.mm: Removed unneeded includes
of Objective-C DOM headers.
* platform/cocoa/WebVideoFullscreenModelVideoElement.mm: Ditto.
* platform/ios/PasteboardIOS.mm: Ditto.

* platform/ios/wak/WebCoreThread.mm:
(StartWebThread): Took out the call to WebCoreObjCDeallocOnWebThread for DOMObject.
This class is now defined in legacy WebKit, so we do the code there there along
with the other WebKit classes.

* platform/ios/wak/WebCoreThreadSafe.h: Removed the unwise additional definition of
WebScriptObject and DOMObject in this file. Really this entire file needs to go.

* platform/text/TextEncoding.h: Exported symbols needed by the Objective-C bindings.
* rendering/HitTestResult.h: Ditto.
* rendering/RenderLayer.h: Ditto.
* rendering/RenderObject.h: Ditto.

* rendering/RenderThemeGtk.cpp: Rewrote code that was unnecessarily using
NamedNodeMap and Attr nodes just to get the value of an attribute.

* rendering/style/RenderStyle.h: Exported symbols needed by the Objective-C bindings.

* xml/XMLHttpRequest.cpp: Added include needed now that XMLDocument.h is not
included by DOMImplementation.h.

* xml/XPathExpression.h: Exported symbols needed by the Objective-C bindings.
* xml/XPathExpression.idl: Ditto.
* xml/XPathNSResolver.h: Ditto.

* xml/XPathResult.cpp:
(WebCore::XPathResult::snapshotLength): Use unsigned instead of unsigned long.
(WebCore::XPathResult::snapshotItem): Ditto.
* xml/XPathResult.h: Exported symbols needed by the Objective-C bindings. Also
updated types as above.
* xml/XPathResult.idl: Ditto.

Source/WebKit:
Move Objective-C DOM bindings from WebCore to legacy WebKit
https://bugs.webkit.org/show_bug.cgi?id=160654

Patch by Darin Adler <darin@apple.com> on 2016-08-22
Reviewed by Alex Christensen.

* WebKit.xcodeproj/project.pbxproj: Added the new source files to the project.
For now they all have project visibility, since MigrateHeaders.make takes care
of exporting them as public and private. Later, we can likely use the built-in
Xcode feature instead of that script. Also pass DOM as an acceptable prefix
when calling check-for-inappropriate-objc-class-names. Also sorted this file
with the sort-Xcode-project-file script.

Source/WebKit/mac:
Move Objective-C DOM bindings from WebCore to legacy WebKit
https://bugs.webkit.org/show_bug.cgi?id=160654

Patch by Darin Adler <darin@apple.com> on 2016-08-22
Reviewed by Alex Christensen.

* DOM: Added lots of files to the directory.
The files are just as they were in bindings/objc except that the paths of includes
have been updated as needed, and the code no longer is defined inside the WebCore
namespace, requring changes to various functions and their call sites. Also removed
all the WEBCORE_EXPORT since we export differently here in legacy WebKit.

* DOM/DOMInternal.h: Moved. Replaced createDOMWrapper with initializeDOMWrapperHooks.
* DOM/DOMUtility.mm: Moved.
(createDOMWrapper): Simplified to use toWrapped and not do unneeded namespace tricks.
(disconnectWindowWrapper): Added.
(initializeDOMWrapperHooks): Added.

* MigrateHeaders.make: Removed all the internal headers since they are now just
normal project headers. Added the "DOM" directory to the VPATH. Some of the headers
from WebCore are still being migrated, so we can't remove WebCorePrivateHeaders yet.

* WebCoreSupport/WebEditorClient.h: Updated to return RefPtr<DocumentFragment>.

* WebCoreSupport/WebEditorClient.mm:
(WebEditorClient::documentFragmentFromDelegate): Use RefPtr.

* WebKit.exp: Added exports for all the classes that used to use WEBCORE_EXPORT to
be exported from WebCore.

* WebView/WebFrame.mm:
(-[WebFrame innerLineHeight:]): Moved code from WebCore::Frame::innerLineHeight here.
No longer depend on whether this node happens to be in this frame. Also removed
unneeded null check since a node's document can't be null.

* WebView/WebHTMLView.mm: Removed uneeded include of ExceptionHandlers.h, which
is now here in WebKitLegacy instead of WebCore. But no need to include it at all.

* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]): Call
initializeDOMWrapperHooks so WebScriptObject can create DOM binding wrappers when
making a script object for a DOM object, rather than just a generic script object.
(+[WebView enableWebThread]): Added a call to WebCoreObjCDeallocOnWebThread here for
DOMObject along with the other classes. This was done in WebCore before, but DOMObject is now
defined here in legacy WebKit.
(-[WebView styleAtSelectionStart]): Moved code from WebCore::Frame::styleAtSelectionStart here.
Replaced incorrect code that called "new PropertySetCSSStyleDeclaration" with a misleading comment
about reference counting; that code was leaking all the style declarations. Instead use
MutableStyleProperties::ensureCSSStyleDeclaration, which is designed for this purpose.

Source/WebKit2:
Move Objective-C DOM bindings from WebCore to legacy WebKit
https://bugs.webkit.org/show_bug.cgi?id=160654

Patch by Darin Adler <darin@apple.com> on 2016-08-22
Reviewed by Alex Christensen.

* WebProcess/WebCoreSupport/WebEditorClient.h: Updated to use RefPtr.
* WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm:
(WebKit::WebEditorClient::documentFragmentFromDelegate): Ditto.

* WebProcess/WebCoreSupport/mac/WebDragClientMac.mm: Removed unneeded includes
of Objective-C DOM headers that are now part of legacy WebKit, not WebCore.
But this file doesn't need to depend on those headers at all.

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

3 years ago[iOS] Wait a few seconds before release network activity assertion after a load
cdumez@apple.com [Mon, 22 Aug 2016 15:39:44 +0000 (15:39 +0000)]
[iOS] Wait a few seconds before release network activity assertion after a load
https://bugs.webkit.org/show_bug.cgi?id=160975
<rdar://problem/27910964>

Reviewed by Darin Adler.

Some apps do several loads one after the other in a non-visible view.
This causes us to release the background assertion every time a load
completes and then take one again less than a second after. Every
time we release the assertion, we send a PrepareToSuspend IPC to the
WebContent process, which does all the clean up to get ready to
suspend, only to get a CancelPrepareReadyToSuspend later on because
the next load has started. To work around this problem, we now wait
a few seconds before releasing the background activity after a load.

* UIProcess/Cocoa/NavigationState.h:
* UIProcess/Cocoa/NavigationState.mm:
(WebKit::NavigationState::NavigationState):
(WebKit::NavigationState::releaseNetworkActivityToken):
(WebKit::NavigationState::didChangeIsLoading):

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

3 years agoRename MathMLTextElement to MathMLTokenElement
fred.wang@free.fr [Mon, 22 Aug 2016 15:18:10 +0000 (15:18 +0000)]
Rename MathMLTextElement to MathMLTokenElement
https://bugs.webkit.org/show_bug.cgi?id=160542

Patch by Frederic Wang <fwang@igalia.com> on 2016-08-22
Reviewed by Darin Adler.

No new tests, behavior is unchanged.

* CMakeLists.txt: Rename MathMLTextElement to MathMLTokenElement.
* WebCore.xcodeproj/project.pbxproj: Ditto.
* mathml/MathMLAllInOne.cpp: Ditto.
* mathml/MathMLOperatorElement.cpp: Ditto.
* mathml/MathMLOperatorElement.h: Ditto.
* mathml/MathMLTokenElement.cpp: Ditto. Also remove dead code in childShouldCreateRenderer
to handle the case of mspace since that element uses its own class and forbids child creation
in RenderMathMLSpace::isChildAllowed.
* mathml/MathMLTokenElement.h: Rename MathMLTextElement to MathMLTokenElement.
* mathml/mathtags.in: Ditto.
* rendering/mathml/RenderMathMLToken.cpp: Move inclusion of MathMLTokenElement.h and
implementation of element() here.
* rendering/mathml/RenderMathMLToken.h: Do not implement element() in the header so that
we only need need to predeclare MathMLTokenElement instead of including its header.

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

3 years ago[ES6] Module should not allow HTML comments
utatane.tea@gmail.com [Mon, 22 Aug 2016 14:12:10 +0000 (14:12 +0000)]
[ES6] Module should not allow HTML comments
https://bugs.webkit.org/show_bug.cgi?id=161041

Reviewed by Saam Barati.

JSTests:

* modules/html-comments.js: Added.
(shouldThrow):
* test262.yaml:

Source/JavaScriptCore:

ES6 Modules intentionally disable HTML comments[1].

[1]: https://tc39.github.io/ecma262/#sec-html-like-comments

* API/JSScriptRef.cpp:
(parseScript):
* builtins/BuiltinExecutables.cpp:
(JSC::BuiltinExecutables::createExecutable):
* bytecode/EvalCodeCache.h:
(JSC::EvalCodeCache::CacheKey::CacheKey):
* bytecode/ExecutableInfo.h:
(JSC::ExecutableInfo::ExecutableInfo):
(JSC::ExecutableInfo::commentMode):
(JSC::ExecutableInfo::superBinding): Deleted.
* bytecode/UnlinkedCodeBlock.cpp:
(JSC::UnlinkedCodeBlock::UnlinkedCodeBlock):
* bytecode/UnlinkedCodeBlock.h:
(JSC::UnlinkedCodeBlock::commentMode):
(JSC::UnlinkedCodeBlock::superBinding): Deleted.
* bytecode/UnlinkedFunctionExecutable.cpp:
(JSC::generateUnlinkedFunctionCodeBlock):
(JSC::UnlinkedFunctionExecutable::UnlinkedFunctionExecutable):
* bytecode/UnlinkedFunctionExecutable.h:
* bytecompiler/BytecodeGenerator.h:
(JSC::BytecodeGenerator::commentMode):
(JSC::BytecodeGenerator::makeFunction):
(JSC::BytecodeGenerator::superBinding): Deleted.
* parser/Lexer.cpp:
(JSC::Lexer<T>::Lexer):
(JSC::Lexer<T>::lex):
* parser/Lexer.h:
* parser/Parser.cpp:
(JSC::Parser<LexerType>::Parser):
* parser/Parser.h:
(JSC::parse):
* parser/ParserModes.h:
* parser/SourceCodeKey.h:
(JSC::SourceCodeFlags::SourceCodeFlags):
(JSC::SourceCodeKey::SourceCodeKey):
* runtime/CodeCache.cpp:
(JSC::CodeCache::getGlobalCodeBlock):
(JSC::CodeCache::getProgramCodeBlock):
(JSC::CodeCache::getEvalCodeBlock):
(JSC::CodeCache::getModuleProgramCodeBlock):
(JSC::CodeCache::getFunctionExecutableFromGlobalCode):
* runtime/CodeCache.h:
* runtime/Completion.cpp:
(JSC::checkSyntax):
(JSC::checkModuleSyntax):
* runtime/Executable.cpp:
(JSC::ProgramExecutable::checkSyntax):
* runtime/Executable.h:
* runtime/ModuleLoaderPrototype.cpp:
(JSC::moduleLoaderPrototypeParseModule):

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

3 years ago[Fetch API] Activate fetch api runtime flag by default
commit-queue@webkit.org [Mon, 22 Aug 2016 09:53:47 +0000 (09:53 +0000)]
[Fetch API] Activate fetch api runtime flag by default
https://bugs.webkit.org/show_bug.cgi?id=160452

Patch by Youenn Fablet <youenn@apple.com> on 2016-08-22
Reviewed by Alex Christensen.

Source/WebKit/mac:

* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):

Source/WebKit2:

* Shared/WebPreferencesDefinitions.h:

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

3 years agoLayoutTest http/tests/fetch/fetch-in-worker-crash.html is flaky
commit-queue@webkit.org [Mon, 22 Aug 2016 07:09:51 +0000 (07:09 +0000)]
LayoutTest http/tests/fetch/fetch-in-worker-crash.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=160510

Patch by Youenn Fablet <youenn@apple.com> on 2016-08-22
Reviewed by Darin Adler.

* http/tests/fetch/fetch-in-worker.js:
(stream.new.ReadableStream): Enqueuing a Uint8Array not a string, so that the fetch promise is not rejected. This should take care of Fail flakiness.
Crash flakiness in Debug mode may still happen due to promise use in Worker.

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

3 years ago[SOUP] Change MessageDecoder with Decoder
commit-queue@webkit.org [Mon, 22 Aug 2016 07:02:27 +0000 (07:02 +0000)]
[SOUP] Change MessageDecoder with Decoder
https://bugs.webkit.org/show_bug.cgi?id=161040

Patch by Gyuyoung Kim <gyuyoung.kim@navercorp.com> on 2016-08-22
Reviewed by Darin Adler.

Clean up MessageDecoder in files of Soup.

* Scripts/webkit/MessageReceiverSuperclass-expected.cpp:
(WebKit::WebPage::didReceiveMessage):
* UIProcess/soup/WebSoupRequestManagerProxy.h:
* WebProcess/soup/WebSoupRequestManager.h:

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

3 years agoUse Document& instead of Document* when getting cookies
commit-queue@webkit.org [Mon, 22 Aug 2016 06:02:52 +0000 (06:02 +0000)]
Use Document& instead of Document* when getting cookies
https://bugs.webkit.org/show_bug.cgi?id=161011

Patch by Alex Christensen <achristensen@webkit.org> on 2016-08-21
Reviewed by Darin Adler.

Source/WebCore:

No change in behavior.

* Modules/websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::processBuffer):
* Modules/websockets/WebSocketHandshake.cpp:
(WebCore::WebSocketHandshake::clientHandshakeMessage):
(WebCore::WebSocketHandshake::clientHandshakeRequest):
* dom/Document.cpp:
(WebCore::Document::cookie):
(WebCore::Document::setCookie):
(WebCore::Document::referrer):
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::getCookies):
(WebCore::InspectorPageAgent::deleteCookie):
(WebCore::InspectorPageAgent::getResourceTree):
* loader/CookieJar.cpp:
(WebCore::networkingContext):
(WebCore::storageSession):
(WebCore::cookies):
(WebCore::setCookies):
(WebCore::cookiesEnabled):
(WebCore::cookieRequestHeaderFieldValue):
(WebCore::getRawCookies):
(WebCore::deleteCookie):
(WebCore::addCookie):
* loader/CookieJar.h:
* page/Navigator.cpp:
(WebCore::Navigator::cookieEnabled):
(WebCore::Navigator::javaEnabled):

Source/WebKit/mac:

* Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::getCookies):
(WebKit::NetscapePluginInstanceProxy::setCookies):
* Plugins/WebNetscapePluginView.mm:
(-[WebNetscapePluginView getVariable:forURL:value:length:]):
(-[WebNetscapePluginView setVariable:forURL:value:length:]):

Source/WebKit/win:

* Plugins/PluginView.cpp:
(WebCore::PluginView::getValueForURL):

Source/WebKit2:

* WebProcess/Automation/WebAutomationSessionProxy.cpp:
(WebKit::WebAutomationSessionProxy::getCookiesForFrame):
(WebKit::WebAutomationSessionProxy::deleteCookie):
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::cookiesForURL):
(WebKit::PluginView::setCookiesForURL):
(WebKit::PluginView::getAuthenticationInfo):

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

3 years agoURLParser should parse IPv4 addresses
commit-queue@webkit.org [Mon, 22 Aug 2016 05:42:12 +0000 (05:42 +0000)]
URLParser should parse IPv4 addresses
https://bugs.webkit.org/show_bug.cgi?id=161023

Patch by Alex Christensen <achristensen@webkit.org> on 2016-08-21
Reviewed by Darin Adler.

Source/WebCore:

Covered by new API tests because URLParser isn't used anywhere in WebCore yet.

* platform/URLParser.cpp:
(WebCore::URLParser::authorityEndReached):
(WebCore::serializeIPv4):
(WebCore::parseIPv4Number):
(WebCore::pow256):
(WebCore::parseIPv4Host):
(WebCore::parseIPv6Host):
(WebCore::URLParser::hostEndReached):

Tools:

* TestWebKitAPI/Tests/WebCore/URLParser.cpp:
(TestWebKitAPI::TEST_F):
(TestWebKitAPI::checkURLDifferences):
We are already getting differences between the old URL::parse and the new URLParser.
(TestWebKitAPI::shouldFail):

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

3 years agoRemove a few custom bindings
commit-queue@webkit.org [Mon, 22 Aug 2016 04:04:54 +0000 (04:04 +0000)]
Remove a few custom bindings
https://bugs.webkit.org/show_bug.cgi?id=161039

Patch by Sam Weinig <sam@webkit.org> on 2016-08-21
Reviewed by Darin Adler.

Remove custom bindings for CanvasRenderingContext2D's webkitLineDash attribute and commit function.

* WebCore.xcodeproj/project.pbxproj:
Sort files.

* bindings/js/JSCanvasRenderingContext2DCustom.cpp:
(WebCore::JSCanvasRenderingContext2D::commit): Deleted.
(WebCore::JSCanvasRenderingContext2D::webkitLineDash): Deleted.
(WebCore::JSCanvasRenderingContext2D::setWebkitLineDash): Deleted.
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::webkitLineDashOffset): Deleted.
(WebCore::CanvasRenderingContext2D::setWebkitLineDashOffset): Deleted.
* html/canvas/CanvasRenderingContext2D.h:
* html/canvas/CanvasRenderingContext2D.idl:

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

3 years ago[DFG] Should not fixup AnyIntUse in 32_64
utatane.tea@gmail.com [Mon, 22 Aug 2016 03:47:49 +0000 (03:47 +0000)]
[DFG] Should not fixup AnyIntUse in 32_64
https://bugs.webkit.org/show_bug.cgi?id=161029

Reviewed by Saam Barati.

JSTests:

* typeProfiler/int52-dfg.js: Added.
(test):

Source/JavaScriptCore:

DFG fixup phase uses AnyIntUse even in 32bit DFG. This patch removes this incorrect filtering.
If the 32bit DFG see the TypeAnyInt, it should fallback to the NumberUse case.

* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):

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

3 years agoUnreviewed, rolling out r204697
utatane.tea@gmail.com [Sun, 21 Aug 2016 20:36:49 +0000 (20:36 +0000)]
Unreviewed, rolling out r204697
https://bugs.webkit.org/show_bug.cgi?id=161029

JSTests:

* typeProfiler/int52-dfg.js: Removed.
(test): Deleted.
* typeProfiler/number-filter-dfg.js: Removed.
(test): Deleted.

Source/JavaScriptCore:

32bit is OK. DFGSpeculativeJIT64.cpp shortcut also need some cares.

* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):

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

3 years ago[DFG] Should not fixup AnyIntUse in 32_64
utatane.tea@gmail.com [Sun, 21 Aug 2016 19:45:50 +0000 (19:45 +0000)]
[DFG] Should not fixup AnyIntUse in 32_64
https://bugs.webkit.org/show_bug.cgi?id=161029

Reviewed by Saam Barati.

JSTests:

* typeProfiler/int52-dfg.js: Added.
(test):
* typeProfiler/number-filter-dfg.js: Added.
(test):

Source/JavaScriptCore:

DFG fixup phase uses AnyIntUse even in 32bit DFG. This patch removes this incorrect filtering.
If the 32bit DFG see the TypeAnyInt, it should fallback to the NumberUse case.

And this patch also fixes the case that the type set only contains TypeNumber. Previously,
we used NumberUse edge filtering. But it misses AnyInt logging: While the NumberUse filter
passes both TypeAnyInt and TypeNumber, the type set only logged TypeNumber.

* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):

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

3 years agoFix up title in ChangeLog entry for r204695.
dbates@webkit.org [Sun, 21 Aug 2016 18:13:23 +0000 (18:13 +0000)]
Fix up title in ChangeLog entry for r204695.

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

3 years agoprepare-ChangeLog lists modified methods as having been deleted
dbates@webkit.org [Sun, 21 Aug 2016 18:08:28 +0000 (18:08 +0000)]
prepare-ChangeLog lists modified methods as having been deleted
https://bugs.webkit.org/show_bug.cgi?id=148437

Reviewed by Dan Bernstein.

* Scripts/prepare-ChangeLog:
(diffCommand): When using a Subversion checkout, generate a unified diff without any context lines.
This matches our behavior when using a Git checkout. The function overlap logic in generateFunctionListsByRanges()
assumes that its line ranges were from a unified diff without any context lines.
(extractLineRangeAfterChange): A deleted line should be represented with a ("begin line number", "end line number") = ("new starting line number", "new starting line number").
(extractLineRangeBeforeChange): An added line should be represented with a ("begin line number", "end line number") = ("original starting line number", "original starting line number").
* Scripts/webkitperl/prepare-ChangeLog_unittest/extractLineRangeBeforeAndAfterChange.pl: Update expected results
based on changes to extractLineRangeAfterChange() and extractLineRangeBeforeChange().
* Scripts/webkitperl/prepare-ChangeLog_unittest/generateFunctionLists.pl: Added.
(discardOutput): Convenience function invokes the specified function redirecting standard output and standard error
to /dev/null for the duration of the function call.

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

3 years ago[Mac] Rebase some failing XMLHttpRequest tests
commit-queue@webkit.org [Sun, 21 Aug 2016 15:41:20 +0000 (15:41 +0000)]
[Mac] Rebase some failing XMLHttpRequest tests
https://bugs.webkit.org/show_bug.cgi?id=161036

Unreviewed.

Patch by Youenn Fablet <youenn@apple.com> on 2016-08-21

* TestExpectations: Unmarking rebased tests as failing.
* platform/ios-simulator/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt.
* platform/ios-simulator/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt.
* platform/ios-simulator/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt.
* platform/mac/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt.
* platform/mac/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt.
* platform/mac/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt.

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

3 years agocross-origin requests redirected fail or drop author requested headers
commit-queue@webkit.org [Sun, 21 Aug 2016 13:36:48 +0000 (13:36 +0000)]
cross-origin requests redirected fail or drop author requested headers
https://bugs.webkit.org/show_bug.cgi?id=112471

Patch by Youenn Fablet <youenn@apple.com> on 2016-08-21
Reviewed by Alex Christensen.

Source/WebCore:

Test: http/tests/xmlhttprequest/redirections-and-user-headers.html

Storing original headers in DocumentThreadableLoader.
In case of cross-origin redirection in CORS mode, set the new request headers to the original headers.
Add a special handling to Authorization header that should not be used when it is already removed by the network layer.

* loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::redirectReceived):
(WebCore::DocumentThreadableLoader::loadRequest):
* loader/DocumentThreadableLoader.h:

LayoutTests:

* http/tests/xmlhttprequest/redirections-and-user-headers-expected.txt: Added.
* http/tests/xmlhttprequest/redirections-and-user-headers.html: Added.
* http/tests/xmlhttprequest/resources/access-control-preflight-redirect.php: Added.

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