WebKit-https.git
3 years agoLocation.toString() should be enumerable
cdumez@apple.com [Thu, 25 Aug 2016 03:06:50 +0000 (03:06 +0000)]
Location.toString() should be enumerable
https://bugs.webkit.org/show_bug.cgi?id=161179

Reviewed by Geoffrey Garen.

Source/WebCore:

Location.toString() should be enumerable as per:
- https://html.spec.whatwg.org/#location
- http://heycam.github.io/webidl/#es-stringifier

This patch stops hard-coding the toString() operation on the Location
interface and makes the 'href' attribute a stringifier attribute instead,
as per the specification. The generated toString() has the same behavior
as it used to but it is now enumerable, as it should.

No new tests, updated existing test.

* bindings/js/JSLocationCustom.cpp:
(WebCore::JSLocation::toStringFunction): Deleted.
* page/Location.idl:

LayoutTests:

Update existing tests and add layout test coverage.

* fast/dom/Window/window-appendages-cleared-expected.txt:
* fast/dom/toString_attributes-expected.txt:
* fast/dom/toString_attributes.html:
* js/dom/toString-dontEnum-expected.txt:
* js/dom/toString-dontEnum.html:

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

3 years agoImplement `CSS.escape` as per CSSOM
commit-queue@webkit.org [Thu, 25 Aug 2016 02:40:55 +0000 (02:40 +0000)]
Implement `CSS.escape` as per CSSOM
https://bugs.webkit.org/show_bug.cgi?id=126337

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-08-24
Reviewed by Dean Jackson.

Source/WebCore:

Test: css3/escape-dom-api.html

* css/CSSOMUtils.cpp:
(WebCore::serializeIdentifier):
Update serialization to match the latest version of the spec:
<https://drafts.csswg.org/cssom/#serialize-an-identifier>
New handling for 0x0, 0x7f, just "-", and "--" is now allowed.

* css/DOMCSSNamespace.cpp:
(WebCore::DOMCSSNamespace::escape):
* css/DOMCSSNamespace.h:
* css/DOMCSSNamespace.idl:
New CSS.escape method.

LayoutTests:

CSS.escape is part of the CSSOM Spec:
https://drafts.csswg.org/cssom/#the-css.escape%28%29-method

Tests:
https://github.com/mathiasbynens/CSS.escape/blob/master/tests/tests.js

Change is based on the Blink change (patch by <rob.buis@samsung.com>) and follow-ups:
<https://chromium.googlesource.com/chromium/blink/+/c1a5ffdc924b089e70cd33ad2726b58cc8312abe>

* css3/escape-dom-api-expected.txt: Added.
* css3/escape-dom-api.html: Added.
New tests, taken from the polyfill.

* fast/css/parsing-css-nonascii-expected.txt:
* fast/css/parsing-css-nonascii.html:
* fast/css/selector-text-escape.html:
Update existing tests now that 0x7f is escaped.

* js/dom/function-removed-after-parsing-expected.txt:
* js/dom/function-removed-after-parsing.html:
Rename use of `CSS.escape` here now that `CSS.escape` exists.

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

3 years agoASSERTION FAILED: contentSize >= 0 in WebCore::RenderFlexibleBox::adjustChildSizeForM...
zalan@apple.com [Thu, 25 Aug 2016 01:55:04 +0000 (01:55 +0000)]
ASSERTION FAILED: contentSize >= 0 in WebCore::RenderFlexibleBox::adjustChildSizeForMinAndMax
https://bugs.webkit.org/show_bug.cgi?id=155700
<rdar://problem/27720727>

Reviewed by David Hyatt.

Source/WebCore:

RenderBox::m_minPreferredLogicalWidth/m_maxPreferredLogicalWidth don't need special initial value since
preferredLogicalWidthsDirty flag guards them. -1 as initial value can cause problems for renderers that don't
override RenderBox::computePreferredLogicalWidths().

Test: fast/ruby/assert-when-content-size-is-negative.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::RenderBox):
(WebCore::RenderBox::dirtyLineBoxes):
(WebCore::RenderBox::deleteLineBoxWrapper):
* rendering/RenderBox.h:

LayoutTests:

* fast/ruby/assert-when-content-size-is-negative-expected.txt: Added.
* fast/ruby/assert-when-content-size-is-negative.html: Added.

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

3 years agoUnreviewed, rebase iOS simulator WK1 fast/text tests
jiewen_tan@apple.com [Thu, 25 Aug 2016 01:24:47 +0000 (01:24 +0000)]
Unreviewed, rebase iOS simulator WK1 fast/text tests

* platform/ios-simulator-wk1/TestExpectations:
* platform/ios-simulator-wk1/fast/text/atsui-multiple-renderers-expected.txt:
* platform/ios-simulator-wk1/fast/text/atsui-negative-spacing-features-expected.txt:
* platform/ios-simulator-wk1/fast/text/atsui-spacing-features-expected.txt:
* platform/ios-simulator-wk1/fast/text/font-weights-expected.txt: Added.
* platform/ios-simulator-wk1/fast/text/international/khmer-selection-expected.txt: Added.
* platform/ios-simulator-wk1/fast/text/system-font-weight-expected.txt: Added.
* platform/ios-simulator-wk1/fast/text/tatechuyoko-expected.txt: Added.
* platform/ios-simulator-wk1/fast/text/textIteratorNilRenderer-expected.txt:
* platform/ios-simulator-wk1/fast/text/wbr-expected.txt:
* platform/ios-simulator-wk1/fast/text/word-space-expected.txt: Added.
* platform/ios-simulator-wk2/fast/text/decorations-with-text-combine-expected.txt: Removed.
* platform/ios-simulator/fast/text/decorations-with-text-combine-expected.txt:

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

3 years agoImport w3c URL tests
achristensen@apple.com [Thu, 25 Aug 2016 01:22:33 +0000 (01:22 +0000)]
Import w3c URL tests
https://bugs.webkit.org/show_bug.cgi?id=161177

Reviewed by Tim Horton.

LayoutTests/imported/w3c:

* web-platform-tests/url: Added.
* web-platform-tests/url/OWNERS: Added.
* web-platform-tests/url/README.md: Added.
* web-platform-tests/url/a-element-expected.txt: Added.
* web-platform-tests/url/a-element-xhtml-expected.txt: Added.
* web-platform-tests/url/a-element-xhtml.xhtml: Added.
* web-platform-tests/url/a-element.html: Added.
* web-platform-tests/url/a-element.js: Added.
(setup.async_test.string_appeared_here.setup.step):
(setBase):
(bURL):
(runURLTests):
* web-platform-tests/url/historical-expected.txt: Added.
* web-platform-tests/url/historical.html: Added.
* web-platform-tests/url/historical.worker.js: Added.
(test):
* web-platform-tests/url/interfaces-expected.txt: Added.
* web-platform-tests/url/interfaces.html: Added.
* web-platform-tests/url/setters_tests.json: Added.
* web-platform-tests/url/url-constructor-expected.txt: Added.
* web-platform-tests/url/url-constructor.html: Added.
* web-platform-tests/url/url-domainToUnicode-expected.txt: Added.
* web-platform-tests/url/url-domainToUnicode.html: Added.
* web-platform-tests/url/url-setters-expected.txt: Added.
* web-platform-tests/url/url-setters.html: Added.
* web-platform-tests/url/urlsearchparams-append-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-append.html: Added.
* web-platform-tests/url/urlsearchparams-constructor-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-constructor.html: Added.
* web-platform-tests/url/urlsearchparams-delete-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-delete.html: Added.
* web-platform-tests/url/urlsearchparams-get-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-get.html: Added.
* web-platform-tests/url/urlsearchparams-getall-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-getall.html: Added.
* web-platform-tests/url/urlsearchparams-has-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-has.html: Added.
* web-platform-tests/url/urlsearchparams-set-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-set.html: Added.
* web-platform-tests/url/urlsearchparams-stringifier-expected.txt: Added.
* web-platform-tests/url/urlsearchparams-stringifier.html: Added.
* web-platform-tests/url/urltestdata.json: Added.

Source/WebCore:

Tests: imported/w3c/web-platform-tests/url/a-element-xhtml.xhtml
       imported/w3c/web-platform-tests/url/a-element.html
       imported/w3c/web-platform-tests/url/historical.html
       imported/w3c/web-platform-tests/url/interfaces.html
       imported/w3c/web-platform-tests/url/url-constructor.html
       imported/w3c/web-platform-tests/url/url-domainToUnicode.html
       imported/w3c/web-platform-tests/url/url-setters.html
       imported/w3c/web-platform-tests/url/urlsearchparams-append.html
       imported/w3c/web-platform-tests/url/urlsearchparams-constructor.html
       imported/w3c/web-platform-tests/url/urlsearchparams-delete.html
       imported/w3c/web-platform-tests/url/urlsearchparams-get.html
       imported/w3c/web-platform-tests/url/urlsearchparams-getall.html
       imported/w3c/web-platform-tests/url/urlsearchparams-has.html
       imported/w3c/web-platform-tests/url/urlsearchparams-set.html
       imported/w3c/web-platform-tests/url/urlsearchparams-stringifier.html

* platform/URL.cpp:
(WebCore::URL::setQuery):

LayoutTests:

* TestExpectations:
Skip asserting test.

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

3 years ago[JSC] Make FRound work with any type
benjamin@webkit.org [Thu, 25 Aug 2016 01:21:43 +0000 (01:21 +0000)]
[JSC] Make FRound work with any type
https://bugs.webkit.org/show_bug.cgi?id=161129

Reviewed by Geoffrey Garen.

JSTests:

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

Source/JavaScriptCore:

Math.fround() does nothing with arguments past the first one
(https://tc39.github.io/ecma262/#sec-math.fround).
We can unify ArithFRound with the other single-input intrinsics.

Everything else is same old: if the input type is not a number,
be pessimistic about everything and do a C call.

* dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleIntrinsicCall):
* 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::compileArithFRound):
* 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::compileArithFRound):

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

3 years agocmake build broken by MessageRecorder removal
commit-queue@webkit.org [Thu, 25 Aug 2016 00:46:43 +0000 (00:46 +0000)]
cmake build broken by MessageRecorder removal
https://bugs.webkit.org/show_bug.cgi?id=161175

Patch by JF Bastien <jfbastien@apple.com> on 2016-08-24
Reviewed by Dean Jackson.

* PlatformMac.cmake:

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

3 years ago[iOS DRT] Hook up uiController.zoomToScale() for DRT
simon.fraser@apple.com [Wed, 24 Aug 2016 23:58:45 +0000 (23:58 +0000)]
[iOS DRT] Hook up uiController.zoomToScale() for DRT
https://bugs.webkit.org/show_bug.cgi?id=161173

Reviewed by Tim Horton.

Tools:

Make a UIWebScrollView subclass, DumpRenderTreeWebScrollView, which has an internal delegate to get
UIScrollView delegate callbacks. Store the zoomToScaleCompletionHandler on it.

UIScriptController::zoomToScale() has to bounce the zoom to the main thread (no poking UIKit from
the WebThread!), but queue up the callback first.

* DumpRenderTree/ios/DumpRenderTreeBrowserView.h:
* DumpRenderTree/ios/DumpRenderTreeBrowserView.mm:
(-[DumpRenderTreeWebScrollView initWithFrame:]):
(-[DumpRenderTreeWebScrollView dealloc]):
(-[DumpRenderTreeWebScrollView zoomToScale:animated:completionHandler:]):
(-[DumpRenderTreeWebScrollView completedZoomToScale]):
(-[DumpRenderTreeWebScrollViewDelegate initWithScrollView:]):
(-[DumpRenderTreeWebScrollViewDelegate viewForZoomingInScrollView:]): All UIScrollView delegates need to implement this.
(-[DumpRenderTreeWebScrollViewDelegate scrollViewDidEndZooming:withView:atScale:]):
* DumpRenderTree/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptController::zoomToScale):
* DumpRenderTree/mac/DumpRenderTree.mm:
(createWebViewAndOffscreenWindow):
* TestRunnerShared/UIScriptContext/UIScriptController.h:
(WTR::UIScriptController::context):

LayoutTests:

The one test in fast/zooming/ios works in DRT and WTR now.

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

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

3 years agoUnreviewed, rebase iOS simulator WK1 fast/table tests
jiewen_tan@apple.com [Wed, 24 Aug 2016 23:47:01 +0000 (23:47 +0000)]
Unreviewed, rebase iOS simulator WK1 fast/table tests

* platform/ios-simulator-wk1/TestExpectations:
* platform/ios-simulator-wk1/fast/table/003-expected.txt:
* platform/ios-simulator-wk1/fast/table/024-expected.txt:
* platform/ios-simulator-wk1/fast/table/031-expected.txt:
* platform/ios-simulator-wk1/fast/table/032-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/004-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/004-vertical-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/bug14274-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-cell-append-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-cell-remove-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-cell-border-color-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-col-border-color-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-col-border-width-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-colgroup-border-color-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-colgroup-border-width-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-row-border-color-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-table-border-color-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-table-border-width-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-tbody-border-color-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/collapsed-borders-adjoining-sections-vertical-rl-expected.txt:
* platform/ios-simulator-wk1/fast/table/border-collapsing/collapsed-borders-painted-once-on-inner-cells-expected.txt:
* platform/ios-simulator-wk1/fast/table/colspan-with-all-percent-cells-expected.txt:
* platform/ios-simulator-wk1/fast/table/edge-offsets-expected.txt: Added.
* platform/ios-simulator-wk1/fast/table/overflowHidden-expected.txt:
* platform/ios-simulator-wk1/fast/table/percent-widths-stretch-vertical-expected.txt:
* platform/ios-simulator-wk1/fast/table/simple_paint-expected.txt:
* platform/ios-simulator-wk1/fast/table/table-anonymous-cell-bug-expected.txt:
* platform/ios-simulator-wk1/fast/table/table-anonymous-row-bug-expected.txt:
* platform/ios-simulator-wk1/fast/table/table-anonymous-section-bug-expected.txt:
* platform/ios-simulator-wk1/fast/table/table-cell-split-expected.txt:
* platform/ios-simulator-wk1/fast/table/table-insert-before-non-anonymous-block-expected.txt:
* platform/ios-simulator-wk2/TestExpectations:
* platform/ios-simulator/TestExpectations:

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

3 years agoRebaseline bindings tests after r204923.
ryanhaddad@apple.com [Wed, 24 Aug 2016 23:36:46 +0000 (23:36 +0000)]
Rebaseline bindings tests after r204923.

Unreviewed test gardening.

* bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
(WebCore::jsTestActiveDOMObjectExcitingAttr):
(WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunction):

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

3 years agoShrink DFG::OSRExit a bit.
akling@apple.com [Wed, 24 Aug 2016 23:27:30 +0000 (23:27 +0000)]
Shrink DFG::OSRExit a bit.
<https://webkit.org/b/161169>

Reviewed by Geoffrey Garen.

Rearrange the members of OSRExitBase and DFG::OSRExit to save 16 bytes per instance.

* dfg/DFGOSRExit.cpp:
(JSC::DFG::OSRExit::OSRExit):
* dfg/DFGOSRExit.h:
* dfg/DFGOSRExitBase.h:
(JSC::DFG::OSRExitBase::OSRExitBase):

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

3 years agoFocusController multiple dereferenced NULL pointers
commit-queue@webkit.org [Wed, 24 Aug 2016 23:26:20 +0000 (23:26 +0000)]
FocusController multiple dereferenced NULL pointers
https://bugs.webkit.org/show_bug.cgi?id=160808

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

Source/WebCore:

No new tests needed, fix does not change functionality.

This change fixes a number of NULL pointer dereferences which occur in FocusController.

* page/FocusController.cpp:
(WebCore::isFocusableElementOrScopeOwner): Changed KeyboardEvent reference to pointer.
(WebCore::isNonFocusableScopeOwner): Ditto.
(WebCore::isFocusableScopeOwner): Ditto.
(WebCore::shadowAdjustedTabIndex): Ditto.

(WebCore::FocusController::findFocusableElementAcrossFocusScope): Pass pointer instead of reference to KeyboardEvent.
(WebCore::FocusController::nextFocusableElementWithinScope): Ditto.
(WebCore::FocusController::previousFocusableElementWithinScope): Ditto.
(WebCore::FocusController::findElementWithExactTabIndex): Ditto.
(WebCore::nextElementWithGreaterTabIndex): Ditto.
(WebCore::previousElementWithLowerTabIndex): Ditto.
(WebCore::FocusController::nextFocusableElementOrScopeOwner): Ditto.
(WebCore::FocusController::previousFocusableElementOrScopeOwner): Ditto.
(WebCore::relinquishesEditingFocus): Ditto.

Source/WebKit2:

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setInitialFocus): Should use nullptr, not 0 to initialize NULL pointer.

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

3 years agoWeb Inspector: unexpected cursor changes while dragging ruler handle in rendering...
mattbaker@apple.com [Wed, 24 Aug 2016 23:21:14 +0000 (23:21 +0000)]
Web Inspector: unexpected cursor changes while dragging ruler handle in rendering frames timeline
https://bugs.webkit.org/show_bug.cgi?id=161101
<rdar://problem/27974117>

Reviewed by Brian Burg.

-webkit-grab(bing) cursor styles shouldn't be applied to the selection
drag element when resizing.

* UserInterface/Views/TimelineRuler.css:
(.timeline-ruler:not(.disabled, .resizing-selection) > .selection-drag):
(.timeline-ruler:not(.disabled, .resizing-selection) > .selection-drag:active):
(.timeline-ruler:not(.disabled) > .selection-drag): Deleted.
(.timeline-ruler:not(.disabled) > .selection-drag:active): Deleted.

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

3 years agoAX: VoiceOver on iOS ignores aria-checked on menuitemradio and menuitemcheckbox
n_wang@apple.com [Wed, 24 Aug 2016 22:25:17 +0000 (22:25 +0000)]
AX: VoiceOver on iOS ignores aria-checked on menuitemradio and menuitemcheckbox
https://bugs.webkit.org/show_bug.cgi?id=161118

Reviewed by Chris Fleizach.

Source/WebCore:

Added checkboxOrRadioValue and toggle trait to menuitemradio and menuitemcheckbox.

Test: accessibility/ios-simulator/menuitem-checked.html

* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper accessibilityTraits]):
(-[WebAccessibilityObjectWrapper accessibilityValue]):

LayoutTests:

* accessibility/ios-simulator/menuitem-checked-expected.txt: Added.
* accessibility/ios-simulator/menuitem-checked.html: Added.

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

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

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

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

3 years agoAssertion hit: ASSERT(!m_parserScheduler) in ~HTMLDocumentParser()
cdumez@apple.com [Wed, 24 Aug 2016 21:58:33 +0000 (21:58 +0000)]
Assertion hit: ASSERT(!m_parserScheduler) in ~HTMLDocumentParser()
https://bugs.webkit.org/show_bug.cgi?id=161083
<rdar://problem/27986937>

Reviewed by Darin Adler.

Source/WebCore:

Call cancelParsing() right before re-creating the new parser in
Document::implicitOpen(). We would previously call removeChildren()
in between which is was an issue because it can cause JS to be
executed and therefore the parser to be re-created after we have
cancelled parsing.

No new tests, unskipped html/browsers/browsing-the-web/unloading-documents/004.html
which was consistently crashing.

* dom/Document.cpp:
(WebCore::Document::implicitOpen):

LayoutTests:

Unskip html/browsers/browsing-the-web/unloading-documents/004.html as
it is no longer crashing.

* TestExpectations:

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

3 years ago[MediaStream] Add support for OverConstrained Error
eric.carlson@apple.com [Wed, 24 Aug 2016 21:55:27 +0000 (21:55 +0000)]
[MediaStream] Add support for OverConstrained Error
https://bugs.webkit.org/show_bug.cgi?id=160790
<rdar://problem/27815715>

Reviewed by Jer Noble.

Source/WebCore:

Existing tests updated.

* DerivedSources.make:
* Modules/mediastream/OverconstrainedError.h: Added.
(WebCore::OverconstrainedError::create):
(WebCore::OverconstrainedError::constraint):
(WebCore::OverconstrainedError::message):
(WebCore::OverconstrainedError::OverconstrainedError):
* Modules/mediastream/OverconstrainedError.idl: Added.
* WebCore.xcodeproj/project.pbxproj:

LayoutTests:

* fast/dom/Window/get-set-properties-expected.txt:
* fast/dom/Window/get-set-properties.html:
* fast/dom/Window/resources/window-properties.js:
* fast/dom/Window/window-property-shadowing-expected.txt:
* fast/dom/Window/window-property-shadowing.html:
* platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:

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

3 years agoUnreviewed, rebase iOS simulator WK1 css3 tests
jiewen_tan@apple.com [Wed, 24 Aug 2016 21:39:44 +0000 (21:39 +0000)]
Unreviewed, rebase iOS simulator WK1 css3 tests

* platform/ios-simulator-wk1/css3/blending/blend-mode-accelerated-with-multiple-stacking-contexts-expected.txt: Removed.
* platform/ios-simulator-wk1/css3/blending/blend-mode-ancestor-clipping-layer-expected.txt: Removed.
* platform/ios-simulator-wk1/css3/blending/blend-mode-blended-element-overlapping-composited-sibling-should-have-compositing-layer-expected.txt: Removed.
* platform/ios-simulator-wk1/css3/blending/blend-mode-isolation-accelerated-overflow-hidden-expected.txt: Removed.
* platform/ios-simulator-wk1/css3/blending/blend-mode-with-accelerated-sibling-expected.txt: Removed.
* platform/ios-simulator-wk1/css3/blending/blend-mode-with-composited-descendant-should-have-layer-expected.txt: Removed.
* platform/ios-simulator-wk1/css3/filters/backdrop/backdrop-filter-does-not-size-properly-border-and-padding-expected.txt: Removed.
* platform/ios-simulator-wk1/css3/filters/filtered-compositing-descendant-expected.txt: Removed.

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

3 years agoAttempt to fix Windows build after r204918.
ryanhaddad@apple.com [Wed, 24 Aug 2016 21:34:19 +0000 (21:34 +0000)]
Attempt to fix Windows build after r204918.

Unreviewed build fix.

* DumpRenderTree/win/ResourceLoadDelegate.cpp:
(ResourceLoadDelegate::willSendRequest):

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

3 years agoBuild the platform name dynamically for the phony WebKitLegacy framework
andersca@apple.com [Wed, 24 Aug 2016 21:17:54 +0000 (21:17 +0000)]
Build the platform name dynamically for the phony WebKitLegacy framework
https://bugs.webkit.org/show_bug.cgi?id=161163

Reviewed by Dan Bernstein.

* Configurations/WebKitLegacyStub.iOS.tbd:
* WebCore.xcodeproj/project.pbxproj:

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

3 years ago[iOS DRT] Get basic viewport tests working in DRT
simon.fraser@apple.com [Wed, 24 Aug 2016 20:53:30 +0000 (20:53 +0000)]
[iOS DRT] Get basic viewport tests working in DRT
https://bugs.webkit.org/show_bug.cgi?id=161160

