Commit Graph

17 Commits

Author SHA1 Message Date
Boris Zbarsky
fecfd59513 Bug 1435483 part 11. Add an infallible "formattedStack" getter on nsIStackFrame. r=qdot
MozReview-Commit-ID: KLSzUuWt45x
2018-02-05 16:34:05 -05:00
Andrea Marchesini
792189dd57 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
7f43a4be88 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
2017-08-14 18:52:18 +03:00
Boris Zbarsky
9e13b0d0e5 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
ba28410f25 Bug 1229664. Drop the concept of inner exceptions from Exception/DOMException. r=bholley 2015-12-02 13:52:59 -05:00
Boris Zbarsky
d7e7ceda1b 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
78b583e059 Bug 1107592 part 1. Implement a DOMException constructor. r=peterv 2015-01-02 17:08:33 -05:00
Boris Zbarsky
b0a271cb1b Bug 1017988 part 8. Add [Exposed] extended attributes as needed. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
347a46200d Bug 857648 part 5. Expose a .stack property on DOMExceptions. r=khuey 2014-07-04 01:25:16 -04:00
Carsten "Tomcat" Book
44793b7606 Backed out changeset a4524d7aec4f (bug 857648) 2014-07-04 08:23:31 +02:00
Boris Zbarsky
3e6c7cc39f Bug 857648 part 5. Expose a .stack property on DOMExceptions. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
ad5324b3ff 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
88e501e553 Bug 997285 part 3. Make DOMException [ExceptionClass]. r=peterv,jorendorff 2014-05-05 16:01:57 -04:00
Wes Kocher
45a9401dd2 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
40b4daf2eb 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
fff9f731e4 Bug 997285 part 3. Make DOMException [ExceptionClass]. r=peterv 2014-05-05 16:01:57 -04:00
Kyle Huey
a0093cc0dc Bug 911258: Part 3 - Convert exceptions to WebIDL. r=bz 2013-09-08 20:28:49 -07:00