This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20086 - Exception message
Summary: Exception message
Status: RESOLVED WONTFIX
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-26 15:25 UTC by Anne
Modified: 2012-11-27 10:19 UTC (History)
4 users (show)

See Also:


Attachments

Description Anne 2012-11-26 15:25:59 UTC
Per https://bugs.webkit.org/show_bug.cgi?id=101953 we should maybe standardize the message member too instead of leaving it implementation-defined.
Comment 1 Boris Zbarsky 2012-11-26 16:07:33 UTC
That bug is about making the message more informative, right?

This bug is about a wider thing: it would also prevent making the message even more informative without a spec change...
Comment 2 Anne 2012-11-26 16:15:12 UTC
Right. I'm not sure that's desirable, but then I'm not sure it's desirable to expose UA-dependent strings either.
Comment 3 Norbert Lindenberg 2012-11-26 16:15:55 UTC
This change would also prevent making the message informative for developers who don't speak English by localizing it.
Comment 4 Cameron McCormack 2012-11-26 23:26:27 UTC
I think I lean towards not having prescribed messages for DOM exceptions, but either way Web IDL already has a hook for other specs to state what the message is, so I don't think the spec needs changing.
Comment 5 Anne 2012-11-27 10:19:36 UTC
Alright, not worth it.