gecko-dev/toolkit/actors
Kris Maglione e01b754b29 Bug 1672263: Use ThrowInvalidStateError with useful messages in JSWindowActorChild. r=nika
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
2020-11-10 22:04:49 +00:00
..
AboutHttpsOnlyErrorChild.jsm
AboutHttpsOnlyErrorParent.jsm Bug 1647829 - Fixed HTTPS-Only Mode not working when privacy.firstparty.isolate is enabled r=timhuang 2020-10-01 00:17:14 +00:00
AudioPlaybackChild.jsm
AudioPlaybackParent.jsm Bug 1656414 - part1 : stop audio playback and media block if needed when destroying an parent actor. r=farre 2020-10-02 03:56:09 +00:00
AutoCompleteChild.jsm Bug 1588503: Don't load AutoCompleteChild.jsm before necessary. r=NeilDeakin 2020-10-22 19:26:58 +00:00
AutoCompleteParent.jsm Bug 1651802, replace willDestroy methods in actors with didDestroy, add null-check in picture-in-picture actor which occurs if removeMouseButtonListeners while tab is closed, r=mconley 2020-10-20 23:27:28 +00:00
AutoScrollChild.jsm Bug 1670003 - Move some of the SCROLL_INPUT_METHODS recording. r=botond 2020-10-10 17:41:50 +00:00
AutoScrollParent.jsm
AutoplayChild.jsm
AutoplayParent.jsm
BackgroundThumbnailsChild.jsm
BrowserElementChild.jsm Bug 1655866: Part 5 - Use native PermitUnload implementation from front-end code. r=nika,mconley 2020-09-21 22:41:04 +00:00
BrowserElementParent.jsm Bug 1655866: Part 5 - Use native PermitUnload implementation from front-end code. r=nika,mconley 2020-09-21 22:41:04 +00:00
ControllersChild.jsm
ControllersParent.jsm
DateTimePickerChild.jsm
DateTimePickerParent.jsm
ExtFindChild.jsm
FindBarChild.jsm
FindBarParent.jsm
FinderChild.jsm
InlineSpellCheckerChild.jsm
InlineSpellCheckerParent.jsm
KeyPressEventModelCheckerChild.jsm
PictureInPictureChild.jsm Bug 1672623 - Closing PiP window pauses the cloned video element for video conferences. r=mconley 2020-11-19 00:09:00 +00:00
PopupBlockingChild.jsm Bug 1651802, replace willDestroy methods in actors with didDestroy, add null-check in picture-in-picture actor which occurs if removeMouseButtonListeners while tab is closed, r=mconley 2020-10-20 23:27:28 +00:00
PopupBlockingParent.jsm
PrintingChild.jsm Bug 1669854 - Add a single pageRanges print setting. r=nordzilla 2020-11-07 16:01:57 +00:00
PrintingParent.jsm Bug 1669369, remove legacy actor from PrintingChild and replace with JSWindowActor, r=mstriemer 2020-10-28 19:19:52 +00:00
PurgeSessionHistoryChild.jsm Bug 1662410 - Part 1: Fix usage of ChildSHistory.legacySHistory . r=peterv 2020-09-16 14:51:01 +00:00
RemotePageChild.jsm
SelectChild.jsm Bug 1673434 - change event isn't always user interaction event. r=edgar,masayuki 2020-11-09 09:04:22 +00:00
SelectParent.jsm Bug 1675323 - Apply scrollbar-width to the content select scrollbox. r=mconley 2020-11-05 21:11:54 +00:00
TestProcessActorChild.jsm Bug 1662771, remove willDestroy callback from JSActors, r=nika 2020-10-29 14:24:43 +00:00
TestProcessActorParent.jsm
TestWindowChild.jsm Bug 1672263: Use ThrowInvalidStateError with useful messages in JSWindowActorChild. r=nika 2020-11-10 22:04:49 +00:00
TestWindowParent.jsm
ThumbnailsChild.jsm Bug 1671705: Fix red herring InvalidStateError in ThumbnailsChild.jsm. r=Gijs 2020-10-16 19:57:36 +00:00
UAWidgetsChild.jsm Bug 1670254 - Remove Picture-in-Picture toggle experimentation code now that Mode 2 has been settled on. r=mconley,Gijs 2020-10-26 19:16:53 +00:00
UnselectedTabHoverChild.jsm
UnselectedTabHoverParent.jsm
ViewSourceChild.jsm Bug 1655572 - Make view-source not require session history, r=peterv 2020-09-14 19:00:05 +00:00
ViewSourcePageChild.jsm
ViewSourcePageParent.jsm
WebChannelChild.jsm
WebChannelParent.jsm
moz.build Bug 1669369, remove legacy actor from PrintingChild and replace with JSWindowActor, r=mstriemer 2020-10-28 19:19:52 +00:00