Reviewed by Tim Horton.

Tools:

Hook up enough of UIScriptController in iOS DRT to be able to read viewport
scale, and get the contentVisibleRect.

Requires exposing a bit of UIWebBrowserView SPI from UIKit, which in turn
requires typing the gWebBrowserView as a DumpRenderTreeBrowserView * everywhere.

One test has different results between DRT and WTR, but DRT behavior seems to differ
from UIWebView here, so just give it a WK1-specific result.

* DumpRenderTree/ios/DumpRenderTreeBrowserView.h:
* DumpRenderTree/ios/DumpRenderTreeBrowserView.mm:
(-[DumpRenderTreeBrowserView documentVisibleRect]):
* DumpRenderTree/ios/PixelDumpSupportIOS.mm:
* DumpRenderTree/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptController::zoomScale):
(WTR::UIScriptController::minimumZoomScale):
(WTR::UIScriptController::maximumZoomScale):
(WTR::UIScriptController::contentVisibleRect):
* DumpRenderTree/mac/DumpRenderTree.mm:
(createWebViewAndOffscreenWindow):
* DumpRenderTree/mac/DumpRenderTreeMac.h:

LayoutTests:

Enable some fast/viewport/ios/ tests for ios-simulator-wk1 that work now.

"body-overflow-hidden" tests should pass everywhere now since the behavior of overflow:hidden
on the body was reverted.

* fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt:
* fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt:
* fast/viewport/ios/width-is-device-width-overflowing-expected.txt:
* platform/ios-simulator-wk1/TestExpectations:
* platform/ios-simulator-wk1/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt: Renamed from LayoutTests/platform/ios-simulator/fast/viewport/ios/width-is-device-width-overflowing-expected.txt.
* platform/ios-simulator-wk2/TestExpectations:
* platform/ios-simulator/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt: Removed.
* platform/ios-simulator/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt: Removed.

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

3 years agoMinor project rearrangement.
simon.fraser@apple.com [Wed, 24 Aug 2016 20:53:25 +0000 (20:53 +0000)]
Minor project rearrangement.

* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:

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

3 years ago[iOS DRT] Make iOS DRT use the same window size as WebKitTestRunner for flexible...
simon.fraser@apple.com [Wed, 24 Aug 2016 20:53:22 +0000 (20:53 +0000)]
[iOS DRT] Make iOS DRT use the same window size as WebKitTestRunner for flexible viewport tests
https://bugs.webkit.org/show_bug.cgi?id=161124

Reviewed by Daniel Bates.

Use the main UIScreen's bounds for the size of the window in flexible viewport mode,
and remove the 'phoneBrowserAddressBarOffset' hack, so that it matches WTR.

Remove some unnecessary zero initializations of static variables.

Change _setVisibleSize to use the window size, which should not be a behavior change
because this it just used for text autosizing, which is disabled by default,
and only the width is consulted.

* DumpRenderTree/mac/DumpRenderTree.mm:
(adjustWebDocumentForFlexibleViewport):
(adjustWebDocumentForStandardViewport):
(createWebViewAndOffscreenWindow):

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

3 years agoRebaseline builtins-generator-tests since r204854 was rolled out.
ryanhaddad@apple.com [Wed, 24 Aug 2016 20:32:41 +0000 (20:32 +0000)]
Rebaseline builtins-generator-tests since r204854 was rolled out.

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@204928 268f45cc-cd09-0410-ab3c-d52691b4dbfc

3 years agoMarking wpt LayoutTest scroll-restoration-fragment-scrolling-samedoc.html as flaky...
ryanhaddad@apple.com [Wed, 24 Aug 2016 20:32:36 +0000 (20:32 +0000)]
Marking wpt LayoutTest scroll-restoration-fragment-scrolling-samedoc.html as flaky on ios-simulator.
https://bugs.webkit.org/show_bug.cgi?id=161143

Unreviewed test gardening.

* platform/ios-simulator/TestExpectations:

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

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

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

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

3 years agoUnskip inspector/codemirror tests on mac-wk1 debug.
ryanhaddad@apple.com [Wed, 24 Aug 2016 20:02:27 +0000 (20:02 +0000)]
Unskip inspector/codemirror tests on mac-wk1 debug.
https://bugs.webkit.org/show_bug.cgi?id=161117

Unreviewed test gardening.

* platform/mac-wk1/TestExpectations:

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

3 years agoWeb Inspector: Shift-Tab should unindent selected line
commit-queue@webkit.org [Wed, 24 Aug 2016 20:00:31 +0000 (20:00 +0000)]
Web Inspector: Shift-Tab should unindent selected line
https://bugs.webkit.org/show_bug.cgi?id=159316

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

* UserInterface/Views/CodeMirrorAdditions.js:
(CodeMirror.keyMap["default"]):
Changed "Shift-Tab" mapping to "indentLess".

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

3 years agoIt should not be possible to access Location attributes cross origin
cdumez@apple.com [Wed, 24 Aug 2016 19:52:07 +0000 (19:52 +0000)]
It should not be possible to access Location attributes cross origin
https://bugs.webkit.org/show_bug.cgi?id=161125
<rdar://problem/27982472>

Reviewed by Brent Fulgham.

Source/WebCore:

It should not be possible to access Location attributes cross origin:
- https://html.spec.whatwg.org/#crossoriginproperties-(-o-)

We allow access to replace() as per the specification and consistently
with Firefox. The specification seems to indicate we should allow access
to 'href' but Firefox does not and we previously did not so I am not
allowing it in this patch.

Test: http/tests/security/location-cross-origin.html

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
* page/Location.idl:

LayoutTests:

Add layout test coverage.

* http/tests/security/location-cross-origin-expected.txt: Added.
* http/tests/security/location-cross-origin.html: Added.

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

3 years ago[JSC] Move generic data structures out of B3
utatane.tea@gmail.com [Wed, 24 Aug 2016 19:35:41 +0000 (19:35 +0000)]
[JSC] Move generic data structures out of B3
https://bugs.webkit.org/show_bug.cgi?id=161155

Reviewed by Saam Barati.

Source/JavaScriptCore:

Move B3's good generic data structures to WTF.
They can be used for the other kind of basic blocks and nodes.
For example, the generator patch[1] will make BytecodeBasicBlock usable with these structures.

[1]: https://bugs.webkit.org/show_bug.cgi?id=152723

* JavaScriptCore.xcodeproj/project.pbxproj:
* b3/B3BasicBlockUtils.h:
* b3/B3BlockWorklist.h:
* b3/B3CFG.h:
* b3/B3DuplicateTails.cpp:
* b3/B3FixSSA.cpp:
* b3/B3FixSSA.h:
* b3/B3IndexMap.h:
(JSC::B3::IndexMap::IndexMap): Deleted.
(JSC::B3::IndexMap::resize): Deleted.
(JSC::B3::IndexMap::clear): Deleted.
(JSC::B3::IndexMap::size): Deleted.
(JSC::B3::IndexMap::operator[]): Deleted.
* b3/B3IndexSet.h:
(JSC::B3::IndexSet::IndexSet): Deleted.
(JSC::B3::IndexSet::add): Deleted.
(JSC::B3::IndexSet::addAll): Deleted.
(JSC::B3::IndexSet::remove): Deleted.
(JSC::B3::IndexSet::contains): Deleted.
(JSC::B3::IndexSet::size): Deleted.
(JSC::B3::IndexSet::isEmpty): Deleted.
(JSC::B3::IndexSet::Iterable::Iterable): Deleted.
(JSC::B3::IndexSet::Iterable::iterator::iterator): Deleted.
(JSC::B3::IndexSet::Iterable::iterator::operator*): Deleted.
(JSC::B3::IndexSet::Iterable::iterator::operator++): Deleted.
(JSC::B3::IndexSet::Iterable::iterator::operator==): Deleted.
(JSC::B3::IndexSet::Iterable::iterator::operator!=): Deleted.
(JSC::B3::IndexSet::Iterable::begin): Deleted.
(JSC::B3::IndexSet::Iterable::end): Deleted.
(JSC::B3::IndexSet::values): Deleted.
(JSC::B3::IndexSet::indices): Deleted.
(JSC::B3::IndexSet::dump): Deleted.
* b3/B3LowerToAir.cpp:
* b3/B3PhiChildren.h:
* b3/B3Procedure.h:
(JSC::B3::Procedure::iterator::iterator): Deleted.
(JSC::B3::Procedure::iterator::operator*): Deleted.
(JSC::B3::Procedure::iterator::operator++): Deleted.
(JSC::B3::Procedure::iterator::operator==): Deleted.
(JSC::B3::Procedure::iterator::operator!=): Deleted.
(JSC::B3::Procedure::iterator::findNext): Deleted.
* b3/B3ReduceDoubleToFloat.cpp:
* b3/B3ReduceStrength.cpp:
* b3/B3SSACalculator.h:
* b3/B3UseCounts.h:
* b3/air/AirCode.h:
* b3/air/AirEliminateDeadCode.cpp:
* b3/air/AirFixObviousSpills.cpp:
* b3/air/AirFixPartialRegisterStalls.cpp:
* b3/air/AirGenerate.cpp:
* b3/air/AirGenerationContext.h:
* b3/air/AirLiveness.h:
* b3/air/AirSpillEverything.cpp:

Source/WTF:

Add IndexSet, IndexMap, and IndexedContainerIterator.

* WTF.xcodeproj/project.pbxproj:
* wtf/CMakeLists.txt:
* wtf/IndexMap.h: Copied from Source/JavaScriptCore/b3/B3IndexMap.h.
(WTF::IndexMap::IndexMap):
(WTF::IndexMap::resize):
(WTF::IndexMap::clear):
(WTF::IndexMap::size):
(WTF::IndexMap::operator[]):
* wtf/IndexSet.h: Renamed from Source/JavaScriptCore/b3/B3IndexSet.h.
(WTF::IndexSet::IndexSet):
(WTF::IndexSet::add):
(WTF::IndexSet::addAll):
(WTF::IndexSet::remove):
(WTF::IndexSet::contains):
(WTF::IndexSet::size):
(WTF::IndexSet::isEmpty):
(WTF::IndexSet::Iterable::Iterable):
(WTF::IndexSet::Iterable::iterator::iterator):
(WTF::IndexSet::Iterable::iterator::operator*):
(WTF::IndexSet::Iterable::iterator::operator++):
(WTF::IndexSet::Iterable::iterator::operator==):
(WTF::IndexSet::Iterable::iterator::operator!=):
(WTF::IndexSet::Iterable::begin):
(WTF::IndexSet::Iterable::end):
(WTF::IndexSet::values):
(WTF::IndexSet::indices):
(WTF::IndexSet::dump):
* wtf/IndexedContainerIterator.h: Renamed from Source/JavaScriptCore/b3/B3IndexMap.h.
(WTF::IndexedContainerIterator::IndexedContainerIterator):
(WTF::IndexedContainerIterator::operator++):
(WTF::IndexedContainerIterator::operator==):
(WTF::IndexedContainerIterator::operator!=):
(WTF::IndexedContainerIterator::findNext):

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

3 years agoAdd User Timing to the feature status page
commit-queue@webkit.org [Wed, 24 Aug 2016 19:29:52 +0000 (19:29 +0000)]
Add User Timing to the feature status page
https://bugs.webkit.org/show_bug.cgi?id=161154

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-08-24
Reviewed by Darin Adler.

* features.json:

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

