зеркало из 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 |
||
---|---|---|
.. | ||
audio.ogg | ||
browser.ini | ||
browser_contentWindow.js | ||
browser_crash_report.js | ||
browser_destroy_callbacks.js | ||
browser_event_listener.js | ||
browser_getActor.js | ||
browser_getActor_filter.js | ||
browser_observer_notification.js | ||
browser_process_childid.js | ||
browser_registerWindowActor.js | ||
browser_sendAsyncMessage.js | ||
browser_sendQuery.js | ||
file_mediaPlayback.html | ||
head.js |