Bug 209449

Summary: Update test262 to commit 79146e5cf48d
Product: WebKit Reporter: Alexey Shvayka <ashvayka>
Component: JavaScriptCoreAssignee: Alexey Shvayka <ashvayka>
Status: RESOLVED FIXED    
Severity: Enhancement CC: darin, keith_miller, ross.kirsling, tsavell, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 163417    
Attachments:
Description Flags
Patch none

Description Alexey Shvayka 2020-03-23 16:24:54 PDT
Update test262 to commit 79146e5cf48d
Comment 1 Alexey Shvayka 2020-03-23 16:34:08 PDT
Created attachment 394324 [details]
Patch
Comment 2 Alexey Shvayka 2020-03-23 16:39:19 PDT
(In reply to Alexey Shvayka from comment #1)
> Created attachment 394324 [details]
> Patch

There are 3 tests that timeout.
I will fix related bugs in a short time, yet we should consider setting default --timeout to a large finite value.
Comment 3 Keith Miller 2020-03-23 18:40:26 PDT
(In reply to Alexey Shvayka from comment #2)
> (In reply to Alexey Shvayka from comment #1)
> > Created attachment 394324 [details]
> > Patch
> 
> There are 3 tests that timeout.
> I will fix related bugs in a short time, yet we should consider setting
> default --timeout to a large finite value.

Do you know why they timeout?
Comment 4 Alexey Shvayka 2020-03-23 18:55:46 PDT
(In reply to Keith Miller from comment #3)
> Do you know why they timeout?

Yes, timeouts are intentional: there were no way to author those tests so they would fail with an exception instead of timing out.
Comment 5 Alexey Shvayka 2020-03-24 12:51:18 PDT
There are quite a few skipped Array.prototype tests because of timeouts, please see https://trac.webkit.org/browser/webkit/trunk/JSTests/test262/config.yaml#L85.

Most of them will be fixed with https://bugs.webkit.org/show_bug.cgi?id=163417.
Comment 6 Keith Miller 2020-03-24 14:54:33 PDT
(In reply to Alexey Shvayka from comment #4)
> (In reply to Keith Miller from comment #3)
> > Do you know why they timeout?
> 
> Yes, timeouts are intentional: there were no way to author those tests so
> they would fail with an exception instead of timing out.

Ah, ok. Tests seem a little contrived but sure.
Comment 7 Keith Miller 2020-03-24 14:55:18 PDT
Comment on attachment 394324 [details]
Patch

rs=me
Comment 8 EWS 2020-03-24 15:03:21 PDT
Committed r258943: <https://trac.webkit.org/changeset/258943>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 394324 [details].
Comment 9 Radar WebKit Bug Importer 2020-03-24 15:04:16 PDT
<rdar://problem/60843677>
Comment 11 Alexey Shvayka 2020-03-24 17:20:10 PDT
Committed r258963: <https://trac.webkit.org/changeset/258963>
Comment 12 Ross Kirsling 2020-03-25 19:10:10 PDT
(In reply to Alexey Shvayka from comment #11)
> Committed r258963: <https://trac.webkit.org/changeset/258963>

Somehow as of this second commit, test/language/global-code/decl-lex-configurable-global.js is now failing, but it appears that you've already fixed this upstream in https://github.com/tc39/test262/pull/2546, so I guess we just need to sync yet again? :P
Comment 13 Ross Kirsling 2020-03-25 21:29:48 PDT
(In reply to Ross Kirsling from comment #12)
> Somehow as of this second commit,
> test/language/global-code/decl-lex-configurable-global.js is now failing,
> but it appears that you've already fixed this upstream in
> https://github.com/tc39/test262/pull/2546, so I guess we just need to sync
> yet again? :P

Committed r259032: <https://trac.webkit.org/changeset/259032>