本文介绍了ResizeObserver-超出循环限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大约两个月前,我们开始使用Rollbar通知我们Web应用程序中的各种错误.从那时起,我们一直遇到偶尔的错误:

About two months ago we started using Rollbar to notify us of various errors in our Web App. Ever since then we have been getting the occasional error:

ResizeObserver loop limit exceeded

令我感到困惑的是,我们没有使用ResizeObserver,并且我调查了我认为可能是罪魁祸首的唯一插件,即:

The thing that confuses me about this is that we are not using ResizeObserver and I have investigated the only plugin which I thought could possibly be the culprit, namely:

Aurelia调整大小

但是它似乎也没有使用ResizeObserver.

But it doesn't appear to be using ResizeObserver either.

令人困惑的是,这些错误消息自1月以来一直在发生,但是ResizeObserver支持仅在最近才添加到Chrome 65中.

What is also confusing is that these error messages have been occuring since January but ResizeObserver support has only recently been added to Chrome 65.

给我们这个错误的浏览器版本是:

The browser versions that have been giving us this error are:

  • Chrome:63.0.3239(超出了ResizeObserver循环限制)
  • Chrome:64.0.3282(超出了ResizeObserver循环限制)
  • 边缘:14.14393(安全错误)
  • 边缘:15.15063(安全性错误)

所以我想知道这是否可能是浏览器错误?还是实际上与ResizeObserver无关的错误?

So I was wondering if this could possibly be a browser bug? Or perhaps an error that actually has nothing to do with ResizeObserver?

推荐答案

您可以放心地忽略此错误.

You can safely ignore this error.

其中一位规范作者在对您的问题的评论中写道,但这不是答案,并且在评论中尚不清楚答案确实是该主题中最重要的答案,并且使我感到满意.在我们的Sentry日志中将其忽略.

One of the specification authors wrote in a comment to your question but it is not an answer and it is not clear in the comment that the answer is really the most important one in this thread, and the one that made me comfortable to ignore it in our Sentry logs.

在规范存储库中,与此相关的还有一些相关问题.

There are also some related issues to this in the specification repository.

这篇关于ResizeObserver-超出循环限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-16 22:45