3 years agoWebKit2 needs layoutTestController.setDeferMainResourceDataLoad
commit-queue@webkit.org [Wed, 24 Aug 2016 19:27:24 +0000 (19:27 +0000)]
WebKit2 needs layoutTestController.setDeferMainResourceDataLoad
https://bugs.webkit.org/show_bug.cgi?id=42777

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

The setDeferMainResourceDataLoad method was not correctly tested in DumpRenderTree and would pass even when setDeterMainResourceDataLoad was not called.  Removed function and test.

Tools:

* DumpRenderTree/TestRunner.cpp:
(setDeferMainResourceDataLoadCallback): Removed setDeferMainResourceDataLoad.
* DumpRenderTree/TestRunner.h:
(TestRunner::deferMainResourceDataLoad): Ditto.
(TestRunner::setDeferMainResourceDataLoad): Ditto.
* DumpRenderTree/mac/ResourceLoadDelegate.mm: Ditto.

LayoutTests:

* fast/loader/non-deferred-substitute-load-expected.txt: Removed fast/loader/non-deferred-substitute-load.html.
* fast/loader/non-deferred-substitute-load.html: Ditto.
* platform/ios-simulator-wk2/TestExpectations: Ditto.
* platform/win/TestExpectations: Ditto.
* platform/wk2/TestExpectations: Ditto.

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

3 years agoSource/bmalloc:
akling@apple.com [Wed, 24 Aug 2016 19:23:47 +0000 (19:23 +0000)]
Source/bmalloc:
Add bmalloc::api::isEnabled().
<https://webkit.org/b/160534>

Reviewed by Joseph Pecoraro.

* bmalloc/bmalloc.h:
(bmalloc::api::isEnabled):

Source/WebCore:
Leaks bot hits an assertion in ResourceUsageThread::platformThreadBody
<https://webkit.org/b/160534>

Reviewed by Joseph Pecoraro.

Use the correct malloc bucket when bmalloc is disabled (which is the case on leaks bots.)

* page/cocoa/ResourceUsageThreadCocoa.mm:
(WebCore::ResourceUsageThread::platformThreadBody):

Source/WTF:
Add WTF::isFastMallocEnabled().
<https://webkit.org/b/160534>

Reviewed by Joseph Pecoraro.

* wtf/FastMalloc.cpp:
(WTF::isFastMallocEnabled):
* wtf/FastMalloc.h:

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

3 years agoAdd enum traits and use them in the IPC::Decoder
andersca@apple.com [Wed, 24 Aug 2016 19:14:28 +0000 (19:14 +0000)]
Add enum traits and use them in the IPC::Decoder
https://bugs.webkit.org/show_bug.cgi?id=161103

Reviewed by Sam Weinig.

Source/WebKit2:

* Platform/IPC/Decoder.h:
* Platform/IPC/Encoder.h:
Add new encode/decode functions.

* Shared/mac/ArgumentCodersMac.mm:
Change NSType to be a strongly typed enum. Use encode/decode
instead of encodeEnum/decodeEnum since the latter don't have the
enum check.

Source/WTF:

Add EnumTraits.h which provides a forward declaration for WTF::EnumTraits as well as
the WTF::isValidEnum function.

* WTF.xcodeproj/project.pbxproj:
* wtf/EnumTraits.h: Added.

Tools:

Add API test.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WTF/EnumTraits.cpp: Added.
(TestWebKitAPI::TEST):

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

3 years agoUnreviewed, temporarily skipping W3C tests trying to load www1.localhost.
cdumez@apple.com [Wed, 24 Aug 2016 19:05:45 +0000 (19:05 +0000)]
Unreviewed, temporarily skipping W3C tests trying to load www1.localhost.

* TestExpectations:

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

3 years agoVersioning.
bshafiei@apple.com [Wed, 24 Aug 2016 19:01:48 +0000 (19:01 +0000)]
Versioning.

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

3 years agoUnreviewed, roll out r204901, r204897, r204866, r204856, r204854.
fpizlo@apple.com [Wed, 24 Aug 2016 19:00:37 +0000 (19:00 +0000)]
Unreviewed, roll out r204901, r204897, r204866, r204856, r204854.

JSTests:

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

Source/bmalloc:

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

Source/JavaScriptCore:

