| Summary: | Remove unnecessary Test262 harness file and implement $262.IsHTMLDDA | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Rick Waldron <rwaldron> | ||||||||
| Component: | Tools / Tests | Assignee: | Alexey Shvayka <ashvayka> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Enhancement | CC: | ashvayka, darin, ews-watchlist, keith_miller, lforschler, mark.lam, msaboff, ross.kirsling, saam, tzagallo, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=210078 https://bugs.webkit.org/show_bug.cgi?id=210470 |
||||||||||
| Attachments: |
|
||||||||||
|
Description
Rick Waldron
2018-07-10 10:14:28 PDT
Created attachment 344708 [details]
patch
Created attachment 395524 [details]
Patch
$262.IsHTMLDDA tests test/annexB/language/expressions/yield/star-iterable-return-emulates-undefined-throws-when-called.js test/annexB/language/statements/for-await-of/iterator-close-return-emulates-undefined-throws-when-called.js test/annexB/language/statements/for-of/iterator-close-return-emulates-undefined-throws-when-called.js are still failing because JSC partly implements https://github.com/tc39/ecma262/pull/1408. This works, but I wonder if it would be better to make Masquerader callable -- seems like this is an omission that just wasn't necessary until now? Created attachment 395557 [details]
Patch
Return callable masquerader.
(In reply to Ross Kirsling from comment #4) > This works, but I wonder if it would be better to make Masquerader callable > -- seems like this is an omission that just wasn't necessary until now? That is an awesome improvement, thank you. I thought there are quite a few tests for non-callable masquerader, yet is seems like one assertion only. Given that there is only one masquerader in the wild, and it is callable, we would rather use JSFunction::createFunctionThatMasqueradesAsUndefined. Committed r259587: <https://trac.webkit.org/changeset/259587> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395557 [details]. |