v8/test/webkit/fast/js
littledan 7245dabdb1 Unship ES2015 for-in initializer restrictions
We now have data that 0.011% of websites use the pattern
  for (var i = 0 in j) { ... }
This pattern was banned by ES2015, with the idea to revisit if
it presents a web compatibility problem. Informally, after
the May 2016 TC39 meeting, the new data was discussed, and there
was interest in reversing the decision. Although the specification
is not yet updated, it seems likely to come soon.

This patch turns off the flag which bans that construct, reenabling
it. The change should prevent websites from breaking.

BUG=v8:4942

Review-Url: https://codereview.chromium.org/2011223003
Cr-Commit-Position: refs/heads/master@{#36562}
2016-05-27 19:14:47 +00:00
..
kde Change syntax error message for illegal token. 2016-03-02 14:20:48 +00:00
arguments-expected.txt Pass legacy const runtime flag to preparser appropriately 2016-03-18 01:09:17 +00:00
arguments.js Pass legacy const runtime flag to preparser appropriately 2016-03-18 01:09:17 +00:00
array-bad-time-expected.txt Change test expectations for webkit/fast/js/object-slow-put and friends. 2013-11-06 16:38:40 +00:00
array-bad-time.js Change test expectations for webkit/fast/js/object-slow-put and friends. 2013-11-06 16:38:40 +00:00
array-float-delete-expected.txt
array-float-delete.js
array-functions-non-arrays-expected.txt
array-functions-non-arrays.js
array-prototype-properties-expected.txt Adjust test expectations to new error on method not found 2014-01-31 17:39:59 +00:00
array-prototype-properties.js
array-slow-put-expected.txt Change test expectations for webkit/fast/js/object-slow-put and friends. 2013-11-06 16:38:40 +00:00
array-slow-put.js Change test expectations for webkit/fast/js/object-slow-put and friends. 2013-11-06 16:38:40 +00:00
array-tostring-ignore-separator-expected.txt
array-tostring-ignore-separator.js
basic-strict-mode-expected.txt Change syntax error message for illegal token. 2016-03-02 14:20:48 +00:00
basic-strict-mode.js Adapt tests in preparation of shipping --harmony-completion. 2015-10-23 10:26:01 +00:00
date-big-setmonth-expected.txt
date-big-setmonth.js
date-negative-setmonth-expected.txt
date-negative-setmonth.js
date-preserve-milliseconds-expected.txt
date-preserve-milliseconds.js
date-toisostring-expected.txt Adjust test expectations to new error on method not found 2014-01-31 17:39:59 +00:00
date-toisostring.js
deep-recursion-test-expected.txt Migrate more tests from blink repository. 2013-07-30 06:36:48 +00:00
deep-recursion-test.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
end-in-string-escape-expected.txt
end-in-string-escape.js
exception-properties-expected.txt
exception-properties.js
exception-registerfile-shrink-expected.txt
exception-registerfile-shrink.js
excessive-comma-usage-expected.txt [test] Shorten excessive webkit test. 2015-07-28 10:17:29 +00:00
excessive-comma-usage.js [test] Slim down test that exceeds stack limit 2016-04-21 08:37:20 +00:00
function-apply-expected.txt [es6] Correct Function.prototype.apply, Reflect.construct and Reflect.apply. 2015-12-17 08:41:19 +00:00
function-apply.js [es6] Correct Function.prototype.apply, Reflect.construct and Reflect.apply. 2015-12-17 08:41:19 +00:00
function-constructor-error-expected.txt
function-constructor-error.js
function-decompilation-operators-expected.txt Migrate more tests from blink repository. 2013-07-30 06:36:48 +00:00
function-decompilation-operators.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
function-toString-parentheses-expected.txt Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
function-toString-parentheses.js
function-toString-semicolon-insertion-expected.txt
function-toString-semicolon-insertion.js
JSON-parse-reviver-expected.txt JSON.parse: properly deal with reviver result 2015-12-10 12:49:06 +00:00
JSON-parse-reviver.js JSON.parse: properly deal with reviver result 2015-12-10 12:49:06 +00:00
modify-non-references-expected.txt Make invalid LHSs that are calls late errors 2014-04-02 11:03:05 +00:00
modify-non-references.js Make invalid LHSs that are calls late errors 2014-04-02 11:03:05 +00:00
native-error-prototype-expected.txt Support intriscDefaultProto for Error functions 2015-12-09 07:53:34 +00:00
native-error-prototype.js Support intriscDefaultProto for Error functions 2015-12-09 07:53:34 +00:00
number-tofixed-expected.txt
number-tofixed.js
number-toprecision-expected.txt
number-toprecision.js
number-toString-expected.txt
number-toString.js
numeric-escapes-in-string-literals-expected.txt
numeric-escapes-in-string-literals.js
object-bad-time-expected.txt Change test expectations for webkit/fast/js/object-slow-put and friends. 2013-11-06 16:38:40 +00:00
object-bad-time.js Change test expectations for webkit/fast/js/object-slow-put and friends. 2013-11-06 16:38:40 +00:00
Object-defineProperty-expected.txt Emit better error message about writable properties 2015-10-14 19:22:27 +00:00
Object-defineProperty.js
object-extra-comma-expected.txt
object-extra-comma.js
object-prototype-constructor-expected.txt
object-prototype-constructor.js
object-prototype-properties-expected.txt Correctify instanceof and make it optimizable. 2015-08-25 04:48:54 +00:00
object-prototype-properties.js
object-prototype-toLocaleString-expected.txt
object-prototype-toLocaleString.js
object-slow-put-expected.txt Change test expectations for webkit/fast/js/object-slow-put and friends. 2013-11-06 16:38:40 +00:00
object-slow-put.js Change test expectations for webkit/fast/js/object-slow-put and friends. 2013-11-06 16:38:40 +00:00
parser-syntax-check-expected.txt Unship ES2015 for-in initializer restrictions 2016-05-27 19:14:47 +00:00
parser-syntax-check.js Ship ES2015 restrictions on function declaration locations 2016-03-16 16:39:23 +00:00
primitive-property-access-edge-cases-expected.txt Improving error messages when adding properties to non JSObject receiver in 2015-10-09 09:12:47 +00:00
primitive-property-access-edge-cases.js
Promise-already-rejected-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-already-rejected.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-already-resolved-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-already-resolved.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-catch-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-catch.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-chained-then-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-chained-then.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-exception-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-exception.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-init-callback-receiver-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-init-callback-receiver.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-init-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-init.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-onFulfilled-deep-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-onFulfilled-deep.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-onRejected-deep-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-onRejected-deep.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-reject-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-reject.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-chain-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-chain.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-state-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-state.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-with-itself-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-with-itself.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-with-then-exception-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-with-then-exception.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-with-then-fulfill-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-with-then-fulfill.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-with-then-reject-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve-with-then-reject.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-resolve.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-simple-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-simple.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-static-all-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-static-all.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-static-cast-expected.txt Remove Promise.cast 2014-03-18 15:03:35 +00:00
Promise-static-cast.js Remove Promise.cast 2014-03-18 15:03:35 +00:00
Promise-static-race-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-static-race.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-static-reject-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-static-reject.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-static-resolve-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-static-resolve.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-then-callback-receiver-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-then-callback-receiver.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-then-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-then-without-callbacks-expected.txt Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-then-without-callbacks.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
Promise-then.js Import Blink layout tests for Promises. 2014-03-10 12:30:47 +00:00
read-modify-eval-expected.txt Improving error messages when adding properties to non JSObject receiver in 2015-10-09 09:12:47 +00:00
read-modify-eval.js
regexp-bol-expected.txt
regexp-bol-with-multiline-expected.txt
regexp-bol-with-multiline.js
regexp-bol.js
regexp-extended-characters-crash-expected.txt
regexp-extended-characters-crash.js
regexp-lastindex-expected.txt
regexp-lastindex.js
regexp-look-ahead-expected.txt
regexp-look-ahead.js
regexp-no-extensions-expected.txt
regexp-no-extensions.js
regexp-non-capturing-groups-expected.txt
regexp-non-capturing-groups.js
regexp-non-greedy-parentheses-expected.txt
regexp-non-greedy-parentheses.js
regexp-range-out-of-order-expected.txt
regexp-range-out-of-order.js
regexp-ranges-and-escaped-hyphens-expected.txt
regexp-ranges-and-escaped-hyphens.js
regexp-stack-overflow-expected.txt
regexp-stack-overflow.js
regexp-unicode-handling-expected.txt
regexp-unicode-handling.js
reserved-words-strict-expected.txt
reserved-words-strict.js
stack-overflow-arrity-catch-expected.txt
stack-overflow-arrity-catch.js
string-anchor-expected.txt Rebaseline webkit test expectations after r22938. 2014-08-06 15:31:35 +00:00
string-anchor.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
string-capitalization-expected.txt
string-capitalization.js
string-fontcolor-expected.txt Rebaseline webkit test expectations after r22938. 2014-08-06 15:31:35 +00:00
string-fontcolor.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
string-fontsize-expected.txt Rebaseline webkit test expectations after r22938. 2014-08-06 15:31:35 +00:00
string-fontsize.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
string-link-expected.txt Rebaseline webkit test expectations after r22938. 2014-08-06 15:31:35 +00:00
string-link.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
string-split-conformance-expected.txt
string-split-conformance.js
string-split-double-empty-expected.txt
string-split-double-empty.js
string-split-ignore-case-expected.txt
string-split-ignore-case.js
toString-exception-expected.txt
toString-exception.js
toString-number-expected.txt Migrate more tests from blink repository. 2013-07-30 06:36:48 +00:00
toString-number.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
toString-overrides-expected.txt Improve rendering of callsite with non-function target. 2015-12-02 18:37:29 +00:00
toString-overrides.js