* 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::link):
(JSC::AbstractMacroAssembler::JumpList::linkTo):
* assembler/MacroAssembler.h:
* assembler/MacroAssemblerARM64.h:
(JSC::MacroAssemblerARM64::add32):
* assembler/MacroAssemblerCodeRef.cpp: Removed.
* assembler/MacroAssemblerCodeRef.h:
(JSC::MacroAssemblerCodePtr::createLLIntCodePtr):
(JSC::MacroAssemblerCodePtr::dumpWithName):
(JSC::MacroAssemblerCodePtr::dump):
(JSC::MacroAssemblerCodeRef::createLLIntCodeRef):
(JSC::MacroAssemblerCodeRef::dump):
* b3/B3BasicBlock.cpp:
(JSC::B3::BasicBlock::appendBoolConstant): Deleted.
* b3/B3BasicBlock.h:
* b3/B3DuplicateTails.cpp:
* b3/B3StackmapGenerationParams.h:
* b3/testb3.cpp:
(JSC::B3::run):
(JSC::B3::testPatchpointTerminalReturnValue): Deleted.
* bindings/ScriptValue.cpp:
* bytecode/AdaptiveInferredPropertyValueWatchpointBase.cpp:
* bytecode/BytecodeBasicBlock.cpp:
* bytecode/BytecodeLivenessAnalysis.cpp:
* bytecode/BytecodeUseDef.h:
* bytecode/CallLinkInfo.cpp:
(JSC::CallLinkInfo::callTypeFor): Deleted.
* bytecode/CallLinkInfo.h:
(JSC::CallLinkInfo::callTypeFor):
* bytecode/CallLinkStatus.cpp:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::finishCreation):
(JSC::CodeBlock::clearLLIntGetByIdCache): Deleted.
* bytecode/CodeBlock.h:
(JSC::CodeBlock::jitCodeMap):
(JSC::clearLLIntGetByIdCache):
* bytecode/Instruction.h:
* bytecode/LLIntPrototypeLoadAdaptiveStructureWatchpoint.cpp:
(JSC::LLIntPrototypeLoadAdaptiveStructureWatchpoint::fireInternal):
* bytecode/ObjectAllocationProfile.h:
(JSC::ObjectAllocationProfile::isNull):
(JSC::ObjectAllocationProfile::initialize):
* bytecode/Opcode.h:
(JSC::padOpcodeName):
* bytecode/PolymorphicAccess.cpp:
(JSC::AccessCase::generateImpl):
(JSC::PolymorphicAccess::regenerate):
* bytecode/PolymorphicAccess.h:
* bytecode/PreciseJumpTargets.cpp:
* bytecode/StructureStubInfo.cpp:
* bytecode/StructureStubInfo.h:
* bytecode/UnlinkedCodeBlock.cpp:
(JSC::UnlinkedCodeBlock::vm):
* bytecode/UnlinkedCodeBlock.h:
* bytecode/UnlinkedInstructionStream.cpp:
* bytecode/UnlinkedInstructionStream.h:
* 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):
(JSC::DFG::SpeculativeJIT::compileAllocateNewArrayWithSize):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
(JSC::DFG::SpeculativeJIT::compileAllocateNewArrayWithSize):
* 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::compileCreateRest):
(JSC::FTL::DFG::LowerDFGToB3::compileAllocateArrayWithSize):
(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::allocateCell):
(JSC::FTL::DFG::LowerDFGToB3::allocateObject):
(JSC::FTL::DFG::LowerDFGToB3::allocateVariableSizedObject):
(JSC::FTL::DFG::LowerDFGToB3::allocateJSArray):
(JSC::FTL::DFG::LowerDFGToB3::allocateArrayWithSize): Deleted.
(JSC::FTL::DFG::LowerDFGToB3::allocateHeapCell): Deleted.
(JSC::FTL::DFG::LowerDFGToB3::allocatorForSize): Deleted.
* ftl/FTLOutput.cpp:
(JSC::FTL::Output::constBool):
(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::addIncomingToPhi):
(JSC::FTL::Output::appendSuccessor): Deleted.
* ftl/FTLOutput.h:
* ftl/FTLValueFromBlock.h:
(JSC::FTL::ValueFromBlock::ValueFromBlock):
(JSC::FTL::ValueFromBlock::operator bool): Deleted.
* ftl/FTLWeightedTarget.h:
(JSC::FTL::WeightedTarget::frequentedBlock): Deleted.
* heap/CellContainer.h: Removed.
* heap/CellContainerInlines.h: Removed.
* heap/ConservativeRoots.cpp:
(JSC::ConservativeRoots::ConservativeRoots):
(JSC::ConservativeRoots::~ConservativeRoots):
(JSC::ConservativeRoots::grow):
(JSC::ConservativeRoots::genericAddPointer):
(JSC::ConservativeRoots::genericAddSpan):
* heap/ConservativeRoots.h:
(JSC::ConservativeRoots::roots):
* heap/CopyToken.h:
* heap/FreeList.cpp: Removed.
* heap/FreeList.h: Removed.
* heap/Heap.cpp:
(JSC::Heap::Heap):
(JSC::Heap::lastChanceToFinalize):
(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::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):
(JSC::Heap::collectWithoutAnySweep): Deleted.
(JSC::Heap::prepareForMarking): Deleted.
(JSC::Heap::forEachCodeBlockImpl): Deleted.
* heap/Heap.h:
(JSC::Heap::allocatorForObjectWithoutDestructor):
(JSC::Heap::allocatorForObjectWithDestructor):
(JSC::Heap::storageAllocator):
(JSC::Heap::jitStubRoutines):
(JSC::Heap::codeBlockSet):
(JSC::Heap::allocatorForAuxiliaryData): Deleted.
* heap/HeapCell.h:
(JSC::HeapCell::isZapped):
* heap/HeapCellInlines.h: Removed.
* heap/HeapInlines.h:
(JSC::Heap::heap):
(JSC::Heap::isLive):
(JSC::Heap::isMarked):
(JSC::Heap::testAndSetMarked):
(JSC::Heap::setMarked):
(JSC::Heap::forEachCodeBlock):
(JSC::Heap::allocateObjectOfType):
(JSC::Heap::subspaceForObjectOfType):
(JSC::Heap::allocatorForObjectOfType):
(JSC::Heap::isPointerGCObject):
(JSC::Heap::isValueGCObject):
(JSC::Heap::cellSize): Deleted.
(JSC::Heap::allocateAuxiliary): Deleted.
(JSC::Heap::tryAllocateAuxiliary): Deleted.
(JSC::Heap::tryReallocateAuxiliary): Deleted.
* heap/HeapUtil.h: Removed.
* heap/LargeAllocation.cpp: Removed.
* heap/LargeAllocation.h: Removed.
* heap/MarkedAllocator.cpp:
(JSC::MarkedAllocator::retire):
(JSC::MarkedAllocator::tryAllocateHelper):
(JSC::MarkedAllocator::tryPopFreeList):
(JSC::MarkedAllocator::tryAllocate):
(JSC::MarkedAllocator::allocateSlowCase):
(JSC::MarkedAllocator::allocateBlock):
(JSC::MarkedAllocator::addBlock):
(JSC::MarkedAllocator::removeBlock):
(JSC::MarkedAllocator::reset):
(JSC::MarkedAllocator::MarkedAllocator): Deleted.
(JSC::MarkedAllocator::tryAllocateWithoutCollectingImpl): Deleted.
(JSC::MarkedAllocator::tryAllocateWithoutCollecting): Deleted.
(JSC::MarkedAllocator::tryAllocateSlowCase): Deleted.
(JSC::MarkedAllocator::allocateSlowCaseImpl): Deleted.
(JSC::blockHeaderSize): Deleted.
(JSC::MarkedAllocator::blockSizeForBytes): Deleted.
(JSC::MarkedAllocator::tryAllocateBlock): Deleted.
(JSC::MarkedAllocator::setFreeList): Deleted.
* heap/MarkedAllocator.h:
(JSC::MarkedAllocator::offsetOfFreeListHead):
(JSC::MarkedAllocator::MarkedAllocator):
(JSC::MarkedAllocator::init):
(JSC::MarkedAllocator::allocate):
(JSC::MarkedAllocator::stopAllocating):
(JSC::MarkedAllocator::offsetOfFreeList): Deleted.
(JSC::MarkedAllocator::offsetOfCellSize): Deleted.
(JSC::MarkedAllocator::tryAllocate): Deleted.
* heap/MarkedBlock.cpp:
(JSC::MarkedBlock::create):
(JSC::MarkedBlock::MarkedBlock):
(JSC::MarkedBlock::callDestructor):
(JSC::MarkedBlock::specializedSweep):
(JSC::MarkedBlock::sweep):
(JSC::MarkedBlock::sweepHelper):
(JSC::MarkedBlock::stopAllocating):
(JSC::MarkedBlock::clearMarksWithCollectionType):
(JSC::MarkedBlock::resumeAllocating):
(JSC::MarkedBlock::didRetireBlock):
(JSC::MarkedBlock::tryCreate): Deleted.
(JSC::MarkedBlock::sweepHelperSelectScribbleMode): Deleted.
(JSC::MarkedBlock::sweepHelperSelectStateAndSweepMode): Deleted.
(JSC::MarkedBlock::forEachFreeCell): Deleted.
* heap/MarkedBlock.h:
(JSC::MarkedBlock::FreeList::FreeList):
(JSC::MarkedBlock::isEmpty):
(JSC::MarkedBlock::setHasAnyMarked): Deleted.
(JSC::MarkedBlock::hasAnyMarked): Deleted.
(JSC::MarkedBlock::clearHasAnyMarked): Deleted.
(JSC::MarkedBlock::cellAlign): Deleted.
* heap/MarkedSpace.cpp:
(JSC::MarkedSpace::MarkedSpace):
(JSC::MarkedSpace::lastChanceToFinalize):
(JSC::MarkedSpace::sweep):
(JSC::MarkedSpace::zombifySweep):
(JSC::MarkedSpace::resetAllocators):
(JSC::MarkedSpace::visitWeakSets):
(JSC::MarkedSpace::reapWeakSets):
(JSC::MarkedSpace::forEachAllocator):
(JSC::MarkedSpace::stopAllocating):
(JSC::MarkedSpace::resumeAllocating):
(JSC::MarkedSpace::isPagedOut):
(JSC::MarkedSpace::shrink):
(JSC::MarkedSpace::clearNewlyAllocated):
(JSC::MarkedSpace::clearMarks):
(JSC::MarkedSpace::initializeSizeClassForStepSize): Deleted.
(JSC::MarkedSpace::allocate): Deleted.
(JSC::MarkedSpace::tryAllocate): Deleted.
(JSC::MarkedSpace::allocateLarge): Deleted.
(JSC::MarkedSpace::tryAllocateLarge): Deleted.
(JSC::MarkedSpace::sweepLargeAllocations): Deleted.
(JSC::MarkedSpace::prepareForMarking): Deleted.
(JSC::MarkedSpace::objectCount): Deleted.
(JSC::MarkedSpace::size): Deleted.
(JSC::MarkedSpace::capacity): Deleted.
* heap/MarkedSpace.h:
(JSC::MarkedSpace::blocksWithNewObjects):
(JSC::MarkedSpace::forEachLiveCell):
(JSC::MarkedSpace::forEachDeadCell):
(JSC::MarkedSpace::allocatorFor):
(JSC::MarkedSpace::destructorAllocatorFor):
(JSC::MarkedSpace::auxiliaryAllocatorFor):
(JSC::MarkedSpace::allocateWithoutDestructor):
(JSC::MarkedSpace::allocateWithDestructor):
(JSC::MarkedSpace::allocateAuxiliary):
(JSC::MarkedSpace::forEachBlock):
(JSC::MarkedSpace::objectCount):
(JSC::MarkedSpace::size):
(JSC::MarkedSpace::capacity):
(JSC::MarkedSpace::sizeClassToIndex): Deleted.
(JSC::MarkedSpace::indexToSizeClass): Deleted.
(JSC::MarkedSpace::largeAllocations): Deleted.
(JSC::MarkedSpace::largeAllocationsNurseryOffset): Deleted.
(JSC::MarkedSpace::largeAllocationsOffsetForThisCollection): Deleted.
(JSC::MarkedSpace::largeAllocationsForThisCollectionBegin): Deleted.
(JSC::MarkedSpace::largeAllocationsForThisCollectionEnd): Deleted.
(JSC::MarkedSpace::largeAllocationsForThisCollectionSize): Deleted.
(JSC::MarkedSpace::tryAllocateAuxiliary): Deleted.
(JSC::MarkedSpace::forEachAllocator): Deleted.
(JSC::MarkedSpace::optimalSizeFor): Deleted.
* heap/SlotVisitor.cpp:
(JSC::SlotVisitor::didStartMarking):
(JSC::SlotVisitor::reset):
(JSC::SlotVisitor::append):
(JSC::SlotVisitor::setMarkedAndAppendToMarkStack):
(JSC::SlotVisitor::appendToMarkStack):
(JSC::SlotVisitor::visitChildren):
(JSC::SlotVisitor::appendJSCellOrAuxiliary): Deleted.
(JSC::SlotVisitor::markAuxiliary): Deleted.
(JSC::SlotVisitor::noteLiveAuxiliaryCell): Deleted.
* heap/SlotVisitor.h:
* heap/WeakBlock.cpp:
(JSC::WeakBlock::create):
(JSC::WeakBlock::WeakBlock):
(JSC::WeakBlock::visit):
(JSC::WeakBlock::reap):
* heap/WeakBlock.h:
(JSC::WeakBlock::disconnectMarkedBlock):
(JSC::WeakBlock::disconnectContainer): 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):
* interpreter/Interpreter.cpp:
(JSC::StackFrame::sourceID):
(JSC::StackFrame::sourceURL):
(JSC::StackFrame::functionName):
(JSC::loadVarargs):
(JSC::StackFrame::computeLineAndColumn):
(JSC::StackFrame::toString):
* interpreter/Interpreter.h:
(JSC::StackFrame::isNative):
* jit/AssemblyHelpers.h:
(JSC::AssemblyHelpers::emitAllocate):
(JSC::AssemblyHelpers::emitAllocateJSCell):
(JSC::AssemblyHelpers::emitAllocateJSObject):
(JSC::AssemblyHelpers::emitAllocateJSObjectWithKnownSize):
(JSC::AssemblyHelpers::emitAllocateVariableSized):
(JSC::AssemblyHelpers::emitAllocateWithNonNullAllocator): Deleted.
* jit/GCAwareJITStubRoutine.cpp:
(JSC::GCAwareJITStubRoutine::GCAwareJITStubRoutine):
* jit/JIT.cpp:
(JSC::JIT::compileCTINativeCall): Deleted.
* jit/JIT.h:
(JSC::JIT::compileCTINativeCall):
* jit/JITExceptions.cpp:
(JSC::genericUnwind): Deleted.
* jit/JITExceptions.h:
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_new_object):
(JSC::JIT::emitSlow_op_new_object):
(JSC::JIT::emit_op_create_this):
(JSC::JIT::emitSlow_op_create_this):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_new_object):
(JSC::JIT::emitSlow_op_new_object):
(JSC::JIT::emit_op_create_this):
(JSC::JIT::emitSlow_op_create_this):
* jit/JITOperations.cpp:
* jit/JITOperations.h:
* jit/JITPropertyAccess.cpp:
(JSC::JIT::emitWriteBarrier):
* jit/JITThunks.cpp:
* jit/JITThunks.h:
* jsc.cpp:
(functionDescribeArray):
(main):
* llint/LLIntData.cpp:
(JSC::LLInt::Data::performAssertions):
* llint/LLIntExceptions.cpp:
* llint/LLIntThunks.cpp:
* llint/LLIntThunks.h:
* llint/LowLevelInterpreter.asm:
* llint/LowLevelInterpreter.cpp:
* llint/LowLevelInterpreter32_64.asm:
* llint/LowLevelInterpreter64.asm:
* parser/ModuleAnalyzer.cpp:
* parser/NodeConstructors.h:
* parser/Nodes.h:
* profiler/ProfilerBytecode.cpp:
* profiler/ProfilerBytecode.h:
* profiler/ProfilerBytecodeSequence.cpp:
* runtime/ArrayConventions.h:
(JSC::indexingHeaderForArray):
(JSC::baseIndexingHeaderForArray):
(JSC::indexingHeaderForArrayStorage): Deleted.
(JSC::baseIndexingHeaderForArrayStorage): Deleted.
* runtime/ArrayPrototype.cpp:
(JSC::arrayProtoFuncSplice):
(JSC::concatAppendOne):
(JSC::arrayProtoPrivateFuncConcatMemcpy):
* runtime/ArrayStorage.h:
(JSC::ArrayStorage::vectorLength):
(JSC::ArrayStorage::sizeFor):
(JSC::ArrayStorage::totalSizeFor): Deleted.
(JSC::ArrayStorage::totalSize): Deleted.
(JSC::ArrayStorage::availableVectorLength): Deleted.
(JSC::ArrayStorage::optimalVectorLength): Deleted.
* runtime/AuxiliaryBarrier.h: Removed.
* runtime/AuxiliaryBarrierInlines.h: Removed.
* runtime/Butterfly.h:
* runtime/ButterflyInlines.h:
(JSC::Butterfly::createUninitialized):
(JSC::Butterfly::growArrayRight):
(JSC::Butterfly::availableContiguousVectorLength): Deleted.
(JSC::Butterfly::optimalContiguousVectorLength): Deleted.
* runtime/ClonedArguments.cpp:
(JSC::ClonedArguments::createEmpty):
* runtime/CommonSlowPathsExceptions.cpp:
* runtime/CommonSlowPathsExceptions.h:
* runtime/DataView.cpp:
* runtime/DirectArguments.h:
* runtime/ECMAScriptSpecInternalFunctions.cpp:
* runtime/Error.cpp:
* runtime/Error.h:
* runtime/ErrorInstance.cpp:
* runtime/ErrorInstance.h:
* runtime/Exception.cpp:
* runtime/Exception.h:
* runtime/GeneratorFrame.cpp:
* runtime/GeneratorPrototype.cpp:
* runtime/InternalFunction.cpp:
(JSC::InternalFunction::InternalFunction):
* 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/IntlObject.cpp:
* runtime/IteratorPrototype.cpp:
* runtime/JSArray.cpp:
(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):
(JSC::JSArray::tryCreateUninitialized): Deleted.
* runtime/JSArray.h:
(JSC::createContiguousArrayButterfly):
(JSC::createArrayButterfly):
(JSC::JSArray::create):
(JSC::JSArray::tryCreateUninitialized):
* runtime/JSArrayBufferView.h:
* runtime/JSCInlines.h:
* runtime/JSCJSValue.cpp:
(JSC::JSValue::dumpInContextAssumingStructure):
* runtime/JSCallee.cpp:
(JSC::JSCallee::JSCallee):
* runtime/JSCell.cpp:
(JSC::JSCell::estimatedSize):
* runtime/JSCell.h:
(JSC::JSCell::cellStateOffset):
* runtime/JSCellInlines.h:
(JSC::JSCell::vm):
(JSC::ExecState::vm):
(JSC::JSCell::classInfo):
(JSC::JSCell::callDestructor): 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::JSObject::copyButterfly):
(JSC::JSObject::visitButterfly):
(JSC::JSObject::copyBackingStore):
(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::getNewVectorLength):
(JSC::JSObject::increaseVectorLength):
(JSC::JSObject::ensureLengthSlow):
(JSC::JSObject::growOutOfLineStorage):
* runtime/JSObject.h:
(JSC::JSObject::putDirectInternal):
(JSC::JSObject::setStructureAndReallocateStorageIfNecessary):
(JSC::JSObject::globalObject): 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::vm):
(JSC::JSScope::globalObject): 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/MapIteratorPrototype.cpp:
* runtime/MapPrototype.cpp:
* runtime/NativeErrorConstructor.cpp:
* runtime/NativeStdFunctionCell.cpp:
* runtime/Operations.h:
(JSC::scribbleFreeCells): Deleted.
(JSC::scribble): Deleted.
* runtime/Options.h:
* runtime/PropertyTable.cpp:
* runtime/ProxyConstructor.cpp:
* runtime/ProxyObject.cpp:
* runtime/ProxyRevoke.cpp:
* 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/RegExpMatchesArray.h:
(JSC::tryCreateUninitializedRegExpMatchesArray):
(JSC::createRegExpMatchesArray):
* runtime/RegExpPrototype.cpp:
(JSC::genericSplit):
* runtime/RuntimeType.cpp:
* runtime/SamplingProfiler.cpp:
(JSC::SamplingProfiler::processUnverifiedStackTraces):
* runtime/SetConstructor.cpp:
* runtime/SetIteratorPrototype.cpp:
* runtime/SetPrototype.cpp:
* runtime/StackFrame.cpp: Removed.
* runtime/StackFrame.h: Removed.
* runtime/StringConstructor.cpp:
* runtime/StringIteratorPrototype.cpp:
* runtime/TemplateRegistry.cpp:
* runtime/TestRunnerUtils.cpp:
(JSC::finalizeStatsAtEndOfTesting): Deleted.
* runtime/TestRunnerUtils.h:
* runtime/TypeProfilerLog.cpp:
* runtime/TypeSet.cpp:
* runtime/VM.cpp:
(JSC::VM::ensureStackCapacityForCLoop): Deleted.
(JSC::VM::isSafeToRecurseSoftCLoop): Deleted.
* runtime/VM.h:
* runtime/VMEntryScope.h:
* runtime/VMInlines.h:
(JSC::VM::ensureStackCapacityFor):
(JSC::VM::isSafeToRecurseSoft):
* runtime/WeakMapConstructor.cpp:
* runtime/WeakMapData.cpp:
* runtime/WeakMapPrototype.cpp:
* runtime/WeakSetConstructor.cpp:
* runtime/WeakSetPrototype.cpp:
* testRegExp.cpp:
(testOneRegExp):
* tools/JSDollarVM.cpp:
* tools/JSDollarVMPrototype.cpp:
(JSC::JSDollarVMPrototype::isInObjectSpace):

