Bug 166694 - [EsNext] Async iteration - Add feature flag
Summary: [EsNext] Async iteration - Add feature flag
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: GSkachkov
URL:
Keywords: InRadar
Depends on:
Blocks: 166693
  Show dependency treegraph
 
Reported: 2017-01-04 14:20 PST by GSkachkov
Modified: 2017-08-04 13:42 PDT (History)
9 users (show)

See Also:


Attachments
Patch (42.96 KB, patch)
2017-08-03 01:00 PDT, GSkachkov
no flags Details | Formatted Diff | Diff
Patch (42.95 KB, patch)
2017-08-03 02:22 PDT, GSkachkov
no flags Details | Formatted Diff | Diff
Patch (43.21 KB, patch)
2017-08-03 04:56 PDT, GSkachkov
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews102 for mac-elcapitan (1.44 MB, application/zip)
2017-08-03 06:53 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews106 for mac-elcapitan-wk2 (1.39 MB, application/zip)
2017-08-03 06:54 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews115 for mac-elcapitan (2.95 MB, application/zip)
2017-08-03 07:59 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews116 for mac-elcapitan (2.84 MB, application/zip)
2017-08-03 10:04 PDT, Build Bot
no flags Details
Patch (1.24 KB, patch)
2017-08-04 00:33 PDT, GSkachkov
no flags Details | Formatted Diff | Diff
Patch (1.92 KB, patch)
2017-08-04 00:36 PDT, GSkachkov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description GSkachkov 2017-01-04 14:20:31 PST
Add feature flag for Async iteration
Comment 1 GSkachkov 2017-08-03 01:00:48 PDT
Created attachment 317099 [details]
Patch
Comment 2 GSkachkov 2017-08-03 02:22:50 PDT
Created attachment 317107 [details]
Patch

Rebase
Comment 3 GSkachkov 2017-08-03 04:56:02 PDT
Created attachment 317113 [details]
Patch

Fix 32bit build
Comment 4 Yusuke Suzuki 2017-08-03 06:36:15 PDT
For JS features, I think adding a flag to Options is the easiest way.
Comment 5 Build Bot 2017-08-03 06:52:58 PDT
Comment on attachment 317113 [details]
Patch

Attachment 317113 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/4246236

Number of test failures exceeded the failure limit.
Comment 6 Build Bot 2017-08-03 06:53:00 PDT
Created attachment 317119 [details]
Archive of layout-test-results from ews102 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews102  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 7 Build Bot 2017-08-03 06:54:45 PDT
Comment on attachment 317113 [details]
Patch

Attachment 317113 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/4246207

Number of test failures exceeded the failure limit.
Comment 8 Build Bot 2017-08-03 06:54:47 PDT
Created attachment 317120 [details]
Archive of layout-test-results from ews106 for mac-elcapitan-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106  Port: mac-elcapitan-wk2  Platform: Mac OS X 10.11.6
Comment 9 Build Bot 2017-08-03 07:59:11 PDT
Comment on attachment 317113 [details]
Patch

Attachment 317113 [details] did not pass mac-debug-ews (mac):
Output: http://webkit-queues.webkit.org/results/4246394

New failing tests:
inspector/debugger/tail-deleted-frames-from-vm-entry.html
inspector/debugger/pause-reason.html
inspector/debugger/call-frame-this-host.html
inspector/debugger/breakpoint-eval-with-exception.html
inspector/debugger/removeBreakpoint.html
inspector/debugger/setBreakpoint-column.html
inspector/debugger/hit-breakpoint-from-console.html
inspector/debugger/tail-deleted-frames.html
inspector/debugger/probe-manager-add-remove-actions.html
inspector/debugger/setBreakpoint-autoContinue.html
inspector/debugger/breakpoint-condition-with-exception.html
inspector/debugger/setBreakpoint-actions.html
inspector/debugger/call-frame-function-name.html
inspector/debugger/setBreakpoint-condition.html
inspector/debugger/breakpoint-action-detach.html
inspector/debugger/setBreakpoint.html
inspector/debugger/setBreakpoint-options-exception.html
inspector/runtime/parse.html
inspector/debugger/setBreakpointByUrl-sourceURL.html
inspector/debugger/breakpoint-condition-with-bad-script.html
inspector/debugger/breakpoint-inside-conditons-and-actions.html
inspector/debugger/breakpoint-condition-detach.html
inspector/debugger/call-frame-this-nonstrict.html
inspector/debugger/call-frame-this-strict.html
Comment 10 Build Bot 2017-08-03 07:59:12 PDT
Created attachment 317121 [details]
Archive of layout-test-results from ews115 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews115  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 11 Build Bot 2017-08-03 10:04:18 PDT
Comment on attachment 317113 [details]
Patch

Attachment 317113 [details] did not pass mac-debug-ews (mac):
Output: http://webkit-queues.webkit.org/results/4246839

New failing tests:
inspector/debugger/tail-deleted-frames-from-vm-entry.html
inspector/debugger/pause-reason.html
inspector/debugger/call-frame-this-host.html
inspector/debugger/breakpoint-eval-with-exception.html
inspector/debugger/removeBreakpoint.html
inspector/debugger/setBreakpoint-column.html
inspector/debugger/hit-breakpoint-from-console.html
inspector/debugger/tail-deleted-frames.html
inspector/debugger/probe-manager-add-remove-actions.html
inspector/debugger/setBreakpoint-autoContinue.html
inspector/debugger/breakpoint-condition-with-exception.html
inspector/debugger/setBreakpoint-actions.html
inspector/debugger/call-frame-function-name.html
inspector/debugger/setBreakpoint-condition.html
inspector/debugger/breakpoint-action-detach.html
inspector/debugger/setBreakpoint.html
inspector/debugger/setBreakpoint-options-exception.html
inspector/runtime/parse.html
inspector/debugger/setBreakpointByUrl-sourceURL.html
inspector/debugger/breakpoint-condition-with-bad-script.html
inspector/debugger/breakpoint-inside-conditons-and-actions.html
inspector/debugger/breakpoint-condition-detach.html
inspector/debugger/call-frame-this-nonstrict.html
inspector/debugger/call-frame-this-strict.html
Comment 12 Build Bot 2017-08-03 10:04:20 PDT
Created attachment 317128 [details]
Archive of layout-test-results from ews116 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews116  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 13 GSkachkov 2017-08-04 00:33:38 PDT
Created attachment 317221 [details]
Patch
Comment 14 Yusuke Suzuki 2017-08-04 00:36:14 PDT
Comment on attachment 317221 [details]
Patch

r=me
Comment 15 GSkachkov 2017-08-04 00:36:24 PDT
Created attachment 317222 [details]
Patch

Reimplement with using Options.h
Comment 16 WebKit Commit Bot 2017-08-04 01:51:16 PDT
Comment on attachment 317222 [details]
Patch

Clearing flags on attachment: 317222

Committed r220262: <http://trac.webkit.org/changeset/220262>
Comment 17 WebKit Commit Bot 2017-08-04 01:51:17 PDT
All reviewed patches have been landed.  Closing bug.
Comment 18 Radar WebKit Bug Importer 2017-08-04 01:52:40 PDT
<rdar://problem/33720032>
Comment 19 Saam Barati 2017-08-04 13:42:56 PDT
Comment on attachment 317222 [details]
Patch

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

> Source/JavaScriptCore/runtime/Options.h:517
> +    v(enableAsyncIterator, useAsyncIterator, SameOption) \

Nit: This is just for legacy options. We don't need to do this for new options.