зеркало из https://github.com/mozilla/gecko-dev.git
e01b754b29
Currently, when JS callers try to access certain JSWindowActors before an actor is initialized, or after it's destroyed, we throw a generic `NS_ERROR_INVALID_STATE_ERROR` exception without any useful information about the failure. This patch changes that to use `ThrowInvalidStateError`, with a message including the property name, the actor name, and details about whether the error occurred because the actor has not been initialized or because it has already been destroyed. Differential Revision: https://phabricator.services.mozilla.com/D96628 |
||
---|---|---|
.. | ||
AboutHttpsOnlyErrorChild.jsm | ||
AboutHttpsOnlyErrorParent.jsm | ||
AudioPlaybackChild.jsm | ||
AudioPlaybackParent.jsm | ||
AutoCompleteChild.jsm | ||
AutoCompleteParent.jsm | ||
AutoScrollChild.jsm | ||
AutoScrollParent.jsm | ||
AutoplayChild.jsm | ||
AutoplayParent.jsm | ||
BackgroundThumbnailsChild.jsm | ||
BrowserElementChild.jsm | ||
BrowserElementParent.jsm | ||
ControllersChild.jsm | ||
ControllersParent.jsm | ||
DateTimePickerChild.jsm | ||
DateTimePickerParent.jsm | ||
ExtFindChild.jsm | ||
FindBarChild.jsm | ||
FindBarParent.jsm | ||
FinderChild.jsm | ||
InlineSpellCheckerChild.jsm | ||
InlineSpellCheckerParent.jsm | ||
KeyPressEventModelCheckerChild.jsm | ||
PictureInPictureChild.jsm | ||
PopupBlockingChild.jsm | ||
PopupBlockingParent.jsm | ||
PrintingChild.jsm | ||
PrintingParent.jsm | ||
PurgeSessionHistoryChild.jsm | ||
RemotePageChild.jsm | ||
SelectChild.jsm | ||
SelectParent.jsm | ||
TestProcessActorChild.jsm | ||
TestProcessActorParent.jsm | ||
TestWindowChild.jsm | ||
TestWindowParent.jsm | ||
ThumbnailsChild.jsm | ||
UAWidgetsChild.jsm | ||
UnselectedTabHoverChild.jsm | ||
UnselectedTabHoverParent.jsm | ||
ViewSourceChild.jsm | ||
ViewSourcePageChild.jsm | ||
ViewSourcePageParent.jsm | ||
WebChannelChild.jsm | ||
WebChannelParent.jsm | ||
moz.build |