[Bug 27557] Consider introducing a prose-friendly way to refer to enumerations

# bugzilla at jessica.w3.org (2 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=27557

Domenic Denicola d@domenic.me changed:

       What    |Removed                     |Added

             CC|                            |d@domenic.me

--- Comment #1 from Domenic Denicola d@domenic.me ---

To me just using the string values throughout makes the most sense.

Contact us to advertise here
# bugzilla at jessica.w3.org (2 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=27557

Tab Atkins Jr. jackalmage@gmail.com changed:

       What    |Removed                     |Added

             CC|                            |jackalmage@gmail.com

--- Comment #2 from Tab Atkins Jr. jackalmage@gmail.com ---

Yeah, I don't understand what's hard to read about using the literal string value. Seems fine to me.

# bugzilla at jessica.w3.org (2 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=27557

--- Comment #3 from Anne annevk@annevk.nl ---

Once e.g. background-image and friends are defined in terms of Fetch it seems rather ugly to have prose such as

Let /request/ be a new request whose mode is "no-cors" ...

instead of

Let /request/ be a new request whose mode is /no CORS/ ...

but perhaps it is okay.

# bugzilla at jessica.w3.org (2 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=27557

--- Comment #4 from Tab Atkins Jr. jackalmage@gmail.com ---

Yes, that seems totally fine to me. And will usually be much clearer, because it refers directly to the API surface in an intuitive way, rather than requiring a mapping between an abstract value and the actual enumeration that was passed in.

# bugzilla at jessica.w3.org (2 years ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=27557

Travis Leithead [MSFT] travil@microsoft.com changed:

       What    |Removed                     |Added

             CC|                            |travil@microsoft.com

--- Comment #5 from Travis Leithead [MSFT] travil@microsoft.com ---

Keep it simple :)

# bugzilla at jessica.w3.org (7 months ago)

www.w3.org/Bugs/Public/show_bug.cgi?id=27557

Domenic Denicola d@domenic.me changed:

       What    |Removed                     |Added

         Status|NEW                         |RESOLVED
     Resolution|---                         |WORKSFORME

Want more features?

Request early access to our private beta of readable email premium.