WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
175653
Speculatively change iteration protocall to use the same next function
https://bugs.webkit.org/show_bug.cgi?id=175653
Summary
Speculatively change iteration protocall to use the same next function
Keith Miller
Reported
2017-08-16 19:42:56 PDT
nSpeculatively change iteration protocall to use the same next function
Attachments
Patch
(9.23 KB, patch)
2017-08-16 20:21 PDT
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Patch
(22.71 KB, patch)
2017-08-17 11:01 PDT
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews100 for mac-elcapitan
(1.30 MB, application/zip)
2017-08-17 11:59 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews106 for mac-elcapitan-wk2
(1.33 MB, application/zip)
2017-08-17 12:02 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews117 for mac-elcapitan
(2.00 MB, application/zip)
2017-08-17 12:12 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews124 for ios-simulator-wk2
(1.44 MB, application/zip)
2017-08-17 14:02 PDT
,
Build Bot
no flags
Details
Patch
(25.23 KB, patch)
2017-08-18 13:17 PDT
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Patch
(27.61 KB, patch)
2017-08-21 16:06 PDT
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Patch for landing
(40.20 KB, patch)
2017-09-22 18:29 PDT
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Keith Miller
Comment 1
2017-08-16 20:21:05 PDT
Created
attachment 318323
[details]
Patch
Saam Barati
Comment 2
2017-08-16 20:33:13 PDT
Comment on
attachment 318323
[details]
Patch You need to also change builtins/IteratorHelpers.js. Maybe other places as well? Doesn't this break some of our tests?
Keith Miller
Comment 3
2017-08-17 11:01:55 PDT
Created
attachment 318386
[details]
Patch
Build Bot
Comment 4
2017-08-17 11:04:52 PDT
Attachment 318386
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/IteratorOperations.h:40: The parameter name "value" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 5
2017-08-17 11:59:40 PDT
Comment on
attachment 318386
[details]
Patch
Attachment 318386
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/4331620
New failing tests: js/sequence-iterator-protocol-2.html
Build Bot
Comment 6
2017-08-17 11:59:43 PDT
Created
attachment 318394
[details]
Archive of layout-test-results from ews100 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 7
2017-08-17 12:02:50 PDT
Comment on
attachment 318386
[details]
Patch
Attachment 318386
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/4331621
New failing tests: js/sequence-iterator-protocol-2.html
Build Bot
Comment 8
2017-08-17 12:02:52 PDT
Created
attachment 318395
[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
Build Bot
Comment 9
2017-08-17 12:12:40 PDT
Comment on
attachment 318386
[details]
Patch
Attachment 318386
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/4331597
New failing tests: js/sequence-iterator-protocol-2.html
Build Bot
Comment 10
2017-08-17 12:12:42 PDT
Created
attachment 318397
[details]
Archive of layout-test-results from ews117 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 11
2017-08-17 14:02:42 PDT
Comment on
attachment 318386
[details]
Patch
Attachment 318386
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/4332141
New failing tests: js/sequence-iterator-protocol-2.html
Build Bot
Comment 12
2017-08-17 14:02:45 PDT
Created
attachment 318415
[details]
Archive of layout-test-results from ews124 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
Sam Weinig
Comment 13
2017-08-18 12:08:28 PDT
What is the goal of making this change?
Keith Miller
Comment 14
2017-08-18 13:05:07 PDT
(In reply to Sam Weinig from
comment #13
)
> What is the goal of making this change?
It's related to
https://bugs.webkit.org/show_bug.cgi?id=175454
, as it will simplify the implementation of that. Also, it's a possible spec change in the next version of ES6. I'm landing the patch now to see if it breaks any pages in STP, I highly doubt it will though.
Keith Miller
Comment 15
2017-08-18 13:17:55 PDT
Created
attachment 318533
[details]
Patch
Build Bot
Comment 16
2017-08-18 13:19:24 PDT
Attachment 318533
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/IteratorOperations.h:40: The parameter name "value" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Saam Barati
Comment 17
2017-08-18 13:53:48 PDT
Comment on
attachment 318533
[details]
Patch You still need to change the builtin file that does iteration for spread
Keith Miller
Comment 18
2017-08-21 16:06:46 PDT
Created
attachment 318685
[details]
Patch
Saam Barati
Comment 19
2017-08-22 11:31:12 PDT
Comment on
attachment 318685
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=318685&action=review
r=me Please add tests that verify "next" is only accessed once per for-of, spread, and anything else that does the protocol (not sure if there is anything else off the top of my head)
> Source/JavaScriptCore/ChangeLog:13 > + See:
https://github.com/tc39/ecma262/issues/976
Let's also have a bugzilla that tracks if you haven't already made one.
GSkachkov
Comment 20
2017-08-23 10:11:24 PDT
Comment on
attachment 318685
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=318685&action=review
> Source/JavaScriptCore/ChangeLog:19 > + (JSC::BytecodeGenerator::emitIteratorNext):
There is might be conflict after landing async iteration :
https://trac.webkit.org/r221080
, please do rebase.
Keith Miller
Comment 21
2017-09-22 18:29:23 PDT
Created
attachment 321608
[details]
Patch for landing
WebKit Commit Bot
Comment 22
2017-09-22 19:08:08 PDT
Comment on
attachment 321608
[details]
Patch for landing Clearing flags on attachment: 321608 Committed
r222421
: <
http://trac.webkit.org/changeset/222421
>
WebKit Commit Bot
Comment 23
2017-09-22 19:08:10 PDT
All reviewed patches have been landed. Closing bug.
Joseph Pecoraro
Comment 24
2017-09-23 02:56:40 PDT
It looks like this is causing test262 timeouts:
https://build.webkit.org/builders/Apple%20El%20Capitan%20Release%20Test262%20%28Tests%29/builds/4314
Locally I'm seeing this test hang forever: ./test262/test/language/statements/for-of/iterator-next-reference.js
Keith Miller
Comment 25
2017-09-23 17:01:32 PDT
(In reply to Joseph Pecoraro from
comment #24
)
> It looks like this is causing test262 timeouts: >
https://build.webkit.org/builders/
> Apple%20El%20Capitan%20Release%20Test262%20%28Tests%29/builds/4314 > > Locally I'm seeing this test hang forever: > ./test262/test/language/statements/for-of/iterator-next-reference.js
Ah, I must have missed that test for some reason... I put a fix here:
https://bugs.webkit.org/show_bug.cgi?id=177412
Radar WebKit Bug Importer
Comment 26
2017-09-27 13:00:12 PDT
<
rdar://problem/34694460
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug