- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 25 Jan 2023 02:09:43 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 25 January 2023 10:09:59 UTC
I think as far as `console.log()` goes we could perhaps stress stronger that implementations are encouraged to provide a lot of additional context about platform objects being logged and maybe give some examples in the `console.log()` specification as to what that might look like. However, this really only applies to the examples in OP where the object is directly passed and not stringified first or some such. And on reflection for those cases what browsers show for `Request` and `Response` seems reasonable, but it could be tailored to be even better. For `Headers` I can see making the case that it should show more of the internal structure. I suspect we cannot actually make normative requirements about what the representation will look like so hooks of any kind are probably not needed here. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1575#issuecomment-1403371696 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1575/1403371696@github.com>
Received on Wednesday, 25 January 2023 10:09:59 UTC