ResizeObserver - 超出循环限制 [英] ResizeObserver - loop limit exceeded

查看:69
本文介绍了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 循环限制

让我感到困惑的是,我们没有使用 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.

此错误意味着 ResizeObserver 无法在单个动画帧内提供所有观察结果.这是良性的(您的网站不会中断).– Aleksandar Totic 4 月 15 日 3:14

This error means that ResizeObserver was not able to deliver all observations within a single animation frame. It is benign (your site will not break). – Aleksandar Totic Apr 15 at 3:14

规范存储库中还有一些相关问题.

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

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