Source/WebCore:

* ForwardingHeaders/heap/HeapInlines.h: Removed.
* ForwardingHeaders/interpreter/Interpreter.h: Added.
* ForwardingHeaders/runtime/AuxiliaryBarrierInlines.h: Removed.
* Modules/indexeddb/IDBCursorWithValue.cpp:
* Modules/indexeddb/client/TransactionOperation.cpp:
* 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.cpp:
* bindings/js/JSDOMBinding.h:
* bindings/js/JSDeviceMotionEventCustom.cpp:
* bindings/js/JSDeviceOrientationEventCustom.cpp:
* bindings/js/JSErrorEventCustom.cpp:
* bindings/js/JSIDBCursorWithValueCustom.cpp:
* bindings/js/JSIDBIndexCustom.cpp:
* bindings/js/JSPopStateEventCustom.cpp:
* bindings/js/JSWebGL2RenderingContextCustom.cpp:
* bindings/js/JSWorkerGlobalScopeCustom.cpp:
* bindings/js/WorkerScriptController.cpp:
* contentextensions/ContentExtensionParser.cpp:
* dom/ErrorEvent.cpp:
* html/HTMLCanvasElement.cpp:
* html/MediaDocument.cpp:
* inspector/CommandLineAPIModule.cpp:
* loader/EmptyClients.cpp:
* page/CaptionUserPreferences.cpp:
* page/Frame.cpp:
* page/PageGroup.cpp:
* page/UserContentController.cpp:
* platform/mock/mediasource/MockBox.cpp:
* testing/GCObservation.cpp:

Source/WebKit2:

* UIProcess/ViewGestureController.cpp:
* UIProcess/WebPageProxy.cpp:
* UIProcess/WebProcessPool.cpp:
* UIProcess/WebProcessProxy.cpp:
* WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
* WebProcess/Plugins/Netscape/JSNPObject.cpp:

Source/WTF:

* wtf/FastMalloc.cpp:
(WTF::tryFastAlignedMalloc): Deleted.
* wtf/FastMalloc.h:
* wtf/ParkingLot.cpp:
(WTF::ParkingLot::forEach):
(WTF::ParkingLot::forEachImpl): Deleted.
* wtf/ParkingLot.h:
(WTF::ParkingLot::parkConditionally):
(WTF::ParkingLot::unparkOne):
(WTF::ParkingLot::forEach): Deleted.
* wtf/ScopedLambda.h:
(WTF::scopedLambdaRef): Deleted.

Tools:

* DumpRenderTree/TestRunner.cpp:
* DumpRenderTree/mac/DumpRenderTree.mm:
(DumpRenderTreeMain):
* Scripts/run-jsc-stress-tests:
* TestWebKitAPI/Tests/WTF/Vector.cpp:
(TestWebKitAPI::TEST):

LayoutTests:

* TestExpectations:

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

3 years agoIn some cases, an IPC::Connection won't know when the other end has gone away
andersca@apple.com [Wed, 24 Aug 2016 18:53:33 +0000 (18:53 +0000)]
In some cases, an IPC::Connection won't know when the other end has gone away
https://bugs.webkit.org/show_bug.cgi?id=161153
rdar://problem/27896368

Reviewed by Dan Bernstein.

When being asked to invalidate a connection that isn't yet connected, make sure to release
our send and receive rights so that the other end will get a failure when trying to connect.

* Platform/IPC/mac/ConnectionMac.mm:
(IPC::Connection::platformInvalidate):

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

3 years agoTry to fix Production builds.
simon.fraser@apple.com [Wed, 24 Aug 2016 18:44:21 +0000 (18:44 +0000)]
Try to fix Production builds.

PRODUCTION_FRAMEWORKS_DIR was undefined here.

* DumpRenderTree/mac/Configurations/Base.xcconfig:

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

3 years agoAdd a convenience function for creating a WKFrameHandleRef from a WKFrameRef without...
mitz@apple.com [Wed, 24 Aug 2016 18:35:48 +0000 (18:35 +0000)]
Add a convenience function for creating a WKFrameHandleRef from a WKFrameRef without going through WKFrameInfoRef
https://bugs.webkit.org/show_bug.cgi?id=161152

Reviewed by Anders Carlsson.

Source/WebKit2:

* UIProcess/API/C/WKFrame.cpp:
(WKFrameCreateFrameHandle): Added. Creates a handle with the frame’s frameID.
* UIProcess/API/C/WKFrame.h:

Tools:

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/FrameHandle.cpp: Added.
(TestWebKitAPI::didFinishLoadForFrame):
(TestWebKitAPI::TEST):

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

3 years agoASSERTION FAILED: childrenInline() in WebCore::RenderBlockFlow::hasLines
zalan@apple.com [Wed, 24 Aug 2016 18:33:43 +0000 (18:33 +0000)]
ASSERTION FAILED: childrenInline() in WebCore::RenderBlockFlow::hasLines
https://bugs.webkit.org/show_bug.cgi?id=139396
<rdar://problem/27704339>

Reviewed by David Hyatt.

Source/WebCore:

RenderBlockFlow::hasLines() should be able to handle the block-children case.

Test: fast/ruby/assert-with-block-rt-child-and-emphasis.html

* rendering/RenderBlock.h:
(WebCore::RenderBlock::hasLines): Deleted.
* rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::hasLines):
* rendering/RenderBlockFlow.h:

LayoutTests:

* fast/ruby/assert-with-block-rt-child-and-emphasis-expected.txt: Added.
* fast/ruby/assert-with-block-rt-child-and-emphasis.html: Added.

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

3 years ago[Win] http server is not starting.
pvollan@apple.com [Wed, 24 Aug 2016 18:33:25 +0000 (18:33 +0000)]
[Win] http server is not starting.
https://bugs.webkit.org/show_bug.cgi?id=161134

Reviewed by Alexey Proskuryakov.

Avoid setting the php ini folder twice, it is not allowed by xampp.

* http/conf/apache2.4-httpd-win.conf:

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

3 years agoAX: Add test for line text marker range on iOS
n_wang@apple.com [Wed, 24 Aug 2016 18:12:36 +0000 (18:12 +0000)]
AX: Add test for line text marker range on iOS
https://bugs.webkit.org/show_bug.cgi?id=161108
<rdar://problem/27976405>

Reviewed by Chris Fleizach.

Tools:

* DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
(AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
(AccessibilityUIElement::textMarkerRangeForElement):
* WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
(WTR::AccessibilityUIElement::lineTextMarkerRangeForTextMarker):
(WTR::AccessibilityUIElement::textMarkerRangeForElement):

LayoutTests:

Added a new test to test line text marker ranges on iOS.

* accessibility/ios-simulator/text-marker-range-for-line-expected.txt: Added.
* accessibility/ios-simulator/text-marker-range-for-line.html: Added.

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

3 years ago[Cocoa] Can’t "po" WKObject instances
mitz@apple.com [Wed, 24 Aug 2016 17:54:13 +0000 (17:54 +0000)]
[Cocoa] Can’t "po" WKObject instances
https://bugs.webkit.org/show_bug.cgi?id=161151

Reviewed by Anders Carlsson.

* Shared/Cocoa/WKObject.mm:
(-[WKObject debugDescription]): Implement and forward to the target or print a generic
  description.

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

3 years agoChanging gamepad test to try to get more info about the failure mode on the bots.
beidson@apple.com [Wed, 24 Aug 2016 17:35:20 +0000 (17:35 +0000)]
Changing gamepad test to try to get more info about the failure mode on the bots.

Unreviewed.

* gamepad/gamepad-timestamp.html:

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

3 years agoAdd ios-simulator baseline for newly imported test.
ryanhaddad@apple.com [Wed, 24 Aug 2016 17:15:46 +0000 (17:15 +0000)]
Add ios-simulator baseline for newly imported test.
https://bugs.webkit.org/show_bug.cgi?id=161143

Unreviewed test gardening.

* platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-samedoc-expected.txt: Added.

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

3 years agoUnreviewed, temporarily mark imported/w3c/web-platform-tests/html/dom/interfaces...
cdumez@apple.com [Wed, 24 Aug 2016 17:06:43 +0000 (17:06 +0000)]
Unreviewed, temporarily mark imported/w3c/web-platform-tests/html/dom/interfaces.html as flaky.

* TestExpectations:

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

3 years agojs/regress/put-by-id-transition-with-indexing-header.html and svg/carto.net/window...
fpizlo@apple.com [Wed, 24 Aug 2016 16:55:50 +0000 (16:55 +0000)]
js/regress/put-by-id-transition-with-indexing-header.html and svg/carto.net/window.svg fail in debug after r204854
https://bugs.webkit.org/show_bug.cgi?id=161115

Reviewed by Keith Miller.
Source/JavaScriptCore:

There were two small goofs.

* bytecode/ObjectAllocationProfile.h:
(JSC::ObjectAllocationProfile::isNull): The new policy is that the allocator can be null. So now the way you tell if the profile is null is by checking the structure.
* jit/JITOperations.cpp: This was using DeferGC, which is now definitely wrong. It forces the GC to happen when the structure and butterfly are mismatched. It's better for the GC to happen before we put the butterfly in the object.

LayoutTests:

* TestExpectations:

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

3 years agoGardening: restoring 2 test expectations removed in r204870 by mistake.
mark.lam@apple.com [Wed, 24 Aug 2016 16:47:11 +0000 (16:47 +0000)]
Gardening: restoring 2 test expectations removed in r204870 by mistake.
https://bugs.webkit.org/show_bug.cgi?id=161096

Not reviewed.

* TestExpectations:

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

3 years agoTemporarily skip inspector/codemirror tests on mac-wk1 debug.
ryanhaddad@apple.com [Wed, 24 Aug 2016 16:40:58 +0000 (16:40 +0000)]
Temporarily skip inspector/codemirror tests on mac-wk1 debug.
https://bugs.webkit.org/show_bug.cgi?id=161117

Unreviewed test gardening.

* platform/mac-wk1/TestExpectations:

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

3 years agoAdd svn:global-ignores to the root to ignore *.pyc files everythere in the repository.
ap@apple.com [Wed, 24 Aug 2016 16:26:43 +0000 (16:26 +0000)]
Add svn:global-ignores to the root to ignore *.pyc files everythere in the repository.

* .: Added property svn:global-ignores.

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

3 years agoAssemblyHelpers::emitAllocateWithNonNullAllocator() crashes in the FTL on ARM64
fpizlo@apple.com [Wed, 24 Aug 2016 16:23:41 +0000 (16:23 +0000)]
AssemblyHelpers::emitAllocateWithNonNullAllocator() crashes in the FTL on ARM64
https://bugs.webkit.org/show_bug.cgi?id=161138
rdar://problem/27985868

Reviewed by Saam Barati.

The FTL expects that this method can be used with scratch registers disallowed, but it
uses addPtr(Addr, Reg).

The solution is to only use addPtr(Addr, Reg) on x86.

* jit/AssemblyHelpers.h:
(JSC::AssemblyHelpers::emitAllocateWithNonNullAllocator):

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

3 years agoGet timestamps and ids working in WK2 gamepads (and test them!)
beidson@apple.com [Wed, 24 Aug 2016 16:22:37 +0000 (16:22 +0000)]
Get timestamps and ids working in WK2 gamepads (and test them!)
https://bugs.webkit.org/show_bug.cgi?id=161112

Reviewed by Alex Christensen.

Source/WebKit2:

* Shared/Gamepad/GamepadData.cpp:
(WebKit::GamepadData::GamepadData):
(WebKit::GamepadData::encode):
(WebKit::GamepadData::decode):
* Shared/Gamepad/GamepadData.h:
(WebKit::GamepadData::id):
(WebKit::GamepadData::index): Deleted.

* UIProcess/Gamepad/UIGamepad.cpp:
(WebKit::UIGamepad::UIGamepad):
(WebKit::UIGamepad::condensedGamepadData):
(WebKit::UIGamepad::fullGamepadData): Include the ID for initial WebGamepad creation.
(WebKit::UIGamepad::gamepadData): Deleted.
* UIProcess/Gamepad/UIGamepad.h:

* UIProcess/Gamepad/UIGamepadProvider.cpp:
(WebKit::UIGamepadProvider::snapshotGamepads):

* UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::gamepadConnected):
(WebKit::WebProcessPool::setInitialConnectedGamepads):

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

LayoutTests:

* gamepad/gamepad-polling-access-expected.txt:
* gamepad/gamepad-polling-access.html:
* gamepad/gamepad-timestamp-expected.txt: Added.
* gamepad/gamepad-timestamp.html: Added.

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

3 years ago2016] Allow assignment in for-in head in not-strict mode
gskachkov@gmail.com [Wed, 24 Aug 2016 13:35:38 +0000 (13:35 +0000)]
2016] Allow assignment in for-in head in not-strict mode
https://bugs.webkit.org/show_bug.cgi?id=160955

Reviewed by Saam Barati.

This patch allow make assignment in for..in head in not-strict mode,
according to the spec https://tc39.github.io/ecma262/#sec-initializers-in-forin-statement-heads

Source/JavaScriptCore:

* bytecompiler/NodesCodegen.cpp:
(JSC::ForInNode::emitLoopHeader):
(JSC::ForInNode::emitMultiLoopBytecode):
* parser/Nodes.h:
(JSC::ExpressionNode::isAssignResolveNode):
(JSC::AssignResolveNode::identifier):
(JSC::ExpressionNode::isResolveNode): Deleted.
* parser/Parser.cpp:
(JSC::Parser<LexerType>::parseForStatement):

JSTests:

* stress/for-in-tests.js:
(foo):
(boo):
(catch):

LayoutTests:

* js/parser-syntax-check-expected.txt:
* js/script-tests/parser-syntax-check.js:

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

3 years agoUnreviewed. Fix GObject DOM bindings API break after r204624 and r204648.
carlosgc@webkit.org [Wed, 24 Aug 2016 10:42:40 +0000 (10:42 +0000)]
Unreviewed. Fix GObject DOM bindings API break after r204624 and r204648.

prefix, namespaceURI and localName attributes were moved from Node to Attr/Element in r204624 and prefix was
also made readonly in r204648.

* bindings/gobject/WebKitDOMDeprecated.cpp:
(webkit_dom_node_get_namespace_uri):
(webkit_dom_node_get_prefix):
(webkit_dom_node_set_prefix):
(webkit_dom_node_get_local_name):
* bindings/gobject/WebKitDOMDeprecated.h:
* bindings/gobject/WebKitDOMDeprecated.symbols:
* bindings/gobject/webkitdom.symbols:

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

3 years ago[EFL] Fix test_ewk2_view
hs85.jeong@samsung.com [Wed, 24 Aug 2016 09:29:24 +0000 (09:29 +0000)]
[EFL] Fix test_ewk2_view
https://bugs.webkit.org/show_bug.cgi?id=161131

Reviewed by Gyuyoung Kim.

ewk_view_title_changed: null is treated as the string "null" after r203487.

ewk_view_page_contents_get: aligned encoding labels after r204605.

* UIProcess/API/efl/tests/resources/resultMHTML.mht:
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(TEST_F):

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

3 years ago[Win] Warning fixes.
pvollan@apple.com [Wed, 24 Aug 2016 08:59:04 +0000 (08:59 +0000)]
[Win] Warning fixes.
https://bugs.webkit.org/show_bug.cgi?id=161079

Reviewed by Brent Fulgham.

* MiniBrowser/win/WebDownloadDelegate.cpp:
* MiniBrowser/win/WinMain.cpp:
* TestWebKitAPI/Tests/WTF/WTFString.cpp:
(TestWebKitAPI::TEST):

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

3 years ago[Fetch API] Test gardening
commit-queue@webkit.org [Wed, 24 Aug 2016 08:07:43 +0000 (08:07 +0000)]
[Fetch API] Test gardening
https://bugs.webkit.org/show_bug.cgi?id=161128

Unreviewed.

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

* TestExpectations:
* platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-expected.txt:
* platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt:
* platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt: Added.
* platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt: Added.
* platform/mac-wk2/TestExpectations:
* platform/win/TestExpectations:

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

3 years agoAdd some logging for WKSelectionDrawingInfo
simon.fraser@apple.com [Wed, 24 Aug 2016 06:15:01 +0000 (06:15 +0000)]
Add some logging for WKSelectionDrawingInfo
https://bugs.webkit.org/show_bug.cgi?id=161055

Reviewed by Tim Horton.

Source/WebCore:

Add TextStream dumping for SelectionRect.

* platform/ios/SelectionRect.cpp:
(WebCore::operator<<):
* platform/ios/SelectionRect.h:

Source/WebKit2:

Add a Selection logging channel for WK2, and dump WKSelectionDrawingInfo when it changes.

* Platform/Logging.h:
* UIProcess/ios/WKContentViewInteraction.h:
* UIProcess/ios/WKContentViewInteraction.mm:
(WebKit::operator<<):
(-[WKContentView _updateChangedSelection:]):

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

3 years agoMore consistent header inclusions in the MathML module
fred.wang@free.fr [Wed, 24 Aug 2016 05:56:08 +0000 (05:56 +0000)]
More consistent header inclusions in the MathML module
https://bugs.webkit.org/show_bug.cgi?id=161080

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

We adjust header inclusion in the MathML module so that:
- implementation file's own header is outside the #if ENABLE(MATHML)
- There is always a blank line after the #if ENABLE(MATHML)

No new tests, behavior is unchanged.

* mathml/MathMLAnnotationElement.cpp:
* mathml/MathMLAnnotationElement.h:
* mathml/MathMLElement.cpp:
* mathml/MathMLFractionElement.cpp:
* mathml/MathMLFractionElement.h:
* mathml/MathMLMathElement.cpp:
* mathml/MathMLMathElement.h:
* mathml/MathMLMencloseElement.cpp:
* mathml/MathMLMencloseElement.h:
* mathml/MathMLOperatorDictionary.cpp:
* mathml/MathMLOperatorElement.cpp:
* mathml/MathMLOperatorElement.h:
* mathml/MathMLPaddedElement.cpp:
* mathml/MathMLPaddedElement.h:
* mathml/MathMLPresentationElement.cpp:
* mathml/MathMLPresentationElement.h:
* mathml/MathMLRowElement.cpp:
* mathml/MathMLRowElement.h:
* mathml/MathMLScriptsElement.cpp:
* mathml/MathMLScriptsElement.h:
* mathml/MathMLSelectElement.h:
* mathml/MathMLSpaceElement.cpp:
* mathml/MathMLSpaceElement.h:
* mathml/MathMLTokenElement.cpp:
* mathml/MathMLUnderOverElement.cpp:
* mathml/MathMLUnderOverElement.h:
* rendering/mathml/MathMLStyle.cpp:
* rendering/mathml/MathOperator.cpp:
* rendering/mathml/MathOperator.h:
* rendering/mathml/RenderMathMLBlock.cpp:
* rendering/mathml/RenderMathMLFenced.cpp:
* rendering/mathml/RenderMathMLFencedOperator.cpp:
* rendering/mathml/RenderMathMLFraction.cpp:
* rendering/mathml/RenderMathMLMath.cpp:
* rendering/mathml/RenderMathMLMenclose.cpp:
* rendering/mathml/RenderMathMLMenclose.h:
* rendering/mathml/RenderMathMLOperator.cpp:
* rendering/mathml/RenderMathMLRoot.cpp:
* rendering/mathml/RenderMathMLRow.cpp:
* rendering/mathml/RenderMathMLScripts.cpp:
* rendering/mathml/RenderMathMLUnderOver.cpp:

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

3 years agoFix Windows DRT build.
simon.fraser@apple.com [Wed, 24 Aug 2016 04:57:26 +0000 (04:57 +0000)]
Fix Windows DRT build.

* DumpRenderTree/win/TestRunnerWin.cpp:
(TestRunner::mainFrameJSContext):

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

