Changeset 220449 in webkit


Ignore:
Timestamp:
Aug 9, 2017 2:17:44 AM (7 years ago)
Author:
gskachkov@gmail.com
Message:

REGRESSION: 2 test262/test/language/statements/async-function failures
https://bugs.webkit.org/show_bug.cgi?id=175334

Reviewed by Yusuke Suzuki.

JSTests:

Add @skip parameters to tests, and remove test for async iterator from
async await syntax test because it is already covered by async-iterator-syntax.js

  • stress/async-await-syntax.js:
  • stress/async-iteration-syntax.js:

Source/JavaScriptCore:

Switch off useAsyncIterator by default

  • runtime/Options.h:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/JSTests/ChangeLog

    r220415 r220449  
     12017-08-09  Oleksandr Skachkov  <gskachkov@gmail.com>
     2
     3        REGRESSION: 2 test262/test/language/statements/async-function failures
     4        https://bugs.webkit.org/show_bug.cgi?id=175334
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        Add @skip parameters to tests, and remove test for async iterator from
     9        async await syntax test because it is already covered by async-iterator-syntax.js
     10
     11        * stress/async-await-syntax.js:
     12        * stress/async-iteration-syntax.js:
     13
    1142017-08-08  Yusuke Suzuki  <utatane.tea@gmail.com>
    215
  • trunk/JSTests/stress/async-await-syntax.js

    r220323 r220449  
    194194    testSyntaxError(`var asyncArrowFn = async() => await;`);
    195195
    196     testSyntax(`var asyncFn = async function*() {}`);
    197     testSyntax(`async function* asyncGenerator() {}`);
    198196    testSyntaxError(`var O = { *async asyncGeneratorMethod() {} };`);
    199     testSyntax(`var O = { async *asyncGeneratorMethod() {} };`);
    200197    testSyntaxError(`var O = { async asyncGeneratorMethod*() {} };`);
    201198
  • trunk/JSTests/stress/async-iteration-syntax.js

    r220323 r220449  
     1// This test requires enableAsyncIterator to be enabled at run time.
     2//@ skip
     3
     4
    15var assert = function (result, expected, message = "") {
    26  if (result !== expected) {
  • trunk/Source/JavaScriptCore/ChangeLog

    r220441 r220449  
     12017-08-09  Oleksandr Skachkov  <gskachkov@gmail.com>
     2
     3        REGRESSION: 2 test262/test/language/statements/async-function failures
     4        https://bugs.webkit.org/show_bug.cgi?id=175334
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        Switch off useAsyncIterator by default
     9
     10        * runtime/Options.h:
     11
    1122017-08-08  Filip Pizlo  <fpizlo@apple.com>
    213
  • trunk/Source/JavaScriptCore/runtime/Options.h

    r220346 r220449  
    449449    v(bool, useWebAssembly, true, Normal, "Expose the WebAssembly global object.") \
    450450    \
    451     v(bool, useAsyncIterator, true, Normal, "Allow to use Async Iterator in JS.") \
     451    v(bool, useAsyncIterator, false, Normal, "Allow to use Async Iterator in JS.") \
    452452    \
    453453    v(bool, failToCompileWebAssemblyCode, false, Normal, "If true, no Wasm::Plan will sucessfully compile a function.") \
Note: See TracChangeset for help on using the changeset viewer.