Commit Graph

16 Commits

Author SHA1 Message Date
Andrea Marchesini
baa04d619a Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug 2017-08-06 20:47:00 +03:00
Aryeh Gregor
11e2c13fc6 Bug 1390170 - DOMException.prototype should have .message and .name r=bkelly
The spec requires that they be interface members:

  https://heycam.github.io/webidl/#idl-DOMException

This means they're on the prototype.  This change brings us in line with
Chrome, Edge, and WebKit, as tested by
<https://github.com/w3c/web-platform-tests/pull/6875>.

MozReview-Commit-ID: A1cKpmlCNCs

--HG--
extra : rebase_source : 1bce93cdb44fe6718289a86314bbe8ab4afea6ed
2017-08-14 18:52:18 +03:00
Boris Zbarsky
4e6a3f8350 Bug 1378985. Align DOMException webidl with the updated spec. r=qdot
This makes DOMException.prototype.toString() throw when it wouldn't have
before.  But it throws in other browsers already, so this is presumably web-compatible.
2017-07-17 23:21:21 -04:00
Boris Zbarsky
29345faced Bug 1229664. Drop the concept of inner exceptions from Exception/DOMException. r=bholley 2015-12-02 13:52:59 -05:00
Boris Zbarsky
49fb3ecd4e Bug 1228702. Don't expose the 'location' property of Exception/DOMException on workers. r=bholley 2015-12-02 13:52:59 -05:00
Boris Zbarsky
7af8dba16f Bug 1107592 part 1. Implement a DOMException constructor. r=peterv 2015-01-02 17:08:33 -05:00
Boris Zbarsky
12b78b9612 Bug 1017988 part 8. Add [Exposed] extended attributes as needed. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
87884f3b8f Bug 857648 part 5. Expose a .stack property on DOMExceptions. r=khuey 2014-07-04 01:25:16 -04:00
Carsten "Tomcat" Book
e8584376bc Backed out changeset a4524d7aec4f (bug 857648) 2014-07-04 08:23:31 +02:00
Boris Zbarsky
a9ffede915 Bug 857648 part 5. Expose a .stack property on DOMExceptions. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
a67499c469 Bug 997285 part 4. Drop the custom stringifier from DOMException in favor of the default one on Error.prototype. r=peterv,robcee 2014-05-05 16:01:57 -04:00
Boris Zbarsky
bcd52071c8 Bug 997285 part 3. Make DOMException [ExceptionClass]. r=peterv,jorendorff 2014-05-05 16:01:57 -04:00
Wes Kocher
3afa6d1ec8 Backed out 4 changesets (bug 997285) for mochitest-2,3 and dt3 bustages on a CLOSED TREE r=bz
Backed out changeset 1bc5b733beac (bug 997285)
Backed out changeset ec145c86be71 (bug 997285)
Backed out changeset c0b8aef8b570 (bug 997285)
Backed out changeset 477094180dff (bug 997285)
2014-05-05 14:14:11 -07:00
Boris Zbarsky
45206a3b85 Bug 997285 part 4. Drop the custom stringifier from DOMException in favor of the default one on Error.prototype. r=peterv 2014-05-05 16:01:57 -04:00
Boris Zbarsky
f006a13769 Bug 997285 part 3. Make DOMException [ExceptionClass]. r=peterv 2014-05-05 16:01:57 -04:00
Kyle Huey
bf2b356316 Bug 911258: Part 3 - Convert exceptions to WebIDL. r=bz 2013-09-08 20:28:49 -07:00