3 years agoTry to fix Windows build.
simon.fraser@apple.com [Wed, 24 Aug 2016 04:03:10 +0000 (04:03 +0000)]
Try to fix Windows build.

Pass Tools/DumpRenderTree/Bindings as the working directory for the generate_bindings.pl
so that perl finds CodeGeneratorDumpRenderTree.pm.

* DumpRenderTree/CMakeLists.txt:

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

3 years agoIt should be easy to run ES6SampleBench from the jsc shell
sbarati@apple.com [Wed, 24 Aug 2016 03:39:33 +0000 (03:39 +0000)]
It should be easy to run ES6SampleBench from the jsc shell
https://bugs.webkit.org/show_bug.cgi?id=161085

Reviewed by Yusuke Suzuki.

PerformanceTests:

This patch makes ES6 sample bench runnable through the `jsc` shell.
To do that, you need to be in the PerformanceTests/ES6SampleBench
directory and run `jsc cli.js`. To make this work, the benchmark
is now aware of being run in two modes: via the browser, and via
the shell. Each entry point will set a variable `isInBrowser`,
and the benchmark will do different things based on if that
variable is true or false.

* ES6SampleBench/Air/benchmark.js:
* ES6SampleBench/Air/stress-test.js:
* ES6SampleBench/Basic/benchmark.js:
(runBenchmark):
* ES6SampleBench/Basic/stress-test.js:
* ES6SampleBench/air_benchmark.js:
* ES6SampleBench/basic_benchmark.js:
* ES6SampleBench/cli.js: Added.
(return.doRun):
(makeBenchmarkRunner):
* ES6SampleBench/driver.js:
(Driver):
(Driver.prototype._recomputeSummary):
(Driver.prototype._iterate.window.setTimeout):
(Driver.prototype._iterate):
(Driver.prototype._updateIterations):
* ES6SampleBench/glue.js:
(reportResult):
* ES6SampleBench/index.html:
* ES6SampleBench/results.js:
(Results):
(Results.prototype.reportRunning):
(Results.prototype.reportDone):
(Results.prototype.reportError):
* ES6SampleBench/stats.js:
(Stats):
(Stats.prototype.toString):
(Stats.prototype._update):

Source/JavaScriptCore:

This patch adds a new function called `runString` to the shell.
It takes in a string, and executes it in a new global object.
Then, it returns the global object it executed the code in.
This allows the code to stash some kind of a result on the global,
and then have the caller of `runString` extract the result.

* jsc.cpp:
(GlobalObject::finishCreation):
(functionRunString):

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

3 years ago[JSC] Make ArithLog works with any type
benjamin@webkit.org [Wed, 24 Aug 2016 02:36:40 +0000 (02:36 +0000)]
[JSC] Make ArithLog works with any type
https://bugs.webkit.org/show_bug.cgi?id=161110

Reviewed by Geoffrey Garen.

JSTests:

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

Source/JavaScriptCore:

Same old: if the type is not a number, assume the worst in every
phase and generate a fallback function call.

* 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::compileArithLog):
* ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileArithLog):

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

3 years agoASSERTION FAILED: !view().layoutStateEnabled() || style().styleType() == FIRST_LETTER...
zalan@apple.com [Wed, 24 Aug 2016 02:23:19 +0000 (02:23 +0000)]
ASSERTION FAILED: !view().layoutStateEnabled() || style().styleType() == FIRST_LETTER in WebCore::RenderInline::clippedOverflowRectForRepaint
https://bugs.webkit.org/show_bug.cgi?id=155363
<rdar://problem/27720434>

Reviewed by David Hyatt.

Source/WebCore:

Loosen ASSERT to include calls when the inline has a self painting layer. It's valid to end up here during layout when
the layer's composite state changes.

Test: fast/layers/assert-on-self-painting-inline-with-scrolling.html

* rendering/RenderInline.cpp:
(WebCore::RenderInline::clippedOverflowRectForRepaint):

LayoutTests:

* fast/layers/assert-on-self-painting-inline-with-scrolling-expected.txt: Added.
* fast/layers/assert-on-self-painting-inline-with-scrolling.html: Added.

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

3 years agoCreate a phony WebKitLegacy framework that the WebCoreTestSupport dylib can find
andersca@apple.com [Wed, 24 Aug 2016 02:19:50 +0000 (02:19 +0000)]
Create a phony WebKitLegacy framework that the WebCoreTestSupport dylib can find
https://bugs.webkit.org/show_bug.cgi?id=161123

Reviewed by Dan Bernstein.

* Configurations/WebCore.xcconfig:
Use the WebKitLegacy.tbd file from the phony framework.

* Configurations/WebCoreTestSupport.xcconfig:
Look for WebKitLegacy.framework in the phony framework path.

* WebCore.xcodeproj/project.pbxproj:
Add a new phase that creates a phony WebKitLegacy framework.

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

3 years agoAdd support for CanvasRenderingContext2D.resetTransform()
cdumez@apple.com [Wed, 24 Aug 2016 02:13:09 +0000 (02:13 +0000)]
Add support for CanvasRenderingContext2D.resetTransform()
https://bugs.webkit.org/show_bug.cgi?id=161089

Reviewed by Simon Fraser.

LayoutTests/imported/w3c:

* web-platform-tests/2dcontext/transformations/canvas_transformations_reset_001-expected.html: Added.
* web-platform-tests/2dcontext/transformations/canvas_transformations_reset_001.html: Added.
Import W3C test to cover CanvasRenderingContext2D.resetTransform().

* web-platform-tests/html/dom/interfaces-expected.txt:
Rebaseline existing test now that more checks are passing.

Source/WebCore:

Add support for CanvasRenderingContext2D.resetTransform():
- https://html.spec.whatwg.org/#dom-context-2d-resettransform

Firefox and Chrome already support this.

Tests:
imported/blink/fast/canvas/canvas-resetTransform.html
imported/w3c/web-platform-tests/2dcontext/transformations/canvas_transformations_reset_001.html

* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::setTransform):
(WebCore::CanvasRenderingContext2D::resetTransform):
* html/canvas/CanvasRenderingContext2D.h:
* html/canvas/CanvasRenderingContext2D.idl:

LayoutTests:

Import corresponding Blink test.

* imported/blink/fast/canvas/canvas-resetTransform-expected.txt: Added.
* imported/blink/fast/canvas/canvas-resetTransform.html: Added.
* imported/blink/fast/canvas/script-tests/canvas-resetTransform.js: Added.

* platform/ios-simulator/TestExpectations:
Skip new Canvas test on iOS as it is failing (very small visual difference).

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

3 years agoHook up UIScriptController in DumpRenderTree
simon.fraser@apple.com [Wed, 24 Aug 2016 02:03:43 +0000 (02:03 +0000)]
Hook up UIScriptController in DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=161064

Reviewed by Sam Weinig.

Tools:

Add a skeleton implementation of UIScriptController to DumpRenderTree, building for both
Mac and iOS. Currently this is sufficient to test doAsyncTask(), enabling two tests
in fast/harness which test this.

Add a DerivedSources target to DumpRenderTree to invoke DerivedSources.make.

Move related code shared between WTR and DRT into Tools/TestRunnerShared, and cleanse it of
WK2-isms. Fix the makefiles to refer to the new location.

Hook up TestRunner::runUIScript() for DumpRenderTree, which requires keeping track of callbacks
by ID and firing them once they are complete.

* DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm: Added (copied from WTR).
* DumpRenderTree/CMakeLists.txt:
* DumpRenderTree/DerivedSources.make: Copied from Tools/WebKitTestRunner/DerivedSources.make.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/TestRunner.cpp:
(runUIScriptCallback):
(TestRunner::staticFunctions):
(TestRunner::cacheTestRunnerCallback):
(TestRunner::callTestRunnerCallback):
(TestRunner::clearTestRunnerCallbacks):
(nextUIScriptCallbackID):
(TestRunner::runUIScript):
(TestRunner::callUIScriptCallback):
(TestRunner::uiScriptDidComplete):
(TestRunner::cleanup):
* DumpRenderTree/TestRunner.h:
* DumpRenderTree/ios/UIScriptControllerIOS.mm: Added.
* DumpRenderTree/mac/Configurations/Base.xcconfig: DerivedSources.make needs WEBCORE_PRIVATE_HEADERS_DIR to be defined.
* DumpRenderTree/mac/DumpRenderTree.mm:
(runTest):
* DumpRenderTree/mac/TestRunnerMac.mm:
(TestRunner::mainFrameJSContext):
* DumpRenderTree/mac/UIScriptControllerMac.mm: Copied from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h.
(WTR::UIScriptController::doAsyncTask):
* DumpRenderTree/win/DumpRenderTree.cpp:
* TestRunnerShared/Bindings/JSWrappable.h: Renamed from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h.
(WTR::JSWrappable::~JSWrappable):
(WTR::JSValueMakeStringOrNull):
* TestRunnerShared/Bindings/JSWrapper.cpp: Renamed from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp.
(WTR::JSWrapper::wrap):
(WTR::JSWrapper::unwrap):
(WTR::unwrapObject):
(WTR::JSWrapper::initialize):
(WTR::JSWrapper::finalize):
* TestRunnerShared/Bindings/JSWrapper.h: Renamed from Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h.
(WTR::toJS):
(WTR::setProperty):
* TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: Renamed from Tools/WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl.
* TestRunnerShared/UIScriptContext/UIScriptContext.cpp: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptContext.cpp.
* TestRunnerShared/UIScriptContext/UIScriptContext.h: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptContext.h.
(WTR::UIScriptContext::currentParentCallbackIsPendingCompletion):
* TestRunnerShared/UIScriptContext/UIScriptController.cpp: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptController.cpp.
* TestRunnerShared/UIScriptContext/UIScriptController.h: Renamed from Tools/WebKitTestRunner/UIScriptContext/UIScriptController.h.
* WebKitTestRunner/CMakeLists.txt:
* WebKitTestRunner/DerivedSources.make:
* WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h:
(WTR::JSWrappable::~JSWrappable): Deleted.
(WTR::JSValueMakeStringOrNull): Deleted.
* WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp:
(WTR::JSWrapper::wrap): Deleted.
(WTR::JSWrapper::unwrap): Deleted.
(WTR::unwrapObject): Deleted.
(WTR::JSWrapper::initialize): Deleted.
(WTR::JSWrapper::finalize): Deleted.
* WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h:
(WTR::toJS): Deleted.
(WTR::setProperty): Deleted.
* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::runUISideScript):
(WTR::TestInvocation::uiScriptDidComplete):
* WebKitTestRunner/TestInvocation.h:
* WebKitTestRunner/UIScriptContext/UIScriptContext.cpp: Moved
* WebKitTestRunner/UIScriptContext/UIScriptContext.h: Moved
* WebKitTestRunner/UIScriptContext/UIScriptController.cpp: Moved
* WebKitTestRunner/UIScriptContext/UIScriptController.h: Moved
* WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
* WebKitTestRunner/config.h:
* WebKitTestRunner/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptController::contentVisibleRect):

LayoutTests:

fast/harness/ui-side-scripts.html and fast/harness/concurrent-ui-side-scripts.html
pass in DumpRenderTree now.

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

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

3 years agofast/canvas/canvas-alphaImageData-behavior.html doesn't appear to be flakey any
dino@apple.com [Wed, 24 Aug 2016 02:00:13 +0000 (02:00 +0000)]
fast/canvas/canvas-alphaImageData-behavior.html doesn't appear to be flakey any
more. Removing the "Fail" marker for macOS Sierra.
<rdar://problem/22950905>

* platform/mac/TestExpectations:

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

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