You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running on latest Chrome release, showDirectoryPicker puts up a modal dialog. However, if the modal dialog reaches the "Request permission to use" stage, showDIrectoryPicker may then display a less modal dialog ("Let site view files?"), one which allows (at least) a hash change event to be generated by user action (e.g., add a character to the existing hash of the URL and hit [enter]).
The disadvantage seems clear: the programmer may be surprised that sometimes invoking a modal dialog will generate an event that gets dispatched before their await of that modal dialog (which normally generates no events) returns. Are there any advantages to this scheme? Is it intentional or accidental? Should a specification cover this behavior?
The text was updated successfully, but these errors were encountered:
Running on latest Chrome release, showDirectoryPicker puts up a modal dialog. However, if the modal dialog reaches the "Request permission to use" stage, showDIrectoryPicker may then display a less modal dialog ("Let site view files?"), one which allows (at least) a hash change event to be generated by user action (e.g., add a character to the existing hash of the URL and hit [enter]).
The disadvantage seems clear: the programmer may be surprised that sometimes invoking a modal dialog will generate an event that gets dispatched before their await of that modal dialog (which normally generates no events) returns. Are there any advantages to this scheme? Is it intentional or accidental? Should a specification cover this behavior?
The text was updated successfully, but these errors were encountered: