CloseWatcher constructor is unclear on what getEnabledState
should be set to.
#10920
Labels
clarification
Standard could be clearer
getEnabledState
should be set to.
#10920
What is the issue with the HTML Standard?
The establish a close watcher algorithm is "given" a window, a list of steps
cancelAction
, a list of stepscloseAction
, and an algorithm that returns a booleangetEnabledState
.Step 2 of
new CloseWatcher(options)
is:At no point does this mention what the
getEnabledState
algorithm should be. It seems as though it should be an algorithm returningtrue
?/cc @domenic @mfreed7
The text was updated successfully, but these errors were encountered: