You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the developer tool opens, it automatically reads the 'splice' property of most object types on the console and triggers the getter.
This feature can be used for interference with developer tools and can not be prevented by scripting.
For example:
console.log({
get splice(){
location.replace('about:blank')
//If the console is already open, the splice property of this object will be read and redirected to an empty page.
}
})
A similar problem exists with the code debugger:
!function(){
var o={get splice(){location.replace('about:blank')}};
debugger //When you debug here, redirection is triggered by reading the splice property to the object in scope.
}()
(There is no such bug in Firefox.)
AB#47199348
The text was updated successfully, but these errors were encountered:
Pre-emptively closing this issue based on Seth's message (otherwise I'll forget and it will remain open forever 😄).
But feel free to re-open if the problem persists.
When the developer tool opens, it automatically reads the 'splice' property of most object types on the console and triggers the getter.
This feature can be used for interference with developer tools and can not be prevented by scripting.
For example:
A similar problem exists with the code debugger:
(There is no such bug in Firefox.)
AB#47199348
The text was updated successfully, but these errors were encountered: