Test that fulfillment value of WritableStream.write() is undefined
Test that fulfillment value of WritableStream.close() is undefined
Ignore the return value of the sink's abort() function.
WritableStream: Clear resolving functions

By making sure resolving functions are cleared on resolve/reject promises, we
can detect bugs.
Explain why we clear the resolve/reject function. Factor out waitPromise resolving code.