Re: [w3c/screen-orientation] Editorial: combine safety check steps into new section (PR #251)

@marcoscaceres commented on this pull request.



> +        <p>
+          The <dfn>common safety checks</dfn> for a {{Document}}
+          |document:Document| are the following steps:
+        </p>

Yeah, it would be way cleaner. I'd also rather just be writing: 

* If X throw {{WhateverError}}.
* If Y throw {{OtherError}}.

And so on... It feels like WebIDL's [=exception/throw=] should include such a note. Currently, it's not super clear what should happen and every example in WebIDL is using [=return a promise rejected with=]. 

I'll raise an issue on WebIDL. 


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/251#discussion_r1184568543
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/screen-orientation/pull/251/review/1412329514@github.com>

Received on Thursday, 4 May 2023 05:53:28 UTC