Open Bug 2058720 Opened 1 month ago Updated 27 days ago

test262: built-ins/AsyncIteratorPrototype/Symbol.asyncDispose/invokes-return.js fails under --enable-explicit-resource-management

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

ASSIGNED

People

(Reporter: cemase, Assigned: debadree333)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

While updating the test262 snapshot, the following test regresses
when run with --enable-explicit-resource-management:

test262/built-ins/AsyncIteratorPrototype/Symbol.asyncDispose/invokes-return.js

Failure:
Test262Error: Expected SameValue(«1», «0») to be true

Reproduce:
run the test to reproduce it (other clever ways to reproduce can as well work)

This is surprising because it's been shipped by default for quite some time now; are we not running this in CI? I've not seen this failure at all?

Blocks: 1569081
Severity: -- → S3
Priority: -- → P3

%AsyncIteratorPrototype% [ @@asyncDispose ] must Call(return, obj, « »).
SpiderMonkey passed « undefined », so iterator.return() observed one
argument and test262 invokes-return.js failed. That test was skipped in
CI when the test262 snapshot landed in bug 2057270.

Call return with an empty argument list, update the jit-test to expect
zero arguments, and unskip the test262 file.

Assignee: nobody → debadree333
Attachment #9626971 - Attachment description: WIP: Bug 2058720 - Call return() with no arguments from @@asyncDispose. → Bug 2058720 - Call return() with no arguments from @@asyncDispose. r?arai
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9626971 - Attachment description: Bug 2058720 - Call return() with no arguments from @@asyncDispose. r?arai → WIP: Bug 2058720 - Call return() with no arguments from @@asyncDispose.
Attachment #9626971 - Attachment description: WIP: Bug 2058720 - Call return() with no arguments from @@asyncDispose. → Bug 2058720 - Call return() with no arguments from @@asyncDispose.
Attachment #9626971 - Attachment description: Bug 2058720 - Call return() with no arguments from @@asyncDispose. → WIP: Bug 2058720 - Call return() with no arguments from @@asyncDispose.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: