Closed Bug 1839684 Opened 3 years ago Closed 2 years ago

Add MaybeWrappedIf for temporal::Wrapped

Categories

(Core :: JavaScript: Standard Library, task, P3)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: anba, Unassigned)

References

(Blocks 1 open bug)

Details

Replace the public temporal::Wrapped constructor with MaybeWrappedIf to prevent calling the Wrapped constructor without first checking canUnwrapAs.

See: https://phabricator.services.mozilla.com/D174158

Severity: -- → S3
Priority: -- → P3

No longer valid because temporal::Wrapped was removed in https://phabricator.services.mozilla.com/D223557.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.