@jugglinmike I think it seems weird to allow setup after tests have been created. Maybe we should make that a harness error?
@jugglinmike responded:
@zcorpan It's true that after tests have been created, setup doesn't cause any exceptions or harness errors. However, it's not exactly "allowed," either. The harness silently ignores such invocations:
This condition seems like evidence of mistake in test design, so I agree that alerting authors via a harness error would be preferable. However, I would rather maintain parity with setup for this patch.
We could discuss implementing a harness error separately, either as a precursor to this change or as a follow-up.
I think we should make it a harness error, but this doesn't need to block promise_setup() I think.
From https://github.com/web-platform-tests/wpt/pull/20187#issuecomment-555187502
I said:
@jugglinmike responded:
I think we should make it a harness error, but this doesn't need to block
promise_setup()
I think.