mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
6eebac1403
If special powers is imported using Components.utils.import on B2G which has some special concepts around global scoping, a TypeError will be raised unless the custom error is a prototypal Error. An explanation can be found for a similar issue in bug 843892, which states that toString is attached to the instances rather than the prototype, and that this causes problems once the object goes through Object.freeze. It was patched in bug 1014484. This patch also renames SpecialPowersException to SpecialPowersError. --HG-- extra : rebase_source : 042e32ad8fc50d7b81598f6f77ca4e6d86ef516d |
||
---|---|---|
.. | ||
components | ||
content | ||
install.rdf | ||
jar.mn | ||
Makefile.in | ||
moz.build |