Bug 1595726 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The [`NavigatorAutomationInformation`] WebIDL interface informs web content that the user agent is being used in automation so that the document can trigger alternate code paths when under test. It is not a security feature as such, because the IDL attribute can be overridden, but it does relate to security. [`NavigatorNavigationInformation`]: https://searchfox.org/mozilla-central/source/dom/webidl/Navigator.webidl#316
The [`NavigatorAutomationInformation`] WebIDL interface informs web content that the user agent is being used in automation so that the document can trigger alternate code paths when under test. It is not a security feature as such, because the IDL attribute can be overridden, but it does relate to security. [`NavigatorAutomationInformation`]: https://searchfox.org/mozilla-central/source/dom/webidl/Navigator.webidl#316