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
The biggest part of debugging front-end application is debugging event handlers. Browsers expect the handlers to be executed synchronously but in the breakpoint, the debugger releases the thread, thus if there is something like event.stopPropagation after the breakpoint the propagation won't be stopped.
To avoid implementing all the standard propagations algorithms we can utilize jsdom where these are already implemented. This won't solve default actions problem still though (due to security restriction browsers don't give access to this functionality to scripts).
However, this would resolve target.dispatchEvent calls.
The text was updated successfully, but these errors were encountered:
The biggest part of debugging front-end application is debugging event handlers. Browsers expect the handlers to be executed synchronously but in the breakpoint, the debugger releases the thread, thus if there is something like
event.stopPropagation
after the breakpoint the propagation won't be stopped.To avoid implementing all the standard propagations algorithms we can utilize jsdom where these are already implemented. This won't solve default actions problem still though (due to security restriction browsers don't give access to this functionality to scripts).
However, this would resolve
target.dispatchEvent
calls.The text was updated successfully, but these errors were encountered: