-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import defer
testing plan
#4215
Comments
@nicolo-ribaudo Can you suggest someone from whom it would be useful to get feedback on this testing plan? |
Maybe @takikawa who's working on an implementation, or @guybedford. |
Under "valid cases" you list this example: import defer from "mod"; Just to clarify - that's still a regular import of an |
Yes, the test is checking that the behavior is the same as it was in ES2015, and that implementations don't accidentally mess up parsing. |
https://github.com/tc39/proposal-defer-import-eval/
Syntax
Valid cases
Invalid cases (one per file)
import.defer
(both valid and invalid) (Add syntax tests forimport.defer
#4374)Deferred namespace object
@@toStringTag
(Add test for @@toStringTag on deferred module namespaces #4360)Evaluation
Sync
import defer
does not trigger evaluationimport.defer
does not trigger evaluation (Add evaluation tests forimport.defer
with sync/async modules #4375)[[Get]]
triggers evaluationErrors
ReadyForSyncExecution
Async
import.defer()
(Add evaluation tests forimport.defer
with sync/async modules #4375)The text was updated successfully, but these errors were encountered: