Registering with Angular in IE11 shows weird behavior

I am currently debugging a rather strange problem in an angular app in IE11 (Edge). We use our own Logger, which then records everything that is needed through the corners of the $log Service into the console.

Now in IE11 we have the following behavior:

If we load the page (and thus initialize our angular application), open the F12 tools, there is no logging problem. As soon as we close the F12 tools, subsequent logs seem to cause a javascript error, and no JS code is executed. However, since I cannot debug it, I do not know the error. The only link I sometimes get when I open devtools again is the problem with browsertools.library.js .

If we load a page with our F12 tools, however, the problem does not occur at all, even when we open and close the F12 tools again.

This also does not happen with other browsers (e.g. Chrome).

Our version of angular is 1.2.18 (company policy ...)

Thanks for any hint or solution. Chnoch

+5
source share

Source: https://habr.com/ru/post/1214834/


All Articles