Bug 164828 - Remove async/await compile time flag and enable tests
Summary: Remove async/await compile time flag and enable tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Saam Barati
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-11-16 11:51 PST by Saam Barati
Modified: 2016-11-17 01:05 PST (History)
14 users (show)

See Also:


Attachments
patch (93.38 KB, patch)
2016-11-16 22:40 PST, Saam Barati
ysuzuki: review+
commit-queue: commit-queue-
Details | Formatted Diff | Diff
patch for landing (93.34 KB, patch)
2016-11-17 00:29 PST, Saam Barati
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 2016-11-16 11:51:53 PST
It's feature complete now.
Comment 1 Saam Barati 2016-11-16 11:53:51 PST
<rdar://problem/28639334>
Comment 2 Saam Barati 2016-11-16 22:40:53 PST
Created attachment 295031 [details]
patch
Comment 3 WebKit Commit Bot 2016-11-16 22:42:33 PST
Attachment 295031 [details] did not pass style-queue:


ERROR: Source/WebCore/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig).  [featuredefines/equality] [5]
ERROR: Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig).  [featuredefines/equality] [5]
ERROR: Source/WebCore/ChangeLog:9:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
ERROR: Source/WebKit/mac/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig).  [featuredefines/equality] [5]
ERROR: Source/JavaScriptCore/parser/Parser.cpp:3233:  One line control clauses should not use braces.  [whitespace/braces] [4]
ERROR: Source/WebKit2/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig).  [featuredefines/equality] [5]
Total errors found: 6 in 14 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Yusuke Suzuki 2016-11-16 22:43:55 PST
Comment on attachment 295031 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=295031&action=review

r=me

> JSTests/test262.yaml:66449
> +  cmd: runTest262 :fail, "SyntaxError", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]

What happens?
Comment 5 Saam Barati 2016-11-16 22:45:01 PST
Comment on attachment 295031 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=295031&action=review

>> JSTests/test262.yaml:66449
>> +  cmd: runTest262 :fail, "SyntaxError", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]
> 
> What happens?

Not sure, I'll file a bug.
Comment 6 Caitlin Potter (:caitp) 2016-11-16 22:47:08 PST
Comment on attachment 295031 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=295031&action=review

>>> JSTests/test262.yaml:66449
>>> +  cmd: runTest262 :fail, "SyntaxError", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]
>> 
>> What happens?
> 
> Not sure, I'll file a bug.

https://bugs.webkit.org/show_bug.cgi?id=161408 it's been filed for a while
Comment 7 Saam Barati 2016-11-16 22:51:23 PST
(In reply to comment #6)
> Comment on attachment 295031 [details]
> patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=295031&action=review
> 
> >>> JSTests/test262.yaml:66449
> >>> +  cmd: runTest262 :fail, "SyntaxError", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:strict]
> >> 
> >> What happens?
> > 
> > Not sure, I'll file a bug.
> 
> https://bugs.webkit.org/show_bug.cgi?id=161408 it's been filed for a while

Interesting.

On ToT:
```
var f = (a, a) => 1;
```
throws a syntax error.

But:
```
var O = {
  m(a, a) { return 1; }
};
```
does not.
Comment 8 WebKit Commit Bot 2016-11-17 00:14:13 PST
Comment on attachment 295031 [details]
patch

Rejecting attachment 295031 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'validate-changelog', '--check-oops', '--non-interactive', 295031, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!.

Full output: http://webkit-queues.webkit.org/results/2530150
Comment 9 Saam Barati 2016-11-17 00:29:07 PST
Created attachment 295039 [details]
patch for landing
Comment 10 WebKit Commit Bot 2016-11-17 01:05:18 PST
Comment on attachment 295039 [details]
patch for landing

Clearing flags on attachment: 295039

Committed r208843: <http://trac.webkit.org/changeset/208843>
Comment 11 WebKit Commit Bot 2016-11-17 01:05:22 PST
All reviewed patches have been landed.  Closing bug.